Highlights
MCP (Model Context Protocol) Support
- Introduce
api-platform/mcpcomponent (#7703) - MCP bundle tool integration (#7595)
- Collection support for MCP (#7724)
- Laravel MCP support (#7709)
Scalar API Reference Documentation
- Scalar is now available as an alternative documentation UI alongside Swagger UI (#7817)
Security
isGrantedis now evaluated before the provider, preventing unnecessary database queries on unauthorized requests (#7500)
Doctrine Filters
- UUID filter (#7628) with nested relation support (#7759)
- ComparisonFilter decorator for range filtering (#7760) with
ne(not equal) operator (#7814) caseSensitiveoption for PartialSearchFilter (#7675)- ODM SortFilter and nested property support (#7780)
- Support relations on filters (#7711)
- Readonly entities automatically lose PUT & PATCH operations (#7453)
Elasticsearch
Other Notable Features
- Defaults parameters (#7758)
- Laravel object mapper (#7704)
- JSON Schema normalization/denormalization with attributes (#7629)
- JSON:API entity identifiers instead of IRIs as resource id (#7702)
SkipAutoconfigureattribute for Laravel (#7467)- LDP-compliant
AllowandAccept-Postresponse headers (#6917) - Cache operation metadata factory (#7516)
gen_idglobal configuration option (#7775)- Preserve key option in CollectionNormalizer (#7721)
- UUID/ULID parameter validation (#7649)
Breaking Changes
- JSON-LD
@typewithoutputanditemUriTemplate: uses the resource class name instead of the output DTO class name - Doctrine filters require explicit
property(#7681): throwsInvalidArgumentExceptionif missing (unless you use a:propertyplaceholder) - Readonly entities lose PUT & PATCH (#7453): clients will receive 404 instead of processing the request
Behavioral Changes
- Hydra class
@iduses#ShortName(#7771): replaces schema.org type URIs — clients should expect class@idand property range changes - Scalar UI enabled by default (#7817): disable with
enable_scalar: falseif unwanted
See the full changelog with all bug fixes and detailed upgrade notes on the 4.3 branch CHANGELOG.md.
New Contributors
- @hotfix31 made their first contribution in #7450
- @BySplashGm made their first contribution in #7513
- @bonroyage made their first contribution in #7776
- @olinox14 made their first contribution in #7775
Full Changelog: v4.2.21...v4.3.0