JHipster release 2.6.0

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

Documentation

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

更新日志

The big news is that we added validation support in JHipster!

By validation, we mean we have new options when generating an entity, that allows to configure validation for:

  • HTML views, using the AngularJS validation mechanism
  • Java domain objects, using Bean Validation
  • Spring MVC REST controllers
  • Hibernate (well, that’s automatic, we didn’t do anything on this one!)

Also noteworthy is that database columns are correctly generated, depending on the validation options (for a required field, its column is marked non-nullable, for example).

More information is available in our entity sub-generator documentation.

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

更新指引

使用以下命令更新Jhipster:

npm update -g generator-jhipster

使用以下命令更新你的项目

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

帮助和缺陷

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