1.x release notes
1.1.2.RELEASE
Across Core
Across now requires JDK8 and has improved support for Spring Boot.
The latter is also a required dependency as of 1.1.2.
A lot of improvements have been done to reduce the amount of boilerplate code necessary to create a new AcrossContext.
-
@EnableAcrossContext annotation now supports auto-configuration of an
AcrossContext -
@ModuleConfiguration annotation provides a no-hassle way to declare annotated classes that need to be added to a specific module
-
message sources are now auto detected if they follow the conventions
-
both
AcrossModuleandModuleBootstrapConfignow have shortcutexpose()methods that make it easier to expose additional beans -
several changes and improvements were made to installers:
-
installers are now created in their own configurable installer
ApplicationContext -
installers are detected automatically through classpath scanning (defaults to installers package of a module)
-
installers are ordered based on the presence of an
@Orderannotation -
installers now support
@Conditionalannotations for building more complex conditions -
installers should only be specified as class names in
getInstallers(), the use of instances is deprecated -
InstallerSettingshas been refactored to useInstallerMetaDatainstead (breaking change) -
installers can implement
InstallerActionResolverdirectly to suppress execution at runtime -
AcrossInstallerRepositorynow has methods to rename installers -
AcrossLiquibaseInstallerdetects the most appropriateSchemaConfigurationto use and modifies default schema accordingly
-
-
development mode can be set through the property across.development.active and is active by default if a Spring profile called dev is active
Across Web
-
@AcrossApplication can be used with
SpringApplicationto bootstrap an Across context with dynamic modules and support for embedded servlet containers -
async configuration can now correctly be set through
WebMvcConfigurer#configureAsyncSupport(AsyncSupportConfigurer) -
AcrossWebModuleSettingshas been refactored andAcrossWebModulecan now be configured through properties-
properties support Spring configuration metadata with possible IDE support
-
-
by default only Thymeleaf views support is activated (breaking change)
-
static resources now configure default client-side caching and resource url versioning
-
dynamic registration of servlets and filters now supports ordering
-
Default HTTP encoding is now forced to UTF-8
Across Test
Several improvements have been done for easier integration testing of modules in a web context.
-
test context builders have been added for easy configuration of an
AcrossContextin test methods -
MockAcrossServletContext can now be used for testing of dynamic
ServletContextconfiguration -
addition of a
AcrossMockMvcBuildersclass for creating aMockMvcBuilderbased on anAcrossContext-
both annotations and test builders now provide a singleton
MockMvcinstance that is initialized with the bootstrapped context and all dynamically registered filters
-
1.1.1.RELEASE
Initial public release available on Maven central.