Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Releases: rescript-association/genType

v3.25.0

05 Jun 14:47
Compare
Choose a tag to compare
  • Fix issue where bs.as in records e.g. [@bs.as "the-key"] theKey: string, was not escaped in the generated type.

v3.24.0

30 May 11:09
Compare
Choose a tag to compare

No changes: test the new release process.

v3.23.0

26 May 04:01
Compare
Choose a tag to compare
  • Add forward support for bucklescript 8.

v3.22.0

03 May 00:48
Compare
Choose a tag to compare
  • Only emit inner module when its vaues require no conversion. See #416.
  • Give a warning when a @genType annotations is used with payload.
    E.g. in [@genType "foo"] the payload "foo" is ignored.

v3.21.0

13 Apr 08:58
Compare
Choose a tag to compare
  • Remove DCE and termination analysis.

v3.20.0

08 Apr 01:12
Compare
Choose a tag to compare
  • Fix issue where genType would not run when the only annotation is in the interface of an inner module.
  • Fix issue where an inner module with more values in the implementation than the interface would not generate types annotated in the interface.

v3.19.0

06 Apr 15:21
Compare
Choose a tag to compare
  • Fix issue of missing parens when emitting optional function type.
  • In Flow back-end, don't emit config suppression warnings for genType files.

v3.18.0

27 Mar 11:21
Compare
Choose a tag to compare
  • Support new uncurry representation that will be available from Bucklescript version 7.3.0.
  • [DCE] Work around the fact that the react.componentt ppx gives make a dummy location.
  • [DCE] Add option to toggle removing dead values with side effects.
  • [DCE] Add whitelist mechanism for function calls with no side effects.

v3.17.0

25 Mar 23:49
Compare
Choose a tag to compare
  • [DCE] Add support for lazyLoad.
  • [DCE] Classify dead values that have side effects.
  • [DCE] Don't report dead values within the scope of other dead values.
  • Add support for int64.

v3.16.0

19 Mar 02:09
Compare
Choose a tag to compare
  • When a @genType annotation appears in a .re, but the .rei also exists, give a warning on the command-line that the annotation will be ignored.
  • Dead Code Elimination improvements and bug fixes. Add support for adding annotations to both implementations and interfaces. Analyze recursive functions.