From f94fc2494be6d42b4b610cd0d2be6bccb716cf84 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 1 Feb 2023 15:24:15 +0400 Subject: [PATCH] chore: release v0.15.0 (#373) * chore: release v0.15.0 * chore: update template examples * chore: update changelog * chore: remove `` from the layout * chore: update changelog * chore: update readme - add warning about semver following --------- Co-authored-by: github-actions[bot] Co-authored-by: nd0ut --- CHANGELOG.md | 49 +++++++++++++++++++ assets/htm/blocks-demo.htm | 6 +-- blocks/README.md | 4 +- blocks/test/custom-source-btn/index.htm | 1 - blocks/test/inline-mode.htm | 1 - blocks/test/split-mode.htm | 1 - blocks/test/wrapped.htm | 4 +- env.js | 2 +- get-started/installation/README.md | 15 +++++- package-lock.json | 4 +- package.json | 2 +- .../inline/FileUploaderInline.js | 1 - .../regular/FileUploaderRegular.js | 1 - 13 files changed, 74 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 456b037fd..8dbd50043 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,52 @@ +# [0.15.0](https://github.com/uploadcare/blocks/compare/v0.14.3...v0.15.0) (2023-01-31) + +We are excited to announce the launch of a brand-new design. This new design offers a more modern look and feels, making it easier and faster to use. We have also made several other UI improvements, such as improved navigation and a better overall user experience. We hope you enjoy the new design and experience. + +### Breaking changes + +If you haven't used custom templates, then there shouldn't be any breaking changes for you. + +If you're using custom templates, you will need to update them to comply with the new version's default template. + +- Content of `` component was modified +- `` was removed + +Here is the basic template for the `` component: + +```html + + + + + + + + + + + + + + + + + +``` + +### Bug Fixes + +- **image-editor:** restore transformations state from the cdn url ([32b1858](https://github.com/uploadcare/blocks/commit/32b18580e780bd55b18cfa2f0d31aa4d0b5b8742)) +- **shadow-wrapper:** hide container until css load ([ef9c552](https://github.com/uploadcare/blocks/commit/ef9c552c925a2c35689a4cdfe4bbd83e46e741db)) +- specify image types for file input capture accept, fixes Firefox on Android ([99b5f4f](https://github.com/uploadcare/blocks/commit/99b5f4f20bad0573cc7ee81a567c52cd88ca3f7c)) + +### Features + +- allow custom pluralizers ([62ecffb](https://github.com/uploadcare/blocks/commit/62ecffb387b2b912b061f43b3e9f7cd7903aee13)) +- do not confirm upload list clearing ([c90c57a](https://github.com/uploadcare/blocks/commit/c90c57a9d1d4ab3e335fbd7a6486195d02b15de8)) +- show `cloud editor` instead of `upload details` ([036be6c](https://github.com/uploadcare/blocks/commit/036be6c9ede40d81414c4aafa0a7c5ce244ced2f)) +- **drop-area**: fullscreen mode +- **upload-list**: show upload errors inside file item + ## [0.14.3](https://github.com/uploadcare/blocks/compare/v0.14.2...v0.14.3) (2022-12-20) ### Bug Fixes diff --git a/assets/htm/blocks-demo.htm b/assets/htm/blocks-demo.htm index 446a717e2..3a678b2df 100644 --- a/assets/htm/blocks-demo.htm +++ b/assets/htm/blocks-demo.htm @@ -23,14 +23,14 @@

🎬 Live Demo (regular case)

- - + + + - diff --git a/blocks/README.md b/blocks/README.md index 8a974a054..07910e915 100644 --- a/blocks/README.md +++ b/blocks/README.md @@ -125,14 +125,14 @@ Block components can be used separately or in combinations. You can combine them + - + - diff --git a/blocks/test/custom-source-btn/index.htm b/blocks/test/custom-source-btn/index.htm index d5330b8ba..d37cc47b1 100644 --- a/blocks/test/custom-source-btn/index.htm +++ b/blocks/test/custom-source-btn/index.htm @@ -18,7 +18,6 @@ - diff --git a/blocks/test/inline-mode.htm b/blocks/test/inline-mode.htm index 841083f37..9f546e39f 100644 --- a/blocks/test/inline-mode.htm +++ b/blocks/test/inline-mode.htm @@ -47,7 +47,6 @@ - diff --git a/blocks/test/split-mode.htm b/blocks/test/split-mode.htm index 381eceed2..0d72a9d62 100644 --- a/blocks/test/split-mode.htm +++ b/blocks/test/split-mode.htm @@ -62,7 +62,6 @@ - diff --git a/blocks/test/wrapped.htm b/blocks/test/wrapped.htm index 2de5b5366..fd12cb628 100644 --- a/blocks/test/wrapped.htm +++ b/blocks/test/wrapped.htm @@ -9,14 +9,14 @@ + - + - diff --git a/env.js b/env.js index 099943fe0..c65b61eb4 100644 --- a/env.js +++ b/env.js @@ -1,3 +1,3 @@ /** Do not edit this file manually. It's generated during build process. */ export const PACKAGE_NAME = 'blocks'; -export const PACKAGE_VERSION = '0.14.3'; +export const PACKAGE_VERSION = '0.15.0'; diff --git a/get-started/installation/README.md b/get-started/installation/README.md index cdbd9fd1b..4ecf3862d 100644 --- a/get-started/installation/README.md +++ b/get-started/installation/README.md @@ -1,5 +1,18 @@ # Installation +## Breaking changes ⚠️ + +We don’t follow + +SemVer + +during the beta phase. That means that we may introduce changes that break existing features +and functionality. It’s important to pin your version and read + +the changelog + +before updating. + ## Script tag approach > We recommend to use the one of modern code distribution services, such as: @@ -31,7 +44,7 @@ File uploader example: First, install the npm package: ```sh -npm i @uploadcare/blocks +npm i --save-exact @uploadcare/blocks ``` Then use `connectBlocksFrom` function to connect blocks: diff --git a/package-lock.json b/package-lock.json index 17425d7ab..2fbb9ccbb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@uploadcare/blocks", - "version": "0.15.0-alpha.6", + "version": "0.15.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@uploadcare/blocks", - "version": "0.15.0-alpha.6", + "version": "0.15.0", "license": "MIT", "dependencies": { "@symbiotejs/symbiote": "^1.11.5", diff --git a/package.json b/package.json index 3296faa72..1bbca4121 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@uploadcare/blocks", - "version": "0.14.3", + "version": "0.15.0", "description": "Building blocks for Uploadcare products integration", "keywords": [ "web components", diff --git a/solutions/file-uploader/inline/FileUploaderInline.js b/solutions/file-uploader/inline/FileUploaderInline.js index 7faac0cdd..b302ade26 100644 --- a/solutions/file-uploader/inline/FileUploaderInline.js +++ b/solutions/file-uploader/inline/FileUploaderInline.js @@ -32,7 +32,6 @@ FileUploaderInline.template = /* HTML */ ` - `; diff --git a/solutions/file-uploader/regular/FileUploaderRegular.js b/solutions/file-uploader/regular/FileUploaderRegular.js index d85bbf2b9..9a211cc80 100644 --- a/solutions/file-uploader/regular/FileUploaderRegular.js +++ b/solutions/file-uploader/regular/FileUploaderRegular.js @@ -15,7 +15,6 @@ FileUploaderRegular.template = /* HTML */ ` -