You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which version and edition of Flyway are you using?
10.12.0 (OpenSource edition)
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
yes
Enviroment
Flyway-Mysql
Spring Boot 3
Description
While upgrading to 10.12.0 I noticed a lot of unused classes and dependencies are inside flyway core.
com.fasterxml.jackson.dataformat:jackson-dataformat-toml -> Required for TomlUtils which is never used anywhere
Classes and packages:
various telemetry classes that are not used
the complete reporting subsystem inside org.flywaydb.core.internal.reports, parts of org.flywaydb.core.api.output (e.g. DashboardRenderer) and the corresponding assets/report folder
a lot of classes inside org.flywaydb.core.internal.license e.g. EncryptionUtils
Many related classes inside org.flywaydb.core.internal.util e.g. LocalDateTimeSerializer
Many related exception classes e.g. org.flywaydb.core.internal.license.FlywayTrialExpiredException
I would recommend to remove these classes from the core library and move them to the correspoding existing libs or split them into new, dedicated libs.
This way the developers can declare/use them if required or at least exclude them in a easier way.
The text was updated successfully, but these errors were encountered:
Which version and edition of Flyway are you using?
10.12.0 (OpenSource edition)
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
yes
Enviroment
Flyway-Mysql
Spring Boot 3
Description
While upgrading to 10.12.0 I noticed a lot of unused classes and dependencies are inside flyway
core
.com.google.code.gson:gson
: flyway-core depends on gson: fails if not present #3672 -> required for reporting which is not in usecom.fasterxml.jackson.dataformat:jackson-dataformat-toml
-> Required forTomlUtils
which is never used anywhereorg.flywaydb.core.internal.reports
, parts oforg.flywaydb.core.api.output
(e.g.DashboardRenderer
) and the correspondingassets/report
folderorg.flywaydb.core.internal.database.sqlite
org.flywaydb.core.internal.database.h2
org.flywaydb.core.internal.database.base.TestContainersDatabaseType
org.flywaydb.core.internal.authentication
org.flywaydb.core.internal.license
e.g.EncryptionUtils
org.flywaydb.core.internal.util
e.g.LocalDateTimeSerializer
org.flywaydb.core.internal.license.FlywayTrialExpiredException
I would recommend to remove these classes from the
core
library and move them to the correspoding existing libs or split them into new, dedicated libs.This way the developers can declare/use them if required or at least exclude them in a easier way.
The text was updated successfully, but these errors were encountered: