Releases: spryker/glue-json-api-convention
Releases · spryker/glue-json-api-convention
1.4.0
1.3.1
Included commits: 1.3.0...1.3.1
Fixes
- Adjusted
JsonApiSchemaFormatterPlugin
for more examples of theFilter
query parameter.
1.3.0
Included commits: 1.2.0...1.3.0
Fixes
- Adjusted
JsonApiConventionPlugin
so now it decides if it is applicable byAccept
header in caseContent-Type
header is not provided.
1.2.0
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
Included commits: 1.0.0...1.1.0
Improvements
- Adjusted
JsonApiSchemaFormatterPlugin
to add the definition of theSort
andContentType
parameters to the generated OpenAPI schema. - Adjusted
JsonApiSchemaFormatterPlugin
to have a proper description for theFilter
query parameter. - Adjusted
JsonApiSchemaFormatterPlugin
to have a description for theInclude
query parameter.
1.0.0
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
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
Included commits: 0.2.1...0.2.2
Fixes
- Adjusted
JsonApiSchemaFormatterPlugin::format()
so it addsdescription
option to the parameters.
0.2.1
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
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 theGlueRequestTransfer
. - 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.