Skip to content

Commit 1d8ce45

Browse files
chore: release v1.0.0 (#30)
* chore: release v1.0.0 * Update CHANGELOG.md * chore: typo Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Aleksandr Grenishin <nd0ut.me@gmail.com>
1 parent c1d188d commit 1d8ce45

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# [1.0.0](https://github.com/uploadcare/nextjs-loader/compare/v0.4.0...v1.0.0) (2022-11-22)
2+
3+
4+
### Features
5+
6+
* add a `getBlurDataURL` server-side helper to generate base64 blurred placeholder ([5404d56](https://github.com/uploadcare/nextjs-loader/commit/5404d564e211aee6a633dfb272de71e0c4c0ce85))
7+
* add separate `loader.js` module entry to be used with Next.js v13 `loaderFile` setting ([a6577b7](https://github.com/uploadcare/nextjs-loader/commit/a6577b7cca4c5a7b8ddf26beb29ad9ddc9a261f6))
8+
9+
10+
### BREAKING CHANGES
11+
12+
* previously implemented `blurDataURL` auto-generation won't work in Next.js v13. It was a bad way because the blurry image was requested from the server in runtime. A new way is to generate a blurry image base64 string at build time using `getBlurDataURL`. See [README](https://github.com/uploadcare/nextjs-loader#when-src-is-a-string).
13+
14+
15+
116
# [0.4.0](https://github.com/uploadcare/nextjs-loader/compare/v0.3.3...v0.4.0) (2022-06-08)
217

318

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ There are two possible use cases:
209209

210210
If you pass `placeholder="blur"` to the `Image` or `UploadcareImage` component, the `blurDataURL` property will be used as the placeholder. In this case you must provide the `blurDataURL` property using our `getBlurDataURL` server-side helper.
211211

212-
Here is the ``getBlurDataURL` interface:
212+
Here is the `getBlurDataURL` interface:
213213

214214
```ts
215215
function getBlurDataURL(

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uploadcare/nextjs-loader",
3-
"version": "0.4.0",
3+
"version": "1.0.0",
44
"description": "Uploadcare custom image loader for Next.js",
55
"main": "./build/index.js",
66
"types": "./build/index.d.ts",

0 commit comments

Comments
 (0)