JHipster release v9.4.0
This is a minor release for JHipster v9.
It includes 272 closed issues and pull requests after the 9.3.0 release.
The big news is Playwright support! You can now generate end-to-end tests with Playwright as an alternative to Cypress, and the specs are a line-by-line port so you can compare the two. This release also finishes the move away from webpack. Angular microfrontends now use Native Federation on top of the esbuild-based Angular CLI builder, and webpack is gone from Angular and Vue apps (React switched to Vite in 9.3.0).
What's new?
- Playwright is now a supported e2e test framework, selectable alongside Cypress, and Angular apps can run it with
ng e2e - Angular microfrontends are now built with esbuild and Native Federation instead of webpack Module Federation, and webpack support was removed from Vue too. Vue apps build with Vite or Rsbuild.
- Security hardening: yeoman-generator v9 now throws when a template or destination path resolves outside the generator root, and
--disable-blueprintsalso disables local.blueprintdirectories - R2DBC repositories were reimplemented on top of Spring Data repositories with Criteria, using the CriteriaBuilder from jhipster-framework
- Liquibase now supports Cassandra and is enabled by default, so schemas no longer need a separate Docker image outside the application
- A new
jhipster describecommand gives you a queryable catalog of commands, options, prompts, and config owners - A new
--export-applicationoption packs the generated files into a zip archive instead of writing them to disk - Blueprint authors now have a documented public API with semver guarantees
- Lots of old issues were fixed, including Angular entities with a String ID, build errors on OAuth2 gateways without a database, tests deleting every User record, and incremental Liquibase changelogs for MapStruct expression fields
- Upgraded build tooling to Node.js 24.21.0, Cypress 16, and Vitest 5
Closed tickets and merged pull requests
As always, you can check all closed tickets and merged pull requests here.
How to install
To install JHipster v9.4.0 using NPM:
npm install -g generator-jhipster@9.4.0
It is also available using the JHipster Docker image, as it is automatically built from our source code.
How to upgrade
Automatic upgrade
For an automatic upgrade, use the JHipster upgrade sub-generator on an existing application:
Upgrade your version of JHipster:
npm update -g generator-jhipster
And then run the upgrade sub-generator:
jhipster upgrade
You can also use the migrate blueprint for more advanced upgrade features.
npm i -g generator-jhipster-migrate
jhipster-migrate
Manual upgrades
For a manual upgrade, first upgrade your version of JHipster with:
npm update -g generator-jhipster
If you have an existing project, it will still use the JHipster version with which it was generated.
To upgrade your project, you must first delete its node_modules folder and then run:
jhipster
You can also update your project and all its entities by running:
jhipster --with-entities
You can also update your entities one-by-one by running again the entity sub-generator, for example if your entity is named Foo:
jhipster entity Foo --single-entity
Help and bugs
If you find any issue with this release, don't hesitate to:
- Add a bug to our bug tracker
- Post a question on Stack Overflow
- Create a new discussion on GitHub
If the issue you have is an urgent bug or security issue, please:
- Contact @jhipster on Twitter