Skip to content
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

[DAT-15924] Handle AbstractSQLChange runWith checksum v8 variants #4937

Merged
merged 11 commits into from
Sep 25, 2023

Conversation

filipelautert
Copy link
Collaborator

@filipelautert filipelautert commented Sep 19, 2023

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

AbstractSqlChange checksum had the checksum calculated value changed for Liquibase versions 4.19.1 to 4.23.1 due to some changes on the way that we call it when using runWith="anything". This PR validates the v8 checksum using the alternative algorithm as a way to allow users to upgrade to checksums v9 without facing any errors or unexpected behaviours

@suryaaki2
Copy link
Contributor

@filipelautert

AbstractSqlChange checksum had the checksum calculated value changed for Liquibase versions 4.19.1 to 4.23.1

4.19.0 or 4.19.1? Does it matter?

@filipelautert
Copy link
Collaborator Author

@filipelautert

AbstractSqlChange checksum had the checksum calculated value changed for Liquibase versions 4.19.1 to 4.23.1

4.19.0 or 4.19.1? Does it matter?

It's 4.19.1, I confirmed during tests.

Copy link
Contributor

@StevenMassaro StevenMassaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to write any tests around this code?

@filipelautert filipelautert merged commit f956546 into master Sep 25, 2023
28 of 30 checks passed
@filipelautert filipelautert deleted the DAT-15924 branch September 25, 2023 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants