JHipster release 3.7.0

更新日志

This is a very big release with more than 100 closed tickets and PRs! Here are the most important changes:

  • Breaking change if you use i18n, because of #4076. As translate is an HTML5 element (which is a boolean), we are now using data-translate instead. To migrate your application, just do a search and replace from one attribute to the other, in all your HTML files.
  • Security issue for people using the Twitter social login, without the rights to use the user’s email address #4024
  • Migration to Undertow is our biggest change - see #4054. This brings some very good performance enhancements in start up time and memory usage: this is good for everyone, but people doing microservices will benefit from it even more. With this change, JHipster uses nearly as much JBoss code (Undertow, Hibernate, Bean Validation, MapStruct) as Spring code!
  • Upgrade to Gradle 3, which is a huge change for people using Gradle - see #3994
  • Support for Feign clients using OAuth2 client - see #3662
  • New JHipster DevBox, which now uses the new “Bento” box - see jhipster-devbox/#59
  • Upgrade to JHipster Registry v2.5.0, which is an update of the JHipster Registry to use this JHipster v3.7.0 release (with Undertow support, etc)
  • Upgrade to JHipster Console v1.3.1 - see JHipster Console v1.3.1 release notes
  • Update to Spring Cloud Brixton.SR5 - see #4074 #4094
  • Improvements to our Kubernetes sub-generator - see #4049 and #4044

Closed tickets

一如既往, you can check all closed tickets here.

更新指引

For an automatic upgrade, starting with JHipster v3.4.0, use the JHipster upgrade sub-generator on an existing application:

yo jhipster:upgrade

选择手动升级, 需要先升级你的Jhipster版本:

npm update -g generator-jhipster

如果你已经有了一个项目, 将会继续使用当时项目生成的Jhipster版本. 如果需要升级你的项目, 你需要先删除node_modules文件夹再运行:

yo jhipster

更新你的项目和所有的实体类

yo jhipster --with-entities

你也可以使用实体类子生成器挨个更新你的实体类, 例如你的实体类名字是_Foo_

yo jhipster:entity Foo

帮助和缺陷

如果您发现这个版本的任何问题, 请随时联系我们:

If the issue you have is an urgent bug or security issue, please: