Releases: seedstack/seed
Releases · seedstack/seed
v3.6.2
- [chg] Also support proxy exclusions without wildcard (
*.somedomain.com
,.somedomain.com
andsomedomain.com
are all supported). - [chg] Moved provided
javax.annotation.Nullable
toorg.seedstack.seed.Nullable
to avoid module clashes in Java 9+. - [chg] Various dependency improvements for Java9+ modules.
- [fix] Prevent the session regeneration mechanism to create a session when none exists.
- [fix] Fix bug preventing proper invalidation of the Shiro authentication cache.
v3.6.1
- [fix] Downgrade requirement on Servlet API to 3.0 (for old Web containers).
- [chg] Update Arquillian to 1.4.0.
v3.6.0
- [new] Support for Servlet 4.
- [fix] Detect if JAXB is available before enabling its support for JAX-RS.
- [chg] Update Undertow to 2.0.6.
v3.5.1
v3.5.0
- [new] Java 9 compatibility.
- [new] JAX-RS 2.1 support.
- [new] Support for serializing/de-serializing
java.util.stream.Stream
from JAX-RS resources. - [new] Support for custom constraint validator injection.
- [new] Integration testing now uses SeedStack launchers to execute the tested application.
- [new] Ability to choose the tested application launcher with
@LaunchWith
- [new] Ability to define/override system properties for integration testing with
@SystemProperty
. - [new] Ability to define/override kernel parameters for integration testing with
@KernelParameter
. - [new] Ability to define/override configuration for integration testing with
@ConfigurationProperty
. - [new] Ability to select configuration profiles for integration testing with
@ConfigurationProfiles
. - [new] Ability to specify launch arguments for integration testing with
@Arguments
. - [new] Run Web integration tests with undertow by combining
@RunWith(SeedITRunner.class)
and@LaunchWithUndertow
. - [brk] The integration testing API has been refactored to support other testing frameworks.
- [fix] Defer JNDI lookup through
@Resource
annotation until the instance containing the injection is created.
v3.4.2
- [new] Add configuration watching for local files and automatic refresh after change (enable by setting config property
config.watch
to true). - [fix] Fix
config
tool NullPointerException when dumping a config tree with generics and no null value. - [fix] Fix exception when a
@CliCommand
-annotated class inherits from a base class.
v3.4.1
- [fix] Undertow-based applications would not refresh after a startup failure.
v3.4.0
- [new] Validation exceptions on REST resources are automatically mapped to a detailed response.
- [new] A
@RequiresCrudPermissions
annotation allows to add permission checks based on the detected CRUD action of the called method. - [new] SPI
CrudActionResolver
has been added to security to allow for resolving the CRUD action of a particular method. - [new] Provides the ability to configure some Shiro implementation classes:
SubjectDAO
,SubjectFactory
,SubjectContext
,Authenticator
,AuthenticationStrategy
,CacheManager
andSessionStorageEvaluator
. - [new] A JAX-RS implementation of
CrudActionResolver
detects the CRUD action based upon the JAX-RS annotations. - [new] Basic support for refreshing Web applications served with Undertow.
- [fix] Prevent session fixation issue by regenerating the session (if any) upon successful login.
- [fix] Make
SimplePrincipalProvider
serializable. - [chg] Security sessions are now enabled by default.
- [brk] Data import/export API has been removed and replaced by a newer API into business framework.
v3.3.1
- [new] Configuration dump (
config
tool) now dumps inner properties for maps, collections, arrays and complex objects. - [new] Add
beforeInitialization()
andafterInitialization()
methods onSeedInitializer
interface. - [new] Add
isRemembered()
onSecuritySupport
interface.
v3.3.0
- [new] Print a default banner at startup in case of missing custom
banner.txt
. - [new] Add
application.colorOuput
configuration property to force the color output mode (AUTODETECT, PASSTHROUGH, ENABLE, DISABLE). - [new] Any singleton implementing
AutoCloseable
will have itsclose()
method invoked at application shutdown (can be ignored with @ignore). - [new] Overriding Guice modules can be installed by using
@Install(override = true)
. - [new] The
@Bind
annotation allows to easily define arbitrary bindings by annotating implementations. - [new] The
@ITBind
and@ITInstall
annotations have been updated to allow the same options as@Bind
and@Install
. - [new] Can now read transaction metadata from JTA 1.2
@Transactional
annotation. - [new] Web session tracking mode is now set to COOKIE by default (a
web.sessionTrackingMode
configuration option allows to change it). - [new] Add
security.web.successUrl
andsecurity.web.logoutUrl
configuration options to configure redirection after, respectively, successful login and logout. - [new] Add
security.web.form
configuration object to configure form-based authentication. - [brk] Deprecated
expand()
method oforg.seedstack.seed.rest.hal.Link
has been removed (use getHref() instead). - [fix] Avoid NullPointerException when an exception occurs in a
NOT_SUPPORTED
local transaction. - [chg] Overriding an more general class configuration attribute with a more specific null-valued one, completely removes the attribute.
- [chg] HTTP/2 is enabled by default with Undertow.
- [chg] Update Guice to 4.1.0.
- [chg] Update Shiro to 1.4.0.
- [chg] Update Jersey to 2.25.1.
- [chg] Update Hibernate validator to 5.4.1.Final.
- [chg] Update Commons CLI to 1.4.
- [chg] Update Undertow to 1.4.14.