Releases: ocsigen/ts2ocaml
Releases · ocsigen/ts2ocaml
1.3.0
- Upgrade gen_js_api to 1.0.9.
- It's now available on OPAM, so you don't have to use
opam pin
for gen_js_api anymore.
- It's now available on OPAM, so you don't have to use
- Ts2ocaml now merges enum case names if they have the same value.
- This is because gen_js_api now profibits enum cases with duplicate values.
- This is a breaking change.
enum Foo { A = 1, B = 1, C = 2 }
module Foo: sig
(* before *)
type t = [ `A [@js 1] | `B [@js 2] | `C [@js 2] ] [@js.enum]
(* after *)
type t = [ `A_B [@js 1] | `C [@js 2] ] [@js.enum]
end
1.2.1
1.2.0
1.1.0
1.0.0 - Official Release
Official release. Nothing is changed internally.
0.0.5 - Automated publishing
Test automated publishing for the official release. Nothing is changed internally.
0.0.4 - Automated publishing
Test automated publishing for the official release. Nothing is changed internally.
0.0.3 - Automated publishing
This release is created to test if it can publish both the NPM package and the jsoo standard library.
Test automatic publishing (attempt 3)
This release is created to test if it can publish both the NPM package and the jsoo standard library.
0.0.2 - Test automatic publishing (attempt 2)
This release is created to test if it can publish both the NPM package and the jsoo standard library.