JHipster release v5.0.0-beta.0
This is our first beta release for JHipster v5.
Its main features are Spring Boot 2 support and React support (in addition to an improved Angular support!).
It has 350 closed tickets and pull requests on the main project, so it is really a huge work.
It is not available through the usual channels as this is a beta release, please read below for more information!
What's new?
- Spring Boot 2.0.0 support #7061
- All Spring libraries have been upgraded, including Spring Data, Spring Security and Spring Cloud
- The Spring Boot configuration has also been upgraded
- Reactive support
- New generator option to enable Spring Webflux support
- Support for Spring Webflux in the Spring controller sub-generator
- React support #6044 (out of experimental status)
- Same features as our Angular support (including updates mentioned below regarding dialogs and entity folder structure)
- Uses Redux for state management
- Uses React Router v4 for routing
- Written in Typescript
- Webpack 4 is used for builds and is very similar to our Angular Webpack setup
- Karma + Mocha + Chai unit tests with good coverage
- Improved Angular support
- This includes a migration to Webpack 4, which gives a nice performance boost (it varies depending on your situation, but you can expect a noticeable positive impact) #7186
- Lazy loading support for the admin modules #7235
- Reworked entity create/edit screens, they are normal pages now instead of popup dialogs #7368
- Improved AOT setup
- The folder structure of entities have been improved, especially for microservices as now they are grouped by services. There is a
--skip-ui-grouping
flag to retain the old behaviour #7079
- Prettier support #6906
- Both Angular and React now uses Prettier to format code.
- This also adds Husky and list-staged to enable pre-commit hooks
- Please use the
skip-commit-hook
flag to disable the pre-commit hooks when generating the application
- JDL v2 with application generation support #7339
- As a result, the language evolved dramatically, and you can now build full applications using the JDL, and not just entities. This is a huge news if you want to share and reuse your JHipster configuration.
- New JHipster blueprints (still a work-in-progress)
- The blueprints system allows to easily extends and/or replace JHipster templates. This is how the new JHipster Kotlin works. This isn’t well-documented yet, but JHipster Kotlin already gives a nice working example.
- Migration from PhantomJS to Puppeteer : as PhantomJS is not developed anymore see the latest announcement from the maintainer we have migrated our frontend tests to use the Headless Chromium browser provided by Puppeteer. If you encounter problems puppeteer, refer to their troubleshooting documentation
- New Sub-generator to deploy to AWS containers #7035
- Removed AngularJS support
- As we now focus on Angular 5+, we have removed our support for the older AngularJS 1.x
- As a side effect support for Bower and Gulp also have been removed