Skip to content

Releases: GoNZooo/gotyno

v0.4.0

01 Jul 04:38
Compare
Choose a tag to compare

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

20 Jun 13:58
Compare
Choose a tag to compare

Bug fixes

TypeScript

  • Fixed bug where validators/type guards for pointers would have double "is"-prefix.

v0.3.11

17 Feb 10:51
Compare
Choose a tag to compare

Parser

  • Fixed a bug where CRLF wouldn't reset the current column properly

v0.3.9

07 Feb 13:04
Compare
Choose a tag to compare

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

06 Feb 15:20
Compare
Choose a tag to compare

Parser

  • Fixed CRLF newlines not being valid in several places in parser

v0.3.7

02 Feb 16:21
Compare
Choose a tag to compare

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

31 Jan 09:53
Compare
Choose a tag to compare

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

28 Jan 19:54
Compare
Choose a tag to compare

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

27 Jan 23:02
Compare
Choose a tag to compare

General

  • Fixed pointer-, array-, slice- & optional-types not being able to be used as applied open names (Maybe<[]Structure>)

v0.3.3

27 Jan 12:21
Compare
Choose a tag to compare

General

  • Fix applied names not being able to contain imported definitions