Skip to content

Releases: elliotchance/phpserialize

v1.4.0

31 Jan 15:17
9905247
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.3...v1.4.0

v1.3.3

23 Apr 04:47
c610362
Compare
Choose a tag to compare
fix: support go uint type (#28)

v1.3.2

04 Dec 19:15
539a6f1
Compare
Choose a tag to compare
Fix index out of range (#26)

If the string only contains a backslash.

v1.3.1

02 Jun 13:40
5bb5ecf
Compare
Choose a tag to compare
Adding serialization of objects with arrays (#24)

v1.3.0

13 Mar 05:20
5004667
Compare
Choose a tag to compare
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

22 Jan 20:35
Compare
Choose a tag to compare
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

02 Jun 23:40
Compare
Choose a tag to compare
Fix a ​nested case with associative array (#18)

Fixes #17

v1.1.6

14 May 00:24
d53ff32
Compare
Choose a tag to compare
Create LICENSE (#14)

v1.1.5

18 Jan 02:16
1679dc2
Compare
Choose a tag to compare
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

16 Jan 23:22
d8e23c3
Compare
Choose a tag to compare
unmarshall map: multibyte example. Fixes #1 (#9)

Provided an example test for the specific case in issue #1.