Releases: emileber/axios-middleware
Releases · emileber/axios-middleware
End of life release
Notice
This release will be the last for this package. Axios is no longer the recommended library it used to be and it also introduced breaking changes making this library harder to maintain. Please consider an alternative.
What's Changed
- Add Codecov integration by @GabLeRoux in #13
- Updates dependencies and re-indents to 2 spaces by @emileber in #18
- Updates documentation with clearer return requirements by @emileber in #19
- Fixes npm scripts and code coverage setup by @emileber in #21
- Refactors middleware chain building by @emileber in #20
- Adds pkg-ok by @emileber in #22
- Bump axios from 0.17.1 to 0.18.1 by @dependabot in #24
- Bump codecov from 3.2.0 to 3.6.5 by @dependabot in #33
- Add missing comma by @joostlek in #35
- Fix auth example by @joostlek in #36
- Bump tmpl from 1.0.4 to 1.0.5 by @dependabot in #48
- Bump path-parse from 1.0.5 to 1.0.7 by @dependabot in #47
- Bump hosted-git-info from 2.6.1 to 2.8.9 by @dependabot in #45
- Bump axios from 0.18.1 to 0.21.2 by @dependabot in #49
- Bump browserslist from 4.4.2 to 4.16.6 by @dependabot in #46
- Bump lodash from 4.17.11 to 4.17.21 by @dependabot in #44
- Update dependencies, linting and formatting by @emileber in #63
- Pin axios peer dependency to <1.2.0 by @emileber in #64
New Contributors
- @GabLeRoux made their first contribution in #13
- @dependabot made their first contribution in #24
- @joostlek made their first contribution in #35
Full Changelog: v0.3.1...v0.4.0
Removes HttpMiddleware base class
This is a breaking change for anyone using the class syntax, inheriting the HttpMiddleware
base class.
See PR #10
Updates axios peer dependency range
See #8
Adds custom adapter
Adds the new onSync
method and each handler method can now return a promise.
Simplified middleware syntax
Breaking changes: refactored handle
prefix in favor of on
in #4.
handleRequestError
is nowonRequestError
handleResponseError
is nowonResponseError
Replaces webpack with rollup
Cleaner build files without webpack bloat.
Fixes prebuilt published files
Webpack config was broken and babel wasn't running.