Liquibase 4.22.0 Release Notes
Note: We have removed the 4.22.0 release of Liquibase. This version contains an updated algorithm for determining which changes Liquibase needs to deploy to a database. In some situations, the conversion to this new algorithm could result in eligible changes not being deployed to a target database.
Specifically, currently undeployed changesets with the runOnChange=true
attribute may not be deployed if they were present in the first execution of Liquibase 4.22.0 against a given target database. If you have not upgraded to Liquibase 4.22.0, you are not impacted by this issue, or if you do not rely on runOnChange
changesets which have changed before your upgrade.
To remedy this issue, run the clear-checksums
command, then revert to Liquibase 4.21.1, and then run the changelog-sync
command to recalculate the v8 checksums.
Liquibase v4.22.0 is a major release.
See GitHub formatted release notes for more information. Full changelog: 4.21.1–4.22.0 (May 11, 2023)
Notable Changes
The checksum changes in Liquibase version 4.22.0 a major change, which improves whitespace handling in views, procedures, Liquibase Pro stored logic objects, and more. New checksums are silently recalculated upon the initial run of Liquibase 4.22.0 or greater.
No actions is required for the vast majority of users. However, for users who rely on the detection of a changed changeset or have complex workflows, it is recommended that you run liquibase clear-checksums
with your current version BEFORE your first operation using the new 4.22.0 version against a database. Learn more at Changeset Checksums.
API Breaking Changes
- DAT-13285 - Fix CheckSum generation issues + improvement by @filipelautert in #3914
Enhancements
- Improve
liquibase-core
pom.xml
handling (DAT-14546) by @nvoxland in #4169 - DAT-14367 by @sayaliM0412 in #4186
- New test fixes by @wwillard7800 in #4199
- Update
release-published.yml
by @jnewton03 in #4206 - Adding support for Postgresql-generated columns. by @filipelautert in #4185
- update changelog to 4.22 by @suryaaki2 in #4231
- [Pro] DAT-13972: add
rollback-on-error
ability and its MDC toupdate-one-changeset
command by @StevenMassaro in liquibase/liquibase-pro#934 - [Pro] update
pom.xml
by @sayaliM0412 in liquibase/liquibase-pro#929 - [Pro] MDC for
update-testing-rollback
by @StevenMassaro in liquibase/liquibase-pro#943 - [Pro] update pro key for test by @StevenMassaro in liquibase/liquibase-pro#962
- [Pro] DAT-12568 pro license key automation by @jnewton03 in liquibase/liquibase-pro#966
- [Pro] DAT- 13285:: Update stored logic checksum logic to match new OSS checksum logic for procedures by @MalloD12 in liquibase/liquibase-pro#931
- [Pro] DAT-14674: add help test for pro side by @StevenMassaro in liquibase/liquibase-pro#965
- [Pro] update pro xsd and schema to 4.22 by @suryaaki2 in liquibase/liquibase-pro#971
Security, Driver, and other updates
- Bump
maven-surefire-plugin
from 2.22.2 to 3.0.0 by @filipelautert in #4113 - Bump
maven-enforcer-plugin
from 3.2.1 to 3.3.0 by @dependabot in #4081 - Bump
jacoco-maven-plugin
from 0.8.8 to 0.8.10 by @dependabot in #4174 - Bump
flatten-maven-plugin
from 1.3.0 to 1.4.1 by @dependabot in #4036 - [Pro] Bump
logback-classic
from 1.4.6 to 1.4.7 by @dependabot in liquibase/liquibase-pro#947 - [Pro] Bump
jackson-core
from 2.14.2 to 2.15.0 by @dependabot in liquibase/liquibase-pro#949 - [Pro] Bump
jackson-annotations
from 2.14.2 to 2.15.0 by @dependabot in liquibase/liquibase-pro#950 - [Pro] Bump
jackson-module-jaxb-annotations
from 2.14.2 to 2.15.0 by @dependabot in liquibase/liquibase-pro#951 - [Pro] Bump
jackson-dataformat-yaml
from 2.14.2 to 2.15.0 by @dependabot in liquibase/liquibase-pro#953 - [Pro] Bump
jacoco-maven-plugin
from 0.8.9 to 0.8.10 by @dependabot in liquibase/liquibase-pro#955
Fixes
- Fixed #3487 Provide precision and scale for currency database datatype and H2. by @jccampanero in #4019
- Fix search path handle for PostgreSQL with JDBC connection with specified schema by @quonas in #4021
- Fixes undesired change to
CreateProcedureChange
checksum generation by @filipelautert in #4161 - Fixed #3722 auto-increment column starting with a custom value no longer works with H2 v1 by @quonas in #4013
- Fix
addDefaultValue
checksum calculation when providing schema name by @filipelautert in #4203 - Fix flaky Postgres tests by @abrackx in #4234
- Move
dbchangelog-4.21.xsd
toliquibase-standard
by @nvoxland in #4176 - include changelog file when running
status
command from Liquibase class (DAT-14659) by @StevenMassaro in #4201 - Always use
LockService
from Factory when running command steps by @filipelautert in #4151 - SnowflakeDatabase allows catalog name in identifiers in #4092
- Change the case of
sys.extended_properties
. by @jccampanero in #4101 - Load properties from
defaults-file
fixing variable replacement for refactored commands by @filipelautert in #4204 - remove helper commands from help output (DAT-14674) by @StevenMassaro in #4207
- [Pro] DAT-13953: fix integration name log message for native tools by @StevenMassaro in liquibase/liquibase-pro#937
- [Pro] Fix tests because of output change from Postgres 9.6 to 15. by @filipelautert in liquibase/liquibase-pro#970
- [Pro] DAT-14642 - Fix
Update-one-changeset
problem that shows up during checksum upgrade by @filipelautert in liquibase/liquibase-pro#968 - [Pro] DAT-14177: add
changesetsRolledback
for failedrollback-on-error
rollback by @StevenMassaro in liquibase/liquibase-pro#932
New Contributors
- @sayaliM0412 made their first contribution in liquibase/liquibase-pro#929
- @MalloD12 made their first contribution in liquibase/liquibase-pro#931
- @jccampanero made their first contribution in #4019