diff --git a/.changeset/neat-snakes-bow.md b/.changeset/neat-snakes-bow.md deleted file mode 100644 index 37271ad..0000000 --- a/.changeset/neat-snakes-bow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@next-fetch/core-plugin": patch -"@next-fetch/react-query": patch -"@next-fetch/swr": patch ---- - -Restrict FormProps to explicitly prevent users from using unsupported encTypes. diff --git a/.changeset/warm-lobsters-lick.md b/.changeset/warm-lobsters-lick.md deleted file mode 100644 index fbd223c..0000000 --- a/.changeset/warm-lobsters-lick.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@next-fetch/core-plugin": patch -"@next-fetch/react-query": patch -"@next-fetch/swr": patch ---- - -Fix error messages not interpolating the status code in the string diff --git a/packages/@next-fetch/core-plugin/CHANGELOG.md b/packages/@next-fetch/core-plugin/CHANGELOG.md index ac4c426..10eb3b8 100644 --- a/packages/@next-fetch/core-plugin/CHANGELOG.md +++ b/packages/@next-fetch/core-plugin/CHANGELOG.md @@ -1,5 +1,13 @@ # @next-fetch/core-plugin +## 0.0.2 + +### Patch Changes + +- Restrict FormProps to explicitly prevent users from using unsupported encTypes. ([#37](https://github.com/vercel-labs/next-fetch/pull/37)) + +* Fix error messages not interpolating the status code in the string ([#33](https://github.com/vercel-labs/next-fetch/pull/33)) + ## 0.0.1 ### Patch Changes diff --git a/packages/@next-fetch/core-plugin/package.json b/packages/@next-fetch/core-plugin/package.json index e409e1e..e9e7018 100644 --- a/packages/@next-fetch/core-plugin/package.json +++ b/packages/@next-fetch/core-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@next-fetch/core-plugin", - "version": "0.0.1", + "version": "0.0.2", "description": "", "private": true, "main": "dist/index.js", diff --git a/packages/@next-fetch/react-query/CHANGELOG.md b/packages/@next-fetch/react-query/CHANGELOG.md index 2bf72e7..b0391c9 100644 --- a/packages/@next-fetch/react-query/CHANGELOG.md +++ b/packages/@next-fetch/react-query/CHANGELOG.md @@ -1,5 +1,13 @@ # @next-fetch/react-query +## 0.0.3 + +### Patch Changes + +- Restrict FormProps to explicitly prevent users from using unsupported encTypes. ([#37](https://github.com/vercel-labs/next-fetch/pull/37)) + +* Fix error messages not interpolating the status code in the string ([#33](https://github.com/vercel-labs/next-fetch/pull/33)) + ## 0.0.2 ### Patch Changes diff --git a/packages/@next-fetch/react-query/package.json b/packages/@next-fetch/react-query/package.json index 89c869a..47fa9f1 100644 --- a/packages/@next-fetch/react-query/package.json +++ b/packages/@next-fetch/react-query/package.json @@ -1,6 +1,6 @@ { "name": "@next-fetch/react-query", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "dist/index.js", "module": "dist/index.mjs", @@ -30,7 +30,7 @@ "@types/react": "^18.0.10", "@types/react-dom": "^18.0.5", "next": "^12.2.4", - "@next-fetch/core-plugin": "workspace:^0.0.1", + "@next-fetch/core-plugin": "workspace:^0.0.2", "react": "^18.1.0", "react-dom": "^18.1.0", "tsup": "^6.0.1", diff --git a/packages/@next-fetch/swr/CHANGELOG.md b/packages/@next-fetch/swr/CHANGELOG.md index 960759e..a8c9af6 100644 --- a/packages/@next-fetch/swr/CHANGELOG.md +++ b/packages/@next-fetch/swr/CHANGELOG.md @@ -1,5 +1,13 @@ # @next-fetch/swr +## 0.0.3 + +### Patch Changes + +- Restrict FormProps to explicitly prevent users from using unsupported encTypes. ([#37](https://github.com/vercel-labs/next-fetch/pull/37)) + +* Fix error messages not interpolating the status code in the string ([#33](https://github.com/vercel-labs/next-fetch/pull/33)) + ## 0.0.2 ### Patch Changes diff --git a/packages/@next-fetch/swr/package.json b/packages/@next-fetch/swr/package.json index 0c14135..847bd71 100644 --- a/packages/@next-fetch/swr/package.json +++ b/packages/@next-fetch/swr/package.json @@ -1,6 +1,6 @@ { "name": "@next-fetch/swr", - "version": "0.0.2", + "version": "0.0.3", "description": "", "main": "dist/index.js", "module": "dist/index.mjs", @@ -29,7 +29,7 @@ "@types/react": "^18.0.10", "@types/react-dom": "^18.0.5", "next": "^12.2.4", - "@next-fetch/core-plugin": "workspace:^0.0.1", + "@next-fetch/core-plugin": "workspace:^0.0.2", "react": "^18.1.0", "react-dom": "^18.1.0", "swr": "^2.0.0-beta.6", diff --git a/packages/example-app/CHANGELOG.md b/packages/example-app/CHANGELOG.md index 9ffeae3..3101473 100644 --- a/packages/example-app/CHANGELOG.md +++ b/packages/example-app/CHANGELOG.md @@ -1,5 +1,13 @@ # example-app +## 1.0.3 + +### Patch Changes + +- Updated dependencies [[`8840f7f`](https://github.com/vercel-labs/next-fetch/commit/8840f7f0a1cd426681a8888819fc10289cd44965), [`85a2c13`](https://github.com/vercel-labs/next-fetch/commit/85a2c13b491d03eec6a327163695c62aec076a61)]: + - @next-fetch/react-query@0.0.3 + - @next-fetch/swr@0.0.3 + ## 1.0.2 ### Patch Changes diff --git a/packages/example-app/package.json b/packages/example-app/package.json index 587f91e..a10590a 100644 --- a/packages/example-app/package.json +++ b/packages/example-app/package.json @@ -1,6 +1,6 @@ { "name": "example-app", - "version": "1.0.2", + "version": "1.0.3", "description": "", "private": true, "main": "index.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5a86039..1b7ed59 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,7 +51,7 @@ importers: packages/@next-fetch/react-query: specifiers: - '@next-fetch/core-plugin': workspace:^0.0.1 + '@next-fetch/core-plugin': workspace:^0.0.2 '@tanstack/react-query': ^4.0.10 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 @@ -75,7 +75,7 @@ importers: packages/@next-fetch/swr: specifiers: - '@next-fetch/core-plugin': workspace:^0.0.1 + '@next-fetch/core-plugin': workspace:^0.0.2 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 next: ^12.2.4 @@ -110,8 +110,8 @@ importers: typescript: ^4.7.2 dependencies: next: 12.2.4_ef5jwxihqo6n7gxfmzogljlgcm - nextra: 2.0.0-beta.24_yvocaa5laqq4lii6e25wp4dnnu - nextra-theme-docs: 2.0.0-beta.24_yvocaa5laqq4lii6e25wp4dnnu + nextra: 2.0.0-beta.41_yvocaa5laqq4lii6e25wp4dnnu + nextra-theme-docs: 2.0.0-beta.41_yvocaa5laqq4lii6e25wp4dnnu react: 18.1.0 react-dom: 18.1.0_react@18.1.0 devDependencies: @@ -731,6 +731,10 @@ packages: playwright-core: 1.23.2 dev: true + /@popperjs/core/2.11.6: + resolution: {integrity: sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==} + dev: false + /@reach/skip-nav/0.17.0_ef5jwxihqo6n7gxfmzogljlgcm: resolution: {integrity: sha512-wkkpQK3ffczzGHis6TaUvpOabuAL9n9Kh5vr4h56XPIJP3X77VcHUDk7MK3HbV1mTgamGxc9Hbd1sXKSWLu3yA==} peerDependencies: @@ -2168,6 +2172,19 @@ packages: get-intrinsic: 1.1.2 dev: true + /git-up/7.0.0: + resolution: {integrity: sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==} + dependencies: + is-ssh: 1.4.0 + parse-url: 8.1.0 + dev: false + + /git-url-parse/13.1.0: + resolution: {integrity: sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA==} + dependencies: + git-up: 7.0.0 + dev: false + /github-slugger/1.4.0: resolution: {integrity: sha512-w0dzqw/nt51xMVmlaV1+JRzN+oCa1KfcgGEWhxUG16wbdA+Xnt/yoFO8Z8x/V82ZcZ0wy6ln9QDup5avbhiDhQ==} dev: false @@ -2508,6 +2525,12 @@ packages: call-bind: 1.0.2 dev: true + /is-ssh/1.4.0: + resolution: {integrity: sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==} + dependencies: + protocols: 2.0.1 + dev: false + /is-stream/1.1.0: resolution: {integrity: sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==} engines: {node: '>=0.10.0'} @@ -3319,6 +3342,18 @@ packages: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} dev: true + /next-seo/5.14.1_yvocaa5laqq4lii6e25wp4dnnu: + resolution: {integrity: sha512-NiJeQbxYP3z+EMp52q8k3Q+OfX2+Yv2WehERDj98r2wjXxL+woKpRBdsSVYolTD0Hm8IWs42SzaISE93RoQdOw==} + peerDependencies: + next: ^8.1.1-canary.54 || >=9.0.0 + react: '>=16.0.0' + react-dom: '>=16.0.0' + dependencies: + next: 12.2.4_ef5jwxihqo6n7gxfmzogljlgcm + react: 18.1.0 + react-dom: 18.1.0_react@18.1.0 + dev: false + /next-themes/0.2.0_yvocaa5laqq4lii6e25wp4dnnu: resolution: {integrity: sha512-myhpDL4vadBD9YDSHiewqvzorGzB03N84e+3LxCwHRlM/hiBOaW+UsKsQojQAzC7fdcJA0l2ppveXcYaVV+hxQ==} peerDependencies: @@ -3375,8 +3410,8 @@ packages: - '@babel/core' - babel-plugin-macros - /nextra-theme-docs/2.0.0-beta.24_yvocaa5laqq4lii6e25wp4dnnu: - resolution: {integrity: sha512-GK8cEtxHoFl/FJGOB0I22HdwzVZA2PG4ovZ287kTODmIxT5ies06T6pznZJWmMzGdo/DTpzBr3L/CPiRcpU51w==} + /nextra-theme-docs/2.0.0-beta.41_yvocaa5laqq4lii6e25wp4dnnu: + resolution: {integrity: sha512-KKShzab63vNcfzHmINWFj0UYuoq4b5eXzL4PcJDzF+suXHGVuPQDs/+bnF0U2foK17Edmk7X6mZn3o/0aEZQMw==} peerDependencies: next: '>=9.5.3' react: '>=16.13.1' @@ -3384,24 +3419,25 @@ packages: dependencies: '@headlessui/react': 1.6.6_ef5jwxihqo6n7gxfmzogljlgcm '@mdx-js/react': 2.1.3_react@18.1.0 + '@popperjs/core': 2.11.6 '@reach/skip-nav': 0.17.0_ef5jwxihqo6n7gxfmzogljlgcm clsx: 1.2.1 flexsearch: 0.7.21 focus-visible: 5.2.0 + git-url-parse: 13.1.0 github-slugger: 1.4.0 intersection-observer: 0.12.2 match-sorter: 6.3.1 next: 12.2.4_ef5jwxihqo6n7gxfmzogljlgcm + next-seo: 5.14.1_yvocaa5laqq4lii6e25wp4dnnu next-themes: 0.2.0_yvocaa5laqq4lii6e25wp4dnnu - parse-git-url: 1.0.1 react: 18.1.0 react-dom: 18.1.0_react@18.1.0 scroll-into-view-if-needed: 2.2.29 - title: 3.5.3 dev: false - /nextra/2.0.0-beta.24_yvocaa5laqq4lii6e25wp4dnnu: - resolution: {integrity: sha512-vGIHxc84yV0igLYwOvYTAZD5CkJkipMDU6Qm0mWfANb1QiI3WbAL/LRdHj5Jl1H9h3IZ/Hz3QAEmRhjR5cXQBA==} + /nextra/2.0.0-beta.41_yvocaa5laqq4lii6e25wp4dnnu: + resolution: {integrity: sha512-AlJdLRYe1r/mMKEjGfr6VqwWkUFKj0AdOBby1k2JILgAK33X+/xiJJ4JF2zLQx0clacINKg3wod8txSJwSWJ0g==} peerDependencies: next: '>=9.5.3' react: '>=16.13.1' @@ -3414,7 +3450,6 @@ packages: gray-matter: 4.0.3 next: 12.2.4_ef5jwxihqo6n7gxfmzogljlgcm react: 18.1.0 - react-children-utilities: 2.8.0_react@18.1.0 react-dom: 18.1.0_react@18.1.0 rehype-mdx-title: 1.0.0 rehype-pretty-code: 0.2.4_shiki@0.10.1 @@ -3422,6 +3457,8 @@ packages: remark-reading-time: 2.0.1 shiki: 0.10.1 slash: 3.0.0 + title: 3.5.3 + unist-util-visit: 4.1.1 transitivePeerDependencies: - supports-color dev: false @@ -3579,10 +3616,6 @@ packages: is-hexadecimal: 2.0.1 dev: false - /parse-git-url/1.0.1: - resolution: {integrity: sha512-Zukjztu09UXpXV/Q+4vgwyVPzUBkUvDjlqHlpG+swv/zYzed/5Igw/33rIEJxFDRc5LxvEqYDVDzhBfnOLWDYw==} - dev: false - /parse-json/5.2.0: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} @@ -3597,6 +3630,18 @@ packages: resolution: {integrity: sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==} dev: false + /parse-path/7.0.0: + resolution: {integrity: sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==} + dependencies: + protocols: 2.0.1 + dev: false + + /parse-url/8.1.0: + resolution: {integrity: sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==} + dependencies: + parse-path: 7.0.0 + dev: false + /path-exists/4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -3718,6 +3763,10 @@ packages: resolution: {integrity: sha512-hrzC564QIl0r0vy4l6MvRLhafmUowhO/O3KgVSoXIbbA2Sz4j8HGpJc6T2cubRVwMwpdiG/vKGfhT4IixmKN9w==} dev: false + /protocols/2.0.1: + resolution: {integrity: sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==} + dev: false + /pseudomap/1.0.2: resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} @@ -3741,14 +3790,6 @@ packages: safe-buffer: 5.2.1 dev: true - /react-children-utilities/2.8.0_react@18.1.0: - resolution: {integrity: sha512-g42oRsZLrFJgCcIdK1lad1CWujNH4gh1Cp1lsMQpHWdDjWQ8gUlaBebgy2iXofyPEpfJ4T/xt4qWrvDkgVCCNg==} - peerDependencies: - react: 18 || 17 || 16 || 15 - dependencies: - react: 18.1.0 - dev: false - /react-dom/18.1.0_react@18.1.0: resolution: {integrity: sha512-fU1Txz7Budmvamp7bshe4Zi32d0ll7ect+ccxNu9FlObT605GOEB8BfO4tmRJ39R5Zj831VCpvQ05QPBW5yb+w==} peerDependencies: