Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Conversation

@jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented Feb 19, 2025

https://github.com/grails/grails-database-migration

grails-database-migration is dependent upon liquibase-core and liquibase-hibernate5. Given the dependency on liquibase-hibernate5 the historical version of grails-database-migration is being merged into the gorm-hibernate5 project, since they are tied at the hip by hibernate5. The current release of https://mvnrepository.com/artifact/org.liquibase.ext/liquibase-hibernate5/4.27.0 may be the last hibernate5 Liquibase release given the Apr 03, 2024 release date.

For this merge the maven coordinates will stay org.grails.plugins:database-migration, but the version will jump from 6.0.x to 9.0.x to match GORM and make it easier to confirm compatibility.

When gorm-hibernate6 is ready, a distinct version of database-migration should be merged into that project which supports hibernate6. It should have a distinct artifactid, such as database-migration-hibernate6.

puneetbehl and others added 30 commits November 17, 2021 00:45
…2-1.x

Update dependency com.h2database:h2 to v1.4.200
…asciidoctor-gradle-plugin-1.x

Update dependency org.asciidoctor:asciidoctor-gradle-plugin to v1.6.1
Remove provided scope as it is deprecated
Remove spock-outputcapture dependency
Update dependency org.hibernate:hibernate-core to v5.6.1.Final
… classes

Liquibase 4.0 has changed the way to load the extension classes from Java classloader interfaces to java.util.ServiceLoader system. See Liquibase 4.0 extension upgrade guide at https://docs.liquibase.com/tools-integrations/extensions/extension-upgrade-guides/lb-4.0-upgrade-guide.html
In Liquibase 4.0, the recommended way to create command is to implement commands with {@link liquibase.command.CommandStep} and call them with {@link liquibase.command.CommandFactory#getCommandDefinition(String...)}. The legacy LiquibaseCommand API is deprecated now.
Fix breaking API changes
To capture output from System.out and System.err as the one from Spring Liquibase API does not work with Spock and JUnit5
to ignore log files
…ersion

Update dependency org.liquibase:liquibase-core to v4 - manual
To correctly resolve next version based on labels
Update dependency asciidoctor-gradle-plugin:1.6.2 to org.asciidoctor:asciidoctor-gradle-jvm:3.3.2
To correctly resolve the tag and name based on RESOLVED_VERSION
Add a new category "Build/CI" to release notes
jamesfredley and others added 18 commits December 18, 2024 17:00
Update README.md for 5.0.0 release
# Conflicts:
#	build.gradle
#	gradle.properties
docs: mentioned that the placement of sourceSets affects Grails 4 and above
(cherry picked from commit 4cc66c98068f17dea83e58839fb246230949f305)
Merge pull request #397 from MichaelMorett/feature/fix-getting-started
(cherry picked from commit cffd761)
(cherry picked from commit 1611aa1)
(cherry picked from commit 12aa4b9)
(cherry picked from commit 55334a5)
(cherry picked from commit 788d2b0)
(cherry picked from commit 769cf19)
(cherry picked from commit 3ce0df9)
(cherry picked from commit 4c0fc6b)
@CLAassistant
Copy link

CLAassistant commented Feb 19, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
4 out of 5 committers have signed the CLA.

✅ matrei
✅ puneetbehl
✅ jamesfredley
✅ jdaugherty
❌ grails-build
You have signed the CLA already but the status is still pending? Let us recheck it.

@jamesfredley jamesfredley self-assigned this Feb 19, 2025
@jamesfredley jamesfredley added this to the grails:7.0.0-M2 milestone Feb 19, 2025
@jamesfredley jamesfredley linked an issue Feb 19, 2025 that may be closed by this pull request
@jdaugherty
Copy link
Contributor

After we merge this, we should add a readme to the default branch in grails-database-migration repo to say it moved here. We then should transfer relevant issues and mark them for the plugin. I can help with both of these if you'd like.

@jamesfredley
Copy link
Contributor Author

@jdaugherty Yes, please proceed with the readme and issue transfer.

I just resolved the merge conflict and will merge as soon as everything passes.

@jamesfredley jamesfredley merged commit b39e53a into 9.0.x Feb 20, 2025
6 of 7 checks passed
@jamesfredley jamesfredley deleted the merge-database-migration-plugin branch February 20, 2025 03:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

merge database migration plugin into gorm-hibernate5 repository