Skip to content

Releases: square/pjson

v0.5.0: Merge pull request #31 from square/union-types

15 Mar 18:20
cf9f9a7
Compare
Choose a tag to compare

v0.4.0: Merge pull request #28 from refactor-ring/backend-enum-arrays

04 Oct 22:01
9519d03
Compare
Choose a tag to compare
  • Better support for backed enum when used in an array / collection

Fix issues where nullable properties wouldn't be assigned `null`

03 Jul 20:56
5a2db0a
Compare
Choose a tag to compare
Merge pull request #27 from square/nullableprops

Fix issues with nullable properties

Fixes an issue where the order of property declaration mattered

07 Jun 22:48
06c0c4c
Compare
Choose a tag to compare
Merge pull request #26 from square/nullparent

If a parent object on the same path was previously set but was null and other properties need to still set that path to set themselves because they're not marked with `omit_empty: true`, allow nesting deeper

Laravel 7 compatibility

02 Jun 23:35
59e0b50
Compare
Choose a tag to compare

Fixes an issue where the Laravel integration was only working for Laravel 8+ due to incompatible interfaces.

v0.3.0: Merge pull request #22 from square/custom-exception

01 Feb 01:06
1f9e54d
Compare
Choose a tag to compare
  • FIX: handle nullable arrays #20
  • NEW: handle collection classes #21
  • NEW: mark properties as required #19

Integrate with Laravel's casts

07 Nov 18:22
da90e09
Compare
Choose a tag to compare
Merge pull request #16 from square/laravel-casts

Proposal for integration with Laravel casts

v0.1.1: Merge pull request #15 from square/integer-path

14 Oct 19:27
82fc626
Compare
Choose a tag to compare
  • FIX: serializing objects that had a json path with an integer in them now succeeds

v0.1.0

11 Oct 18:38
5c3b711
Compare
Choose a tag to compare

Initial release