Skip to content

Releases: spryker/glue-json-api-convention

1.4.0

05 Nov 16:33
Compare
Choose a tag to compare

Included commits: 1.3.1...1.4.0

Improvements

  • Added PHPUnit 11 support.

1.3.1

07 Mar 08:26
Compare
Choose a tag to compare

Included commits: 1.3.0...1.3.1

Fixes

  • Adjusted JsonApiSchemaFormatterPlugin for more examples of the Filter query parameter.

1.3.0

06 Dec 11:09
Compare
Choose a tag to compare

Included commits: 1.2.0...1.3.0

Fixes

  • Adjusted JsonApiConventionPlugin so now it decides if it is applicable by Accept header in case Content-Type header is not provided.

1.2.0

25 May 14:50
Compare
Choose a tag to compare

Included commits: 1.1.0...1.2.0

Improvements

  • Introduced FilterRequestValidatorPlugin .
  • Adjusted FilterFieldRequestBuilderPlugin so now it does not throw an exception if filter data have the wrong format.
  • Introduced GlueError.message transfer field.
  • Introduced GlueRequestValidation.status, GlueRequestValidation.errors transfer fields.
  • Introduced GlueJsonApiConventionConfig::ERROR_CODE_UNSUPPORTED_FILTER_FORMAT, GlueJsonApiConventionConfig::ERROR_MESSAGE_UNSUPPORTED_FILTER_FORMAT.

1.1.0

24 Mar 17:09
Compare
Choose a tag to compare

Included commits: 1.0.0...1.1.0

Improvements

  • Adjusted JsonApiSchemaFormatterPlugin to add the definition of the Sort and ContentType parameters to the generated OpenAPI schema.
  • Adjusted JsonApiSchemaFormatterPlugin to have a proper description for the Filter query parameter.
  • Adjusted JsonApiSchemaFormatterPlugin to have a description for the Include query parameter.

1.0.0

28 Sep 14:59
Compare
Choose a tag to compare

Included commits: 0.2.3...1.0.0

Breaking Changes

  • Increased DocumentationGeneratorApiExtension module version dependency.
  • Increased GlueJsonApiConventionExtension module version dependency.
  • Removed GlueResponse.status transfer field.
  • Removed ConventionIdentifierRequestBuilderPlugin class.

Improvements

  • Adjusted GlueJsonApiConventionDependencyProvider to automatically plug convention-related plugins.

0.2.3

20 Sep 11:49
Compare
Choose a tag to compare

Included commits: 0.2.2...0.2.3

Fixes

  • Adjusted JsonApiResponseFormatterPlugin::format() so it generates links with parent resource if it passed.

Adjustments

  • Increased GlueApplicationExtensions module version dependency.

0.2.2

10 Sep 10:04
Compare
Choose a tag to compare

Included commits: 0.2.1...0.2.2

Fixes

  • Adjusted JsonApiSchemaFormatterPlugin::format() so it adds description option to the parameters.

0.2.1

12 Jul 09:40
Compare
Choose a tag to compare

Included commits: 0.2.0...0.2.1

Fixes

  • Adjusted JsonApiSchemaFormatterPlugin::format() so it generates correct reference for components.schema tag in specification file for swagger.
  • Introduced ResourceContext.pathAnnotation transfer field.
  • Introduced Annotation transfer.
  • Introduced PathAnnotation transfer.

0.2.0

29 Jun 16:43
Compare
Choose a tag to compare

Included commits: 0.1.2...0.2.0

Improvements

  • Adjusted the stack of RequestBuilderPluginInterface to use the interface \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RequestBuilderPluginInterface.
  • Adjusted the stack of RequestValidatorPluginInterface to use the interface \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RequestValidatorPluginInterface.
  • Adjusted the stack of RequestAfterRoutingValidatorPluginInterface to use the interface \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RequestAfterRoutingValidatorPluginInterface.
  • Adjusted the stack of ResponseFormatterPluginInterface to use the interface \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResponseFormatterPluginInterface.
  • Adjusted JsonApiSchemaFormatterPlugin namespace to match the convention.
  • Adjusted AttributesRequestBuilderPlugin namespace to match the convention.
  • Introduced ConventionIdentifierRequestBuilderPlugin to set the convention identifier to the GlueRequestTransfer.
  • Adjusted FilterFieldRequestBuilderPlugin to implement the \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RequestBuilderPluginInterface and use correct namespace.
  • Removed JsonApiApiConventionPlugin.
  • Introduced JsonApiConventionPlugin to represent the JSON:API convention in the new API applications.
  • Adjusted JsonApiResponseFormatterPlugin to implement \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResponseFormatterPluginInterface and use the correct namespace.
  • Adjusted PaginationRequestBuilderPlugin to implement \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RequestBuilderPluginInterface and use the correct namespace.
  • Adjusted RelationshipRequestBuilderPlugin to implement \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RequestBuilderPluginInterface and use the correct namespace.
  • Adjusted SortRequestBuilderPlugin to implement \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RequestBuilderPluginInterface and use the correct namespace.
  • Adjusted SparseFieldRequestBuilderPlugin to implement \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\RequestBuilderPluginInterface and use the correct namespace.
  • Adjusted RelationshipResponseFormatterPlugin to implement \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResponseFormatterPluginInterface and use the correct namespace.