Across Platform 2.1.0 released
By The Across Team
Across Platform 2.1.0 bumps Across Core to a new major version (3.x) that greatly improves compatibility with standard Spring and Spring Boot. The Spring Boot dependency has also been updated from 1.4.x to 1.5.x.
This platform upgrade has a lot of updated modules, both with new features and technical (sometimes breaking) refactorings/improvements. We strongly advise you to read the module specific release notes for all details.
Migration guide
Platform 2.1.0 includes some major updates related to improving Spring Boot 1.5 compatibility. This introduces some breaking changes that require you to update your existing code base. A separate migration guide has been provided to help upgrading from platform 2.0.x to 2.1.0.
What’s new
This chapter contains an excerpt of the more noteworthy changes.
Across Autoconfigure 1.0.0
A separate across-autoconfigure artifact has been added that adds
Spring Boot autoconfiguration support for many Spring Boot starters.
This is the new base dependency for most of your projects and can
replace the separate dependencies to across-core and across-web
artifacts.
See the across-autoconfigure documentation section for more information.
Across Core 3.0.0
- better support for Spring Boot autoconfiguration
- addition of
@ConditionalOnAcrossModulefor conditional component creation - overhaul of the event handling system: the standard Spring Framework
@EventListenerinfrastructure replaces the previous@Eventimplementation - better startup failure feedback when running as a
SpringApplication - improved
@ModuleConfigurationsupport @InstallerMethodnow supports method arguments which will be autowired when executing the method
Across Web 3.0.0
- major internal refactoring - Spring MVC configuration is now based on the Spring Boot autoconfiguration classes
- several improvements have been made to the
Menubuilding infrastructure - websocket support is activated automatically if the corresponding libraries are on the classpath
Hibernate JPA module 3.0.0
- internal refactoring - the default configuration now builds on top of Spring Boot JPA support
- the Spring Boot JPA properties are now also supported for
configuration and more property configuration options are available
- when switching from using the Spring Boot JPA starter (now
possible with across-autoconfigure), a single
AcrossHibernateJpaModulewill transparently take over the infrastructure without requiring application changes
- when switching from using the Spring Boot JPA starter (now
possible with across-autoconfigure), a single
- a
PlatformTransactionManageris now always created and exposed, along with aTransactionTemplate - added
AcrossHibernateJpaModule.builder()to easily create a module for an additionalEntityManager - it is now possible to add a module extension with an
@EntityScanannotation to specify where to scan for entities
Spring Security module 3.0.1
- internal refactoring to re-use the Spring Boot auto-configuration security classes
WebSecurityConfigurerbeans from other modules are now directly supported instead of the Across specificSpringSecurityWebConfigurer- the default Spring Boot security configuration is applied with some
minor changes
- basic authentication for an application can be configured using the Spring Boot properties (it is not active by default)
Admin Web 3.0.1
The EntityAdminMenu and EntityAdminMenuEvent types have been
deprecated. The new equivalent types in EntityModule should be used
instead.
Bootstrap UI 2.0.1
TooltipViewElementhas been added to quickly generate a tooltip icon with a corresponding message- a
FormGroupElementnow supports a description, a help block and a tooltip - added support for Java 8 date/time types on
DateTimeFormElement
EntityModule 3.0.1
- the module dependencies have been optimized:
EntityModulecan now be used withoutAdminWebModuleorBootstrapUiModule- the corresponding features are simply disabled when either of the modules is missing
- new message codes for adding a tooltip or a help block to a form group
- it is now possible to configure default view element modes on an
EntityConfiguration- these will determine the default behaviour if none is specified on a property level
- added
EntityViewCustomizersto help customizing entity view configuration in a more fluent fashion- added helpers for registering an admin menu item or an access validator for a custom view
- added the
ExtensionViewProcessorAdapterbase class for easily creating a view for a custom extension class - you can now manually force a property to show as required
- the
EntityLinkBuilderhas been deprecated in favour of a centralEntityViewLinkscomponent with a newEntityViewLinkBuilder- the new components make it much easier to create (customized) links to entity views
User module 3.0.0
Compatibility updates for the updated SpringSecurityModule.
Access Control module 3.0.1
- a single
AclPermissionFactoryis now used which makes it easier for modules to register custom ACL permissions AclPermissionForminfrastructure has been added, allowing a developer to build a UI for updating ACL permissions for an entity- this requires EntityModule and AdminWebModule to be active in your application
Web CMS 0.0.4
Compatibility updates with changes in Across 3.0.0 and EntityModule 3.0.1.
LDAP module 1.0.1
Minor updates and fixes.
What’s new sections
Links to the different what’s new sections of the updated modules:
| Across Platform | 2.1.0.RELEASE |
| Across Core | 3.0.0.RELEASE |
| Across Web | 3.0.0.RELEASE |
| AcrossHibernateJpaModule | 3.0.0.RELEASE |
| AdminWebModule | 3.0.1.RELEASE |
| BootstrapUiModule | 2.0.1.RELEASE |
| WebCmsModule | 0.0.4.RELEASE |
| SpringSecurityModule | 3.0.1.RELEASE |
| SpringSecurityAclModule | 3.0.1.RELEASE |
| EntityModule | 3.0.1.RELEASE |
| UserModule | 3.0.0.RELEASE |
| LdapModule | 1.0.1.RELEASE |