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-ff57
andnode8
-
Switched to JUnit5
4.0.0.RELEASE
-
Behaviour of
EntityLinkBuilder
has been changed due to changes in Spring 5 concerning URL encoding of parameters.-
All
linkTo
calls inEntityViewLinks
will automatically URL encodefrom
parameters correctly. -
All calls to
withPartial
,withFromUrl
,withViewName
,withQueryParam
will automatically URL encodefrom
parameters correctly. -
Calls to to
.queryParam
are 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 isnull
theEntityModel.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
Menu
attributeAdminMenu.ATTR_BREADCRUMB
to 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-role
has been added to most important navigation buttons and links -
form buttons are now wrapped in a
div.em-form-actions
-
EntityFormStateCompleted
hook and event added toSaveEntityViewProcessor
andDeleteEntityViewProcessor
-
allows for easier customization of the redirect and feedback messages after creating/saving/deleting an entity
-