Skip to content

v0.8.0

Compare
Choose a tag to compare
@valscion valscion released this 04 Aug 11:12
· 78 commits to master since this release

Breaking change

[https://github.com//pull/24] Updated authorization processor logic to be compatible with jsonapi-resources upcoming v0.8.0 version. Thanks @acid!

This version does not support JR v0.7.x versions. If you need that support, stick to v0.6.1

Usage instructions have changed, adapt your configuration to match the new instructions if you want to be able to run against JR v0.8.0.beta1

 JSONAPI.configure do |config|
-  config.operations_processor = :jsonapi_authorization
+  config.default_processor_klass = JSONAPI::Authorization::AuthorizingProcessor
   config.exception_class_whitelist = [Pundit::NotAuthorizedError]
 end