Getting Started
Core
Relational Databases
NoSQL Databases
Cache
Internationalization
REST Client
Scheduler
Sendmail
Template
Virtual File Storage
Web
Testing
Advanced
Sometimes important changes will be introduced that will break the backwards compatibility with older versions of the framework. On this page you will find the necessary steps to make your application work with the latest version.
Initial release
ApplicationLauncher
has been renamed to VoidApplication
voidframework.web.session.signatureKey
is now requireddev.voidframework.web.http.filter.csrf
package, if you use this filter in your application, you will need to modify the configuration key voidframework.web.globalFilters
dev.voidframework.web.http.filter.security
package, if you use this filter in your application, you will need to modify the configuration key voidframework.web.globalFilters
NoCSRF
, RequestBody
, RequestPath
, RequestRoute
, RequestVariable
and WithFilter
has been moved to the package dev.voidframework.web.http.annotation
@CacheRemove
and @CacheResult
are now in the package dev.voidframework.cache.annotation
connectionTimeout
is now a duration, a time unit must be providedaddInList
method of the voidframework-redis
module now adds items to the end of the listdev.voidframework.core.helper
has been moved to dev.voidframework.core.utils
and the suffix Utils
has been added (ie: IO
is now named IOUtils
)Result::redirectPermanentlyTo
has been renamed to Result::redirectMovedPermanently
Result::redirectTemporaryTo
has been renamed to Result::redirectFound
HttpMimeType
has been renamed to HttpMimeTypes
HttpRequestBodyContent::asRaw
now return an InputStream
ValidationError
is now a record. All methods are now named without any prefix (ie: getMessage()
is now named message()
)Router::addRoute
has changed. The routeUrl
parameter is now of type RouteURL
. You can use RouteURL::of
to migrate to the new format@BindClass
has been renamed to @Bindable
voidframework.web.server.listenHost
and voidframework.web.server.listenPort
have been renamed to voidframework.web.server.http.listenHost
and voidframework.web.server.http.listenPort
jakarta.inject
, jakarta.servlet
and jakarta.persistence
namespaces. Read more at https://github.com/google/guice/wiki/Guice700PARENTHESIS_OPEN
and PARENTHESIS_CLOSE
are no longer inverted. If you use these two constants, take care to adapt their use