@@ -4,37 +4,19 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7- ## [ 1.4.0-beta.6 ]
7+ ## [ 1.4.0] - 2022-03-04
88- Upgrade js\_ of\_ ocaml to 4.0 and dune to 3.0.
9-
10- ## [ 1.4.0-beta.5]
11- - Changed the representation of untagged union types and intersection types to make it easier to use.
12- - ` ('a, 'b) and_ ` and ` ('a, 'b) or_ ` types are removed in this change.
13- - This is a breaking change.
14- - Union types appearing as argument of function are now emitted in a simpler form: `` [`U1 of t1 | `U2 of t2 | .. ] [@js.union] `` .
15- - Now you don't have to do ` Union.inject_n ` on function arguments.
16- - This is a breaking change.
17- - Union of primitive types are now represented as ` [...] Primitive.t ` .
18- - Use ` Primitive.classify ` function to convert it to a polymorphic variant, on which you can ` match ` directly.
19- - ` 'a or_XXX ` types are removed in this change.
20- - This is a breaking change.
21-
22- ## [ 1.4.0-beta.4] - 2022-01-21
9+ - Perform massive refactoring on the generated bindings ** (breaking changes)** .
10+ - Anonymous interface modules are now generated in the module where they are actually used.
11+ - Changed the representation of untagged union types and intersection types to make it easier to use.
12+ - ` ('a, 'b) and_ ` and ` ('a, 'b) or_ ` types are removed in this change.
13+ - Union types appearing as argument of function are now emitted in a simpler form: `` [`U1 of t1 | `U2 of t2 | .. ] [@js.union] `` .
14+ - Now you don't have to do ` Union.inject_n ` on function arguments.
15+ - Union of primitive types are now represented as ` [...] Primitive.t ` .
16+ - Use ` Primitive.classify ` function to convert it to a polymorphic variant, on which you can ` match ` directly.
17+ - ` 'a or_XXX ` types are removed in this change.
2318- Ts2ocaml now emits builder function ` [@js.builder] ` for POJO interfaces.
24-
25- ## [ 1.4.0-beta.3] - 2022-01-17
2619- Add an option ` --readable-names ` to try to use more readable names instead of ` AnonymousInterfaceN ` .
27-
28- ## [ 1.4.0-beta.2] - 2022-01-17
29- - Fix a bug which prevented ts2ocaml from generating anonymous interfaces when used with --simplify=named-interface-value
30-
31- ## [ 1.4.0-beta.1] - 2022-01-12
32- - Fix a bug which prevented ts2ocaml from generating classes without default constructors.
33-
34- ## [ 1.4.0-beta.0] - 2022-01-11
35- - Perform massive internal refactoring.
36- - Anonymous interface modules are now generated in the module where they are actually used.
37- - This is a breaking change.
3820- Fix a bug which prevented ts2ocaml from generating class constructors if not defined explicitly.
3921
4022## [ 1.3.1] - 2021-12-24
0 commit comments