Repository navigation
1.2.0
Security
This release fixes two vulnerabilities. Upgrade is recommended for every user.
- Authorization bypass (GHSA-762g-2h9q-f2wr, high):
ResourceAccessEventwas dispatched only by the list endpoint. It now runs first in every endpoint (get, create, update, delete, deleteMany, related lists), and a cancelled event answers 403. - DQL injection and hidden-column disclosure (GHSA-v6q3-fcjx-w2mv, medium): list filters and sorting accept only mapped fields the resource exposes, and ASC/DESC; anything else answers 400.
Behaviour changes
- Listeners of
react_admin_api.resource_accessnow see every operation (getOperation()); one that denies regardless of operation now blocks reads and writes too. - Filtering or sorting on a field the API does not return answers 400. Allow more with
getFilterableFields()/getSortableFields()on the repository. - Page size is capped at 1000.
- Related-resource lists work (they failed in every earlier release).
See UPGRADING.md.
Changes since 1.1.0
Full Changelog: 1.1.0...1.2.0