v0.9.0.beta2 - Exception configuration and Bug Fixes
Pre-release
Pre-release
lgebhardt
released this
14 Feb 15:29
·
313 commits
to master
since this release
Features
- Make exception backtraces configurable (instead of defaulting to !production).
- Adds configuration option to whitelist all exceptions.
- Loosens Accept header check to allow starts with :api_json
- Add facility to override error object members in JR Exceptions
Bug Fixes
- Fix polymorphic type setter
- Fix issue where resources received context nested in hash
- Skip preloading of polymorphic relations, better handling of serialization with partially preloaded relations
- Fix so includes now follow namespacing
- Rescues JSON parsing error and return all exceptions from the parser in
_parser_exception
- Fixes sort with has one include
- Fixes an issue where the recreated relationships might be using the wrong model_name if the model_name is changed in a resource that is derived from a non abstract resource, such as done in many of the tests.
- Fixes issues related to CSV parsing of includes
- Fixes issues with has_one polymorphic serialization
- Fixes LoadError issue with engines
Breaking Changes
- Derived resources now use the model name of their base resource, if it is not abstract.