Skip to content

Releases: dogado-group/json-api-common

v3.0.1

28 Jun 09:54
23d0bf7

Choose a tag to compare

  • Fix a bug where asterisk characters were not supported in request url's (#23)

v3.0.0

01 Oct 12:09
cfe08ad

Choose a tag to compare

  • Request: Add ability to add custom query parameters to requests (#20)
  • KeyValueCollection: Add ability to pull (get and remove) items by key (#20)

Thanks for the contribution, @stixxx2k!

v2.1.0

29 Jul 07:58
e3ac885

Choose a tag to compare

  • Add support for self initialized nullable value objects (#15)
  • Model converter: Empty value objects are now converted to empty hashes (#15)
  • Resource converter: Empty hashes now initialize value objects that support the \Dogado\JsonApi\Support\Model\ValueObjectFactoryInterface (#15)
  • Model converter: Fix a bug where uninitialized value objects are treated like valid instances, although they should be null (#15)

v2.0.0

11 Jul 10:35
e19f99e

Choose a tag to compare

  • Drop doctrine/annotations support. All JSON API model declarations must be php 8 attributes.
  • The legacy annotation classes under Dogado\JsonApi\Annotations have been removed.
  • The value properties for the Attribute and Type attributes have been renamed to name.
  • The DataModelAnalyser::process method only accepts objects and strings per data type. Previously, the type check has been done manually and caused a InvalidArgumentException.

v1.2.0

09 Jul 13:58
20cfaf5

Choose a tag to compare

  • introduce dedicated php 8 attribute classes to replace annotations in the next major release (#9)
  • trigger deprecation errors when using annotations (#9)
  • add support for the mixed data type within the ResourceConverter (#13)
  • some code cleanup and optimizations (#10, #11)

v1.1.1

04 Jul 17:17

Choose a tag to compare

  • remove illuminate/support as dependency (#5)

v1.1.0

24 Jun 22:20
79fc146

Choose a tag to compare

  • add php 8 attribute support for JSON:API model conversion (#4)
  • drop php 7.4 support

v1.0.0

21 May 13:32

Choose a tag to compare

Initial release 🎉