Skip to content

Releases: zayne-labs/call-api

@zayne-labs/[email protected]

01 Mar 02:42
f5f27b5
Compare
Choose a tag to compare

Patch Changes

  • 6093711: feat: abstract validation and add new resultMode for allWithoutResponse

    This commit introduces data validation for both success and error responses using schemas and validators. It also refactors error handling to provide more context and flexibility.

    • Implemented handleValidation function to validate response data against schemas and validators.
    • Modified createFetchClient and createFetchClientWithOptions to include validation of success and error data.
    • Updated resolveErrorResult to provide more detailed error information.
    • Refactored dedupe strategy to improve readability and maintainability.
    • Added omitKeys and pickKeys utility functions for object manipulation.
    • Updated types and contexts to reflect the changes in error handling and validation.
    • Increased size limit in package.json to accommodate the new features.

@zayne-labs/[email protected]

01 Mar 03:12
Compare
Choose a tag to compare

@zayne-labs/callapi

1.6.9

Patch Changes

  • 6093711: feat: abstract validation and add new resultMode for allWithoutResponse

    This commit introduces data validation for both success and error responses using schemas and validators. It also refactors error handling to provide more context and flexibility.

    • Implemented handleValidation function to validate response data against schemas and validators.
    • Modified createFetchClient and createFetchClientWithOptions to include validation of success and error data.
    • Updated resolveErrorResult to provide more detailed error information.
    • Refactored dedupe strategy to improve readability and maintainability.
    • Added omitKeys and pickKeys utility functions for object manipulation.
    • Updated types and contexts to reflect the changes in error handling and validation.
    • Increased size limit in package.json to accommodate the new features.

1.6.7

Patch Changes

  • 2ed893e: fix(callapi): fix serializer bug that prevented the body object from being stringified internally

1.6.0

Minor Changes

  • d378e41: feat: add generic argument support and inference for response type

1.5.1

Patch Changes

  • 301715a: refactor(types)!: ♻️ 🏗️ make schema errors intuitive and easy to disable by including undefined

1.5.0

Minor Changes

  • 7c29408: feat: add support for validating every request detail via schemas

1.4.4

Patch Changes

  • 233b2b7: 🔧 fix(types): initialize plugin type generic with never to remove type errors

1.4.0

Minor Changes

  • 00440df: feat(core)!: ✨ add schema validation with standard-schema support
    chore(deps):⬆️ upgrade pnpm to 10.2.1
    docs(error-handling): 📝 improve error handling docs
    style(docs): 🎨 update docs UI and improve navigation
    fix(docs): 🔗 update broken links in README files

1.3.5

Patch Changes

  • bf6002b: chore(deps): ⬇️ downgrade fumadocs packages due to failed tailwind migration
    feat(exports): ✨ expose retry constants from utils
    chore(eslint): 🔧 enable tailwindcss config validation

1.3.3

Patch Changes

1.3.1

Patch Changes

  • ed6412d: fix: fix type issues with interceptor
    feat: allow plugin hooks to also be arrays

1.3.0

Minor Changes

  • cbedc52: 🔄 refactor(retry): rename retryCodes to retryStatusCodes for clarity ✨ feat(retry): add POST to default retry methods
    📝 docs(hooks): reorganize hooks documentation for better readability 🗑️ refactor(docs): merge retries.mdx into timeout-and-retries.mdx

1.2.1

Patch Changes

  • 28b68df: 🔧 fix(fetch): remove fullURL option from request options to extra-options

1.2.0

Minor Changes

  • 0f333f7: feat(core): ✨ Add retry functionality and enhance core components

    feat(docs): 📚 Update documentation structure and title

    chore(types): 🏗️ Refactor type definitions and utilities

1.1.0

Minor Changes

  • 4ff75bc: feat!: rename requestKey to dedupeKey

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

0.8.0

Minor Changes

  • a620848: reformated onError interceptor's error object to be consistent with the one from callapi

Patch Changes

0.7.9

Patch Changes

0.7.8

Patch Changes

  • 343989e: fix typo in error message for abort

0.7.7

Patch Changes

  • 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

0.7.5

Patch Changes

0.7.4

Patch Changes

  • 45ac33b: handled null cases for empty objects in query params

0.7.3

Patch Changes

0.7.3

Patch Changes

  • bfb97aa: update with provenance
  • 3de7baf: add provenance tag to publish command

0.7.2

Patch Changes

0.7.1

Patch Changes

  • 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

Patch Changes

0.6.0

Minor Changes

  • 37a6d8e: added a new interceptor that runs both onResponse and onRequestErrors

0.5.4

Patch Changes

  • eebc2a8: create isQueryString Utility, update docs

0.5.3

Patch Changes

  • 0d83e43: removed manual headers handling for only formData

0.5.2

Patch Changes

  • 5aaa7b5: fix success response returning errorInfo instead error

0.5.1

Patch Changes

  • cad5d81: fixed a bug in fetch creator

0.5.0

Minor Changes

  • 6ec8f12: Add cloneResponse Option to callApi

0.4.7

Patch Changes

0.4.6

Patch Changes

  • 5ae2242: upgrade engines field to node 18.17.x

0.4.5

Patch Changes

  • 566fb56: added reason option to cancel method

0.4.4

Patch Changes

  • 7d732a1: Improvements to AbortError messages

0.4.3

Patch Changes

  • 19ac795: lil change to merge util

0.4.2

Patch Changes

  • 4240557: Add Documentation website

0.4.1

Patch Changes

  • c98edc8: Add Documentation website

0.4.0

Minor Changes

  • dc92197: changed errorName to just name

0.3.4

Patch Changes

  • 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

0.3.2

Patch Changes

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

0.3.0

Minor Changes

  • 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

0.2.6

Patch Changes

  • 2d418c5: remove src dir from dist

0.2.5

Patch Changes

  • 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

0.2.3

Patch Changes

  • 3907e38: update types in pkg.json

0.2.2

Patch Changes

  • b448415: fix: update entry points

0.2.1

Patch Changes

  • da4d300: chore: update build dir structure

0.2.0

Minor Changes

  • 66c4dad: feat: added option for adding custom validator function

Patch Changes

  • 66c4dad: refactor: exposed createFetchClient function for users who prefer it

0.1.1

Patch Changes

  • 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

Patch Changes

  • 9128630: docs: added proper docs to readme

0.0.6

Patch Changes

  • 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

0.0.4

Patch Changes

  • 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

0.0.2

Patch Changes

  • 6922422: feat: added more paths to entry

@zayne-labs/[email protected]

01 Mar 03:02
Compare
Choose a tag to compare

@zayne-labs/callapi

1.6.9

Patch Changes

  • 6093711: feat: abstract validation and add new resultMode for allWithoutResponse

    This commit introduces data validation for both success and error responses using schemas and validators. It also refactors error handling to provide more context and flexibility.

    • Implemented handleValidation function to validate response data against schemas and validators.
    • Modified createFetchClient and createFetchClientWithOptions to include validation of success and error data.
    • Updated resolveErrorResult to provide more detailed error information.
    • Refactored dedupe strategy to improve readability and maintainability.
    • Added omitKeys and pickKeys utility functions for object manipulation.
    • Updated types and contexts to reflect the changes in error handling and validation.
    • Increased size limit in package.json to accommodate the new features.

1.6.7

Patch Changes

  • 2ed893e: fix(callapi): fix serializer bug that prevented the body object from being stringified internally

1.6.0

Minor Changes

  • d378e41: feat: add generic argument support and inference for response type

1.5.1

Patch Changes

  • 301715a: refactor(types)!: ♻️ 🏗️ make schema errors intuitive and easy to disable by including undefined

1.5.0

Minor Changes

  • 7c29408: feat: add support for validating every request detail via schemas

1.4.4

Patch Changes

  • 233b2b7: 🔧 fix(types): initialize plugin type generic with never to remove type errors

1.4.0

Minor Changes

  • 00440df: feat(core)!: ✨ add schema validation with standard-schema support
    chore(deps):⬆️ upgrade pnpm to 10.2.1
    docs(error-handling): 📝 improve error handling docs
    style(docs): 🎨 update docs UI and improve navigation
    fix(docs): 🔗 update broken links in README files

1.3.5

Patch Changes

  • bf6002b: chore(deps): ⬇️ downgrade fumadocs packages due to failed tailwind migration
    feat(exports): ✨ expose retry constants from utils
    chore(eslint): 🔧 enable tailwindcss config validation

1.3.3

Patch Changes

1.3.1

Patch Changes

  • ed6412d: fix: fix type issues with interceptor
    feat: allow plugin hooks to also be arrays

1.3.0

Minor Changes

  • cbedc52: 🔄 refactor(retry): rename retryCodes to retryStatusCodes for clarity ✨ feat(retry): add POST to default retry methods
    📝 docs(hooks): reorganize hooks documentation for better readability 🗑️ refactor(docs): merge retries.mdx into timeout-and-retries.mdx

1.2.1

Patch Changes

  • 28b68df: 🔧 fix(fetch): remove fullURL option from request options to extra-options

1.2.0

Minor Changes

  • 0f333f7: feat(core): ✨ Add retry functionality and enhance core components

    feat(docs): 📚 Update documentation structure and title

    chore(types): 🏗️ Refactor type definitions and utilities

1.1.0

Minor Changes

  • 4ff75bc: feat!: rename requestKey to dedupeKey

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

0.8.0

Minor Changes

  • a620848: reformated onError interceptor's error object to be consistent with the one from callapi

Patch Changes

0.7.9

Patch Changes

0.7.8

Patch Changes

  • 343989e: fix typo in error message for abort

0.7.7

Patch Changes

  • 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

0.7.5

Patch Changes

0.7.4

Patch Changes

  • 45ac33b: handled null cases for empty objects in query params

0.7.3

Patch Changes

0.7.3

Patch Changes

  • bfb97aa: update with provenance
  • 3de7baf: add provenance tag to publish command

0.7.2

Patch Changes

0.7.1

Patch Changes

  • 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

Patch Changes

0.6.0

Minor Changes

  • 37a6d8e: added a new interceptor that runs both onResponse and onRequestErrors

0.5.4

Patch Changes

  • eebc2a8: create isQueryString Utility, update docs

0.5.3

Patch Changes

  • 0d83e43: removed manual headers handling for only formData

0.5.2

Patch Changes

  • 5aaa7b5: fix success response returning errorInfo instead error

0.5.1

Patch Changes

  • cad5d81: fixed a bug in fetch creator

0.5.0

Minor Changes

  • 6ec8f12: Add cloneResponse Option to callApi

0.4.7

Patch Changes

0.4.6

Patch Changes

  • 5ae2242: upgrade engines field to node 18.17.x

0.4.5

Patch Changes

  • 566fb56: added reason option to cancel method

0.4.4

Patch Changes

  • 7d732a1: Improvements to AbortError messages

0.4.3

Patch Changes

  • 19ac795: lil change to merge util

0.4.2

Patch Changes

  • 4240557: Add Documentation website

0.4.1

Patch Changes

  • c98edc8: Add Documentation website

0.4.0

Minor Changes

  • dc92197: changed errorName to just name

0.3.4

Patch Changes

  • 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

0.3.2

Patch Changes

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

0.3.0

Minor Changes

  • 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

0.2.6

Patch Changes

  • 2d418c5: remove src dir from dist

0.2.5

Patch Changes

  • 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

0.2.3

Patch Changes

  • 3907e38: update types in pkg.json

0.2.2

Patch Changes

  • b448415: fix: update entry points

0.2.1

Patch Changes

  • da4d300: chore: update build dir structure

0.2.0

Minor Changes

  • 66c4dad: feat: added option for adding custom validator function

Patch Changes

  • 66c4dad: refactor: exposed createFetchClient function for users who prefer it

0.1.1

Patch Changes

  • 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

Patch Changes

  • 9128630: docs: added proper docs to readme

0.0.6

Patch Changes

  • 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

0.0.4

Patch Changes

  • 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

0.0.2

Patch Changes

  • 6922422: feat: added more paths to entry

@zayne-labs/[email protected]

01 Mar 02:54
Compare
Choose a tag to compare

@zayne-labs/callapi

1.6.9

Patch Changes

  • 6093711: feat: abstract validation and add new resultMode for allWithoutResponse

    This commit introduces data validation for both success and error responses using schemas and validators. It also refactors error handling to provide more context and flexibility.

    • Implemented handleValidation function to validate response data against schemas and validators.
    • Modified createFetchClient and createFetchClientWithOptions to include validation of success and error data.
    • Updated resolveErrorResult to provide more detailed error information.
    • Refactored dedupe strategy to improve readability and maintainability.
    • Added omitKeys and pickKeys utility functions for object manipulation.
    • Updated types and contexts to reflect the changes in error handling and validation.
    • Increased size limit in package.json to accommodate the new features.

1.6.7

Patch Changes

  • 2ed893e: fix(callapi): fix serializer bug that prevented the body object from being stringified internally

1.6.0

Minor Changes

  • d378e41: feat: add generic argument support and inference for response type

1.5.1

Patch Changes

  • 301715a: refactor(types)!: ♻️ 🏗️ make schema errors intuitive and easy to disable by including undefined

1.5.0

Minor Changes

  • 7c29408: feat: add support for validating every request detail via schemas

1.4.4

Patch Changes

  • 233b2b7: 🔧 fix(types): initialize plugin type generic with never to remove type errors

1.4.0

Minor Changes

  • 00440df: feat(core)!: ✨ add schema validation with standard-schema support
    chore(deps):⬆️ upgrade pnpm to 10.2.1
    docs(error-handling): 📝 improve error handling docs
    style(docs): 🎨 update docs UI and improve navigation
    fix(docs): 🔗 update broken links in README files

1.3.5

Patch Changes

  • bf6002b: chore(deps): ⬇️ downgrade fumadocs packages due to failed tailwind migration
    feat(exports): ✨ expose retry constants from utils
    chore(eslint): 🔧 enable tailwindcss config validation

1.3.3

Patch Changes

1.3.1

Patch Changes

  • ed6412d: fix: fix type issues with interceptor
    feat: allow plugin hooks to also be arrays

1.3.0

Minor Changes

  • cbedc52: 🔄 refactor(retry): rename retryCodes to retryStatusCodes for clarity ✨ feat(retry): add POST to default retry methods
    📝 docs(hooks): reorganize hooks documentation for better readability 🗑️ refactor(docs): merge retries.mdx into timeout-and-retries.mdx

1.2.1

Patch Changes

  • 28b68df: 🔧 fix(fetch): remove fullURL option from request options to extra-options

1.2.0

Minor Changes

  • 0f333f7: feat(core): ✨ Add retry functionality and enhance core components

    feat(docs): 📚 Update documentation structure and title

    chore(types): 🏗️ Refactor type definitions and utilities

1.1.0

Minor Changes

  • 4ff75bc: feat!: rename requestKey to dedupeKey

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

0.8.0

Minor Changes

  • a620848: reformated onError interceptor's error object to be consistent with the one from callapi

Patch Changes

0.7.9

Patch Changes

0.7.8

Patch Changes

  • 343989e: fix typo in error message for abort

0.7.7

Patch Changes

  • 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

0.7.5

Patch Changes

0.7.4

Patch Changes

  • 45ac33b: handled null cases for empty objects in query params

0.7.3

Patch Changes

0.7.3

Patch Changes

  • bfb97aa: update with provenance
  • 3de7baf: add provenance tag to publish command

0.7.2

Patch Changes

0.7.1

Patch Changes

  • 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

Patch Changes

0.6.0

Minor Changes

  • 37a6d8e: added a new interceptor that runs both onResponse and onRequestErrors

0.5.4

Patch Changes

  • eebc2a8: create isQueryString Utility, update docs

0.5.3

Patch Changes

  • 0d83e43: removed manual headers handling for only formData

0.5.2

Patch Changes

  • 5aaa7b5: fix success response returning errorInfo instead error

0.5.1

Patch Changes

  • cad5d81: fixed a bug in fetch creator

0.5.0

Minor Changes

  • 6ec8f12: Add cloneResponse Option to callApi

0.4.7

Patch Changes

0.4.6

Patch Changes

  • 5ae2242: upgrade engines field to node 18.17.x

0.4.5

Patch Changes

  • 566fb56: added reason option to cancel method

0.4.4

Patch Changes

  • 7d732a1: Improvements to AbortError messages

0.4.3

Patch Changes

  • 19ac795: lil change to merge util

0.4.2

Patch Changes

  • 4240557: Add Documentation website

0.4.1

Patch Changes

  • c98edc8: Add Documentation website

0.4.0

Minor Changes

  • dc92197: changed errorName to just name

0.3.4

Patch Changes

  • 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

0.3.2

Patch Changes

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

0.3.0

Minor Changes

  • 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

0.2.6

Patch Changes

  • 2d418c5: remove src dir from dist

0.2.5

Patch Changes

  • 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

0.2.3

Patch Changes

  • 3907e38: update types in pkg.json

0.2.2

Patch Changes

  • b448415: fix: update entry points

0.2.1

Patch Changes

  • da4d300: chore: update build dir structure

0.2.0

Minor Changes

  • 66c4dad: feat: added option for adding custom validator function

Patch Changes

  • 66c4dad: refactor: exposed createFetchClient function for users who prefer it

0.1.1

Patch Changes

  • 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

Patch Changes

  • 9128630: docs: added proper docs to readme

0.0.6

Patch Changes

  • 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

0.0.4

Patch Changes

  • 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

0.0.2

Patch Changes

  • 6922422: feat: added more paths to entry

@zayne-labs/[email protected]

28 Feb 18:56
Compare
Choose a tag to compare

@zayne-labs/callapi

1.6.7

Patch Changes

  • 2ed893e: fix(callapi): fix serializer bug that prevented the body object from being stringified internally

1.6.0

Minor Changes

  • d378e41: feat: add generic argument support and inference for response type

1.5.1

Patch Changes

  • 301715a: refactor(types)!: ♻️ 🏗️ make schema errors intuitive and easy to disable by including undefined

1.5.0

Minor Changes

  • 7c29408: feat: add support for validating every request detail via schemas

1.4.4

Patch Changes

  • 233b2b7: 🔧 fix(types): initialize plugin type generic with never to remove type errors

1.4.0

Minor Changes

  • 00440df: feat(core)!: ✨ add schema validation with standard-schema support
    chore(deps):⬆️ upgrade pnpm to 10.2.1
    docs(error-handling): 📝 improve error handling docs
    style(docs): 🎨 update docs UI and improve navigation
    fix(docs): 🔗 update broken links in README files

1.3.5

Patch Changes

  • bf6002b: chore(deps): ⬇️ downgrade fumadocs packages due to failed tailwind migration
    feat(exports): ✨ expose retry constants from utils
    chore(eslint): 🔧 enable tailwindcss config validation

1.3.3

Patch Changes

1.3.1

Patch Changes

  • ed6412d: fix: fix type issues with interceptor
    feat: allow plugin hooks to also be arrays

1.3.0

Minor Changes

  • cbedc52: 🔄 refactor(retry): rename retryCodes to retryStatusCodes for clarity ✨ feat(retry): add POST to default retry methods
    📝 docs(hooks): reorganize hooks documentation for better readability 🗑️ refactor(docs): merge retries.mdx into timeout-and-retries.mdx

1.2.1

Patch Changes

  • 28b68df: 🔧 fix(fetch): remove fullURL option from request options to extra-options

1.2.0

Minor Changes

  • 0f333f7: feat(core): ✨ Add retry functionality and enhance core components

    feat(docs): 📚 Update documentation structure and title

    chore(types): 🏗️ Refactor type definitions and utilities

1.1.0

Minor Changes

  • 4ff75bc: feat!: rename requestKey to dedupeKey

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

0.8.0

Minor Changes

  • a620848: reformated onError interceptor's error object to be consistent with the one from callapi

Patch Changes

0.7.9

Patch Changes

0.7.8

Patch Changes

  • 343989e: fix typo in error message for abort

0.7.7

Patch Changes

  • 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

0.7.5

Patch Changes

0.7.4

Patch Changes

  • 45ac33b: handled null cases for empty objects in query params

0.7.3

Patch Changes

0.7.3

Patch Changes

  • bfb97aa: update with provenance
  • 3de7baf: add provenance tag to publish command

0.7.2

Patch Changes

0.7.1

Patch Changes

  • 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

Patch Changes

0.6.0

Minor Changes

  • 37a6d8e: added a new interceptor that runs both onResponse and onRequestErrors

0.5.4

Patch Changes

  • eebc2a8: create isQueryString Utility, update docs

0.5.3

Patch Changes

  • 0d83e43: removed manual headers handling for only formData

0.5.2

Patch Changes

  • 5aaa7b5: fix success response returning errorInfo instead error

0.5.1

Patch Changes

  • cad5d81: fixed a bug in fetch creator

0.5.0

Minor Changes

  • 6ec8f12: Add cloneResponse Option to callApi

0.4.7

Patch Changes

0.4.6

Patch Changes

  • 5ae2242: upgrade engines field to node 18.17.x

0.4.5

Patch Changes

  • 566fb56: added reason option to cancel method

0.4.4

Patch Changes

  • 7d732a1: Improvements to AbortError messages

0.4.3

Patch Changes

  • 19ac795: lil change to merge util

0.4.2

Patch Changes

  • 4240557: Add Documentation website

0.4.1

Patch Changes

  • c98edc8: Add Documentation website

0.4.0

Minor Changes

  • dc92197: changed errorName to just name

0.3.4

Patch Changes

  • 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

0.3.2

Patch Changes

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

0.3.0

Minor Changes

  • 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

0.2.6

Patch Changes

  • 2d418c5: remove src dir from dist

0.2.5

Patch Changes

  • 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

0.2.3

Patch Changes

  • 3907e38: update types in pkg.json

0.2.2

Patch Changes

  • b448415: fix: update entry points

0.2.1

Patch Changes

  • da4d300: chore: update build dir structure

0.2.0

Minor Changes

  • 66c4dad: feat: added option for adding custom validator function

Patch Changes

  • 66c4dad: refactor: exposed createFetchClient function for users who prefer it

0.1.1

Patch Changes

  • 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

Patch Changes

  • 9128630: docs: added proper docs to readme

0.0.6

Patch Changes

  • 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

0.0.4

Patch Changes

  • 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

0.0.2

Patch Changes

  • 6922422: feat: added more paths to entry

@zayne-labs/[email protected]

18 Feb 16:44
13d4d69
Compare
Choose a tag to compare

Patch Changes

  • 2ed893e: fix(callapi): fix serializer bug that prevented the body object from being stringified internally

@zayne-labs/[email protected]

16 Feb 00:37
9dda527
Compare
Choose a tag to compare

@zayne-labs/callapi

1.6.0

Minor Changes

  • d378e41: feat: add generic argument support and inference for response type

1.5.1

Patch Changes

  • 301715a: refactor(types)!: ♻️ 🏗️ make schema errors intuitive and easy to disable by including undefined

1.5.0

Minor Changes

  • 7c29408: feat: add support for validating every request detail via schemas

1.4.4

Patch Changes

  • 233b2b7: 🔧 fix(types): initialize plugin type generic with never to remove type errors

1.4.0

Minor Changes

  • 00440df: feat(core)!: ✨ add schema validation with standard-schema support
    chore(deps):⬆️ upgrade pnpm to 10.2.1
    docs(error-handling): 📝 improve error handling docs
    style(docs): 🎨 update docs UI and improve navigation
    fix(docs): 🔗 update broken links in README files

1.3.5

Patch Changes

  • bf6002b: chore(deps): ⬇️ downgrade fumadocs packages due to failed tailwind migration
    feat(exports): ✨ expose retry constants from utils
    chore(eslint): 🔧 enable tailwindcss config validation

1.3.3

Patch Changes

1.3.1

Patch Changes

  • ed6412d: fix: fix type issues with interceptor
    feat: allow plugin hooks to also be arrays

1.3.0

Minor Changes

  • cbedc52: 🔄 refactor(retry): rename retryCodes to retryStatusCodes for clarity ✨ feat(retry): add POST to default retry methods
    📝 docs(hooks): reorganize hooks documentation for better readability 🗑️ refactor(docs): merge retries.mdx into timeout-and-retries.mdx

1.2.1

Patch Changes

  • 28b68df: 🔧 fix(fetch): remove fullURL option from request options to extra-options

1.2.0

Minor Changes

  • 0f333f7: feat(core): ✨ Add retry functionality and enhance core components

    feat(docs): 📚 Update documentation structure and title

    chore(types): 🏗️ Refactor type definitions and utilities

1.1.0

Minor Changes

  • 4ff75bc: feat!: rename requestKey to dedupeKey

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

0.8.0

Minor Changes

  • a620848: reformated onError interceptor's error object to be consistent with the one from callapi

Patch Changes

0.7.9

Patch Changes

0.7.8

Patch Changes

  • 343989e: fix typo in error message for abort

0.7.7

Patch Changes

  • 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

0.7.5

Patch Changes

0.7.4

Patch Changes

  • 45ac33b: handled null cases for empty objects in query params

0.7.3

Patch Changes

0.7.3

Patch Changes

  • bfb97aa: update with provenance
  • 3de7baf: add provenance tag to publish command

0.7.2

Patch Changes

0.7.1

Patch Changes

  • 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

Patch Changes

0.6.0

Minor Changes

  • 37a6d8e: added a new interceptor that runs both onResponse and onRequestErrors

0.5.4

Patch Changes

  • eebc2a8: create isQueryString Utility, update docs

0.5.3

Patch Changes

  • 0d83e43: removed manual headers handling for only formData

0.5.2

Patch Changes

  • 5aaa7b5: fix success response returning errorInfo instead error

0.5.1

Patch Changes

  • cad5d81: fixed a bug in fetch creator

0.5.0

Minor Changes

  • 6ec8f12: Add cloneResponse Option to callApi

0.4.7

Patch Changes

0.4.6

Patch Changes

  • 5ae2242: upgrade engines field to node 18.17.x

0.4.5

Patch Changes

  • 566fb56: added reason option to cancel method

0.4.4

Patch Changes

  • 7d732a1: Improvements to AbortError messages

0.4.3

Patch Changes

  • 19ac795: lil change to merge util

0.4.2

Patch Changes

  • 4240557: Add Documentation website

0.4.1

Patch Changes

  • c98edc8: Add Documentation website

0.4.0

Minor Changes

  • dc92197: changed errorName to just name

0.3.4

Patch Changes

  • 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

0.3.2

Patch Changes

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

0.3.0

Minor Changes

  • 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

0.2.6

Patch Changes

  • 2d418c5: remove src dir from dist

0.2.5

Patch Changes

  • 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

0.2.3

Patch Changes

  • 3907e38: update types in pkg.json

0.2.2

Patch Changes

  • b448415: fix: update entry points

0.2.1

Patch Changes

  • da4d300: chore: update build dir structure

0.2.0

Minor Changes

  • 66c4dad: feat: added option for adding custom validator function

Patch Changes

  • 66c4dad: refactor: exposed createFetchClient function for users who prefer it

0.1.1

Patch Changes

  • 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

Patch Changes

  • 9128630: docs: added proper docs to readme

0.0.6

Patch Changes

  • 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

0.0.4

Patch Changes

  • 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

0.0.2

Patch Changes

  • 6922422: feat: added more paths to entry

@zayne-labs/[email protected]

15 Feb 21:50
Compare
Choose a tag to compare

@zayne-labs/callapi

1.6.0

Minor Changes

  • d378e41: feat: add generic argument support and inference for response type

1.5.1

Patch Changes

  • 301715a: refactor(types)!: ♻️ 🏗️ make schema errors intuitive and easy to disable by including undefined

1.5.0

Minor Changes

  • 7c29408: feat: add support for validating every request detail via schemas

1.4.4

Patch Changes

  • 233b2b7: 🔧 fix(types): initialize plugin type generic with never to remove type errors

1.4.0

Minor Changes

  • 00440df: feat(core)!: ✨ add schema validation with standard-schema support
    chore(deps):⬆️ upgrade pnpm to 10.2.1
    docs(error-handling): 📝 improve error handling docs
    style(docs): 🎨 update docs UI and improve navigation
    fix(docs): 🔗 update broken links in README files

1.3.5

Patch Changes

  • bf6002b: chore(deps): ⬇️ downgrade fumadocs packages due to failed tailwind migration
    feat(exports): ✨ expose retry constants from utils
    chore(eslint): 🔧 enable tailwindcss config validation

1.3.3

Patch Changes

1.3.1

Patch Changes

  • ed6412d: fix: fix type issues with interceptor
    feat: allow plugin hooks to also be arrays

1.3.0

Minor Changes

  • cbedc52: 🔄 refactor(retry): rename retryCodes to retryStatusCodes for clarity ✨ feat(retry): add POST to default retry methods
    📝 docs(hooks): reorganize hooks documentation for better readability 🗑️ refactor(docs): merge retries.mdx into timeout-and-retries.mdx

1.2.1

Patch Changes

  • 28b68df: 🔧 fix(fetch): remove fullURL option from request options to extra-options

1.2.0

Minor Changes

  • 0f333f7: feat(core): ✨ Add retry functionality and enhance core components

    feat(docs): 📚 Update documentation structure and title

    chore(types): 🏗️ Refactor type definitions and utilities

1.1.0

Minor Changes

  • 4ff75bc: feat!: rename requestKey to dedupeKey

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

0.8.0

Minor Changes

  • a620848: reformated onError interceptor's error object to be consistent with the one from callapi

Patch Changes

0.7.9

Patch Changes

0.7.8

Patch Changes

  • 343989e: fix typo in error message for abort

0.7.7

Patch Changes

  • 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

0.7.5

Patch Changes

0.7.4

Patch Changes

  • 45ac33b: handled null cases for empty objects in query params

0.7.3

Patch Changes

0.7.3

Patch Changes

  • bfb97aa: update with provenance
  • 3de7baf: add provenance tag to publish command

0.7.2

Patch Changes

0.7.1

Patch Changes

  • 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

Patch Changes

0.6.0

Minor Changes

  • 37a6d8e: added a new interceptor that runs both onResponse and onRequestErrors

0.5.4

Patch Changes

  • eebc2a8: create isQueryString Utility, update docs

0.5.3

Patch Changes

  • 0d83e43: removed manual headers handling for only formData

0.5.2

Patch Changes

  • 5aaa7b5: fix success response returning errorInfo instead error

0.5.1

Patch Changes

  • cad5d81: fixed a bug in fetch creator

0.5.0

Minor Changes

  • 6ec8f12: Add cloneResponse Option to callApi

0.4.7

Patch Changes

0.4.6

Patch Changes

  • 5ae2242: upgrade engines field to node 18.17.x

0.4.5

Patch Changes

  • 566fb56: added reason option to cancel method

0.4.4

Patch Changes

  • 7d732a1: Improvements to AbortError messages

0.4.3

Patch Changes

  • 19ac795: lil change to merge util

0.4.2

Patch Changes

  • 4240557: Add Documentation website

0.4.1

Patch Changes

  • c98edc8: Add Documentation website

0.4.0

Minor Changes

  • dc92197: changed errorName to just name

0.3.4

Patch Changes

  • 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

0.3.2

Patch Changes

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

0.3.0

Minor Changes

  • 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

0.2.6

Patch Changes

  • 2d418c5: remove src dir from dist

0.2.5

Patch Changes

  • 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

0.2.3

Patch Changes

  • 3907e38: update types in pkg.json

0.2.2

Patch Changes

  • b448415: fix: update entry points

0.2.1

Patch Changes

  • da4d300: chore: update build dir structure

0.2.0

Minor Changes

  • 66c4dad: feat: added option for adding custom validator function

Patch Changes

  • 66c4dad: refactor: exposed createFetchClient function for users who prefer it

0.1.1

Patch Changes

  • 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

Patch Changes

  • 9128630: docs: added proper docs to readme

0.0.6

Patch Changes

  • 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

0.0.4

Patch Changes

  • 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

0.0.2

Patch Changes

  • 6922422: feat: added more paths to entry

@zayne-labs/[email protected]

14 Feb 23:22
Compare
Choose a tag to compare

@zayne-labs/callapi

1.6.0

Minor Changes

  • d378e41: feat: add generic argument support and inference for response type

1.5.1

Patch Changes

  • 301715a: refactor(types)!: ♻️ 🏗️ make schema errors intuitive and easy to disable by including undefined

1.5.0

Minor Changes

  • 7c29408: feat: add support for validating every request detail via schemas

1.4.4

Patch Changes

  • 233b2b7: 🔧 fix(types): initialize plugin type generic with never to remove type errors

1.4.0

Minor Changes

  • 00440df: feat(core)!: ✨ add schema validation with standard-schema support
    chore(deps):⬆️ upgrade pnpm to 10.2.1
    docs(error-handling): 📝 improve error handling docs
    style(docs): 🎨 update docs UI and improve navigation
    fix(docs): 🔗 update broken links in README files

1.3.5

Patch Changes

  • bf6002b: chore(deps): ⬇️ downgrade fumadocs packages due to failed tailwind migration
    feat(exports): ✨ expose retry constants from utils
    chore(eslint): 🔧 enable tailwindcss config validation

1.3.3

Patch Changes

1.3.1

Patch Changes

  • ed6412d: fix: fix type issues with interceptor
    feat: allow plugin hooks to also be arrays

1.3.0

Minor Changes

  • cbedc52: 🔄 refactor(retry): rename retryCodes to retryStatusCodes for clarity ✨ feat(retry): add POST to default retry methods
    📝 docs(hooks): reorganize hooks documentation for better readability 🗑️ refactor(docs): merge retries.mdx into timeout-and-retries.mdx

1.2.1

Patch Changes

  • 28b68df: 🔧 fix(fetch): remove fullURL option from request options to extra-options

1.2.0

Minor Changes

  • 0f333f7: feat(core): ✨ Add retry functionality and enhance core components

    feat(docs): 📚 Update documentation structure and title

    chore(types): 🏗️ Refactor type definitions and utilities

1.1.0

Minor Changes

  • 4ff75bc: feat!: rename requestKey to dedupeKey

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

0.8.0

Minor Changes

  • a620848: reformated onError interceptor's error object to be consistent with the one from callapi

Patch Changes

0.7.9

Patch Changes

0.7.8

Patch Changes

  • 343989e: fix typo in error message for abort

0.7.7

Patch Changes

  • 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

0.7.5

Patch Changes

0.7.4

Patch Changes

  • 45ac33b: handled null cases for empty objects in query params

0.7.3

Patch Changes

0.7.3

Patch Changes

  • bfb97aa: update with provenance
  • 3de7baf: add provenance tag to publish command

0.7.2

Patch Changes

0.7.1

Patch Changes

  • 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

Patch Changes

0.6.0

Minor Changes

  • 37a6d8e: added a new interceptor that runs both onResponse and onRequestErrors

0.5.4

Patch Changes

  • eebc2a8: create isQueryString Utility, update docs

0.5.3

Patch Changes

  • 0d83e43: removed manual headers handling for only formData

0.5.2

Patch Changes

  • 5aaa7b5: fix success response returning errorInfo instead error

0.5.1

Patch Changes

  • cad5d81: fixed a bug in fetch creator

0.5.0

Minor Changes

  • 6ec8f12: Add cloneResponse Option to callApi

0.4.7

Patch Changes

0.4.6

Patch Changes

  • 5ae2242: upgrade engines field to node 18.17.x

0.4.5

Patch Changes

  • 566fb56: added reason option to cancel method

0.4.4

Patch Changes

  • 7d732a1: Improvements to AbortError messages

0.4.3

Patch Changes

  • 19ac795: lil change to merge util

0.4.2

Patch Changes

  • 4240557: Add Documentation website

0.4.1

Patch Changes

  • c98edc8: Add Documentation website

0.4.0

Minor Changes

  • dc92197: changed errorName to just name

0.3.4

Patch Changes

  • 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

0.3.2

Patch Changes

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

0.3.0

Minor Changes

  • 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

0.2.6

Patch Changes

  • 2d418c5: remove src dir from dist

0.2.5

Patch Changes

  • 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

0.2.3

Patch Changes

  • 3907e38: update types in pkg.json

0.2.2

Patch Changes

  • b448415: fix: update entry points

0.2.1

Patch Changes

  • da4d300: chore: update build dir structure

0.2.0

Minor Changes

  • 66c4dad: feat: added option for adding custom validator function

Patch Changes

  • 66c4dad: refactor: exposed createFetchClient function for users who prefer it

0.1.1

Patch Changes

  • 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

Patch Changes

  • 9128630: docs: added proper docs to readme

0.0.6

Patch Changes

  • 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

0.0.4

Patch Changes

  • 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

0.0.2

Patch Changes

  • 6922422: feat: added more paths to entry

@zayne-labs/[email protected]

13 Feb 14:46
Compare
Choose a tag to compare

@zayne-labs/callapi

1.6.0

Minor Changes

  • d378e41: feat: add generic argument support and inference for response type

1.5.1

Patch Changes

  • 301715a: refactor(types)!: ♻️ 🏗️ make schema errors intuitive and easy to disable by including undefined

1.5.0

Minor Changes

  • 7c29408: feat: add support for validating every request detail via schemas

1.4.4

Patch Changes

  • 233b2b7: 🔧 fix(types): initialize plugin type generic with never to remove type errors

1.4.0

Minor Changes

  • 00440df: feat(core)!: ✨ add schema validation with standard-schema support
    chore(deps):⬆️ upgrade pnpm to 10.2.1
    docs(error-handling): 📝 improve error handling docs
    style(docs): 🎨 update docs UI and improve navigation
    fix(docs): 🔗 update broken links in README files

1.3.5

Patch Changes

  • bf6002b: chore(deps): ⬇️ downgrade fumadocs packages due to failed tailwind migration
    feat(exports): ✨ expose retry constants from utils
    chore(eslint): 🔧 enable tailwindcss config validation

1.3.3

Patch Changes

1.3.1

Patch Changes

  • ed6412d: fix: fix type issues with interceptor
    feat: allow plugin hooks to also be arrays

1.3.0

Minor Changes

  • cbedc52: 🔄 refactor(retry): rename retryCodes to retryStatusCodes for clarity ✨ feat(retry): add POST to default retry methods
    📝 docs(hooks): reorganize hooks documentation for better readability 🗑️ refactor(docs): merge retries.mdx into timeout-and-retries.mdx

1.2.1

Patch Changes

  • 28b68df: 🔧 fix(fetch): remove fullURL option from request options to extra-options

1.2.0

Minor Changes

  • 0f333f7: feat(core): ✨ Add retry functionality and enhance core components

    feat(docs): 📚 Update documentation structure and title

    chore(types): 🏗️ Refactor type definitions and utilities

1.1.0

Minor Changes

  • 4ff75bc: feat!: rename requestKey to dedupeKey

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

0.8.0

Minor Changes

  • a620848: reformated onError interceptor's error object to be consistent with the one from callapi

Patch Changes

0.7.9

Patch Changes

0.7.8

Patch Changes

  • 343989e: fix typo in error message for abort

0.7.7

Patch Changes

  • 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

0.7.5

Patch Changes

0.7.4

Patch Changes

  • 45ac33b: handled null cases for empty objects in query params

0.7.3

Patch Changes

0.7.3

Patch Changes

  • bfb97aa: update with provenance
  • 3de7baf: add provenance tag to publish command

0.7.2

Patch Changes

0.7.1

Patch Changes

  • 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

Patch Changes

0.6.0

Minor Changes

  • 37a6d8e: added a new interceptor that runs both onResponse and onRequestErrors

0.5.4

Patch Changes

  • eebc2a8: create isQueryString Utility, update docs

0.5.3

Patch Changes

  • 0d83e43: removed manual headers handling for only formData

0.5.2

Patch Changes

  • 5aaa7b5: fix success response returning errorInfo instead error

0.5.1

Patch Changes

  • cad5d81: fixed a bug in fetch creator

0.5.0

Minor Changes

  • 6ec8f12: Add cloneResponse Option to callApi

0.4.7

Patch Changes

0.4.6

Patch Changes

  • 5ae2242: upgrade engines field to node 18.17.x

0.4.5

Patch Changes

  • 566fb56: added reason option to cancel method

0.4.4

Patch Changes

  • 7d732a1: Improvements to AbortError messages

0.4.3

Patch Changes

  • 19ac795: lil change to merge util

0.4.2

Patch Changes

  • 4240557: Add Documentation website

0.4.1

Patch Changes

  • c98edc8: Add Documentation website

0.4.0

Minor Changes

  • dc92197: changed errorName to just name

0.3.4

Patch Changes

  • 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

0.3.2

Patch Changes

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

0.3.0

Minor Changes

  • 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

0.2.6

Patch Changes

  • 2d418c5: remove src dir from dist

0.2.5

Patch Changes

  • 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

0.2.3

Patch Changes

  • 3907e38: update types in pkg.json

0.2.2

Patch Changes

  • b448415: fix: update entry points

0.2.1

Patch Changes

  • da4d300: chore: update build dir structure

0.2.0

Minor Changes

  • 66c4dad: feat: added option for adding custom validator function

Patch Changes

  • 66c4dad: refactor: exposed createFetchClient function for users who prefer it

0.1.1

Patch Changes

  • 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

Patch Changes

  • 9128630: docs: added proper docs to readme

0.0.6

Patch Changes

  • 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

0.0.4

Patch Changes

  • 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

0.0.2

Patch Changes

  • 6922422: feat: added more paths to entry