| 1 | ## v0.11 |
| 2 | |
| 3 | - Depend on ppxlib instead of (now deprecated) ppx\_core, ppx\_driver and |
| 4 | ppx\_metaquot. |
| 5 | |
| 6 | ## v0.10 |
| 7 | |
| 8 | - Added new `[@@deriving sexp]` record-field attribute, `[@sexp.omit_nil]`, for |
| 9 | a field that is omitted if its sexp representation is `()`. |
| 10 | |
| 11 | - Improved `[%sexp_of: 'a]` and `[%of_sexp: 'a]` to not expose variable names |
| 12 | intended for internal use. |
| 13 | |
| 14 | ## v0.9 |
| 15 | |
| 16 | ## 113.43.00 |
| 17 | |
| 18 | - Fix generator for polymorphic types where var names clashes with type name: `type 't t = ...` |
| 19 | |
| 20 | ## 113.33.00 |
| 21 | |
| 22 | - Clean up the documentation for sexplib, modernizing it to include |
| 23 | `ppx_sexp_conv`, and breaking up the documentation between sexplib and |
| 24 | `ppx_sexp_conv`. Also changed the formatting to use org-mode, so it |
| 25 | will render properly on github. Markdown doesn't render well by |
| 26 | default, unless you use quite different conventions about linebeaks. |
| 27 | |
| 28 | ## 113.24.00 |
| 29 | |
| 30 | - Trying to improve the tests in ppx\_sexp\_conv because they are a mess. |
| 31 | At least all tests are automatic now. And more things are tested like |
| 32 | the sexpification of exceptions. |
| 33 | |
| 34 | - Update to follow `Type_conv` and `Ppx_core` evolution. |
| 35 | |
| 36 | - Make ppx\_sexp\_conv correctly handle aliases to polymorphic variants: |
| 37 | |
| 38 | type t = ` `A ` `@@deriving sexp` |
| 39 | type u = t `@@deriving sexp` |
| 40 | type v = ` u | `B ` `@@deriving sexp` |
| 41 | |
| 42 | Before, `v_of_sexp` would never manage to read `B. This problem is |
| 43 | now fixed if you use `sexp_poly` on `u` instead of `sexp`, and if you |
| 44 | don't, you get an "unbound value __u_of_sexp__". People should use |
| 45 | `sexp_poly` when they have a polymorphic variant type that is not |
| 46 | syntactically a polymorphic variant, but in practice it's simpler to |
| 47 | replace `sexp` by `sexp_poly` when faced with the error above. |
| 48 | |
| 49 | The need for `sexp_poly` should happen only in one new case: an |
| 50 | implementation says `type u = t `@@deriving sexp`` but the interface |
| 51 | says `type u = ``A` `@@deriving sexp``. (the old case where it was |
| 52 | already needed is when you have an interface that says `type u = t |
| 53 | `@@deriving sexp`` and in some other implementation you try to say |
| 54 | `type t = ` That_module.t | `A ` `@@deriving sexp``). |