Release v3.0.0
Change Log
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
3.0.0 (2022-01-02)
- refactor!: upgrade pino + change interceptor public interface (6a8c1fe)
- feat!: remove HttpBody and Response classes (257f6f1)
- refactor!: remove Request class (81310de)
Features
- add circuit breaker adapter + major refactor of core components (f0dbbbc)
- add Deno version (9dfee28)
- add more http methods to HttpMethod constants (ce7fd6e)
- add response mapper adapter package (469ca47)
- add ResponseHandler + no longer returns error by default + simplify core components type system (21740fa)
- circuit-breaker: add possibility to combine adapters (6b2ed71)
- core: add configurer function to builder (88cf142)
- core: add hasConfig to RequestFactory (9fc2aa4)
- core: add option to ignore response handler on request factory (2c47836)
- core: add retry interceptor (0363ab7)
- deno: improve Deno version and ci for Deno (6a1c857)
- example-nestjs: add NestJS example (e162c74)
- example-nestjs: add NestJS example (fc1f0f4)
- examples: add nodejs es modules example (d8a5126)
- examples: re-add javascript backend example (077d5c0)
- expose undici pool from call factory (ec1b223)
- fetch: use fetch only + simplify module + upgrade deps (514631f)
- logging: add logging interceptor optimized for browser (c745d73)
- mapper: add possibility to combine adapters (5fc4d75)
- multipart + req and res identifiers + core components refactor (ba53066)
- request model arg parameter handler (e138039)
- request model args + refactor parameter handler components WIP (1cba0f4)
- use npm + improve test and lint configuration + upgrade deps (4b27404)
BREAKING CHANGES
- change the order of the parameters in the interceptor constructor
- removed HttpBody and Response. Now using the simpler DzResponse. Clients must implement the methods to consume and parse response data.
- remove Request class to use DzRequest which is simpler and just hold values. Clients should do all required validations and conversions.
2.2.0 (2021-06-14)
Bug Fixes
- core: remove response converter from callers and add the possibility to ignore it (564ea5d)
- lint: apply prettier fixes (4c50502)
2.1.0 (2021-03-20)
Features
- logger: expose level and add setLevel method (56ae69b)
2.0.0 (2021-03-07)
Bug Fixes
- logger-interceptor: fix response log entries + fix browser support (4217938)
Features
- fetch: add support for timeout on fetch client (9195c9b)
- add better support for Node-Fetch (2838660)
- add decorators to cover Node-Fetch options (638e127)
- add missing symbols + improve headers (41cddeb)
- fetch: handle errors on catch + add Node-Fetch (6129e41)
1.0.1 (2021-03-03)
Bug Fixes
- filter package.json before publish to avoid install problems (fd5ff05)
1.0.0 (2021-03-03)
Bug Fixes
- fetch package test build (1ef0aa6)
- dependabot: fix wrong setup (5e9b8e0)
- apply fixes to versions and release script (c5e0fe2)
0.0.1-alpha.0 (2021-03-01)
Bug Fixes
- add examples to eslint ignore list (a199932)
- build scripts (d3200bc)
- ignore additional folders to avoid lint problems after build (5c67f7d)
- lint problems + fetch pkg ts config + main ts ignores (42661b4)
- name in next val script (7d4a3ac)
- prettier config (88f8a83)
- prettier config + fetch tests (ade8c76)
- example: apply fixes to react js sample (30807a2)
- examples: remove use-strict from ts example (ea9bcc7)