v1.0.0
🎉 It's finally here!
After months of testing, bugs fixing, stressed usage in large business web apps/portals...here we are, the first and stable release.
💎 Improvements
- Improved documentation
RestError
's related:- Updated constructor
- Implemented
code
property, used for internal, non-REST calls related, error codes - The
code
property can be used asthrowExcluding
filter, so you can exclude errors like timeout or body parsing
- Removed the
onFilterMatch
option onIResponseFilter
, due to the presence ofthrowFilter
property on the response object. - A
throwExcluding
filter can be defined even as a sync/async method returningtrue
to prevent the error
💪 Bugfixes
- Fixed error thrown on timeout
- Fixed error thrown on abort
- Fixed
RestError
messages, always keeping care about the error reason (native, rest or internal)
⚙️ Internals
- Updated dependencies
- Fixed
jest
test suite and debugging - Switched to GitHub Actions
- Updated and simplified
tsconfig.json
structure - Updated typescript build target to
ES2021