Skip to content

Releases: api-platform/core

v2.7.0-rc.2

25 Jul 11:27
f2c8a61
Compare
Choose a tag to compare
v2.7.0-rc.2 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.7.0-rc.1...v2.7.0-rc.2

v3.0.0-rc.1

20 Jul 09:22
e7417cb
Compare
Choose a tag to compare
v3.0.0-rc.1 Pre-release
Pre-release
chore: update changelog

v2.7.0-rc.1

20 Jul 09:21
de239e5
Compare
Choose a tag to compare
v2.7.0-rc.1 Pre-release
Pre-release
chore: update CHANGELOG

Version 2.6.8

11 Jan 10:36
v2.6.8
ff3aab5
Compare
Choose a tag to compare
  • 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

24 Dec 14:13
v2.6.7
8a19950
Compare
Choose a tag to compare
  • feat: compatibility with Symfony 6 (#4503, #4582, #4604, #4564)
  • feat: compatibility with PHP 8.1 (#4503, #4582, #4604)
  • fix: pass the child context when normalizing nested non-resource objects (#4521)

Version 2.6.6

30 Sep 07:13
v2.6.6
25c71b2
Compare
Choose a tag to compare
  • 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 in ApiTestCase (#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

15 Jun 19:03
v2.6.5
4e22a28
Compare
Choose a tag to compare
  • Fix usage of various deprecated methods
  • JsonSchema: Update Hydra @context property possible types (#4223)
  • JsonSchema: Add hydra:previousto thehydra:view` schema properties (#4310)
  • Filter validation: Fix issue in Required filter validator with dot notation (#4221)
  • OpenAPI: Fix notice/warning for response without content in the openapi_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

12 Apr 14:56
v2.6.4
be971e5
Compare
Choose a tag to compare
  • OpenAPI: Using an implicit flow is now valid, changes oauth configuration default values (#4115)
  • OpenAPI: Fix response support via the openapi_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 as collection.order (#4178)
  • GraphQL: Partial pagination support (#3223)
  • GraphQL: Manage pagination_use_output_walkers and pagination_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

07 Mar 19:15
v2.6.3
1ba7721
Compare
Choose a tag to compare
  • 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 method isActive) (#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 no type 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

07 Feb 18:22
v2.6.2
2edb3bf
Compare
Choose a tag to compare
  • 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 and parameters via the openapi_context (#4001), make openapi_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)