Struct.create
function in companion object for all generated structs in Kotlin output, which set optional fields tonull
by default.
- Fix bug where structures were not serializable in Kotlin if they had
{I,U}64
fields.
- Fixed bug in Haskell number literal output
- Added trailing newline in Kotlin output
- More tests for TypeScript output; the "basic" suite
- Fixed bug where TypeScript's optional parameters to constructors would not
use
?
, i.e.function Constructor(data?: string)
.
- Made it so Kotlin started using types from enum definitions instead of
Any
.
- Enums can now only contain the same type. This simplifies their usage greatly in languages that either force you or allow you to choose a backing type for your enum values. It's a breaking change because of the lack of flexibility caused by enforcing only one type, but I think that it's a reasonable change overall.
D was added as a beta language. It needs to be tested in production.
- Made the parser much less strict, allowing extra whitespace in many places. This is experimental for now, but should allow people to have just a bit more of their own style.
- Added checks for whether or not the user is applying enough/too many type parameters to the usage of a given definition/declaration. This was previously punted to the output language but if we are to output to languages with very poor static checks themselves, this safeguard is good to have.
- Uploaded package to Stackage
- Clearing definitions & declarations on module parsing success and failure
- Using debouncing to handle duplicate file events when using
--watch