KTX 1.10.0-b2
Pre-release
Pre-release
A maintenance release with improved support for the new LibGDX 1.10.0 features. Includes a minor refactoring of the ktx-log
module.
- [UPDATE] Updated to Gradle 7.0.2.
- [UPDATE] Updated to Kotlin 1.5.21.
- [UPDATE] Updated to Kotlin Coroutines 1.5.1.
- [UPDATE] Updated to VisUI 1.5.0.
- [CHANGE] The JVM target compatibility of all modules was set to
1.8
, since Java1.6
target was deprecated and is incompatible with the latest coroutines library. Note that source compatibility level is still set to1.7
. - [FEATURE] (
ktx-assets
) Addeddiscard
lambda parameter to thepool
factory method that is invoked after an object is rejected from the createdPool
. - [FEATURE] (
ktx-scene2d
) Added support forParticleEffectActor
in Scene2D DSL viaparticleEffect
factory method. - [FEATURE] (
ktx-log
) AddedDEBUG
,INFO
andERROR
constants with default logger tags. - [CHANGE] (
ktx-log
) Default tags are no longer wrapped in square brackets. This caused a change of the logs structure. - [CHANGE] (
ktx-log
)Logger.tag
variable was renamed toLogger.name
. - [CHANGE] (
ktx-log
) Log prefix variables fromLogger
were removed. Message tags are now configurable directly through the constructor. - [CHANGE] (
ktx-log
) Logger name is no longer a part of the message tag. Instead, it is now prepended to the message. This causes a change of the logs structure. - [FEATURE] (
ktx-log
) AddedLogger.buildMessage
method that allows to modify logged message structure. This method can be overridden when extending theLogger
class, simplifying the usage of custom message formats.