API-Platform 2.6.5 have just been released with multiple bugfixes.  API-Platform is a PHP library to helps you build a fully-featured hypermedia or GraphQL API in minutes, and it can be easily integrated with the Symfony framework using the bundle distributed with the library. Notice that API-Platform support PHP8, while the next Version 3 will be supporting PHP8 only, so it will be basically the 2.7 minus the backward compatibility layer.

Changes in this release include several bugfixes in the JsonSchema, OpenAPI, GraphQL, MongoDB,Serializer, Filter validation, and Varnish. Most changes are bugfixes and improvements, the OpenAPI now allow setting extensionProperties with YAML schema definition, and do not throw error with non-standard HTTP verb. The Serializer have been updated to convert internal error to HTTP 400 in Ramsey uuid denormalization from invalid body string.

API-Platform 2.6.5

Changes in API-Platform 2.6.5

  • 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)

LEAVE A REPLY

Please enter your comment!
Please enter your name here