Forest Admin v7.0.0 Release Notes
Release Date: 2021-07-20 // about 4 years ago-
๐ Bug Fixes
- dependency: now using forestadmin-jsonapi-serializers instead of the jsonapi-serializers gem (#475) (3feea36)
chore
- ๐ force-release: now using forestadmin-jsonapi-serializers instead of the jsonapi-serializers gem (#464) (00ee2a4)
๐ Features
- scopes: enforce scopes restrictions on a wider range of requests (#488) (66825a3)
- ๐ smart action hooks now have access to the http request (#499) (5cd4a0e)
- hooks: developers can dynamically add or remove smart actions fields (#465) (970f3d8)
- ๐ security: secure segments queries (#495) (571f889)
๐ฅ BREAKING CHANGES
- ๐ record is no longer send to the hook midleware & values option on smart action is no longer supported
- hooks: fields parameters on hook function is no longer a map of field, it is now an array. ๐ change hook is no longer choosen by the field name, field need to have hook defined inside it definition by addin a props hook.
- dependency: Switch from jsonapi-serializers to forestadmin-jsonapi-serializers to serialize data to the JSONAPI format, mainly to avoid conflict with the jsonapi-serializer library
- ๐ force-release: Switch from jsonapi-serializers to forestadmin-jsonapi-serializers to serialize data to the JSONAPI format, mainly to avoid conflict with the jsonapi-serializer library