UNPKG

@aurelia/fetch-client

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/) [![CircleCI](https://circleci.com/

456 lines (274 loc) • 13.8 kB
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. <a name="2.0.0-beta.25"></a> # 2.0.0-beta.25 (2025-07-10) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.24"></a> # 2.0.0-beta.24 (2025-04-27) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.23"></a> # 2.0.0-beta.23 (2025-01-26) ### Features: * **tooling:** type-checking for templates - Phase1 (#2066) ([ebc1d0c](https://github.com/aurelia/aurelia/commit/ebc1d0c)) <a name="2.0.0-beta.22"></a> # 2.0.0-beta.22 (2024-09-30) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.21"></a> # 2.0.0-beta.21 (2024-08-08) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.20"></a> # 2.0.0-beta.20 (2024-07-07) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.19"></a> # 2.0.0-beta.19 (2024-06-12) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.18"></a> # 2.0.0-beta.18 (2024-05-23) ### Refactorings: * ***:** extract error codes and cleanup (#1974) ([63ffdc9](https://github.com/aurelia/aurelia/commit/63ffdc9)) <a name="2.0.0-beta.17"></a> # 2.0.0-beta.17 (2024-05-11) ### Refactorings: * **kernel:** mark side effect free (#1964) ([22c8f71](https://github.com/aurelia/aurelia/commit/22c8f71)) <a name="2.0.0-beta.16"></a> # 2.0.0-beta.16 (2024-05-03) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.15"></a> # 2.0.0-beta.15 (2024-04-17) ### Refactorings: * ***:** migration to TC39 decorators + metadata simplification (#1932) ([22f90ad](https://github.com/aurelia/aurelia/commit/22f90ad)) <a name="2.0.0-beta.14"></a> # 2.0.0-beta.14 (2024-04-03) ### Features: * **i18n:** support multiple versions of i18next (#1927) ([0789ee5](https://github.com/aurelia/aurelia/commit/0789ee5)) <a name="2.0.0-beta.13"></a> # 2.0.0-beta.13 (2024-03-15) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.12"></a> # 2.0.0-beta.12 (2024-03-02) ### Bug Fixes: * **di:** new instance resolver (#1909) ([efe208c](https://github.com/aurelia/aurelia/commit/efe208c)) <a name="2.0.0-beta.11"></a> # 2.0.0-beta.11 (2024-02-13) ### Features: * **state:** support redux devtools for the state plugin (#1888) ([bd07160](https://github.com/aurelia/aurelia/commit/bd07160)) ### Bug Fixes: * ***:** upgrade rollup, tweak build scripts ([bd07160](https://github.com/aurelia/aurelia/commit/bd07160)) ### Refactorings: * **fetch-client:** cleanup, add tests, tweak doc & prepare cache interceptor (#1756) ([a931dac](https://github.com/aurelia/aurelia/commit/a931dac)) <a name="2.0.0-beta.10"></a> # 2.0.0-beta.10 (2024-01-26) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.9"></a> # 2.0.0-beta.9 (2023-12-12) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.8"></a> # 2.0.0-beta.8 (2023-07-24) ### Refactorings: * **ref:** deprecate view-model.ref and introduce component.ref (#1803) ([97e8dad](https://github.com/aurelia/aurelia/commit/97e8dad)) <a name="2.0.0-beta.7"></a> # 2.0.0-beta.7 (2023-06-16) ### Features: * **build:** add a development entry point (#1770) ([69ff445](https://github.com/aurelia/aurelia/commit/69ff445)) <a name="2.0.0-beta.6"></a> # 2.0.0-beta.6 (2023-05-21) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.5"></a> # 2.0.0-beta.5 (2023-04-27) ### Refactorings: * **build:** preserve pure annotation for better tree shaking (#1745) ([0bc5cd6](https://github.com/aurelia/aurelia/commit/0bc5cd6)) <a name="2.0.0-beta.4"></a> # 2.0.0-beta.4 (2023-04-13) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.3"></a> # 2.0.0-beta.3 (2023-03-24) ### Refactorings: * **build:** use turbo to boost build speed (#1692) ([d99b136](https://github.com/aurelia/aurelia/commit/d99b136)) <a name="2.0.0-beta.2"></a> # 2.0.0-beta.2 (2023-02-26) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-beta.1"></a> # 2.0.0-beta.1 (2023-01-12) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.41"></a> # 2.0.0-alpha.41 (2022-09-22) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.40"></a> # 2.0.0-alpha.40 (2022-09-07) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.39"></a> # 2.0.0-alpha.39 (2022-09-01) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.38"></a> # 2.0.0-alpha.38 (2022-08-17) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.37"></a> # 2.0.0-alpha.37 (2022-08-03) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.36"></a> # 2.0.0-alpha.36 (2022-07-25) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.35"></a> # 2.0.0-alpha.35 (2022-06-08) ### Features: * **ts-jest,babel-jest:** upgrade to jest v28 (#1449) ([b1ec85c](https://github.com/aurelia/aurelia/commit/b1ec85c)) <a name="2.0.0-alpha.34"></a> # 2.0.0-alpha.34 (2022-06-03) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.33"></a> # 2.0.0-alpha.33 (2022-05-26) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.32"></a> # 2.0.0-alpha.32 (2022-05-22) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.31"></a> # 2.0.0-alpha.31 (2022-05-15) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.30"></a> # 2.0.0-alpha.30 (2022-05-07) ### Refactorings: * **runtime-html:** remove .js from im/export, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **runtime:** remove .js from im/export, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **kernel:** remove .js from im/ex, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **testing:** remove .js from im/ex, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **store-v1:** remove .js from im/ex, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **validation:** remove .js from im/ex, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **validation-html:** remove .js from im/ex, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **validation-i18n:** remove .js from im/ex, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **router-lite:** remove .js from im/ex, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **router:** remove .js from im/ex, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **i18n:** remove .js from im/ex, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **fetch-client:** remove .js from im/ex, add type to barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **tests:** correct import origins ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **all:** remove imports from re-barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **all:** remove imports of re-barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **all:** remove imports of re-barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) * **all:** remove imports of re-barrel ([973ae46](https://github.com/aurelia/aurelia/commit/973ae46)) <a name="2.0.0-alpha.29"></a> # 2.0.0-alpha.29 (2022-04-27) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.28"></a> # 2.0.0-alpha.28 (2022-04-16) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.27"></a> # 2.0.0-alpha.27 (2022-04-08) ### Bug Fixes: * **build:** ensure correct __DEV__ build value replacement (#1377) ([40ce0e3](https://github.com/aurelia/aurelia/commit/40ce0e3)) <a name="2.0.0-alpha.26"></a> # 2.0.0-alpha.26 (2022-03-13) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.25"></a> # 2.0.0-alpha.25 (2022-03-08) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.24"></a> # 2.0.0-alpha.24 (2022-01-18) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.23"></a> # 2.0.0-alpha.23 (2021-11-22) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.22"></a> # 2.0.0-alpha.22 (2021-10-24) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.21"></a> # 2.0.0-alpha.21 (2021-09-12) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.20"></a> # 2.0.0-alpha.20 (2021-09-04) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.19"></a> # 2.0.0-alpha.19 (2021-08-29) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.18"></a> # 2.0.0-alpha.18 (2021-08-22) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.17"></a> # 2.0.0-alpha.17 (2021-08-16) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.16"></a> # 2.0.0-alpha.16 (2021-08-07) ### Refactorings: * **all:** use a terser name cache for predictable prop mangling ([7649ced](https://github.com/aurelia/aurelia/commit/7649ced)) <a name="2.0.0-alpha.15"></a> # 2.0.0-alpha.15 (2021-08-01) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.14"></a> # 2.0.0-alpha.14 (2021-07-25) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.13"></a> # 2.0.0-alpha.13 (2021-07-19) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.12"></a> # 2.0.0-alpha.12 (2021-07-11) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.11"></a> # 2.0.0-alpha.11 (2021-07-11) ### Bug Fixes: * **call-binding:** assign args to event property, fixes #1231 ([fa4c0d4](https://github.com/aurelia/aurelia/commit/fa4c0d4)) <a name="2.0.0-alpha.10"></a> # 2.0.0-alpha.10 (2021-07-04) ### Refactorings: * **templating:** remove projections param from getRenderContext ([cf34e40](https://github.com/aurelia/aurelia/commit/cf34e40)) <a name="2.0.0-alpha.9"></a> # 2.0.0-alpha.9 (2021-06-25) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.8"></a> # 2.0.0-alpha.8 (2021-06-22) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.7"></a> # 2.0.0-alpha.7 (2021-06-20) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.6"></a> # 2.0.0-alpha.6 (2021-06-11) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.5"></a> # 2.0.0-alpha.5 (2021-05-31) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.4"></a> # 2.0.0-alpha.4 (2021-05-25) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.3"></a> # 2.0.0-alpha.3 (2021-05-19) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.2"></a> # 2.0.0-alpha.2 (2021-03-07) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.1"></a> # 2.0.0-alpha.1 (2021-03-03) **Note:** Version bump only for package @aurelia/fetch-client <a name="2.0.0-alpha.0"></a> # 2.0.0-alpha.0 (2021-03-02) **Note:** Version bump only for package @aurelia/fetch-client <a name="0.9.0"></a> # 0.9.0 (2021-01-31) ### Features: * **fetch-client:** add IHttpClient interface ([b1a7a6d](https://github.com/aurelia/aurelia/commit/b1a7a6d)) ### Bug Fixes: * **fetch-client:** http-client.ts ([5137832](https://github.com/aurelia/aurelia/commit/5137832)) <a name="0.8.0"></a> # 0.8.0 (2020-11-30) ### Refactorings: * **all:** add .js extensions for native esm compat ([0308e2e](https://github.com/aurelia/aurelia/commit/0308e2e)) * **fetch-client:** remove dom dep ([fa511d4](https://github.com/aurelia/aurelia/commit/fa511d4)) * **all:** move html-specific stuff from runtime to runtime-html and remove Node generics ([c745963](https://github.com/aurelia/aurelia/commit/c745963)) <a name="0.7.0"></a> # 0.7.0 (2020-05-08) **Note:** Version bump only for package @aurelia/fetch-client <a name="0.6.0"></a> # 0.6.0 (2019-12-18) ### Bug Fixes: * **fetch-client:** use correct prototype checks ([405a8dd](https://github.com/aurelia/aurelia/commit/405a8dd)) <a name="0.5.0"></a> # 0.5.0 (2019-11-15) **Note:** Version bump only for package @aurelia/fetch-client <a name="0.4.0"></a> # 0.4.0 (2019-10-26) ### Performance Improvements: * **all): add sideEffect:** false for better tree shaking ([59b5e55](https://github.com/aurelia/aurelia/commit/59b5e55)) ### Refactorings: * **fetch-client:** replace PLATFORM methods ([626645d](https://github.com/aurelia/aurelia/commit/626645d)) * **all): more cleaning up after TS breaking changes:** ( ([c4c3fc7](https://github.com/aurelia/aurelia/commit/c4c3fc7)) * ***:** use InjectArray ([b35215f](https://github.com/aurelia/aurelia/commit/b35215f)) * ***:** minor linting refactor ([f692d1f](https://github.com/aurelia/aurelia/commit/f692d1f)) * **fetch-client:** switch from delete to Reflect.deleteProperty ([1e63cfc](https://github.com/aurelia/aurelia/commit/1e63cfc)) * **fetch-client:** linting and typing fixes/changes ([e7658aa](https://github.com/aurelia/aurelia/commit/e7658aa))