-
Notifications
You must be signed in to change notification settings - Fork 7
/
CHANGES
119 lines (77 loc) · 3.72 KB
/
CHANGES
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
Piqi-ocaml 0.7.8 (Aug 05, 2019)
===============================
- Add support for the dune build system and use it from OPAM by default
- Switch CI setup from Travis to GH Actions
Piqi-ocaml 0.7.7 (Oct 12, 2019)
===============================
- Switch from Pervasives to Stdlib
Piqi-ocaml 0.7.6 (Sep 13, 2018)
===============================
- Fix sometimes incorrect handling of unknown fields (--gen-preserve-unknown-fields)
- (new) add support for .internal flag for fields that should be defined in OCaml but
skipped during serialization/deserialization
Piqi-ocaml 0.7.5 (May 31, 2016)
===============================
- Switch to tail-recursive List.map in the piqirun.ml runtime library
- (new feature) Support for overriding ocaml name of an imported module
Piqi-ocaml 0.7.4 (Mar 13, 2015)
===============================
- Fix build and tests for OCaml < 4.02.0
Piqi-ocaml 0.7.3 (Mar 13, 2015)
===============================
- Fix compilation warnings for OCaml >= 4.02
Piqi-ocaml 0.7.2 (May 17, 2014)
===============================
New features:
- Automatically prefix OCaml keywords and user-specified reserved names with
underscores in generated OCaml code (thanks to Petter Urkedal)
Piqi-ocaml 0.7.1 (April 17, 2014)
=================================
Fixes:
- 'piqic-ocaml --normalize-names' should be true by default
Other changes:
- piqic-ocaml: indent generated .ml code instead of relying on camlp4o
Piqi-ocaml 0.7.0 (April 7, 2014)
================================
The main change of this release is the rewrite of the "piqic-ocaml" code
generator on top of "piqi compile" interfaces. As a result, we were able to move
the piqi-ocaml code from the main Piqi project repository into its own
piqi-ocaml repo.
Other important changes:
- "piqic ocaml" becomes "piqic-ocaml"
- "piqic ocaml-ext" turns into "piqic-ocaml --ext"
- "piqirun" becomes a package with two subpackages: piqirun.pb -- for Protobuf
serialization and piqirun.ext -- for multi-format serialization; piqirun.pb
should be now used instead of piqirun package and piqirun.ext -- instead of
piqi.lib
- "--gen-defaults" compiler option is deprecated. "piqic-ocaml" now generates
_piqi.default_X automatically
- Much more cleaner and stable interfaces in the piqilib dependency (those
that piqi-ocaml depends on); this allows us to release piqilib and
piqi-ocaml independently
- Drop support for OCaml <= 3.11
- Deprecate and remove "pa_openin" camlp4 extension; "pa_labelscope"
extensions is kept for now as a part of the piqilib package so that existing
programs can still use it
- Deprecate and remove "piqic-ocaml -o <ofile>" command-line option
Fixes:
- Fix generation of incorrect code for custom OCaml types
New features:
- Preserve unknown Protobuf fields through deserialization-serialization cycle
(new piqic-ocaml --gen-preserve-unknown-fields flag)
- New conversion options: piq_frameless_output, piq_frameless_input,
piq_relaxed_parsing
- Add the ability to specify conversion options for generated
_piqi_ext.print_/prerr_ functions
- Add piqic-ocaml --piqi-version flag for printing piqilib version
- Add piqic-ocaml --runtime <module> option for specifying the name of the
Protobuf serialization runtime module (default = Piqirun)
Miscellaneous:
- Rename conversion option: json_omit_null_fields -> json_omit_missing_fields
- Improved piqi-ocaml documentation (available at doc/piqi-ocaml.md)
- Continuous builds via Travis-CI
Piqi 0.6.5 (October 27, 2013)
=============================
Changelog for v0.6.5 and earlier releases is available here (the piqi-ocaml
project used to be a subtree in the piqi repository):
https://github.com/alavrik/piqi/blob/master/CHANGES