Skip to content

Commit fb8c1ac

Browse files
committed
Release 1.4.0
1 parent 26475fb commit fb8c1ac

File tree

4 files changed

+13
-31
lines changed

4 files changed

+13
-31
lines changed

CHANGELOG.md

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,19 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and 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

dist_jsoo/dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(lang dune 3.0)
22
(name ts2ocaml-jsoo-stdlib)
3-
(version 1.4.0-beta.6)
3+
(version 1.4.0)
44

55
(maintainers "[email protected]")
66
(authors

dist_jsoo/ts2ocaml-jsoo-stdlib.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "1.4.0-beta.6"
3+
version: "1.4.0"
44
synopsis:
55
"Standard library for ts2ocaml generated bindings (js_of_ocaml target)"
66
description:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ocsigen/ts2ocaml",
3-
"version": "1.4.0-beta.6",
3+
"version": "1.4.0",
44
"description": "Generate OCaml bindings from TypeScript definitions via the TypeScript compiler API",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)