This release includes many community-contributed pull requests, bug fixes, and an enhancement to Liquibase Hub integration represented by two new capabilities — optional auto-registration to Liquibase Hub from the CLI and Liquibase Hub report links presented in CLI.
Also, MariaDB is now fully certified for Liquibase Pro users.
Bug fixes
Fixed NullPointerException when an output writer is null #1625
Fixed filename + Id + author to be treated as unique in ValidatingVisitor.findChangeSet method #1622
Fixed EntityResolver to check the classpath even if the standard ResourceAccessor does not include it #1621
Fixed HistoryCommandTest to run on systems having a non-US default locale #1078
Added quotes around ${JAVA_PATH} in Liquibase shell script to avoid spaces in path issues #1062
Fixed the issue with automatic dropping of default values on MS SQL #1003
Allowed --changeset to have a space after -- in formatted sql files
Improvements
Updated the snakeyaml driver (that is packaged with Liquibase installer files) to address the CVE-2017-18640 vulnerability #1608
Implemented boolean data type support for DB2 LUW #966
Added deprecated LogFactory.getInstance() to make it easier for users who use the third party extension code to upgrade to 4.x #1642 and #1641
Included the existing dropPrimaryKey.dropIndex attribute in XSD #1629
Implemented auto-registration and operation report capabilities for Liquibase Hub
Certified MariaDB and Liquibase Pro functionality. Determined and documented MariaDB Oracle-compatible PL/SQL stored logic objects along with minimum GRANTs to leverage Liquibase Pro with MariaDB 10.4. See Liquibase Pro and MariaDB GRANT Best Practices.
v4.2.2
Liquibase 4.2.2 is a quick bugfix release to address:
Handle null statement objects coming from JdbcConnection objects #1576
which impacted the Liquibase-Hibernate extension
v4.2.1
This is mostly a bug release which offers fixes for both Liquibase Pro and Community, and an enhancement to Liquibase Hub integration.
Fixed invalid casting to JdbcConnection in CockroachDatabase #1536
Fixed missing unique constraints in snapshot #1477
Fixed unexpectedChangeSets command throwing a null pointer exception
If error occurs during generating SQL, Liquibase stops and does not send POST to Hub
DropDefaultValue on postgresql now drops the default value vs. setting the default value to null #931
Updated banner to reference to hub.liquibase.com
[PRO] GenerateChangeLog on postgresql stored logic now hashes parameters in filenames instead of listing them all out
[PRO] Fix in postgresql check constraints snapshot
[HUB] Enhancement: The registerChangeLog command now supports YAML & JSON changelog files
Liquibase Pro Key Included!
A trial Liquibase Pro Key for you to use immediately is included in the sample liquibase.properties files in the /example/sql and /examples/xml directories. Simply un-comment the liquibaseProLicenseKey to accept the terms at https://www.liquibase.com/terms-of-use and start enjoying the powers of Liquibase Pro.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps liquibase-maven-plugin from 3.6.3 to 4.3.0.
Release notes
Sourced from liquibase-maven-plugin's releases.
... (truncated)
Changelog
Sourced from liquibase-maven-plugin's changelog.
... (truncated)
Commits
c6ca2a5
Updated example properties fileaa015a1
Added 4.3.0 release notes59520d7
Merge remote-tracking branch 'origin/DAT-5700' into 4.3.xb7e50e1
Merge pull request #1642 from liquibase/LB-11334912b39
Added a .yaml test for registerChangeLog9884160
Highlight file update messages during registratione7a6f9e
Modified message to make it stand out more71b3498
Add deprecated LogFactory.getInstance() to smooth upgrade to 4.xc8b26b5
Handle CR-LF line endings for registerChangeLog JSON files11478c3
Merge remote-tracking branch 'origin/4.3.x' into DAT-5700Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)