Releases: vaadin/hilla
Hilla 24.5.0.alpha5
Website · Getting Started · Documentation
This is a pre-release for the next minor version of Hilla. We appreciate it if you give it a try and report any issues you notice.
Versions
- Hilla Maven Plugin
- Hilla Gradle Plugin
- Hilla Spring Boot Starter
- Vaadin Design System / Web Components (24.5.0-alpha5)
- Vaadin Design System / React Components (24.5.0-alpha5)
What's Changed
- [Snyk] Upgrade io.github.classgraph:classgraph from 4.8.172 to 4.8.173 by @manolo in #2580
- chore: fix
tsx
not stopping on breakpoints by @Lodin in #2601 - [Snyk] Upgrade org.apache.maven:maven-artifact from 3.9.7 to 3.9.8 by @Artur- in #2599
- feat(models): implement Object Models proposal by @Lodin in #2535
- refactor(lit-form): deprecate AbstractModel methods that require BinderNode by @Lodin in #2522
Full Changelog: 24.5.0.alpha4...24.5.0.alpha5
Hilla 24.5.0.alpha4
Website · Getting Started · Documentation
This is a pre-release for the next minor version of Hilla. We appreciate it if you give it a try and report any issues you notice.
Versions
- Hilla Maven Plugin
- Hilla Gradle Plugin
- Hilla Spring Boot Starter
- Vaadin Design System / Web Components (24.5.0-alpha4)
- Vaadin Design System / React Components (24.5.0-alpha4)
What's Changed
- chore: Sync TypeScript and Vite versions with Flow by @Artur- in #2570
- chore: update spring-boot to 3.2.7 by @vaadin-bot in #2574
- feat: add support for JsonNode subclasses by @cromoteca in #2537
- test: fix CI failures by @Lodin in #2566
- chore: Update Javaparser to match Flow by @Artur- in #2579
- fix: nested cases of route parameters in the menu (#2527) (CP: main) by @platosha in #2557
- chore: update c8 package and use monocart to collect the coverage correctly by @Lodin in #2560
- test: Bump @testing-library to latest by @Artur- in #2583
- fix: Do not log debug info unless asked to by @Artur- in #2549
- refactor: Do not use installAutoSignalTracking by @Artur- in #2576
- feat: implement Flow hotswap API by @mcollovati in #2590
- fix(file-router): preserve empty children for layout routes (#2572) (CP: main) by @platosha in #2585
- chore: upgrade TB to 9.3.2 by @ZheSun88 in #2592
Full Changelog: 24.5.0.alpha3...24.5.0.alpha4
Hilla 24.4.3
Website · Getting Started · Documentation
Versions
- Hilla Maven Plugin
- Hilla Gradle Plugin
- Hilla Spring Boot Starter
- Vaadin Design System / Web Components (24.4.1)
- Vaadin Design System / React Components (24.4.1)
What's Changed
- test: fix CI failures (#2566) (CP: 24.4) by @vaadin-bot in #2578
- fix: Do not log debug info unless asked to (#2549) (CP: 24.4) by @Artur- in #2588
- chore: upgrade TB to 9.3.2 (#2592) (CP: 24.4) by @vaadin-bot in #2593
Full Changelog: 24.4.2...24.4.3
Hilla 24.4.2
Website · Getting Started · Documentation
Versions
- Hilla Maven Plugin
- Hilla Gradle Plugin
- Hilla Spring Boot Starter
- Vaadin Design System / Web Components (24.4.0)
- Vaadin Design System / React Components (24.4.0)
What's Changed
- chore: upgrade to TB 9.3.1 (#2553) (CP: 24.4) by @vaadin-bot in #2555
- chore: upgrade commons-io to 2.16.1 (#2556) (CP: 24.4) by @vaadin-bot in #2558
- fix(file-router): preserve empty children for layout routes by @platosha in #2572
- chore:add repo declaration (#2567) (CP: 24.4) by @vaadin-bot in #2568
- chore: update spring-boot to 3.2.7 (#2574) (CP: 24.4) by @vaadin-bot in #2575
Full Changelog: 24.4.1...24.4.2
Hilla 24.5.0.alpha3
Website · Getting Started · Documentation
This is a pre-release for the next minor version of Hilla. We appreciate it if you give it a try and report any issues you notice.
Versions
- Hilla Maven Plugin
- Hilla Gradle Plugin
- Hilla Spring Boot Starter
- Vaadin Design System / Web Components (24.5.0-alpha3)
- Vaadin Design System / React Components (24.5.0-alpha3)
What's Changed
- chore: upgrade to TB 9.3.0 by @ZheSun88 in #2530
- fix: Report usage stats when isReactEnabled=false by @mshabarov in #2534
- chore: add parent project for hilla-bom by @ZheSun88 in #2532
- feat: use flow client route collection and filtering by @caalador in #2449
- chore: use vaadin-parent 2.2.1 as parent for hilla-bom by @ZheSun88 in #2541
- chore: upgrade to TB 9.3.1 by @ZheSun88 in #2553
- chore: upgrade commons-io to 2.16.1 by @ZheSun88 in #2556
- [Snyk] Upgrade org.apache.maven:maven-plugin-api from 3.9.6 to 3.9.7 by @manolo in #2544
- Chore: change Discord -> Forum by @ZheSun88 in #2538
- feat(binder): implement
useFormArrayPart
by @cromoteca in #2505 - chore:add repo declaration by @ZheSun88 in #2567
Full Changelog: 24.5.0.alpha2...24.5.0.alpha3
Hilla 24.4.1
Website · Getting Started · Documentation
Versions
- Hilla Maven Plugin
- Hilla Gradle Plugin
- Hilla Spring Boot Starter
- Vaadin Design System / Web Components (24.4.0)
- Vaadin Design System / React Components (24.4.0)
What's Changed
- fix: Report usage stats when isReactEnabled=false (#2534) (CP: 24.4) by @vaadin-bot in #2536
- chore: use vaadin-parent 2.2.1 (24.4) by @ZheSun88 in #2542
Full Changelog: 24.4.0...24.4.1
Hilla 24.4.0
Website · Getting Started · Documentation
New and Noteworthy Since Hilla 2.5
Hilla File Router
The file-system based router, @vaadin/hilla-file-router
, was added to Hilla. It simplifies adding React views to applications by automaticaly mapping files in the src/main/frontend/views/
directory as routes, eliminating the step of editing the URL mapping for each added view. The Hilla file router is based on the React Router library.
Automatic Main Menu
The file router includes the createMenuItems()
utility function, which enables populating the menu items in the React main layout. Hilla file router views and Java classes with the @Menu
annotation are added as the menu items automatically.
Hilla React Signals
The new library for managing state in React applications, @vaadin/hilla-react-signals
, was added to Hilla. Signals provide robust and convenient way of subscribing to state updates in UI, and allow to easily share the state updates between multiple components. The API of Hilla React signals follows the Preact Signals library.
Unified Vaadin Platform
Hilla framework has been more closely integrated with the Vaadin platform. Vaadin BOM and Vaadin Spring Boot Starter now include the Hilla framework stating from version 24.4. This enables Vaadin users to choose between Flow and Hilla, or mix both frameworks when necessary.
Frontend Source Directory
The default location of the frontend source directory was changed from frontend/
to src/main/frontend/
. The old location is still supported.
Breaking Changes
- Java namespace was changed from
dev.hilla
tocom.vaadin.hilla
- npm packages were renamed as follows:
@hilla/react-components
are now@vaadin/react-components
,@hilla/form
became@vaadin/hilla-lit-form
,- other packages from the
@hilla/
namespace now have the@vaadin/hilla-
name prefix
- Maven groupId for Hilla artifacts was changed from
dev.hilla
tocom.vaadin
. dev.hilla:hilla-spring-boot-starter
was superseded bycom.vaadin:vaadin-spring-boot-starter
.- Hilla versioning is aligned with the Vaadin platform one.
- Automatic navigation using page reload after successful server response was introduced in the
login()
andlogout()
Hilla authentication methods. This might interfere with custom handling of successful authentication response.
Notable Changes Since v2.5.7
- feat: Use count for scrolling size, if available by @Artur- in #1473
- fix: Avoid using decorators by @Artur- in #1891
- fix: make init-app goal generate sources coherent with the project Hilla version by @cromoteca in #1901
- fix: add name property to Validator interface by @taefi in #1912
- fix: expose submitting state by @sissbruecker in #1924
- feat: allow passing custom element to field options by @sissbruecker in #1880
- feat(autgrid): Add custom filtering option to columns by @krissvaa in #1911
- fix: produce package-info.java file in scaffolded application by @mcollovati in #1936
- feat: add customizable form header to auto crud by @sissbruecker in #1930
- feat: add form level validation error from entity level validator by @krissvaa in #1939
- feat: Add better names for autogrid filter comparison date/time options by @krissvaa in #1945
- fix: Ensure database plugin is loaded only when available by @Artur- in #1947* feat: allow to amend Atmosphere configuration by @cromoteca in #1959
- feat: add useDataProvider hook by @sissbruecker in #1934
- feat: Add aria-controls to autocrud grid to control the form by @krissvaa in #1946
- fix: Make NaN as default/empty number value in binder by @krissvaa in #1953
- feat: gather Flow and Hilla Gradle tasks under vaadin group by @taefi in #1996
- fix gradle plugin source jar by @taefi in #2014
- feat: extract and combine routes from fs routing and flow by @krissvaa in #2032
- feat: add file-based router by @Lodin in #1985
- fix: support fallback calling full plugin name by @cromoteca in #2031
- fix: allow validator generation in TS models for references by @taefi in #2046
- feat: add empty react-i18n package by @sissbruecker in #2087
- feat: export Signals under own package by @cromoteca in #2043
- feat(file-router): add menu items generation by @Lodin in #2071
- fix: Remove defunct init-app Maven/Gradle target by @Artur- in #2120
- fix: mark as visited on change in addition to blur by @web-padawan in #2138
- fix: remove spring-data-jpa from Maven Plugin deps by @cromoteca in #2152
- fix: do not print errors when attempting to call vaadin:configure by @mcollovati in #2132
- feat: basic I18n class implementation by @sissbruecker in #2118
- feat: Add VaadinWebSecurity extensions for fs-routing by @krissvaa in #2137
- feat: i18n translation request backend integration by @ugur-vaadin in #2168
- fix!: generate and load openapi.json to/from build dir root in dev mode by @Artur- in #2163
- feat: add support for ICU message format by @sissbruecker in #2179
- feat: allow checking for i18n initialized state by @sissbruecker in #2186
- feat: add feature flag for Hilla I18n API by @sissbruecker in #2228
- fix(react-auth): handle 401 error from protected UserInfo endpoints by @platosha in #2242
- feat: add new attribute 'hiddenColumns' to configure which columns sh… by @rbrki07 in #2279
- feat: add new attribute 'hiddenFields' to configure which fields shou… by @rbrki07 in #2294
- feat: add a helper to remap properties in filters and pageables by @cromoteca in #1870
- fix(form): force calling
clear
at form creation/model change by @cromoteca in #2299 - feat: make
RouteUtil
implement Flow interface by @cromoteca in #2360 - fix: Do not collect if views does not exist by @mshabarov in #2359
- fix: [autogrid] ignore default object json renderer if columnOption
path
is set by @rbrki07 in #2361 - feat(file-router): allow to set router options & make baseURI default by @Lodin in #2364
- fix: attempt initializing the clientRouteRegistry during app init by @taefi in #2371
- refactor!: rename Vaadin.server.views object to Vaadin.views by @taefi in #2380
- fix(file-router): improve the speed of the HMR injection (#2411) (CP: 24.4) by @vaadin-bot in #2419
#2421 - fix: ignore absence of file-routes.json at startup in dev mode (#2423) (CP: 24.4) by @vaadin-bot in #2426
- fix: support route parameters in menu by @tltv in #2435
- fix!: Disable HotSwap endpoint changes by default by @taefi in #2434
- fix: adjust Hilla statistics collection (#2353) (CP: 24.4) by @vaadin-bot in #2444
- fix: add resource pattern for file-routes.json (#2396) (CP: 24.4) by @vaadin-bot in #2446
- fix: support wildcard route parameter in menu by @tltv in #2447
- refactor: disallow parametrized items in auto menu (#2392) (CP: 24.4) by @Lodin in #2456
- refactor: adjust route analysis & transformation (#2443, #2448) (CP: 24.4) by @Lodin in #2457
- fix: Do not skip endpoint registration if there are no custom types by @Artur- in #2467
- fix: use hierarchical route as key for collecting client menus by @taefi in #2462
- feat!(frontend): reload the page on login / logout success (#2432) (CP: 24.4) by @vaadin-bot in #2481
- fix!: change search endpoint log level to debug by @taefi in #2483
- fix(engine-runtime): skip generating endpoints in prepare-frontend by @platosha in #2485
- fix(file-router): support config below view by @platosha in #2491
- refactor(file-router): make route with non-null children detected as a layout (#2493) (CP: 24.4) by @platosha in #2498
- fix(binder): update...
Hilla 24.5.0.alpha2
Website · Getting Started · Documentation
This is a pre-release for the next minor version of Hilla. We appreciate it if you give it a try and report any issues you notice.
Versions
- Hilla Maven Plugin
- Hilla Gradle Plugin
- Hilla Spring Boot Starter
- Vaadin Design System / Web Components (24.5.0-alpha2)
- Vaadin Design System / React Components (24.5.0-alpha2)
What's Changed
- fix(binder): update form when array values change by @cromoteca in #2497
- fix: use hierarchical route as key for collecting client menus (#2462) (CP: main) by @Lodin in #2504
- fix(file-router): support config below view (#2491) (CP: main) by @vaadin-bot in #2492
- fix: replace validator/isNumeric with a simple NaN Finite check by @Lodin in #2510
- fix(form): initialize value / defaultValue keys when rendering optional fields (#2508) (CP: main) by @vaadin-bot in #2514
- [Snyk] Upgrade io.swagger.core.v3:swagger-models from 2.2.21 to 2.2.22 by @manolo in #2518
- chore: keep javaparser.core version aligned with flow by @ZheSun88 in #2523
Full Changelog: 24.5.0.alpha1...24.5.0.alpha2
Hilla 24.4.0.rc2
Website · Getting Started · Documentation
This is a pre-release for the next minor version of Hilla. We appreciate it if you give it a try and report any issues you notice.
Versions
- Hilla Maven Plugin
- Hilla Gradle Plugin
- Hilla Spring Boot Starter
- Vaadin Design System / Web Components (24.4.0-rc3)
- Vaadin Design System / React Components (24.4.0-rc3)
What's Changed
- fix(form): initialize value / defaultValue keys when rendering optional fields (#2508) (CP: 24.4) by @vaadin-bot in #2513
- fix: replace validator/isNumeric with a simple NaN Finite check (#2510) (CP: 24.4) by @vaadin-bot in #2511
- [Snyk] Upgrade io.swagger.core.v3:swagger-models from 2.2.21 to 2.2.22 (#2518) (CP: 24.4) by @vaadin-bot in #2521
- fix: nested cases of route parameters in the menu by @platosha in #2527
Full Changelog: 24.4.0.rc1...24.4.0.rc2
Hilla 24.4.0.rc1
This is a pre-release for the next minor version of Hilla. We appreciate it if you give it a try and report any issues you notice.
New and Noteworthy Since Hilla 2.5
Hilla File Router
The file-system based router, @vaadin/hilla-file-router
, was added to Hilla. It simplifies adding React views to applications by automaticaly mapping files in the src/main/frontend/views/
directory as routes, eliminating the step of editing the URL mapping for each added view. The Hilla file router is based on the React Router library.
Automatic Main Menu
The file router includes the createMenuItems()
utility function, which enables populating the menu items in the React main layout. Hilla file router views and Java classes with the @Menu
annotation are added as the menu items automatically.
Hilla React Signals
The new library for managing state in React applications, @vaadin/hilla-react-signals
, was added to Hilla. Signals provide robust and convenient way of subscribing to state updates in UI, and allow to easily share the state updates between multiple components. The API of Hilla React signals follows the Preact Signals library.
Unified Vaadin Platform
Hilla framework has been more closely integrated with the Vaadin platform. Vaadin BOM and Vaadin Spring Boot Starter now include the Hilla framework stating from version 24.4. This enables Vaadin users to choose between Flow and Hilla, or mix both frameworks when necessary.
Frontend Source Directory
The default location of the frontend source directory was changed from frontend/
to src/main/frontend/
. The old location is still supported.
Breaking Changes
- Java namespace was changed from
dev.hilla
tocom.vaadin.hilla
- npm packages were renamed as follows:
@hilla/react-components
are now@vaadin/react-components
,@hilla/form
became@vaadin/hilla-lit-form
,- other packages from the
@hilla/
namespace now have the@vaadin/hilla-
name prefix
- Maven groupId for Hilla artifacts was changed from
dev.hilla
tocom.vaadin
. dev.hilla:hilla-spring-boot-starter
was superseded bycom.vaadin:vaadin-spring-boot-starter
.- Hilla versioning is aligned with the Vaadin platform one.
- Automatic navigation using page reload after successful server response was introduced in the
login()
andlogout()
Hilla authentication methods. This might interfere with custom handling of successful authentication response.
Notable Changes Since v2.5.7
- feat: Use count for scrolling size, if available by @Artur- in #1473
- fix: Avoid using decorators by @Artur- in #1891
- fix: make init-app goal generate sources coherent with the project Hilla version by @cromoteca in #1901
- fix: add name property to Validator interface by @taefi in #1912
- fix: expose submitting state by @sissbruecker in #1924
- feat: allow passing custom element to field options by @sissbruecker in #1880
- feat(autgrid): Add custom filtering option to columns by @krissvaa in #1911
- fix: produce package-info.java file in scaffolded application by @mcollovati in #1936
- feat: add customizable form header to auto crud by @sissbruecker in #1930
- feat: add form level validation error from entity level validator by @krissvaa in #1939
- feat: Add better names for autogrid filter comparison date/time options by @krissvaa in #1945
- fix: Ensure database plugin is loaded only when available by @Artur- in #1947* feat: allow to amend Atmosphere configuration by @cromoteca in #1959
- feat: add useDataProvider hook by @sissbruecker in #1934
- feat: Add aria-controls to autocrud grid to control the form by @krissvaa in #1946
- fix: Make NaN as default/empty number value in binder by @krissvaa in #1953
- feat: gather Flow and Hilla Gradle tasks under vaadin group by @taefi in #1996
- fix gradle plugin source jar by @taefi in #2014
- feat: extract and combine routes from fs routing and flow by @krissvaa in #2032
- feat: add file-based router by @Lodin in #1985
- fix: support fallback calling full plugin name by @cromoteca in #2031
- fix: allow validator generation in TS models for references by @taefi in #2046
- feat: add empty react-i18n package by @sissbruecker in #2087
- feat: export Signals under own package by @cromoteca in #2043
- feat(file-router): add menu items generation by @Lodin in #2071
- fix: Remove defunct init-app Maven/Gradle target by @Artur- in #2120
- fix: mark as visited on change in addition to blur by @web-padawan in #2138
- fix: remove spring-data-jpa from Maven Plugin deps by @cromoteca in #2152
- fix: do not print errors when attempting to call vaadin:configure by @mcollovati in #2132
- feat: basic I18n class implementation by @sissbruecker in #2118
- feat: Add VaadinWebSecurity extensions for fs-routing by @krissvaa in #2137
- feat: i18n translation request backend integration by @ugur-vaadin in #2168
- fix!: generate and load openapi.json to/from build dir root in dev mode by @Artur- in #2163
- feat: add support for ICU message format by @sissbruecker in #2179
- feat: allow checking for i18n initialized state by @sissbruecker in #2186
- feat: add feature flag for Hilla I18n API by @sissbruecker in #2228
- fix(react-auth): handle 401 error from protected UserInfo endpoints by @platosha in #2242
- feat: add new attribute 'hiddenColumns' to configure which columns sh… by @rbrki07 in #2279
- feat: add new attribute 'hiddenFields' to configure which fields shou… by @rbrki07 in #2294
- feat: add a helper to remap properties in filters and pageables by @cromoteca in #1870
- fix(form): force calling
clear
at form creation/model change by @cromoteca in #2299 - feat: make
RouteUtil
implement Flow interface by @cromoteca in #2360 - fix: Do not collect if views does not exist by @mshabarov in #2359
- fix: [autogrid] ignore default object json renderer if columnOption
path
is set by @rbrki07 in #2361 - feat(file-router): allow to set router options & make baseURI default by @Lodin in #2364
- fix: attempt initializing the clientRouteRegistry during app init by @taefi in #2371
- refactor!: rename Vaadin.server.views object to Vaadin.views by @taefi in #2380
- fix(file-router): improve the speed of the HMR injection (#2411) (CP: 24.4) by @vaadin-bot in #2419
#2421 - fix: ignore absence of file-routes.json at startup in dev mode (#2423) (CP: 24.4) by @vaadin-bot in #2426
- fix: support route parameters in menu by @tltv in #2435
- fix!: Disable HotSwap endpoint changes by default by @taefi in #2434
- fix: adjust Hilla statistics collection (#2353) (CP: 24.4) by @vaadin-bot in #2444
- fix: add resource pattern for file-routes.json (#2396) (CP: 24.4) by @vaadin-bot in #2446
- fix: support wildcard route parameter in menu by @tltv in #2447
- refactor: disallow parametrized items in auto menu (#2392) (CP: 24.4) by @Lodin in #2456
- refactor: adjust route analysis & transformation (#2443, #2448) (CP: 24.4) by @Lodin in #2457
- fix: Do not skip endpoint registration if there are no custom types by @Artur- in #2467
- fix: use hierarchical route as key for collecting client menus by @taefi in #2462
- feat!(frontend): reload the page on login / logout success (#2432) (CP: 24.4) by @vaadin-bot in #2481
- fix!: change search endpoint log level to debug by @taefi in #2483
- fix(engine-runtime): skip generating endpoints in prepare-frontend by @platosha in #2485
- fix(file-router): support config below view by @platosha in #2491
- refactor(file-router): make route with non-null children detected as a layout (#2493) (CP: 24.4) by @platosha in #2498
- ...