Skip to content

v0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@alancai98 alancai98 released this 06 Oct 23:12
· 44 commits to main since this release
afb1609

Notable features include:

  • Cross domain visitor transforms
  • Same domain visitor transforms now avoid copying the entire tree--only those nodes that are different are copied.
  • <TypeDomain>.Builder in the generated code (this is potentially breaking from v0.3.0):
    • is now an interface with default implementations
    • Has a newMetaContainer function that can be overridden to supply a default MetaContainer for all new nodes created by the builder.
  • Record elements may now be variadic.
  • Support for the bool data type.
  • Generates a copy method for each generated class, similar to Kotlin's data class.

Commits included in this release:

  • afb1609 Prepare v0.4.0 release
  • 2e98a57 Improve introduction in the README.md.
  • 3188a9f Merge pull request #96 from partiql/lazy-publication
  • f10ed8d Use LazyThreadSafetyMode.PUBLICATION instead of NONE.
  • ca96271 Restore -SNAPSHOT to version number
  • 586633d Version bump to v0.3.2
  • b4b4d9d Fix for issue #92 (#93)
  • 9c31153 Allow custom builder interfaces which provide metas (#89)
  • b85eefe Add sum type converters to generated code (#88)
  • 4856472 Fix build error resulting from not rebasing before merge (#84)
  • c94488c Add primitive type bool (#42) (#80)
  • 58abfc7 Renames DomainNode.copyMetas -> copy (#83)
  • 3e11da6 Avoid unnecessary copies in generated VisitorTransforms (#75)
  • 7e9ae0f Variadic record elements (#67)
  • 7972a36 Generated cross-domain transforms (#60)
  • 3f8c403 Fix generate task order (#62)
  • 6601010 Generate .copy and .copyMetas function for generated classes (#53)
  • 7ac7c5d Fix builder importing (#56)
  • 9d20aed Fix GH actions duplicated builds
  • 126cc83 Update GH actions to run on all PRs and pushes
  • 2af35be Remove .travis.yml (#55)
  • 468eb2e Migrate to GitHub Actions (#54)
  • 8a4a4fc Version bump and add -SNAPSHOT
  • 1eccc1c Update VisitorTransformTests.kt