Releases: elliotchance/phpserialize
Releases · elliotchance/phpserialize
v1.4.0
What's Changed
- Added support of unmarshalling and marshalling of pointers by @danielbairstow97 in #32
New Contributors
- @danielbairstow97 made their first contribution in #32
Full Changelog: v1.3.3...v1.4.0
v1.3.3
fix: support go uint type (#28)
v1.3.2
Fix index out of range (#26) If the string only contains a backslash.
v1.3.1
Adding serialization of objects with arrays (#24)
v1.3.0
Add tag option for omitting serialization of nil pointer values (#22) Add omitnilptr tag option for omitting encoding of nil pointers. This prevents panicking when attempting encoding struct with nil pointer fields.
v1.2.0
Implemented "php" tags for structs (#20) If you marshal or unmarshal from/into a struct, you may want to use go tags for it, instead of staticly using the struct field names just changing the first letter to upper/lower case. Example: type Target struct { FirstName string `php:"vorname"` LastName string `php:"nachname"` } This will correctly be filled with the according fields of serialized php object. Also unmarshaling will not fail if a struct field does not exist, because you may want to skip some fields from php objects.
v1.1.7
Fix a nested case with associative array (#18) Fixes #17
v1.1.6
Create LICENSE (#14)
v1.1.5
fix: escape characters (#10) Some characters are escaped and some are not. There seems to be no rhyme or reason to it.
v1.1.4
unmarshall map: multibyte example. Fixes #1 (#9) Provided an example test for the specific case in issue #1.