From b40b6e4b8d7611bf71bd1053bfdaf1adb219497d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 09:17:00 +0000 Subject: [PATCH 1/2] ci: release --- .changeset/rude-ads-notice.md | 5 - CHANGELOG.md | 169 +++++++++++++--------------------- deno.jsonc | 2 +- package.json | 2 +- version.txt | 1 + 5 files changed, 68 insertions(+), 111 deletions(-) delete mode 100644 .changeset/rude-ads-notice.md create mode 100644 version.txt diff --git a/.changeset/rude-ads-notice.md b/.changeset/rude-ads-notice.md deleted file mode 100644 index 4783588..0000000 --- a/.changeset/rude-ads-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"unpic": patch ---- - -fix(storyblok): update splitfilters in storyblok provider to not split on colons inside focal() filter diff --git a/CHANGELOG.md b/CHANGELOG.md index 485c138..5ba1878 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,55 +1,55 @@ + +## 4.2.2 + +### Patch Changes + +- ceba8e6: fix(storyblok): update splitfilters in storyblok provider to not split on colons inside focal() filter + # CHANGELOG ## [4.2.1](https://github.com/ascorbic/unpic/compare/v4.2.0...v4.2.1) (2025-11-10) - ### Bug Fixes -* **imgix:** types for combined 'auto' operations ([#178](https://github.com/ascorbic/unpic/issues/178)) ([405bbc4](https://github.com/ascorbic/unpic/commit/405bbc45a00c43c71b892be31faede661969c18e)) +- **imgix:** types for combined 'auto' operations ([#178](https://github.com/ascorbic/unpic/issues/178)) ([405bbc4](https://github.com/ascorbic/unpic/commit/405bbc45a00c43c71b892be31faede661969c18e)) ## [4.2.0](https://github.com/ascorbic/unpic/compare/v4.1.3...v4.2.0) (2025-11-08) - ### Features -* add wsrv.nl provider ([#176](https://github.com/ascorbic/unpic/issues/176)) ([e9656f8](https://github.com/ascorbic/unpic/commit/e9656f838656c6cc4ea3f9982ccc4e09a7a95a33)) +- add wsrv.nl provider ([#176](https://github.com/ascorbic/unpic/issues/176)) ([e9656f8](https://github.com/ascorbic/unpic/commit/e9656f838656c6cc4ea3f9982ccc4e09a7a95a33)) ## [4.1.3](https://github.com/ascorbic/unpic/compare/v4.1.2...v4.1.3) (2025-07-13) - ### Bug Fixes -* **ipx:** make ipx transform work with a remote base url ([#173](https://github.com/ascorbic/unpic/issues/173)) ([1a3c669](https://github.com/ascorbic/unpic/commit/1a3c669d68487797e3f433785afa0ca412a97b4f)) +- **ipx:** make ipx transform work with a remote base url ([#173](https://github.com/ascorbic/unpic/issues/173)) ([1a3c669](https://github.com/ascorbic/unpic/commit/1a3c669d68487797e3f433785afa0ca412a97b4f)) ## [4.1.2](https://github.com/ascorbic/unpic/compare/v4.1.1...v4.1.2) (2025-02-04) - ### Bug Fixes -* **appwrite:** export and document format types ([e0cb492](https://github.com/ascorbic/unpic/commit/e0cb492fb1c591da1741dd5736523e860af9b4f3)) +- **appwrite:** export and document format types ([e0cb492](https://github.com/ascorbic/unpic/commit/e0cb492fb1c591da1741dd5736523e860af9b4f3)) ## [4.1.1](https://github.com/ascorbic/unpic/compare/v4.1.0...v4.1.1) (2025-02-03) - ### Bug Fixes -* correct exports ([#163](https://github.com/ascorbic/unpic/issues/163)) ([74ce895](https://github.com/ascorbic/unpic/commit/74ce895d8f0d2c7a97ea27639b2cd7755783bd32)) -* export utility functions ([#165](https://github.com/ascorbic/unpic/issues/165)) ([98c7c75](https://github.com/ascorbic/unpic/commit/98c7c75b9bfee98fe3ee2f9d569f41aeaab44ac3)) +- correct exports ([#163](https://github.com/ascorbic/unpic/issues/163)) ([74ce895](https://github.com/ascorbic/unpic/commit/74ce895d8f0d2c7a97ea27639b2cd7755783bd32)) +- export utility functions ([#165](https://github.com/ascorbic/unpic/issues/165)) ([98c7c75](https://github.com/ascorbic/unpic/commit/98c7c75b9bfee98fe3ee2f9d569f41aeaab44ac3)) ## [4.1.0](https://github.com/ascorbic/unpic/compare/v4.0.1...v4.1.0) (2025-02-02) - ### Features -* add Appwrite support ([#160](https://github.com/ascorbic/unpic/issues/160)) ([574af67](https://github.com/ascorbic/unpic/commit/574af67bbb4b7b0243ada72e5214847b5feac1ee)) +- add Appwrite support ([#160](https://github.com/ascorbic/unpic/issues/160)) ([574af67](https://github.com/ascorbic/unpic/commit/574af67bbb4b7b0243ada72e5214847b5feac1ee)) ## [4.0.1](https://github.com/ascorbic/unpic/compare/v4.0.0...v4.0.1) (2025-01-31) - ### Bug Fixes -* update imagekit crop options and add crop mode ([#158](https://github.com/ascorbic/unpic/issues/158)) ([537ee24](https://github.com/ascorbic/unpic/commit/537ee245e23ec11f5e4c4f2fc83c9ac318dbe33f)) +- update imagekit crop options and add crop mode ([#158](https://github.com/ascorbic/unpic/issues/158)) ([537ee24](https://github.com/ascorbic/unpic/commit/537ee245e23ec11f5e4c4f2fc83c9ac318dbe33f)) ## [4.0.0](https://github.com/ascorbic/unpic/compare/v3.22.0...v4.0.0) (2025-01-19) @@ -67,11 +67,13 @@ This is a major release with several breaking changes. See ### Breaking Changes - **Removed Features** + - Removed delegated URL system - Removed support for some CDN-specific params in favor of new provider operations system - **API Changes** + - Removed URL delegation system and canonical URL detection - Changed `transformUrl` signature to accept operations and provider options as separate arguments @@ -81,6 +83,7 @@ This is a major release with several breaking changes. See `getExtractorForProvider` - **Function Renames** + - `getImageCdnForUrl` → `getProviderForUrl` - `getImageCdnForUrlByDomain` → `getProviderForUrlByDomain` - `getImageCdnForUrlByPath` → `getProviderForUrlByPath` @@ -99,294 +102,252 @@ This is a major release with several breaking changes. See ## [3.22.0](https://github.com/ascorbic/unpic/compare/v3.21.0...v3.22.0) (2024-12-07) - ### Features -* **astro:** support cropping ([#150](https://github.com/ascorbic/unpic/issues/150)) ([7a7fba6](https://github.com/ascorbic/unpic/commit/7a7fba698507dfa394e4f24b880210854604731f)) +- **astro:** support cropping ([#150](https://github.com/ascorbic/unpic/issues/150)) ([7a7fba6](https://github.com/ascorbic/unpic/commit/7a7fba698507dfa394e4f24b880210854604731f)) ## [3.21.0](https://github.com/ascorbic/unpic/compare/v3.20.0...v3.21.0) (2024-12-07) - ### Features -* **astro:** support custom endpoint ([#148](https://github.com/ascorbic/unpic/issues/148)) ([a976f89](https://github.com/ascorbic/unpic/commit/a976f891b5a5d79365e089d46424cc805cd79d24)) +- **astro:** support custom endpoint ([#148](https://github.com/ascorbic/unpic/issues/148)) ([a976f89](https://github.com/ascorbic/unpic/commit/a976f891b5a5d79365e089d46424cc805cd79d24)) ## [3.20.0](https://github.com/ascorbic/unpic/compare/v3.19.0...v3.20.0) (2024-11-11) - ### Features -* add Hygraph support ([#142](https://github.com/ascorbic/unpic/issues/142)) ([71c8796](https://github.com/ascorbic/unpic/commit/71c879626abf3cc1181314b0683bfcfe3e2fec23)) +- add Hygraph support ([#142](https://github.com/ascorbic/unpic/issues/142)) ([71c8796](https://github.com/ascorbic/unpic/commit/71c879626abf3cc1181314b0683bfcfe3e2fec23)) ## [3.19.0](https://github.com/ascorbic/unpic/compare/v3.18.1...v3.19.0) (2024-10-26) - ### Features -* add support for cloudflare images without custom domain ([#131](https://github.com/ascorbic/unpic/issues/131)) ([320784b](https://github.com/ascorbic/unpic/commit/320784bcbe8ce91c0c58723cb4446d6f8e535d99)) - +- add support for cloudflare images without custom domain ([#131](https://github.com/ascorbic/unpic/issues/131)) ([320784b](https://github.com/ascorbic/unpic/commit/320784bcbe8ce91c0c58723cb4446d6f8e535d99)) ### Bug Fixes -* fix publishing ([#138](https://github.com/ascorbic/unpic/issues/138)) ([ae9de25](https://github.com/ascorbic/unpic/commit/ae9de2532b0f3c3fc7e47b69b260c16b106d6f3c)) +- fix publishing ([#138](https://github.com/ascorbic/unpic/issues/138)) ([ae9de25](https://github.com/ascorbic/unpic/commit/ae9de2532b0f3c3fc7e47b69b260c16b106d6f3c)) ## [3.18.1](https://github.com/ascorbic/unpic/compare/v3.18.0...v3.18.1) (2024-10-26) - ### Bug Fixes -* publish via JSR ([#136](https://github.com/ascorbic/unpic/issues/136)) ([6674473](https://github.com/ascorbic/unpic/commit/66744733a58a1e3d1ffed25eff8fe196cf8f6681)) +- publish via JSR ([#136](https://github.com/ascorbic/unpic/issues/136)) ([6674473](https://github.com/ascorbic/unpic/commit/66744733a58a1e3d1ffed25eff8fe196cf8f6681)) ## [3.18.0](https://github.com/ascorbic/unpic/compare/v3.17.0...v3.18.0) (2024-03-12) - ### Features -* add Supabase support ([#123](https://github.com/ascorbic/unpic/issues/123)) ([0aa185a](https://github.com/ascorbic/unpic/commit/0aa185ac71263e4d487d5ece19f316f65a6c0403)) +- add Supabase support ([#123](https://github.com/ascorbic/unpic/issues/123)) ([0aa185a](https://github.com/ascorbic/unpic/commit/0aa185ac71263e4d487d5ece19f316f65a6c0403)) ## [3.17.0](https://github.com/ascorbic/unpic/compare/v3.16.1...v3.17.0) (2024-02-08) - ### Features -* add Uploadcare support ([#120](https://github.com/ascorbic/unpic/issues/120)) ([68307a4](https://github.com/ascorbic/unpic/commit/68307a492a52b9db1d93f063b6b28b5e30db5c30)) +- add Uploadcare support ([#120](https://github.com/ascorbic/unpic/issues/120)) ([68307a4](https://github.com/ascorbic/unpic/commit/68307a492a52b9db1d93f063b6b28b5e30db5c30)) ## [3.16.1](https://github.com/ascorbic/unpic/compare/v3.16.0...v3.16.1) (2024-02-07) - ### Bug Fixes -* **imagekit:** set format param to "f" ([#116](https://github.com/ascorbic/unpic/issues/116)) ([d06651e](https://github.com/ascorbic/unpic/commit/d06651ed2d74e0c6123855d7129e1abab15c023a)) +- **imagekit:** set format param to "f" ([#116](https://github.com/ascorbic/unpic/issues/116)) ([d06651e](https://github.com/ascorbic/unpic/commit/d06651ed2d74e0c6123855d7129e1abab15c023a)) ## [3.16.0](https://github.com/ascorbic/unpic/compare/v3.15.0...v3.16.0) (2023-12-09) - ### Features -* add Cloudimage support ([#107](https://github.com/ascorbic/unpic/issues/107)) ([e8df456](https://github.com/ascorbic/unpic/commit/e8df456f80c6c5acfee23579382bf7334b4f67e5)) +- add Cloudimage support ([#107](https://github.com/ascorbic/unpic/issues/107)) ([e8df456](https://github.com/ascorbic/unpic/commit/e8df456f80c6c5acfee23579382bf7334b4f67e5)) ## [3.15.0](https://github.com/ascorbic/unpic/compare/v3.14.1...v3.15.0) (2023-12-05) - ### Features -* astro _image endpoint ([#94](https://github.com/ascorbic/unpic/issues/94)) ([b015190](https://github.com/ascorbic/unpic/commit/b015190d39855232d415c2c101cef2c1d4161ab9)) - +- astro \_image endpoint ([#94](https://github.com/ascorbic/unpic/issues/94)) ([b015190](https://github.com/ascorbic/unpic/commit/b015190d39855232d415c2c101cef2c1d4161ab9)) ### Bug Fixes -* **contentful:** limit dimensions to 4000px ([#101](https://github.com/ascorbic/unpic/issues/101)) ([8d84f4d](https://github.com/ascorbic/unpic/commit/8d84f4d9987f020e09a705209686f21bf0c7806b)) +- **contentful:** limit dimensions to 4000px ([#101](https://github.com/ascorbic/unpic/issues/101)) ([8d84f4d](https://github.com/ascorbic/unpic/commit/8d84f4d9987f020e09a705209686f21bf0c7806b)) ## [3.14.1](https://github.com/ascorbic/unpic/compare/v3.14.0...v3.14.1) (2023-11-16) - ### Bug Fixes -* **cloudflare:** use optional regex for transformation group [#60](https://github.com/ascorbic/unpic/issues/60) ([2800f41](https://github.com/ascorbic/unpic/commit/2800f41e6226868dd63091881d8750a532932da8)) +- **cloudflare:** use optional regex for transformation group [#60](https://github.com/ascorbic/unpic/issues/60) ([2800f41](https://github.com/ascorbic/unpic/commit/2800f41e6226868dd63091881d8750a532932da8)) ## [3.14.0](https://github.com/ascorbic/unpic/compare/v3.13.0...v3.14.0) (2023-11-15) - ### Features -* add subpath exports ([#99](https://github.com/ascorbic/unpic/issues/99)) ([7c9da42](https://github.com/ascorbic/unpic/commit/7c9da427ab3449b2b1c270ad49071ace1cc5ccb1)) - +- add subpath exports ([#99](https://github.com/ascorbic/unpic/issues/99)) ([7c9da42](https://github.com/ascorbic/unpic/commit/7c9da427ab3449b2b1c270ad49071ace1cc5ccb1)) ### Bug Fixes -* **netlify:** correct "fit" param ([#97](https://github.com/ascorbic/unpic/issues/97)) ([66a48d4](https://github.com/ascorbic/unpic/commit/66a48d46f87f0938ae0a159dad070c715d7297b6)) +- **netlify:** correct "fit" param ([#97](https://github.com/ascorbic/unpic/issues/97)) ([66a48d4](https://github.com/ascorbic/unpic/commit/66a48d46f87f0938ae0a159dad070c715d7297b6)) ## [3.13.0](https://github.com/ascorbic/unpic/compare/v3.12.0...v3.13.0) (2023-11-07) - ### Features -* add imagekit support ([#91](https://github.com/ascorbic/unpic/issues/91)) ([cb03686](https://github.com/ascorbic/unpic/commit/cb03686afc998cbd106163098397813a114e1cff)) +- add imagekit support ([#91](https://github.com/ascorbic/unpic/issues/91)) ([cb03686](https://github.com/ascorbic/unpic/commit/cb03686afc998cbd106163098397813a114e1cff)) ## [3.12.0](https://github.com/ascorbic/unpic/compare/v3.11.0...v3.12.0) (2023-10-31) - ### Features -* add Netlify support ([#88](https://github.com/ascorbic/unpic/issues/88)) ([4dd047f](https://github.com/ascorbic/unpic/commit/4dd047fe034f61d99432f687c219cb2329628865)) +- add Netlify support ([#88](https://github.com/ascorbic/unpic/issues/88)) ([4dd047f](https://github.com/ascorbic/unpic/commit/4dd047fe034f61d99432f687c219cb2329628865)) ## [3.11.0](https://github.com/ascorbic/unpic/compare/v3.10.1...v3.11.0) (2023-10-29) - ### Features -* add support for ipx ([#85](https://github.com/ascorbic/unpic/issues/85)) ([0ef9eed](https://github.com/ascorbic/unpic/commit/0ef9eedfe59892e2ad96e129d3f52632dc12c52c)) +- add support for ipx ([#85](https://github.com/ascorbic/unpic/issues/85)) ([0ef9eed](https://github.com/ascorbic/unpic/commit/0ef9eedfe59892e2ad96e129d3f52632dc12c52c)) ## [3.10.1](https://github.com/ascorbic/unpic/compare/v3.10.0...v3.10.1) (2023-09-29) - ### Bug Fixes -* don't include node type refs in declaration ([#83](https://github.com/ascorbic/unpic/issues/83)) ([b960e77](https://github.com/ascorbic/unpic/commit/b960e779b70508ed4b11cce84cd2e3fc2d529213)) +- don't include node type refs in declaration ([#83](https://github.com/ascorbic/unpic/issues/83)) ([b960e77](https://github.com/ascorbic/unpic/commit/b960e779b70508ed4b11cce84cd2e3fc2d529213)) ## [3.10.0](https://github.com/ascorbic/unpic/compare/v3.9.0...v3.10.0) (2023-08-01) - ### Features -* add support for Cloudflare Images ([#79](https://github.com/ascorbic/unpic/issues/79)) ([50f5d59](https://github.com/ascorbic/unpic/commit/50f5d5943de15e301d4ccf5afde70988f6c065be)) +- add support for Cloudflare Images ([#79](https://github.com/ascorbic/unpic/issues/79)) ([50f5d59](https://github.com/ascorbic/unpic/commit/50f5d5943de15e301d4ccf5afde70988f6c065be)) ## [3.9.0](https://github.com/ascorbic/unpic/compare/v3.8.1...v3.9.0) (2023-07-20) - ### Features -* add Contentstack support ([#77](https://github.com/ascorbic/unpic/issues/77)) ([eaf33b7](https://github.com/ascorbic/unpic/commit/eaf33b7662a408c38aa311a3e917295f306f8c07)) +- add Contentstack support ([#77](https://github.com/ascorbic/unpic/issues/77)) ([eaf33b7](https://github.com/ascorbic/unpic/commit/eaf33b7662a408c38aa311a3e917295f306f8c07)) ## [3.8.1](https://github.com/ascorbic/unpic/compare/v3.8.0...v3.8.1) (2023-07-05) - ### Bug Fixes -* **builder.io:** force sharp to ensure correct fit behaviour ([#75](https://github.com/ascorbic/unpic/issues/75)) ([0146f0c](https://github.com/ascorbic/unpic/commit/0146f0c7c6eddab0f7a7a6f46f38b8eba9827ecc)) +- **builder.io:** force sharp to ensure correct fit behaviour ([#75](https://github.com/ascorbic/unpic/issues/75)) ([0146f0c](https://github.com/ascorbic/unpic/commit/0146f0c7c6eddab0f7a7a6f46f38b8eba9827ecc)) ## [3.8.0](https://github.com/ascorbic/unpic/compare/v3.7.0...v3.8.0) (2023-07-04) - ### Features -* add support for imageengine cdn ([#66](https://github.com/ascorbic/unpic/issues/66)) ([788633e](https://github.com/ascorbic/unpic/commit/788633ed57f658b1e79f1140ffac67b2bd09f21e)) +- add support for imageengine cdn ([#66](https://github.com/ascorbic/unpic/issues/66)) ([788633e](https://github.com/ascorbic/unpic/commit/788633ed57f658b1e79f1140ffac67b2bd09f21e)) ## [3.7.0](https://github.com/ascorbic/unpic/compare/v3.6.4...v3.7.0) (2023-07-03) - ### Features -* improve compatibility of URLs in Node ([#72](https://github.com/ascorbic/unpic/issues/72)) ([b91f194](https://github.com/ascorbic/unpic/commit/b91f1948844a1bc96b8aa94014f85046d93fb725)) +- improve compatibility of URLs in Node ([#72](https://github.com/ascorbic/unpic/issues/72)) ([b91f194](https://github.com/ascorbic/unpic/commit/b91f1948844a1bc96b8aa94014f85046d93fb725)) ## [3.6.4](https://github.com/ascorbic/unpic/compare/v3.6.3...v3.6.4) (2023-07-03) - ### Bug Fixes -* fix npm publish test ([aa927c8](https://github.com/ascorbic/unpic/commit/aa927c83d7662cca554ad6659714cd1a64b8d2ff)) +- fix npm publish test ([aa927c8](https://github.com/ascorbic/unpic/commit/aa927c83d7662cca554ad6659714cd1a64b8d2ff)) ## [3.6.3](https://github.com/ascorbic/unpic/compare/v3.6.2...v3.6.3) (2023-07-03) - ### Bug Fixes -* correct npm publish test ([b54d6cd](https://github.com/ascorbic/unpic/commit/b54d6cdd28e301177f945c61a6331d675ead8cf6)) +- correct npm publish test ([b54d6cd](https://github.com/ascorbic/unpic/commit/b54d6cdd28e301177f945c61a6331d675ead8cf6)) ## [3.6.2](https://github.com/ascorbic/unpic/compare/v3.6.1...v3.6.2) (2023-07-03) - ### Bug Fixes -* correctly handle fit mode in Bunny.net, Cloudflare and Kontent.ai ([#68](https://github.com/ascorbic/unpic/issues/68)) ([4b2bf38](https://github.com/ascorbic/unpic/commit/4b2bf38e8621fecd18ff2e6dc5ced3d24bf5b7e5)) +- correctly handle fit mode in Bunny.net, Cloudflare and Kontent.ai ([#68](https://github.com/ascorbic/unpic/issues/68)) ([4b2bf38](https://github.com/ascorbic/unpic/commit/4b2bf38e8621fecd18ff2e6dc5ced3d24bf5b7e5)) ## [3.6.1](https://github.com/ascorbic/unpic/compare/v3.6.0...v3.6.1) (2023-05-16) - ### Bug Fixes -* correctly detect relative next.js URLs ([#64](https://github.com/ascorbic/unpic/issues/64)) ([e2eb2ae](https://github.com/ascorbic/unpic/commit/e2eb2aef43d04c979c8b9041fa12e7b4829cd292)) +- correctly detect relative next.js URLs ([#64](https://github.com/ascorbic/unpic/issues/64)) ([e2eb2ae](https://github.com/ascorbic/unpic/commit/e2eb2aef43d04c979c8b9041fa12e7b4829cd292)) ## [3.6.0](https://github.com/ascorbic/unpic/compare/v3.5.0...v3.6.0) (2023-05-15) - ### Features -* support relative URLs when detecting by path ([#61](https://github.com/ascorbic/unpic/issues/61)) ([a28ffa9](https://github.com/ascorbic/unpic/commit/a28ffa913340b0419a9f755dd2835e716250903c)) +- support relative URLs when detecting by path ([#61](https://github.com/ascorbic/unpic/issues/61)) ([a28ffa9](https://github.com/ascorbic/unpic/commit/a28ffa913340b0419a9f755dd2835e716250903c)) ## [3.5.0](https://github.com/ascorbic/unpic/compare/v3.4.1...v3.5.0) (2023-04-25) - ### Features -* add caisy ([39ec49b](https://github.com/ascorbic/unpic/commit/39ec49b6fae6dfa2f08db5737594dfe2c54e8489)) +- add caisy ([39ec49b](https://github.com/ascorbic/unpic/commit/39ec49b6fae6dfa2f08db5737594dfe2c54e8489)) ## [3.4.1](https://github.com/ascorbic/unpic/compare/v3.4.0...v3.4.1) (2023-04-23) - ### Bug Fixes -* not delete existing format ([#54](https://github.com/ascorbic/unpic/issues/54)) ([9d656a8](https://github.com/ascorbic/unpic/commit/9d656a87876c061892679068dd3aaec5b39ec164)) +- not delete existing format ([#54](https://github.com/ascorbic/unpic/issues/54)) ([9d656a8](https://github.com/ascorbic/unpic/commit/9d656a87876c061892679068dd3aaec5b39ec164)) ## [3.4.0](https://github.com/ascorbic/unpic/compare/v3.3.0...v3.4.0) (2023-04-22) - ### Features -* add Directus support ([#46](https://github.com/ascorbic/unpic/issues/46)) ([3be1fe3](https://github.com/ascorbic/unpic/commit/3be1fe33861b7980ba333fc63b9fd47e4e4cf314)) +- add Directus support ([#46](https://github.com/ascorbic/unpic/issues/46)) ([3be1fe3](https://github.com/ascorbic/unpic/commit/3be1fe33861b7980ba333fc63b9fd47e4e4cf314)) ## [3.3.0](https://github.com/ascorbic/unpic/compare/v3.2.0...v3.3.0) (2023-04-22) - ### Features -* add support for delegated URLs ([#47](https://github.com/ascorbic/unpic/issues/47)) ([3f29447](https://github.com/ascorbic/unpic/commit/3f294470e012d535e4aeec31c642b6202e0db177)) +- add support for delegated URLs ([#47](https://github.com/ascorbic/unpic/issues/47)) ([3f29447](https://github.com/ascorbic/unpic/commit/3f294470e012d535e4aeec31c642b6202e0db177)) ## [3.2.0](https://github.com/ascorbic/unpic/compare/v3.1.0...v3.2.0) (2023-04-04) - ### Features -* add KeyCDN support ([#43](https://github.com/ascorbic/unpic/issues/43)) ([0cfde2e](https://github.com/ascorbic/unpic/commit/0cfde2edf76af9e3825c695d68dc113832d4ad89)) +- add KeyCDN support ([#43](https://github.com/ascorbic/unpic/issues/43)) ([0cfde2e](https://github.com/ascorbic/unpic/commit/0cfde2edf76af9e3825c695d68dc113832d4ad89)) ## [3.1.0](https://github.com/ascorbic/unpic/compare/v3.0.1...v3.1.0) (2023-03-28) - ### Features -* add Scene7 transformer ([#39](https://github.com/ascorbic/unpic/issues/39)) ([ad6edf2](https://github.com/ascorbic/unpic/commit/ad6edf2b5a119cf6d6a26db0f569c5305d66e911)) +- add Scene7 transformer ([#39](https://github.com/ascorbic/unpic/issues/39)) ([ad6edf2](https://github.com/ascorbic/unpic/commit/ad6edf2b5a119cf6d6a26db0f569c5305d66e911)) ## [3.0.1](https://github.com/ascorbic/unpic/compare/v3.0.0...v3.0.1) (2023-03-11) - ### Bug Fixes -* **nextjs:** default q to 75 ([#34](https://github.com/ascorbic/unpic/issues/34)) ([0948a17](https://github.com/ascorbic/unpic/commit/0948a171537e335afd5502bd6a31652f68d0c976)) +- **nextjs:** default q to 75 ([#34](https://github.com/ascorbic/unpic/issues/34)) ([0948a17](https://github.com/ascorbic/unpic/commit/0948a171537e335afd5502bd6a31652f68d0c976)) ## [3.0.0](https://github.com/ascorbic/unpic/compare/v2.2.2...v3.0.0) (2023-03-10) - ### ⚠ BREAKING CHANGES -* transformers may return URLs as strings ([#30](https://github.com/ascorbic/unpic/issues/30)) +- transformers may return URLs as strings ([#30](https://github.com/ascorbic/unpic/issues/30)) ### Features -* add Next.js and Vercel support ([#32](https://github.com/ascorbic/unpic/issues/32)) ([4cff46d](https://github.com/ascorbic/unpic/commit/4cff46d48988a9e9e8b11a2741109f452acdd334)) -* transformers may return URLs as strings ([#30](https://github.com/ascorbic/unpic/issues/30)) ([ce95cfe](https://github.com/ascorbic/unpic/commit/ce95cfe9470fdee43c056f4d861b3477572808df)) +- add Next.js and Vercel support ([#32](https://github.com/ascorbic/unpic/issues/32)) ([4cff46d](https://github.com/ascorbic/unpic/commit/4cff46d48988a9e9e8b11a2741109f452acdd334)) +- transformers may return URLs as strings ([#30](https://github.com/ascorbic/unpic/issues/30)) ([ce95cfe](https://github.com/ascorbic/unpic/commit/ce95cfe9470fdee43c056f4d861b3477572808df)) ## [2.2.2](https://github.com/ascorbic/unpic/compare/v2.2.1...v2.2.2) (2023-03-09) - ### Bug Fixes -* **cloudinary:** default to fill without upscale ([#27](https://github.com/ascorbic/unpic/issues/27)) ([e7a3de5](https://github.com/ascorbic/unpic/commit/e7a3de584b6e4acefd6ce9259319a24ce617ce1c)) -* handle custom cloudinary domains ([ce2d1e6](https://github.com/ascorbic/unpic/commit/ce2d1e615c6fc3ac3d3a0dff78ace317b572ad4f)) +- **cloudinary:** default to fill without upscale ([#27](https://github.com/ascorbic/unpic/issues/27)) ([e7a3de5](https://github.com/ascorbic/unpic/commit/e7a3de584b6e4acefd6ce9259319a24ce617ce1c)) +- handle custom cloudinary domains ([ce2d1e6](https://github.com/ascorbic/unpic/commit/ce2d1e615c6fc3ac3d3a0dff78ace317b572ad4f)) ## [2.2.1](https://github.com/ascorbic/unpic/compare/v2.2.0...v2.2.1) (2023-03-06) - ### Bug Fixes -* export kontent parse function ([#24](https://github.com/ascorbic/unpic/issues/24)) ([9e49772](https://github.com/ascorbic/unpic/commit/9e49772be926fb56991183d3add85f1a35a38d73)) +- export kontent parse function ([#24](https://github.com/ascorbic/unpic/issues/24)) ([9e49772](https://github.com/ascorbic/unpic/commit/9e49772be926fb56991183d3add85f1a35a38d73)) ## [2.2.0](https://github.com/ascorbic/unpic/compare/v2.1.0...v2.2.0) (2023-03-06) - ### Features -* add kontent.ai CDN ([#19](https://github.com/ascorbic/unpic/issues/19)) ([7475b58](https://github.com/ascorbic/unpic/commit/7475b58a258878faf2c9f15c094de477294992b1)) +- add kontent.ai CDN ([#19](https://github.com/ascorbic/unpic/issues/19)) ([7475b58](https://github.com/ascorbic/unpic/commit/7475b58a258878faf2c9f15c094de477294992b1)) ## [2.1.0](https://github.com/ascorbic/unpic/compare/2.0.2...v2.1.0) (2023-02-24) - ### Features -* **builder:** add Builder.io ([#13](https://github.com/ascorbic/unpic/issues/13)) ([fb31a94](https://github.com/ascorbic/unpic/commit/fb31a94edf9e08a00f8f72258b38123b9c4d27ad)) - +- **builder:** add Builder.io ([#13](https://github.com/ascorbic/unpic/issues/13)) ([fb31a94](https://github.com/ascorbic/unpic/commit/fb31a94edf9e08a00f8f72258b38123b9c4d27ad)) ### Bug Fixes -* handle workflow ([#10](https://github.com/ascorbic/unpic/issues/10)) ([d59485f](https://github.com/ascorbic/unpic/commit/d59485f22decb0cd7146d5443c438d41f247747e)) -* permissions on rp workflow ([6e1dcdf](https://github.com/ascorbic/unpic/commit/6e1dcdfc1bf490738f5bab292ed48e096f8504a2)) -* setup releasing ([#9](https://github.com/ascorbic/unpic/issues/9)) ([2a609a7](https://github.com/ascorbic/unpic/commit/2a609a7b7f09ed887c0ca2bd8e90dc82b05a787b)) +- handle workflow ([#10](https://github.com/ascorbic/unpic/issues/10)) ([d59485f](https://github.com/ascorbic/unpic/commit/d59485f22decb0cd7146d5443c438d41f247747e)) +- permissions on rp workflow ([6e1dcdf](https://github.com/ascorbic/unpic/commit/6e1dcdfc1bf490738f5bab292ed48e096f8504a2)) +- setup releasing ([#9](https://github.com/ascorbic/unpic/issues/9)) ([2a609a7](https://github.com/ascorbic/unpic/commit/2a609a7b7f09ed887c0ca2bd8e90dc82b05a787b)) diff --git a/deno.jsonc b/deno.jsonc index ce428db..88c341a 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -1,6 +1,6 @@ { "name": "@unpic/lib", - "version": "4.2.1", + "version": "4.2.2", "exports": { ".": "./mod.ts", "./async": "./src/async.ts", diff --git a/package.json b/package.json index ea1e8e2..a7ce495 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "unpic", - "version": "4.2.1", + "version": "4.2.2", "private": true, "description": "Universal image CDN translator", "repository": { diff --git a/version.txt b/version.txt new file mode 100644 index 0000000..af8c8ec --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +4.2.2 From ad08c67897455c27ee3665894b83c0aaccedae02 Mon Sep 17 00:00:00 2001 From: "mixie-bot[bot]" <127146692+mixie-bot[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 09:17:11 +0000 Subject: [PATCH 2/2] chore: format --- src/providers/storyblok.test.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/providers/storyblok.test.ts b/src/providers/storyblok.test.ts index 2c1cd9f..354c184 100644 --- a/src/providers/storyblok.test.ts +++ b/src/providers/storyblok.test.ts @@ -8,7 +8,8 @@ const OLD_BASE_URL = Deno.test("Storyblok Image CDN - extract", async (t) => { await t.step("should extract operations from new URL format", () => { - const url = `${NEW_BASE_URL}/m/400x300/filters:format(webp):focal(150x100:250x200)`; + const url = + `${NEW_BASE_URL}/m/400x300/filters:format(webp):focal(150x100:250x200)`; const result = extract(url); assertEquals(result, { src: NEW_BASE_URL, @@ -49,8 +50,6 @@ Deno.test("Storyblok Image CDN - extract", async (t) => { }, }); }); - - }); Deno.test("Storyblok Image CDN - generate", async (t) => { @@ -97,11 +96,14 @@ Deno.test("Storyblok Image CDN - generate", async (t) => { const result = generate(NEW_BASE_URL, { width: 400, height: 300, - filters:{ - focal: "150x150:250x250" - } + filters: { + focal: "150x150:250x250", + }, }); - assertEquals(result, `${NEW_BASE_URL}/m/400x300/filters:focal(150x150:250x250)`); + assertEquals( + result, + `${NEW_BASE_URL}/m/400x300/filters:focal(150x150:250x250)`, + ); }); }); @@ -111,9 +113,9 @@ Deno.test("Storyblok Image CDN - transform", async (t) => { width: 500, height: 400, format: "webp", - filters:{ - focal: "150x150:250x250" - } + filters: { + focal: "150x150:250x250", + }, }); assertEquals( result, @@ -142,5 +144,3 @@ Deno.test("Storyblok Image CDN - transform", async (t) => { ); }); }); - -