Skip to content

Releases: ocsigen/ts2ocaml

2.0.0-beta.3

12 Mar 05:07
304b6f7
Compare
Choose a tag to compare
2.0.0-beta.3 Pre-release
Pre-release
  • ReScript: prefix invalid constructor names by Case (#392).

2.0.0-beta.2

01 Mar 10:52
bf70970
Compare
Choose a tag to compare
2.0.0-beta.2 Pre-release
Pre-release
  • Update and fix TypeScript version to 5.3.3.

2.0.0-beta.1

27 Feb 11:41
7b2d82f
Compare
Choose a tag to compare
2.0.0-beta.1 Pre-release
Pre-release
  • ReScript: changed the standard library from Js to Core (#387).
    • ArrayLike and Iterable are still mapped to Js.Array2.array_like since it doesn't seem to be available in Core yet.

2.0.0-beta.0

27 Feb 08:23
6336d57
Compare
Choose a tag to compare
2.0.0-beta.0 Pre-release
Pre-release
  • Add ReScript as a target (#32).
    • Add a new subcommand ts2ocaml res.
    • The documentation is available on docs/rescript.md.

2.0.0-alpha.0

13 Jul 16:39
9d51cc4
Compare
Choose a tag to compare
2.0.0-alpha.0 Pre-release
Pre-release
  • Upgrade TypeScript to v5.
  • Added an explicit support of ambient modules.
    • Topological sorting inside ambient modules now works as expected (#157).
  • Perform various improvements over messages.
    • Messages now come with color (warning: yellow, error: red).
    • The error location is now shown with a code frame.
  • Deprecate the --safe-arity option.
    • Ts2ocaml now generates minimal arity-safe output by default.
  • Perform massive internal refactoring.

1.4.6

13 Jul 12:58
3f169c9
Compare
Choose a tag to compare
  • Fix a bug which generated unnecessarily duplicated option type (#315).

1.4.5

12 Jul 19:30
8504c8c
Compare
Choose a tag to compare
  • Fix a bug which caused optional properties not to be recognized as optional (#312).

1.4.4

09 May 06:58
56f7b23
Compare
Choose a tag to compare
  • Fix a bug which caused ts2ocaml to crash when encountering an optional field with type null | undefined.

1.4.3

05 May 10:27
7cf7269
Compare
Choose a tag to compare
  • Ts2ocaml now fails when it encounters unknown options, instead of just ignoring it 😅

1.4.2

16 Mar 08:51
45506e7
Compare
Choose a tag to compare
  • Fix a bug which caused ts2ocaml to generate invalid type declarations.
  • Fix a bug which causes ts2ocaml to crash when loading mutually-referencing source files.