diff --git a/.changeset/spicy-pens-battle.md b/.changeset/spicy-pens-battle.md deleted file mode 100644 index 04fecb2..0000000 --- a/.changeset/spicy-pens-battle.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@zayne-labs/callapi-legacy": major -"@zayne-labs/callapi": major ---- - -release(packages): 🚀 official bump of @zayne-labs/callapi and @zayne-labs/callapi-legacy to v1.0.0 diff --git a/dev/CHANGELOG.md b/dev/CHANGELOG.md new file mode 100644 index 0000000..e849762 --- /dev/null +++ b/dev/CHANGELOG.md @@ -0,0 +1,8 @@ +# dev + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [445c87b] + - @zayne-labs/callapi@1.0.0 diff --git a/dev/package.json b/dev/package.json index 19e3d33..d6a07ec 100644 --- a/dev/package.json +++ b/dev/package.json @@ -1,7 +1,7 @@ { "name": "dev", "type": "module", - "version": "0.0.0", + "version": "0.0.1", "private": true, "scripts": { "build": "tsc && vite build", diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md new file mode 100644 index 0000000..9e3d1bc --- /dev/null +++ b/docs/CHANGELOG.md @@ -0,0 +1,8 @@ +# docs + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [445c87b] + - @zayne-labs/callapi@1.0.0 diff --git a/docs/package.json b/docs/package.json index 6f12182..8eb6929 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,7 +1,7 @@ { "name": "docs", "type": "module", - "version": "0.0.0", + "version": "0.0.1", "private": true, "scripts": { "build": "next build", diff --git a/packages/callapi-legacy/CHANGELOG.md b/packages/callapi-legacy/CHANGELOG.md new file mode 100644 index 0000000..42bcc71 --- /dev/null +++ b/packages/callapi-legacy/CHANGELOG.md @@ -0,0 +1,7 @@ +# @zayne-labs/callapi-legacy + +## 1.0.0 + +### Major Changes + +- 445c87b: release(packages): 🚀 official bump of @zayne-labs/callapi and @zayne-labs/callapi-legacy to v1.0.0 diff --git a/packages/callapi-legacy/package.json b/packages/callapi-legacy/package.json index 59c7bd2..695bfab 100644 --- a/packages/callapi-legacy/package.json +++ b/packages/callapi-legacy/package.json @@ -1,7 +1,7 @@ { "name": "@zayne-labs/callapi-legacy", "type": "module", - "version": "1.0.0-rc.74", + "version": "1.0.0", "description": "A lightweight wrapper over fetch with quality of life improvements like built-in request cancellation, retries, interceptors and more", "author": "Ryan Zayne", "license": "MIT", diff --git a/packages/callapi/CHANGELOG.md b/packages/callapi/CHANGELOG.md index 6b44d94..47c9cb1 100644 --- a/packages/callapi/CHANGELOG.md +++ b/packages/callapi/CHANGELOG.md @@ -1,312 +1,318 @@ # @zayne-labs/callapi +## 1.0.0 + +### Major Changes + +- 445c87b: release(packages): 🚀 official bump of @zayne-labs/callapi and @zayne-labs/callapi-legacy to v1.0.0 + ## 1.0.0-rc-20240920162427 ### Major Changes -- [BREAKING]: removal of the `cancelRedundantRequest` option, replaced with the more robust `dedupeStrategy` -- Add params feature - Add dedupe feature - Upgrade caching heuristics - Deprecate cancelRedundantRequests option - Stabilize current API +- [BREAKING]: removal of the `cancelRedundantRequest` option, replaced with the more robust `dedupeStrategy` +- Add params feature + Add dedupe feature + Upgrade caching heuristics + Deprecate cancelRedundantRequests option + Stabilize current API ## 0.8.0 ### Minor Changes -- a620848: reformated onError interceptor's error object to be consistent with the one from callapi +- a620848: reformated onError interceptor's error object to be consistent with the one from callapi ### Patch Changes -- 210abd2: added types for headers +- 210abd2: added types for headers ## 0.7.9 ### Patch Changes -- 0061a16: added types for headers +- 0061a16: added types for headers ## 0.7.8 ### Patch Changes -- 343989e: fix typo in error message for abort +- 343989e: fix typo in error message for abort ## 0.7.7 ### Patch Changes -- 75d00c5: allow null as a valid auth value +- 75d00c5: allow null as a valid auth value ## 0.7.6 ### Patch Changes -- c6e6b12: used isObject over isString for auth option -- c6e6b12: simplified a few types +- c6e6b12: used isObject over isString for auth option +- c6e6b12: simplified a few types ## 0.7.5 ### Patch Changes -- 0111f54: revert null check -- 4eb6978: fix params error message +- 0111f54: revert null check +- 4eb6978: fix params error message ## 0.7.4 ### Patch Changes -- 45ac33b: handled null cases for empty objects in query params +- 45ac33b: handled null cases for empty objects in query params ## 0.7.3 ### Patch Changes -- 52493b1: retrying failed deployment -- 8cdd379: fix ci -- c78dea9: update with provenance +- 52493b1: retrying failed deployment +- 8cdd379: fix ci +- c78dea9: update with provenance ## 0.7.3 ### Patch Changes -- bfb97aa: update with provenance -- 3de7baf: add provenance tag to publish command +- bfb97aa: update with provenance +- 3de7baf: add provenance tag to publish command ## 0.7.2 ### Patch Changes -- eb3fecf: a few bug fixes +- eb3fecf: a few bug fixes ## 0.7.1 ### Patch Changes -- 61bb5a9: update bundling and exports +- 61bb5a9: update bundling and exports ## 0.7.0 ### Minor Changes -- 2df4132: feat: made requestKey to be a combination of options and url - ![BREAKING] - removed cancel property from callApi +- 2df4132: feat: made requestKey to be a combination of options and url + ![BREAKING] - removed cancel property from callApi ### Patch Changes -- 5ec6d9b: improve types +- 5ec6d9b: improve types ## 0.6.0 ### Minor Changes -- 37a6d8e: added a new interceptor that runs both onResponse and onRequestErrors +- 37a6d8e: added a new interceptor that runs both onResponse and onRequestErrors ## 0.5.4 ### Patch Changes -- eebc2a8: create isQueryString Utility, update docs +- eebc2a8: create isQueryString Utility, update docs ## 0.5.3 ### Patch Changes -- 0d83e43: removed manual headers handling for only formData +- 0d83e43: removed manual headers handling for only formData ## 0.5.2 ### Patch Changes -- 5aaa7b5: fix success response returning errorInfo instead error +- 5aaa7b5: fix success response returning errorInfo instead error ## 0.5.1 ### Patch Changes -- cad5d81: fixed a bug in fetch creator +- cad5d81: fixed a bug in fetch creator ## 0.5.0 ### Minor Changes -- 6ec8f12: Add cloneResponse Option to callApi +- 6ec8f12: Add cloneResponse Option to callApi ## 0.4.7 ### Patch Changes -- 38d444d: update docs +- 38d444d: update docs ## 0.4.6 ### Patch Changes -- 5ae2242: upgrade engines field to node 18.17.x +- 5ae2242: upgrade engines field to node 18.17.x ## 0.4.5 ### Patch Changes -- 566fb56: added reason option to cancel method +- 566fb56: added reason option to cancel method ## 0.4.4 ### Patch Changes -- 7d732a1: Improvements to AbortError messages +- 7d732a1: Improvements to AbortError messages ## 0.4.3 ### Patch Changes -- 19ac795: lil change to merge util +- 19ac795: lil change to merge util ## 0.4.2 ### Patch Changes -- 4240557: Add Documentation website +- 4240557: Add Documentation website ## 0.4.1 ### Patch Changes -- c98edc8: Add Documentation website +- c98edc8: Add Documentation website ## 0.4.0 ### Minor Changes -- dc92197: changed errorName to just name +- dc92197: changed errorName to just name ## 0.3.4 ### Patch Changes -- b21eb8b: refactored httpError class to better support response object.assign +- b21eb8b: refactored httpError class to better support response object.assign ## 0.3.3 ### Patch Changes -- d36c285: removed abort.any type cast -- ffffc02: fixed the respone spread issue +- d36c285: removed abort.any type cast +- ffffc02: fixed the respone spread issue ## 0.3.2 ### Patch Changes -- f2762ec: improve types for auth +- f2762ec: improve types for auth ## 0.3.1 ### Patch Changes -- 7a27edd: provided a response clone to the getResponseData function, to prevent bodyused errors when user tries to call res.whatever() in interceptor +- 7a27edd: provided a response clone to the getResponseData function, to prevent bodyused errors when user tries to call res.whatever() in interceptor ## 0.3.0 ### Minor Changes -- aaa3951: Improved error handling experience, as well as the docs +- aaa3951: Improved error handling experience, as well as the docs ## 0.2.7 ### Patch Changes -- 9190d6a: add separate configs for esm and cjs, with diff folders +- 9190d6a: add separate configs for esm and cjs, with diff folders ## 0.2.6 ### Patch Changes -- 2d418c5: remove src dir from dist +- 2d418c5: remove src dir from dist ## 0.2.5 ### Patch Changes -- 2c8dbd6: add support for token version of auth header, also updated docs +- 2c8dbd6: add support for token version of auth header, also updated docs ## 0.2.4 ### Patch Changes -- 5e35ac4: expanded conditional types in pkg.json to resolve to proper types +- 5e35ac4: expanded conditional types in pkg.json to resolve to proper types ## 0.2.3 ### Patch Changes -- 3907e38: update types in pkg.json +- 3907e38: update types in pkg.json ## 0.2.2 ### Patch Changes -- b448415: fix: update entry points +- b448415: fix: update entry points ## 0.2.1 ### Patch Changes -- da4d300: chore: update build dir structure +- da4d300: chore: update build dir structure ## 0.2.0 ### Minor Changes -- 66c4dad: feat: added option for adding custom validator function +- 66c4dad: feat: added option for adding custom validator function ### Patch Changes -- 66c4dad: refactor: exposed createFetchClient function for users who prefer it +- 66c4dad: refactor: exposed createFetchClient function for users who prefer it ## 0.1.1 ### Patch Changes -- f2e0417: fix: fix build by adding missing entry +- f2e0417: fix: fix build by adding missing entry ## 0.1.0 ### Minor Changes -- 9128630: feat: added a new feature for auth tokens -- 9128630: Updated a few types and parts of the api to be more user friendly +- 9128630: feat: added a new feature for auth tokens +- 9128630: Updated a few types and parts of the api to be more user friendly ### Patch Changes -- 9128630: docs: added proper docs to readme +- 9128630: docs: added proper docs to readme ## 0.0.6 ### Patch Changes -- 2f2c22c: add main entry point via pkg.json +- 2f2c22c: add main entry point via pkg.json ## 0.0.5 ### Patch Changes -- 7e3fd59: fix: update package.json to better resolve necessary files and update typescript version +- 7e3fd59: fix: update package.json to better resolve necessary files and update typescript version ## 0.0.4 ### Patch Changes -- a9f7824: changed package.json files property to hold src files instead of dist +- a9f7824: changed package.json files property to hold src files instead of dist ## 0.0.3 ### Patch Changes -- dfbadb2: fix: removed clone calls from reponse to prevent crashing +- dfbadb2: fix: removed clone calls from reponse to prevent crashing ## 0.0.2 ### Patch Changes -- 6922422: feat: added more paths to entry +- 6922422: feat: added more paths to entry diff --git a/packages/callapi/package.json b/packages/callapi/package.json index f5df29d..20bdea7 100644 --- a/packages/callapi/package.json +++ b/packages/callapi/package.json @@ -1,7 +1,7 @@ { "name": "@zayne-labs/callapi", "type": "module", - "version": "1.0.0-rc.74", + "version": "1.0.0", "description": "A lightweight wrapper over fetch with quality of life improvements like built-in request cancellation, retries, interceptors and more", "author": "Ryan Zayne", "license": "MIT",