github jhipster/generator-jhipster v9.5.0

one hour ago

What's changed

This is the last planned release of JHipster 9: Spring Boot 4.2, about 30 fixes, and over 100 dependency updates since 9.4.0. 🏁

It fixes a lot of what breaks after you generate: Kubernetes deployments with Consul, MongoDB and PostgreSQL 18, Heroku deployments, Gradle's Liquibase tasks, and Elasticsearch indexing. If you're running JHipster 9 in production, this is the one to upgrade to.

🌟 Highlights

πŸƒ Spring Boot and dependencies

  • Spring Boot 4.2.0 and Spring Cloud 2026.0.0
  • Updated dependencies for generated applications, including Node.js 24.23.0, Angular 22.3, Tomcat 11.0.29, Maven 3.10.2, and Gradle 9.9.3. The updates fix GitHub advisories in react-router, vite, vue-i18n, happy-dom, and lz4-java
  • npm run try-it builds your production jar and runs it locally with the secret samples profile

πŸ”’ Security

  • Generated apps start the JVM with -XX:-UseBASE64Intrinsics, which protects against CVE-2026-114938 on JDKs older than 17.0.21.1, 21.0.13.1 and 25.0.5.1, error responses are generic, and passwords are limited to what BCrypt accepts

☸️ Deployments

  • Kubernetes fixes for the Consul StatefulSet and its session-affinity service, MongoDB replica sets with mongosh, PostgreSQL 18's data directory, and the R2DBC username of reactive PostgreSQL apps
  • Docker Compose and Kubernetes deployments take the service discovery of their applications when the deployment doesn't set one
  • Heroku deployments work again: the prod secrets are set, jars deploy with the Maven and Gradle plugins, and Elasticsearch uses Elastic's add-on instead of Bonsai, which runs OpenSearch

πŸ—„οΈ Data

πŸ–₯️ Frontend

🐾 JDL and entities

πŸ“Š By the numbers

  • 44 closed issues and pull requests since 9.4.0 (full list), plus 31 fixes backported to the v9.x branch directly
  • Spring Boot 4.2.0, Spring Cloud 2026.0.0, Node.js 24.23.0, Angular 22.3, Maven 3.10.2, and Gradle 9.9.3

πŸ”§ More changes

πŸ”§ Core generator, testing, and code quality

  • Backport the JDK CVE-2026-114938 workaround and the generic error responses (9.x) (#36718) @mraible, @mshima
  • Couchbase: check the sort of the listings against the entity's properties (9.x) (#36719) @mraible
  • Leave the database name out of the SQL Server test container (9.x) (#36730) @mraible
  • Take the service discovery of the applications for a deployment that doesn't set one (9.x) (#36724) @mraible
  • fix(oauth2): save only page requests as the post-login redirect target with websockets (9.x) (#36558) @mraible
  • fix(couchbase): allow blocking while the SDK parses a topology in reactive tests (9.x) (#36647) @mraible
  • Resolve the libraries of JHipster built for CI from the local maven repository (9.x) (#36716) @mshima, @mraible
  • Run the MongoDB samples on ubuntu-22.04 (#36575) @mshima, @mraible
  • spring-boot: run the README production jar with the secret-samples profile and add a try-it script (backport of #35591) @mshima, @mraible
  • kubernetes: route apps to Consul through a session-affinity service so deregistration reaches the right server (backport of #35853) @mraible
  • kubernetes: configure the Consul StatefulSet for the HashiCorp image (backport of #35851) @mraible
  • kubernetes: use mongosh in the MongoDB replica set scripts and probes (backport of #35850) @mraible
  • kubernetes: set the R2DBC username for reactive PostgreSQL apps (backport of #35849) @mraible
  • kubernetes: mount PostgreSQL 18 data at /var/lib/postgresql (backport of #35848) @mraible
  • kubernetes: check only the kubectl client (backport of #35794) @mraible
  • heroku: provision elastic's add-on instead of bonsai, which runs opensearch (backport of #36015) @mraible
  • heroku: set the prod secrets that application-secret-samples.yml leaves out (backport of #36014) @mraible
  • heroku: deploy jars with the maven and gradle build plugins (backport of #36023) @mraible
  • ci-cd: build the production jar before deploying to heroku with gradle (backport of #35699) @mraible
  • docker: disable disk-based shard allocation for elasticsearch (backport of #35710) @mraible
  • fix(docker): wait for a yellow elasticsearch cluster in its health check (backport of #35682) @mshima
  • spring-boot: update elasticsearch index only after transaction commit (backport of #34620) @yhao3
  • spring-boot: fetch the user authorities when loading an entity to index in elasticsearch (backport of #35695) @mraible
  • Use JdbcTypeCode instead of Lob for TextBlob fields on PostgreSQL (backport of #35808) @mraible
  • spring-boot: use a token for the sonar analysis in the readme (backport of #35711) @mraible

πŸ–₯️ Frontend

  • Pin the native federation orchestrator to 4.7.0 for Angular microfrontends (#36574) @mraible, @qmonmert
  • client: share the application modules with the micro frontend dev server again (backport of #36000) @mraible
  • client: style the Angular and Vue form cancel button like React's back button (backport of #35841) @qmonmert
  • client: use the trash icon for the delete buttons in Angular and Vue like React (backport of #35840) @qmonmert
  • react: share micro frontend modules by absolute path (backport of #35788) @mraible
  • react: keep the host translations when a microfrontend registers its own (backport of #35799) @mraible
  • react: navigate to the sign-in route by path (backport of #35787) @mraible
  • react: snapshot the microfrontend translations spec 9.x generates (f808187) @mraible
  • build the angular service worker in production (backport of #35779) @mraible

🐾 JDL/Internals/Blueprints

  • Compute the entity changes once, with all the entities (9.x) (#36732) @mraible, @mshima
  • JDL: warn about option values JHipster doesn't know (9.x) (#36728) @mraible
  • JDL: suggest builtInEntity only for a missing destination (9.x) (#36726) @mraible
  • Skip the deployments of a multi-application JDL on a dry run (9.x) (#36727) @mraible
  • JDL: accept the pagination keyword the paginate deprecation warning recommends (9.x) (#36721) @mraible
  • fix: generate the entity translations of every language with jhipster entity (backport of #35683) @qmonmert
  • entity: escape the sign and decimal point in number validation regexes (backport of #35680) @mraible
  • entity: fix typos, update outdated USAGE (backport of #35634) @qmonmert

🐘 Gradle

  • liquibase: fix the gradle liquibase tasks (backport of #35793) @mraible
  • liquibase: exclude the test-only table from the Gradle diffLog (backport of #35999) @mraible
  • gradle: replace the version placeholder in every configuration file (backport of #35798) @mraible
  • gradle: declare the vitest reports as webapp_test outputs (backport of #35709) @mraible

πŸ“¦ Dependency updates

πŸ“¦ Install

npm install -g generator-jhipster@9.5.0

Refer to the upgrade instructions for upgrading existing applications.

πŸ™ Contributors

Thanks to everyone who contributed to this release!

Don't miss a new generator-jhipster release

NewReleases is sending notifications on new releases.