Releases: GoNZooo/gotyno
Releases · GoNZooo/gotyno
v0.4.0
F#
- Fix unnecessary nesting for encoders. Top level encoders would previously have a set of parens around them for no reason, mostly because it allowed the code to handle nested and unnested cases.
v0.3.12
Bug fixes
TypeScript
- Fixed bug where validators/type guards for pointers would have double "is"-prefix.
v0.3.11
Parser
- Fixed a bug where CRLF wouldn't reset the current column properly
v0.3.9
TypeScript
- Made optional parameters for constructors match output for fields, meaning they will also have
T | null | undefined
and not just T | null
.
v0.3.8
Parser
- Fixed CRLF newlines not being valid in several places in parser
v0.3.7
TypeScript
- Fixed nested types; can now be things other than just type references (previously because of an oversight they could only be type references, so
?[]SomeType
wouldn't work
F#
- Fix parentheses for encoder output being wrong (would previously not curry encoders correctly for nested types; now
string option list list
/ list<list<option<string>>>
would nest correctly
v0.3.6
General
- Added filenames to error output (previously not necessary before real imports)
- Made sure applied name errors (including using wrong number of type parameters) error out correctly and have the correct info
v0.3.5
Parsing
- Added error for using imported definitions from modules that don't have a corresponding
import
.
- Added checking of type parameter counts for applied names, which means one cannot use, for example,
Either<String>
. Previously it would just silently pass no more to the type and error out in the generated code instead.
v0.3.4
General
- Fixed pointer-, array-, slice- & optional-types not being able to be used as applied open names (
Maybe<[]Structure>
)
v0.3.3
General
- Fix applied names not being able to contain imported definitions