Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
39.87 KB
MD5: 55b2cef84392c0f19c25633bc50204d2
SHA-1: bf39a029112040c99787bf2e0af2cd40e1f6fad1
SHA-256: cb7424b57826b2f2cf75233890a2e4ea9e1fad7c0c54fa6175392cd543b01b0f
Download zip
78.51 KB
MD5: 5aac09a2de544a2ab037cc5c18af6f14
SHA-1: 1b805ace3ab5298df391b0f66ddbc84f5e92a479
SHA-256: d683f34f42f60781897cc1886b22d3b24eb5911ed2032aa9392ded5964444168
Release notes
Type-hint API request properties as entity classes so the matching entity is loaded automatically, and return cached normalizations from entity IDs, UUIDs, or revision IDs without loading the full entity. Placeholders are preserved during normalization, and fixes cover entity lookup by bundle, cache-tag leakage across entity lists, translation loading in the UUID converter, and empty query parameters being treated as values.
Contributors (1)
Changelog
Issues: 8 issues resolved.
Changes since 1.5.1 (compare):
Bug
- #3574805 The entity UUID parameter converter doesn't load the active translation
- #3572366 When normalizing an array of entities, normalizations get the cache tags of all previous entities
- #3595378 NotNormalizableValueException is not handled when resolving request classes
- #3595380 PluginNotFoundException: The '' entity type does not exist
- #3595382 EntityExistsValidator doesn't only query for entities of the specified bundle
- Consider empty query params as null values