Releases: api-platform/core
Releases · api-platform/core
v2.7.0-rc.2
What's Changed
- Fix api_jsonld_context route declaration by @vincentchalamon in #4844
- Migrate ApiFilter to new format by @nawel-les-tilleuls in #4845
- Add Maker command for state processor and provider by @nikophil in #4423
- Migrate ApiProperty to new format by @vincentchalamon in #4842
New Contributors
- @nawel-les-tilleuls made their first contribution in #4845
- @nikophil made their first contribution in #4423
Full Changelog: v2.7.0-rc.1...v2.7.0-rc.2
v3.0.0-rc.1
chore: update changelog
v2.7.0-rc.1
chore: update CHANGELOG
Version 2.6.8
- fix: serializing embedded non resource objects
- chore(openapi): upgrade Swagger UI to version 4.1.3
- chore(openapi): upgrade ReDoc to version 2.0.0-rc.59
- chore(graphql): upgrade GraphiQL to version 1.5.16
Version 2.6.7
Version 2.6.6
- fix(json-schema): consider
SplFileInfo
class as a binary type (#4332) - fix(json-schema): use
collectionKeyType
for building JSON Schema (#4385) - fix(openapi): failing recursion on api resources with "paths" key (#4325)
- fix(graphql): make sure form content type is recognized as a multipart request (#4461)
- fix(doctrine): handle inverse side of OneToOne association in Doctrine search filter (#4366)
- fix(doctrine): usage of deprecated DBAL type constants (#4399)
- fix(test): fix
REMOTE_ADDR
support inApiTestCase
(#4446) - fix(docs): use
asset_package
for all assets (#4470) - fix(docs): upgrade Swagger UI to version 3.52.3 (#4477)
- fix(docs): upgrade ReDoc to version 2.0.0-rc.56 (#4477)
- fix(docs): upgrade Swagger UI to version 2.0.0-rc.56 (#4477)
Version 2.6.5
- Fix usage of various deprecated methods
- JsonSchema: Update Hydra
@context
property possible types (#4223) - JsonSchema: Add hydra:previous
to the
hydra:view` schema properties (#4310) - Filter validation: Fix issue in Required filter validator with dot notation (#4221)
- OpenAPI: Fix notice/warning for
response
withoutcontent
in theopenapi_context
(#4210) - OpenAPI: Do not use output for request body (#4213)
- OpenAPI: Do not use JSON-lD schema for all media types (#4247) (BC note:
SchemaFactory::buildSchema()
is now immutable as it no longer modifies the passed$schema
) - OpenAPI: Allow setting extensionProperties with YAML schema definition (#4228)
- OpenAPI: do not throw error with non-standard HTTP verb (#4304)
- Serializer: Convert internal error to HTTP 400 in Ramsey uuid denormalization from invalid body string (#4200)
- GraphQL: Fix
FieldsBuilder
not fully unwrapping nested types before deciding if a resolver is needed (#4251) - GraphQL: Do not use a resolver for the nested payload of a mutation or subscription (#4289)
- GraphQL: Allow search filter to use an int for its value (#4295)
- Varnish: Improve
BAN
regex performance (#4231) - MongoDB: Fix denormalization of properties with embeds many that omit target document directive (#4315)
- MongoDB: Fix resolving proxy class in class metadata factory (#4322)
- Test: Add
withOptions()
to our HttpClient implementation (#4282) - Metadata: Fix allow using constants in XML configuration (resource attribute) (#4321)
Version 2.6.4
- OpenAPI: Using an implicit flow is now valid, changes oauth configuration default values (#4115)
- OpenAPI: Fix
response
support via theopenapi_context
(#4116) - OpenAPI: Fix
Link->requestBody
default value (#4116) - OpenAPI: Make sure we do not override defined parameters (#4138)
- Swagger UI: Remove Google fonts (#4112)
- Serializer: Fix denormalization of basic property-types in XML and CSV (#4145)
- Serializer: Fix denormalization of collection with one element in XML (#4154)
- JSON Schema: Manage Sequentially and AtLeastOneOf constraints when generating property metadata (#4139 and #4147)
- JSON Schema: properties regex pattern is now correctly anchored (#4176)
- JSON Schema: Fix PropertySchemaLengthRestriction string-only (#4177)
- Doctrine: Fix purging HTTP cache for unreadable relations (#3441)
- Doctrine: Revert #3774 support for binary UUID in search filter (#4134)
- Doctrine: Fix order filter when using embedded and nulls comparison (#4151)
- Doctrine: Fix duplicated eager loading joins (#3525)
- Doctrine: Fix joinRelations with multiple associations. (#2791)
- Doctrine: Revert using
defaults.order
ascollection.order
(#4178) - GraphQL: Partial pagination support (#3223)
- GraphQL: Manage
pagination_use_output_walkers
andpagination_fetch_join_collection
for operations (#3311) - GraphQL: Make sure the order of order filters is preserved if nested resources are used (#4171)
- Metadata: Sort mapping resources (#3256)
- UUID: manage Ulid in format property schema restriction (#4148)
- Symfony: Do not override Vary headers already set in the Response
- Symfony: Make Twig dependency lazy (#4187)
- Compatibility with
psr/cache
version 2 and 3 (#4117) - Docs: Upgrade Swagger UI to version 3.46.0
- Docs: Upgrade ReDoc to version 2.0.0-rc.51
- Docs: Upgrade GraphiQL to version 1.4.1
Version 2.6.3
- Identifiers: Re-allow
POST
operations even if no identifier is defined (#4052) - Hydra: Fix partial pagination which no longer returns the
hydra:next
property (#4015) - Security: Use a
NullToken
when using the new authenticator manager in the resource access checker (#4067) - Mercure: Do not use data in options when deleting (#4056)
- Doctrine: Support for foreign identifiers (#4042)
- Doctrine: Support for binary UUID in search filter (#3774)
- Doctrine: Do not add join or lookup for search filter with empty value (#3703)
- Doctrine: Reduce code duplication in search filter (#3541)
- JSON Schema: Allow generating documentation when property and method start from "is" (property
isActive
and methodisActive
) (#4064) - OpenAPI: Fix missing 422 responses in the documentation (#4086)
- OpenAPI: Fix error when schema is empty (#4051)
- OpenAPI: Do not set scheme to oauth2 when generating securitySchemes (#4073)
- OpenAPI: Fix missing
$ref
when notype
is used in context (#4076) - GraphQL: Fix "Resource class cannot be determined." error when a null iterable field is returned (#4092)
- Metadata: Check the output class when calculating serializer groups (#3696)
Version 2.6.2
- Validation: properties regex pattern is now compliant with ECMA 262 (#4027)
- OpenApi: normalizer is now backward compatible (#4016), fix the name converter issue changing OpenApi properties (#4019)
- Identifiers: Break after transforming the identifier (#3985), use the identifiers context to transform with multiple classes (#4029)
- JsonSchema: Revert
ALLOW_EXTRA_ATTRIBUTE=false
as it is a BC break and will be done in 3.0 instead see #3881 (#4007) - Subresource: fix ApiSubresource maxDepth option (#3986), recursive issue in the profiler (#4023)
- OpenApi: Allow
requestBody
andparameters
via theopenapi_context
(#4001), makeopenapi_context
work on subresources (#4004), sort paths (#4013) - Config: Allow disabling OpenAPI and Swagger UI without loosing the schema (#3968 and #4018), fix pagination defaults (#4011)
- DataPersister: context propagation fix (#3983)