JHipster release 3.0.0
After months of efforts, with a great international team, our 3.0.0 version is out!
If you liked how easy it is to develop a full-stack application with JHipster 2.0, it all stays the same. But we have extended what we mean by “full-stack”:
- JHipster 3 can generate a complete microservices architecture. It will generate and configure microservices, routers, a service registry, monitoring… It’s as easy as generating a standard “monolithic” application, but it now works for huge mission-critical, distributed systems.
- Infrastructure can be completely generated using Docker and Docker Compose. Complex microservices architectures can be run and tested on a laptop, and then deployed in a datacenter or in the cloud. Services can be scaled with one single command.
This website is already up-to-date with the latest documentation (and if you want to access our old 2.x documentation it’s here), so if you want more information about microservices we recommend you read those new and updated sections:
- Doing microservices with JHipster
- Docker and Docker Compose with JHipster
- Monitoring your JHipster Applications
Check out the presentation here.
As it’s our first 3.0 release, you can expect the usual bugs, so you might want to wait a couple of minor releases before using it in production.
Other important changes
- The AngularJS front-end has been refactored, mostly to follow the John Papa guidelines. The folder structure has changed and is a breaking change for applications generated with 2.x version. This ensures that JHipster is ready for migrating to AngularJS 2, when it is ready and mature enough.
- We now support JSON Web Tokens for security, and this replaces our former “xauth tokens” that we had coded ourselves.
- We have completely migrated to Gulp.js, so you can’t use Grunt anymore with JHipster.
- JDL is now a first class citizen with the new
- The entity sub-generator got many new features like option to update existing entities, custom table name, AngularJS suffix etc. Check the documentation here for details.
fastprofile has been removed and instead you now have profile switches. Check the documentation here for details.
- We have changed the way application is packaged, to improve performance. Find more details here.
- You can now choose a base language and additional languages during application generation if you have choosen internationalization.
This is a huge release for us and as always, you can check all the 596 closed tickets here.
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
You can also update your project and all its entities by running
yo jhipster --with-entities
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
If you find any issue with this release, don’t hesitate to:
If the issue you have is an urgent bug or security issue, please:
- Contact @jhipster on Twitter