4.x.x release notes
4.1.0.RELEASE
-
Changed
new PageRequest()toPageRequest.of() -
Changed
new Sort()toSort.by() -
Removed hardcoded dependency to hibernate-jpa-2.1-api which was restricting us to work with JPA 2.2
-
Pinned version of cypress because of incompatibility between
cypress/browsers:chrome65-ff57andnode8 -
Switched to JUnit5
4.0.0.RELEASE
-
Behaviour of
EntityLinkBuilderhas been changed due to changes in Spring 5 concerning URL encoding of parameters.-
All
linkTocalls inEntityViewLinkswill automatically URL encodefromparameters correctly. -
All calls to
withPartial,withFromUrl,withViewName,withQueryParamwill automatically URL encodefromparameters correctly. -
Calls to to
.queryParamare now seen as literals and will not be url encoded anymore. If you want query parameters to be encoded you must use templated variables as seen on https://docs.spring.io/spring/docs/5.1.12.RELEASE/spring-framework-reference/web.html#web-uri-encoding.
-
-
Fix bug with
EntityIdProxyPropertyRegistrar: when an id value isnulltheEntityModel.findOne()of the target entity will no longer be called -
The default navigation items generated for Across module are now by default included in the breadcrumb. Register
MenuattributeAdminMenu.ATTR_BREADCRUMBto exclude them again, see also the AdminWebModule documentation. -
The generic Entity management overview controller is no longer available
-
Improvements for manual entity registration:
-
Instead of
EntitiesConfigurationBuilder.create().entityType(Class, true)you can now use eitherwithType(Class)orregister(Class) -
Both alternatives behave the same and will register the type if it is missing. The only difference is the intent expressed by the method name.
-
-
data-em-button-rolehas been added to most important navigation buttons and links -
form buttons are now wrapped in a
div.em-form-actions -
EntityFormStateCompletedhook and event added toSaveEntityViewProcessorandDeleteEntityViewProcessor-
allows for easier customization of the redirect and feedback messages after creating/saving/deleting an entity
-