All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Removed upper version bound to support Ruby 3.1. (thanks @nulldotpro)
- For better JSONAPI spec compliance, errors payloads will not include the
details
key when value isnull
. - Error payloads will not include the
meta
key when value is an empty object.
code
can now be provided as an argument toregister_exception
- #29 (thanks @amaierhofer)
- Support Ruby 3 (thanks @zvkemp and @ef4)
- Properly handle exceptions for invalid format types - #25 (thanks @shanet)
- Lower minimum Ruby requirement to 2.3 (thanks @elDub)
- Lower minimum Ruby requirement to 2.3 (thanks @elDub)
- RescueRegistry::RailsTestingHelpers provides some helpers for easier testing in Rails applications.
- Support for non-Rails applications.
- Passthrough statuses are currently only support for Rails applications.
- Added a new Rails middleware for handling the current context.
- Registry is now properly inherited so that new registrations in subclasses do not affect the parent.
- Default exception handler now works property in the root context.
- Everything, it's the first release!