Releases: rescript-association/genType
v0.16.0
- Support type Js.nullable in addition to Js.Nullable.t.
- Fix import name compare which can lead to missing type imports with the same name from diffent files.
- Add missing conversion from float to number.
- Add initial shim for Js.Array.t.
- Js.Null_undefined.t and Js.null_undefined are the same as nullable.
- Array types are not opaque.
- Shims for Obj.
- New format form shims: {"fromModuleName": "toModuleName"}.
- Cleaner generated output, with some basic pretty-printing heuristics.
- Generate TS code compatible with --strictPropertyInitialization.
v0.15.0
Add configuration options to gentypeconfig.json for module, importPath, reasonReactPath, bsBlockPath.
Print version information with -help and -version.
v0.14.0: Add config option “importPath” for node/relative import paths.
Improve support for checking JS components used from Reason.
Support for nullable types Js.Nullable.t.
Avoid generation of type any: use mixed (Flow) or unknown (TS) instead.
Add ReactEvent shims for TypeScript.
Use type “void” instead of “typeof undefined”.
Fix converter for options to JS in nested case.
Simplify converter for optional record fields.
Support nullable types whose argument requires conversion.
Support for object types: Js.t(...).
Treat optional(_) fields of object types as with records (no conversion JS <-> Reason).
v0.13.0
Stricter checks for FlowType.
[FlowType] include @generated and @NOLINT in prelude.
Support CommonJS export.
Fix export function type: not opaque.
Support nested modules in shim files.
v0.12.0: Rename genFlow to genType (#44)
Rename the project to genType, the executable to gentype.native,
the config to gentypeconfig.json, the log to .genTypeLog.
v0.11.0
Import type definitions from other files.
Allow gentypeconfig.json in addition to genflowconfig.json.
v0.10.0
v0.9.0
Support conversion of types with free type variables.
Depecate -setProjectRoot CLI option. The project root is now found automatically and the option ignored.
v0.8.0
Add "export default ComponentName" for TypeScript.
Use @genType annotation (the @Genflow annotation is still supported for
backward compatibility).
v0.7.0
Bump version to v0.7.0.