Skip to content

v1.0.0

Compare
Choose a tag to compare
@micene09 micene09 released this 09 Dec 08:54

🎉 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 as throwExcluding filter, so you can exclude errors like timeout or body parsing
  • Removed the onFilterMatch option on IResponseFilter, due to the presence of throwFilter property on the response object.
  • A throwExcluding filter can be defined even as a sync/async method returning true 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