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.
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 you upgrading from platform 2.0.x to 2.1.0.
This chapter contains an excerpt of the more noteworthy changes.
A seperate 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 seperate dependencies to across-core and across-web artifacts.
See the across-autoconfigure documentation section for more information.
@ConditionalOnAcrossModule for conditional component creation@EventListener infrastructure replaces the previous @Event implementationSpringApplication@ModuleConfiguration support@InstallerMethod now supports method arguments which will be autowired when executing the methodMenu building infrastructureAcrossHibernateJpaModule will transparently take over the infrastructure without requiring application changesPlatformTransactionManager is now always created and exposed, along with a TransactionTemplateAcrossHibernateJpaModule.builder() to easily create a module for an additional EntityManager@EntityScan annotation to specify where to scan for entitiesWebSecurityConfigurer beans from other modules are now directly supported instead of the Across specific SpringSecurityWebConfigurerThe EntityAdminMenu and EntityAdminMenuEvent types have been deprecated. The new equivalent types in EntityModule should be used instead.
TooltipViewElement has been added to quickly generate a tooltip icon with a corresponding messageFormGroupElement now supports a description, a help block and a tooltipDateTimeFormElementEntityModule can now be used without AdminWebModule or BootstrapUiModule
EntityConfiguration
EntityViewCustomizers to help customizing entity view configuration in a more fluent fashion
ExtensionViewProcessorAdapter base class for easily creating a view for a custom extension classEntityLinkBuilder has been deprecated in favour of a central EntityViewLinks component with a new EntityViewLinkBuilder
Compatibility updates for the updated SpringSecurityModule.
AclPermissionFactory is now used which makes it easier for modules to register custom ACL permissionsAclPermissionForm infrastructure has been added, allowing a developer to build a UI for updating ACL permissions for an entity
Compatibility updates with changes in Across 3.0.0 and EntityModule 3.0.1.
Minor updates and fixes.
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 |