1.2.0.beta1
Pre-releaseWebsite · Getting Started · Documentation
Versions
Included dependencies:
- Hilla Endpoint (1.2.0.beta1)
- Hilla Engine (Experimental) (1.2.0.beta1)
- Vaadin Dev Server (23.2.0.beta1)
Official add-ons and plugins:
- Hilla Maven Plugin (1.2.0.beta1)
- Hilla Spring Boot Starter (1.2.0.beta1)
- Vaadin Design System / Web Components (23.2.0-beta1)
New Features
-
The experimental multi-module Hilla Engine vaadin/platform#3157
Hilla Engine is a new technology for automatic generation of TypeScript code in Hilla applications for Java endpoints, data structures, and form validation definitions.
Unlike the existing code generation tools that are based on parsing Java source code and generating TypeScript with templates, Hilla Engine uses the Java bytecode parser paired with the TypeScript AST based generator, which are both pluggable. This enables support for multi-module Hilla applications, where
@Endpoint
classes are defined in separate modules and used as dependencies.Hilla Engine is an experimental feature that can be enabled using the feature flag (see below). It is meant to replace the current Java source based generator in future once it is stable.
-
Hilla Engine feature flag vaadin/flow#14266
The
hillaEngine
Vaadin feature flag that replaces the Java source based TypeScript generator with the new experimental Hilla Engine for Maven plugin and development mode.
What's Changed
- feat(parser-jvm-core): add PackageInfoModel by @Lodin in #472
- feat: add task to generate code for dev mode handler by @haijian-vaadin in #161
- refactor(parser-jvm-core): add SignatureInfo to the AssociationMap by @Lodin in #478
- fix: use return statement for void endpoint method type by @platosha in #479
- refactor(parser): fix & improve code according to final test results by @Lodin in #477
- Add support for
@NonNullApi
to multi-module generator by @cromoteca in #476 - fix(parser): emit number schema for BigDecimal type by @platosha in #482
- feat(generator): implement push support in the multi-module generator by @cromoteca in #468
- chore: rename engine-starter to engine-runtime by @cromoteca in #490
- chore: rename generator-maven-plugin to engine-maven-plugin by @cromoteca in #491
- chore: use
hilla
instead ofengine
as Maven prefix by @cromoteca in #494 - fix(tests): update IT tests for changes elsewhere by @platosha in #501
- [Snyk] Upgrade io.github.classgraph:classgraph from 4.8.147 to 4.8.148 by @snyk-bot in #473
- fix: downgrade
swagger.codegen.generators
to 1.0.20 by @cromoteca in #497 - chore: add missing titles for SONAR by @cromoteca in #496
- [Snyk] Upgrade io.github.classgraph:classgraph from 4.8.148 to 4.8.149 by @snyk-bot in #503
Full Changelog: 1.2.0.alpha3...1.2.0.beta1