JHipster release 2.22.0 Permalink to "JHipster release 2.22.0"

JHipster gives you Spring Boot + AngularJS working together in one handy Yeoman generator.

Documentation Permalink to "Documentation"

Looking for the (old) JHipster v2.x documentation? It’s Here!

What’s new Permalink to "What’s new"

Breaking change: tables names are now lower-case Permalink to "Breaking change: tables names are now lower-case"

Issue #2018 is a problem using MySQL (our most popular database option, 67% of all production builds last month!) on Linux, as our tables were case-sensitive.

Thankfully we had a very good bug report (to everyone submitting incomplete bug reports: please use our guidelines!), we have decided to make all our table names lower-case. This means changing their configuration in JPA as well as in Liquibase.

This is a breaking change for existing applications, but if you didn’t have the problem, you can safely ignore this.

Breaking change: YAML configuration Permalink to "Breaking change: YAML configuration"

Our YAML configuration files have been cleaned up, so they:

  • use the correct Spring Boot property names
  • use the ‘jhipster’ prefix when they are specific to JHipster
  • are much better documented

Cool new feature: type-safe Spring Boot configuration Permalink to "Cool new feature: type-safe Spring Boot configuration"

As our YAML configuration files have been cleaned up, we were able to add the new JHipsterProperties class in the conf package, which allows to have type-safe usage of the JHipster specific properties (the ones using the ‘jhipster’ prefix from the previous point).

This should also allow you to have automatic completion of the JHipster properties in your IDE, although this only seems to work on STS and not on Intellij IDEA.

Cool new feature: Docker Compose Permalink to "Cool new feature: Docker Compose"

Pascal Grimaud has added support for Docker Compose, which should be of great help for setting up both development and production environments.

Our documentation page is already available so you can start using this new feature straight away, but as this is very new it still has the BETA tag, and we are awaiting your feedback.

Cool new feature: Liquibase async start-up Permalink to "Cool new feature: Liquibase async start-up"

In development mode, Liquibase will now start asynchronously, in a different thread than the main application. This should make your application start a lot faster, up to 40% on our test systems.

This is definitely cool, but of course you can have an edge case when your application has started but the database isn’t fully updated yet. In our experience, this isn’t very annoying (and you will have a log message to warn you), but please send feedback if you notice any issue!

Once this feature is ironed out, we will continue to improve Liquibase start-up: we will add options to remove locks, disable it on some conditions, etc.

Java 7 deprecation! Permalink to "Java 7 deprecation!"

As Java 7 usage has been steadily declining during the last months, and is now at less than 10% of the generated projects, we are deprecating it.

We will have a great work to remove all Java 7 code in the near future, which should allow us to:

  • Clean up our code, and probably even improve the Java 8 code
  • Migrate to the new date/time API, which everybody seems to be waiting for

Closed tickets Permalink to "Closed tickets"

As always, you can check all the closed tickets here.

How to upgrade Permalink to "How to upgrade"

Update your version of JHipster with:

npm update -g generator-jhipster

And then you can update your project when you run again

yo jhipster

You can also update your entities by running again the entity sub-generator, for example if your entity is named Foo

yo jhipster:entity Foo

Help and bugs Permalink to "Help and bugs"

If you find any issue with this release, don’t hesitate to: