Skip to content

Latest commit

 

History

History
113 lines (76 loc) · 3.19 KB

CHANGELOG.md

File metadata and controls

113 lines (76 loc) · 3.19 KB

Changelog

All notable changes to this project will be documented in this file.

[0.5.0] - 2024-06-04

Features

  • add integer types from 8 to 128 bit precision

Fixes

  • (typescript) wrap nullable expressions in parenthesis, to prevent incorrect types being generated in certain cases
  • (typescript) fix alias reflection generation
  • make parser ignore if the last field of an object does not have a comma after it

Refactor

  • remove set primitive
  • use ordered map for struct and enum fields, as well as service methods
  • switch back to asking for an output path, so the output location can be set by the user

[0.4.0] - 2024-06-02

Features

  • (lang) add unit primitive
  • (typescript) emit provider and consumer types
  • (lang) add support for multi-file schemas
  • (typescript) reflect shape metadata, use camel case for type names

Fixes

  • (lang) models and services are now emitted in the order they are defined in

Refactor

  • remove reference resolving to simplify code emission code
  • (lang) clean up primitive parsing
  • (lang) change how service methods are defined to match the average function syntax more closely

Documentation

  • add service to todo example
  • update readme to reflect new output parameter

Miscellaneous

  • add build command to build script
  • use lowercase text in changelog
  • (release) release 0.4.0

[0.3.0] - 2024-05-30

Features

  • (rust) add support for enums, aliases and externals
  • (rust) emit derive annotations for debug, clone and serde serialization

Miscellaneous

  • add changelog
  • (release) release v0.3.0

[0.2.0] - 2024-05-29

Features

  • emit serialization methods for typescript
  • (lang) force externals to also have a canonical type for serialization purposes
  • (typescript) add reflection
  • (dart) add support for aliases and enum in dart
  • (json) implement custom json emitter
  • (lang) add support for services
  • (typescript) emit service metadata
  • (dart) emit json serialization methods

Fixes

  • emit nullable dart fields as not-required in the constructor
  • (dart) emitting invalid syntax when aliases had metadata
  • (dart) remove invalid cast when deserializing nullable fields

Refactor

  • replace instant and duration with custom types, introduce nullable wrapper shape instead of field property, improve ts reflection
  • replace json serializable dart serialization methods with our own
  • properly generate top level optional typescript with question marks
  • rework parser, simplify typescript emitter, add support for enums in typescript
  • (typescript) emit null types instead of optional undefined types
  • (lang) change the way nullable types are defined to be more similar to dart, using a question mark after the type identifier
  • rename extern to external types
  • (json) use uppercase for type names
  • time only actual parsing and code emission

Miscellaneous

  • add serialization checklist to readme
  • add license
  • mention packages in readme
  • (typescript) rename object to struct
  • add conventional commit scopes
  • update readme and examples
  • remove ron target
  • release v0.2.0

[0.1.0] - 2024-05-06

Miscellaneous

  • initial commit