-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changeset generation broken since 4.28 #6148
Comments
Facing same issue when upgrading to Liquibase 4.28. Its not creating changelog for new fields |
this issue is related to liquibase/liquibase-hibernate#708 it breaks because the I don't know whether this must be fixed in liquibase or liquibase-hibernate but I do think
|
Hi @Floppy012, @keerthu27 and @lorenzbaier, thank you all for reporting this issue. Let me know! |
I commented a workaround in liquibase/liquibase-hibernate#708 (comment) |
I think this issue is only related to liquibase-hibernate. not liquibase itself. At least it can easily be fixed there. |
@tati-qalified Any update on this issue yet? This is a major blocker and we cannot downgrade due to recent bug fixes as well. |
@sruthiganesh-HC try the latest nightly build |
This has been fixed by liquibase/liquibase-hibernate#717, and will be released with Liquibase 4.30.0 later this month. |
Search first
Description
Since liquibase 4.28 it seems like that changes are still detected but don't make it to the changeset when using the
liquibase:diff
goal of the maven plugin. This only seems to be the case for when stuff is inserted into the database. When I ran the command on my personal project it did create a changeset containing only drop statements but no create/alter statements.Steps To Reproduce
See this minimal reproduction repository: https://github.com/floppy012-repros/liquibase
docker compose up -d
src/resources/db/migrations
is emptymvn clean compile liquibase:diff
pom.xml
and setliquibase.version
property to4.27.0
mvn clean compile liquibase:diff
src/main/resources/db/migrations/test.xml
docker compose down -v
Expected/Desired Behavior
Liquibase 4.28 and onwards should create a changelog file like 4.27 did.
Liquibase Version
4.28, 4.29
Database Vendor & Version
PostgreSQL 16.3.0
Liquibase Integration
maven
Liquibase Extensions
liquibase-hibernate6
OS and/or Infrastructure Type/Provider
Ubuntu 22.04 LTS
Additional Context
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /opt/applications/maven
Java version: 21.0.3, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-112-generic", arch: "amd64", family: "unix"
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: