-
Notifications
You must be signed in to change notification settings - Fork 15
/
Changelog
128 lines (104 loc) · 3.96 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
-*- mode: fundamental -*-
Changes marked with '*' indicates a changes that breaks backward compatibility
[ ] Support extensible polymorphic variants
[ ] Switch to use result type for all serialization
[ ] Support attribute [@nobuiltin] attribute to treat types as abstract
[ ] Support Result.t, List.t, Option.t, Int.t, et. al
[ ] Add namespaces to attributes
[ ] Unify xmlm and xml_light driver to share codebase
5.2.1
[x] Set minimum ocaml version to 4.08
[x] Remove warnings on using kprintf and switch to reference Stdlib and not Caml
[x] Require yojson >= 1.6.0 and remove upper constraint on yojson
[x] Fix package description for yaml driver
5.2.0
[x] Extend tests to serialize and deserialize to string for completeness
[x] Fix bugs when deserializing msgpck
[x] Test using yaml >= 3.0.0 and msgpck >= 1.7.0
[x] Enable tests for xmlm driver and fix naming of raw serialized composed types
[x] Enable tests for xml_light driver and fix naming of raw serialized composed types
5.1.3 (2020-09-23)
[x] Remove dependency on stdio
[x] Fix warning when compiling with 4.11
5.1.2 (2020-06-26)
[x] Compatible with Base v0.14
5.1.1 (2020-05-10)
[x] Add xmlm driver for xml (by Nick Betteridge)
5.1.0 (2020-02-01)
[x] Add support for primitive type 'bytes'
[x] Add of_<driver>_exn for deserializing of Driver.t
[x] Dont depend on ppxlib for the runtime
[x] Remove dependency on base
[x] Support result type
[x] Require ppx >= 0.9.0 => support ocaml 4.10 (Thanks kit-ty-kate)
5.0.0 (2019-04-19)
[x] Add option make make lazy type indeed lazy
[x] Add option to mangle variant names
[*] Refactor tuple, variant and record code to be more efficient
[x] Reduce amount of closures in generated code
[*] support nativeint
[x] Remove superfluous rec flag from generated code
[x] Cache partial results for recursive types
[x] Fix signatures for parameterized types
[x] Create helper module for tuple, record and variant.
[x] Add strict option
[*] create t_to_driver and t_to_driver_exn
[x] Move some documentation to wiki pages
[x] Add a TLDR to the README, including dune build instructions
[x] Allow core < v.013
[x] Switch to use alcotest
[x] Expose constructor to driver error type for custom parsers. (@paurkedal)
4.0.0 (released 2019-03-26)
[*] Support "@default" argument on record fields. #9
[x] Add @name attribute to be compatible with ppx_deriving_yojson
[*] Support ref cells
[*] Serialize unit to Null instead of the empty list
[*] Replace mangle option with driver functors.
[x] Add compatability with yojson 1.5
3.2.0
[x] Require ppx_protocol_conv in all drivers. #12
[*] Handle char primitive type
3.1.3
[x] Require yojson >= 1.6.0
[x] Require ppxlib >= 0.3.0
3.1.2
[x] Support arrays
3.1.1
[x] Do not reference ppx in libraries
3.1.0
[x] Generalise json/jsonm/yaml/msgpack driver into one.
[x] Switch to dune
[x] Use ppxlib
[x] Xml: Decode </x> to the empty string
3.0.0
[x] Support inline records
[x] Improve error messages on unsupported type constructs
[x] Support polymorphic variants
[x] Support parameterised types
[x] Improve deserialisation error messages
[x] Make `None` and `Some None` map to distinct values
[x] Fix error when emitting code for types declared nonrec
[x] Msgpack: Add fine grained control of serialised types
[x] *Only emit <of|to>_protocol for types named t (Breaks backward compatibility)
2.0.1
[x] Move tests to own packages
2.0.0
[x] Split drivers into multiple driver packages
[x] Implement yaml driver
1.0.0
[x] Xml driver: Error when deserialising singleton lists in records
0.10.0
[x] Suport for non-recursive types
[x] Add alias to allow use without 't_' for types named 't' to mimic deriving_yojson behaviour
0.9.0
[x] Handle lazy types.
[x] Allow overriding Variant constructor names in serialisation
[x] Add t_of_xml and t_to_xml to drivers.
[x] Support int32 and int64
[x] Don't require all drivers to accept a flags parameter
[x] Add support for variants
[x] Support of_protocol and to_protocol
[x] Add msgpack driver
[x] Renamed package to ppx_protocol_conv
0.8:
[x] Initial release