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
AcrossModule
andModuleBootstrapConfig
now 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
@Order
annotation -
installers now support
@Conditional
annotations for building more complex conditions -
installers should only be specified as class names in
getInstallers()
, the use of instances is deprecated -
InstallerSettings
has been refactored to useInstallerMetaData
instead (breaking change) -
installers can implement
InstallerActionResolver
directly to suppress execution at runtime -
AcrossInstallerRepository
now has methods to rename installers -
AcrossLiquibaseInstaller
detects the most appropriateSchemaConfiguration
to 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
SpringApplication
to bootstrap an Across context with dynamic modules and support for embedded servlet containers -
async configuration can now correctly be set through
WebMvcConfigurer#configureAsyncSupport(AsyncSupportConfigurer)
-
AcrossWebModuleSettings
has been refactored andAcrossWebModule
can 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
AcrossContext
in test methods -
MockAcrossServletContext can now be used for testing of dynamic
ServletContext
configuration -
addition of a
AcrossMockMvcBuilders
class for creating aMockMvcBuilder
based on anAcrossContext
-
both annotations and test builders now provide a singleton
MockMvc
instance that is initialized with the bootstrapped context and all dynamically registered filters
-
1.1.1.RELEASE
Initial public release available on Maven central.