Liquibase v4.19.0 is a patch release with an XSD upgrade.
Enhancements
- Simplify assert calls and replaced with simpler and equivalent calls. by @arturobernalg in #3497
- Delete unused import statement. by @arturobernalg in #3522
- Added call to modifyChangeSet during execute method to allow the changeSet to be correctly set on the executor DAT-12388 by @wwillard7800 in #3511
- Remove unnecessary local variables that add nothing to the comprehensibility of a method. by @arturobernalg in #3373
- Allow loading gzipped data files by @mike-seger in #3379
- Use try-with-resources Statement when is possible. by @arturobernalg in #3374
- Define and reuse constants. Use an empty array styles to convert a collection to an array. by @arturobernalg in #3500
- Add support for block comment rollback commands on SQL changesets by @krishnaenugandula in #1399
- Allow primary key on addColumn for H2 by @nick318 in #3372
- Additional (optional) tableType attribute on the CreateTableChange by @MartinRied in #3108
- Include "path" in databasechangelog's description column for all change types with "path" attributes by @MichaelKern-IVV in #3244
- #1466: Add ignore:true changeset attribute to Formatted SQL changeLogs by @skrivenko in #3377
- #1290: Forbid empty changeSet id and author by @skrivenko in #3397
- Allow to drop and create a view for a Postgres database if replacing the view would fail by @rozenshteyn in #3399
- Rename DatabaseObjectComparator class to be DatabaseObjectCollectionComparator for clarity DAT-10112 by @wwillard7800 in #3544
- Do not lower case the ProvidedValue description if the string is capitalized, i.e. it starts with 2 upper-case characters DAT-12614 by @wwillard7800 in #3589
- Use 'Integer.compare' instead by @arturobernalg in #3528
- Simplify 'Map' operations. by @arturobernalg in #3527
- Remove unnecessary semicolon. by @arturobernalg in #3571
- Missing Override annotations. by @arturobernalg in #3558
- Prevents redundant loop iterations. Early loop exit in 'if' condition. by @arturobernalg in #3547
- DAT 6635 - Implement TagCommand by @filipelautert in #3570
- DAT-12576 update release workflow to attach artifact by run_id by @ap-liquibase in #3629
- DAT-12365 update install4j script to version 10.x by @jnewton03 in #3641
- Upgrades installer JDK version for next release. by @filipelautert in #3440
- remove licenses that were moved to individual extensions (DAT-12784) by @StevenMassaro in #3646
- DAT-12597 include commercial sources and javadoc in reversion by @ap-liquibase in #3671
Security, Driver, and other updates
- Bump mariadb-java-client from 3.0.8 to 3.1.0 by @dependabot in #3471
- Bump testcontainers-bom from 1.17.5 to 1.17.6 by @dependabot in #3477
- Bump snowflake-jdbc from 3.13.22 to 3.13.25 by @dependabot in #3475
- Bump slf4j-jdk14 from 2.0.3 to 2.0.4 by @dependabot in #3485
- Bump maven-install-plugin from 3.0.1 to 3.1.0 by @dependabot in #3484
- Bump castlabs/get-package-version-id-action from 2.0 to 2.1 by @dependabot in #3490
- Bump sqlite-jdbc from 3.39.4.0 to 3.40.0.0 by @dependabot in #3510
- Bump jaybird from 4.0.6.java8 to 4.0.8.java8 by @dependabot in #3509
- Bump mockito-inline from 4.8.1 to 4.10.0 by @dependabot in #3580
- Bump targetMavenVersion from 3.8.5 to 3.8.6 by @dependabot in #3593
- Bump junit-jupiter-params from 5.8.1 to 5.9.1 by @dependabot in #3592
- Bump jaybird from 4.0.6.java8 to 4.0.8.java8 by @dependabot in #3602
- Bump slf4j-jdk14 from 2.0.4 to 2.0.6 by @dependabot in #3566
- Bump snowflake-jdbc from 3.13.25 to 3.13.26 by @dependabot in #3579
- Bump robinraju/release-downloader from 1.6 to 1.7 by @dependabot in #3603
- Bump ojdbc8 from 21.7.0.0 to 21.8.0.0 by @dependabot in #3551
- Bump up the max number of code points for JSON/YAML parser DAT-12657 by @wwillard7800 in #3552
- Bump actions/cache from 3.0.11 to 3.2.3 by @dependabot in #3654
- update changelog version - 4.19 by @suryaaki2 in #3676
- Update changelog xsd 4.19 by @suryaaki2 in #3678
- Bump targetMavenVersion from 3.8.5 to 3.8.7 by @dependabot in #3634
- Update release-published.yml by @jnewton03 in #3540
- DAT-12783 Adding extension license information by @wwillard7800 in #3614
Fixes
- fix overwriteOutputFile parameter for GenerateChangelog (DAT-12036) by @StevenMassaro in #3543
- Avoid ClassCastException when loading LogService from Scope by @mattbertolini in #3518
- Adds exclusions for mariadb newly added waffle dependency. by @filipelautert in #3559
- Correctly handle indexes with descending columns in snapshot DAT-11447 by @wwillard7800 in #3535
- Fix getting default schema issue for firebird by @MalloD12 in #3390
- Fix generatedSQL logic to allow setting up a function as a default value for MySQL version 8 by @MalloD12 in #3362
- DAT-11579: when generating changelogs for MySQL, ignore table column order for PKs by @StevenMassaro in #3486
- Included SQL to return unique constraints for Sybase by @crenan in #3517
- Add varbinary and binary support for DB2 - fixes #3408 by @mihaelaDev in #3428
- Added support for COMPUTED values inside CSV files for loadData change by @zbynekvavros in #944
- Prevent Executors collision due to hash used as a Map's key part by @Dasiu in #3533
- Breaks out of LockService.init loop after validations are completed by @filipelautert in #3576
- implement SingletonObject to solve #2349 by @yairogen in #3624
- Postgresql - Fallback to default schema name in SequenceSnapshotGenerator when this is null by @djochim in #3637
OWASP Dependency Check: Reported Vulnerabilities
- snakeyaml.jar - This is a "critical" vulnerability reported against the snakeyaml library. We are currently on the newest version of snakeyaml and there is no fix for the issue as of yet.
New Contributors
- @mike-seger made their first contribution in #3379
- @crenan made their first contribution in #3517
- @mihaelaDev made their first contribution in #3428
- @krishnaenugandula made their first contribution in #1399
- @skrivenko made their first contribution in #3397
- @zbynekvavros made their first contribution in #944
- @Dasiu made their first contribution in #3533
- @yairogen made their first contribution in #3624
- @djochim made their first contribution in #3637
Full Changelog: v4.18.0...v4.19.0
Get Certified
Learn all the Liquibase fundamentals from free online courses by Liquibase experts and see how to apply them in the real world at https://learn.liquibase.com/.
Read the Documentation
Please check out and contribute to the continually improving docs, now at https://docs.liquibase.com/.
Meet the Community
Our community has built a lot. From extensions to integrations, you’ve helped make Liquibase the amazing open source project that it is today. Keep contributing to making it stronger:
Contribute code
Make doc updates
Help by asking and answering questions
Set up a chat with the Product team
Thanks to everyone who helps make the Liquibase community strong!
File Descriptions
-
Liquibase CLI -- Includes open source + commercial functionality
-
liquibase-x.y.z.tar.gz -- Archive in tar.gz format
-
liquibase-x.y.z.zip -- Archive in zip format
-
liquibase-windows-x64-installer-x.y.z.exe -- Installer for Windows
-
liquibase-macos-installer-x.y.z.dmg -- Installer for MacOS
-
Primary Libraries - For embedding in other software
- liquibase-core-x.y.z.jar – Base Liquibase library (open source)
- liquibase-commerical-x.y.z.jar – Additional commercial functionality
-
liquibase-additional-x.y.z.zip – Contains additional, less commonly used files
- Additional libraries such as liquibase-maven-plugin.jar and liquibase-cdi.jar
- Javadocs for all the libraries
- Source archives for all the open source libraries
- ASC/MD5/SHA1 verification hashes for all files
NOTE: liquibase-core-.jar contains only the open-source license. If you use Liquibase Pro or other commercial add-ons, you must also install liquibase-commercial-.jar