Skip to content

2.1.0

Compare
Choose a tag to compare
@ZheSun88 ZheSun88 released this 13 Jun 12:11
· 707 commits to main since this release

Website · Getting Started · Documentation

The Hilla 2.1 minor release adds Gradle support, several enhancements to the UI components library, and a new Observability Kit to facilitate monitoring and troubleshooting Hilla applications running in production. This release also includes enhancements to the development experience.

New and Noteworthy since Hilla 2.0

  • Support for building applications with Gradle with the new Hilla Gradle Plugin
  • React API for the <TabSheet/> and <MultiSelectComboBox/> UI components
  • React components support importing without the .js file extension
  • Frontend scaffolding goal in build plugins (hilla:init-app for Maven and hillaInitApp for Gradle) that helps starting development from a bare Java application
  • Observability Kit supports Hilla applications
  • Client-side library that simplifies working with the SSO Kit

Known Issues

  • TypeScript error: An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled. Here are the ways to mitigate it depending on the cause location:
    • For imports in your application, use .js or extension-less paths.
    • For the @vaadin-component-factory/vcf-nav component, make sure to use the latest version in package.json, and consider migrating to @vaadin/side-nav.
    • For the imports not under your control, you can suppress the error by specifying "allowImportingTsExtensions": true in tsconfig.json.

Versions

Included dependencies:

  • Hilla Endpoint (2.1.0)
  • Vaadin Dev Server (24.1.0)

Official add-ons and plugins:

  • Hilla Maven Plugin (2.1.0)
  • Hilla Gradle Plugin (2.1.0)
  • Hilla Spring Boot Starter (2.1.0)
  • Vaadin Design System / Web Components (24.1.0)
  • Vaadin Design System / React Components (2.1.0)

What's Changed

  • chore: update project to 2.1-SNAPSHOT by @ZheSun88 in #757
  • test: Fix Java ITs by @Artur- in #813
  • fix: use classloader from current class to find packages by @cromoteca in #818
  • fix(engine-core): rewrite EngineConfiguration to have all path properties OS-agnostic by @Lodin in #799
  • [Snyk] Upgrade io.github.classgraph:classgraph from 4.8.153 to 4.8.154 by @Artur- in #820
  • fix: Fix openapi parsing when there are no custom types by @Artur- in #810
  • Trim whitespace before checking length of string. Fixes #833 by @aspan in #834
  • fix: Make openapi.json available runtime for native apps by @Artur- in #811
  • feat: support ES-module application by adding .js to generated imports by @cromoteca in #817
  • feat(form): consider errors from HTML and Vaadin components built-in validation by @platosha in #835
  • test: replace WebTestRunner with Karma by @Lodin in #808
  • chore(generator): update dependencies & combine Lerna with Nx by @Lodin in #851
  • fix(generator): add "version" script to update peer dependencies on lerna version update by @Lodin in #858
  • fix: executing Node in Windows with spaces in path by @cromoteca in #856
  • fix(parser): consider annotations from both fields and accessors by @platosha in #862
  • chore(tests): validation with two IT test groups in parallel by @platosha in #870
  • chore: Sync Atmosphere version with Flow by @Artur- in #860
  • test: fix compile errors in tests by @platosha in #893
  • fix: uniform how external commands are run and make that more reliable (#883) (CP: main) by @vaadin-bot in #891
  • chore(release): npm version 2.1.0-alpha3 by @ZheSun88 in #897
  • fix: allow to create modules with spaces in names by @cromoteca in #895
  • chore: rename a test using spaces by @cromoteca in #884
  • chore: enable dependencyConvergence and logging-imports enforcer by @taefi in #898
  • chore: Upgrade Spring Boot to 3.0.6 by @Artur- in #908
  • fix: remove EndpointRequestInit import if not used (#886) (CP: main) by @cromoteca in #906
  • test: make test code compatible with flow latest changes by @taefi in #925
  • [Snyk] Upgrade org.apache.maven.plugin-tools:maven-plugin-annotations from 3.7.0 to 3.7.1 by @snyk-bot in #832
  • test: PR validation build fixes by @platosha in #938
  • fix(form): error message not displayed in invalid fields (#912) (CP: main) by @vaadin-bot in #913
  • fix: Use custom connect prefix in FluxConnection by @Artur- in #933
  • chore: discourage using endpoints which are not Spring Beans by @cromoteca in #939
  • feat: replace Engine Maven Plugin with Hilla Maven Plugin by @cromoteca in #929
  • fix: rebuild engine configuration at least once per run (#935) (CP: main) by @vaadin-bot in #943
  • fix: hide output of test commands (#940) (CP: main) by @vaadin-bot in #949
  • chore: recover changes from build-2.1.0.alpha5 by @cromoteca in #937
  • fix: remove error message from application logs when openapi.json is not available yet (#932) (CP: main) by @vaadin-bot in #950
  • chore: increase build timeout to 25 minutes by @taefi in #953
  • feat: add hilla-gradle-plugin by @taefi in #944
  • fix: only add Subscription import when used by @cromoteca in #958
  • feat: scaffold application coming from Spring Initializr by @cromoteca in #952
  • test(TypeScript): prevent hangups of TypeScrpt tests on CI by @platosha in #967
  • feat: add Nullable annotation by @cromoteca in #974
  • chore: Upgrade to Spring Boot 3.1.0 by @Artur- in #972
  • test: Allow access to the error view by @Artur- in #975
  • feat: use Spring Validator when available by @cromoteca in #973
  • [Snyk] Upgrade io.github.classgraph:classgraph from 4.8.154 to 4.8.157 by @manolo in #914
  • fix: scaffold types.d.ts and vite.config.ts in React by @cromoteca in #978
  • feat: enable setting productionMode through hilla instead of using vaadin extension by @taefi in #985
  • chore: add missing maven goals for backward compatibility by @taefi in #996
  • chore: algin jackson version with flow 24.1.0.rc1 by @ZheSun88 in #1000

New Contributors

Full Changelog: 2.0.0...2.1.0