JHipster release 2.5.1
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!
What's new
JHipster now provides pagination on the generated entities!
Pagination uses the Link header, as in the GitHub API. You can have more information on doing pagination on a REST API on this best practices document.
Pagination is based on Spring Data (that's why it works for SQL databases and MongoDB, but not Cassandra). As we couldn't find any ready-made implementation for the Link header API, JHipster provides a custom implementation of this specification on both the server (Spring MVC REST) and client (AngularJS) sides.
We have 4 pagination options:
- No pagination (in that case, the back-end won't be paginated)
- A simple pager, based on the Bootstrap pager
- A complete pagination system, based on the Bootstrap pagination component
- An infinite scroll system, based on the infinite scroll directive
And as always, you can check all the 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
yo jhipster
Help and bugs
If you find any issue with this release, don't hesitate to:
- Contact @jhipster on Twitter
- Add a bug on our bug tracker
- Post a question on Stack Overflow