Update dependency org.liquibase:liquibase-core to v4 #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.6.2->4.8.0By merging this PR, the issue #1 will be automatically resolved and closed:
Release Notes
liquibase/liquibase (org.liquibase:liquibase-core)
v4.8.0Compare Source
Liquibase 4.8.0 release
Please report any issues to https://github.com/liquibase/liquibase/issues.
Notable Changes
Liquibase 4.8.0 introduces the following functionality:
init hubsubcommand that connects your local Liquibase activity to Liquibase Hub and sets up the Liquibase environment to use Liquibase Hub. [DAT-8769]Note: For more information, see init hub and Getting Started with Liquibase Hub.
sqlcmdutility support to process complex SQL for MSSQL Server. Liquibase provides theliquibase.sqlcmd.conffile to pass arguments to your executor when running Liquibase Pro. [DAT-7447]Note: For more information, see Using the SQLCMD integration and runWith attribute with Liquibase Pro and MSSQL Server.
liquibase.secureParsing=false. [PR#2384] [LB-2218]Note: For more information about the ways to set the parameter, see Command Parameters.
postgresql(from42.2.12to42.3.2) andh2(from2.0.206to2.1.210) drivers that Liquibase includes in the installation package. If you use those drivers and upgrade an existing Liquibase installation, remove the earlier versions of drivers from theLIQUIBASE_HOME/libdirectory.Enhancements
SimpleObjectConstructorinterface for DB2 on z/OS [DAT-8580]init projectsubcommand [DAT-9041]init start-h2when the H2 database driver is specified, but there is no connection detected [DAT-8992]enableCheckConstraint,disableCheckConstraint,dropPackage,dropPackageBodyChange Types [DAT-9017]example-changelog.sqlfile [LB-2220]customChangenode with noclassattribute [LB-1144]rollback-sql <tag>operation [LB-2198]closemethod for theClassLoaderResourceAccessorclass [LB-2205]Fixes
renameSequenceChange Type generating an uppercase SQL instead of lowercase and causing failures with case-sensitive databases [LB-1763]generate-changeloganddiffcommands to show and generate a proper SQL with autoincrement for PostgreSQL [DAT-8779]<sql>tags [LB-562]UniqueConstraintSnapshotGeneratorclass to add a table name to the Oracle database query so that the cache key can contain it, and the unique constraint can be read from cache [LB-2206]update-sqlcommand against a new database [LB-2208]MANIFEST.MFfile in theliquibase-core-4.7.0.jarfile. The PR fixes PR#2361.sp_renamefunction to be lowercase when using MSSQL Servercomputed=truecolumns with no type set in thecreateTableChange Type. The PR fixes PR#2283. [LB-2215]orderedclause is specified in thecreateSequenceoralterSequenceChange Type. The PR fixes PR#2528.dbmsfilters. The PR fixes PR#2231. [LB-2217]Full Changelog: liquibase/liquibase@v4.7.1...v4.8.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:
Our first-time contributors
Thanks to everyone who helps make the Liquibase community strong!
v4.7.1Compare Source
Liquibase 4.7.1 is a patch release
Please report any issues to https://github.com/liquibase/liquibase/issues
Known Issues
In version 4.7.0, users that have "edb" in connection URLs but are not using EnterpriseDB experienced errors that caused Liquibase to misinterpret the database dialect. This patch release resolves this issue along with several others.
Enhancements
RollbackRequired. The check detects when a changeset does not have a rollback. [DAT-8871]TableColumnLimitcheck to work with formatted SQL changelogs [DAT-8531]--auto-updatequality check parameter, which allows automatic backup and updating of theliquibase.check-settings.conffile when new quality checks are available. [DAT-8752]--auto-update=[on|off]liquibase.propertiesfile:liquibase.command.checks.show.autoUpdate: [on|off]LIQUIBASE_COMMAND_CHECKS_SHOW_AUTO_UPDATE=[ON|OFF]Note: You can use the property not only with the
showcommand but any other quality checks command.liquibase-maven-pluginlogging configuration as deprecated [LB-2183]listLocksoutput message. The PR fixes PR#2029. [LB-2126]FormattedSqlChangeParser[DAT-4793]init projectcommand if you miss a supported argument in any command [DAT-8641]Fixes
EnterpriseDBDatabasedetection less broad. The implementation ofEnterpriseDBDatabasepicked up database with "edb" in the URL instead of an actual EDB URL. The PR fixes PR#2363. [LB-2214]OBJECT_TYPES=TABLE, COLUMN, SEQUENCEspecified in the sameObjectNameMustMatchrule to find all matches [DAT-8716]runWith=changeLogPropertyattribute not working in a formatted SQL changelog [DAT-4793]cacheSizeattribute in thecreateSequenceandalterSequenceChange Types for MariaDB. The PR fixes PR#2147. [LB-2191]tag-existscommand old syntax in Liquibase 4.4 and later (liquibase tagExists myTag) to correctly convert the pattern into new versions. The PR fixes PR#2109. [LB-2192]columnDataTypeattribute for the generatedsetColumnRemarkschangesets to fix an error in MySQL [LB-2199]Full Changelog: liquibase/liquibase@v4.7.0...v4.7.1
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 make it stronger:
Our first-time contributors
Thanks to everyone who helps make the Liquibase community strong!
v4.7.0Compare Source
Liquibase 4.7.0 release
Please report any issues to https://github.com/liquibase/liquibase/issues
Breaking Changes
Notable Changes
Liquibase 4.7.0 introduces the
initcommand with theprojectandstart-h2subcommands.init projectsubcommand helps to set configuration files for using Liquibase or, if you already use Liquibase, create new project files with minimal input. [DAT-8640]init start-h2subcommand helps to start the included in-memory H2 database. The subcommand needs to be run in a new terminal window. [DAT-8945]Note: For more information and examples of using
initproject, see init project.Additionally, we have updated the Liquibase Getting Started tutorials, sample changelog files, and the example H2 database in the installation package. From now on, you can use sample SQL, XML, JSON, and YAML changelog files with the corresponding changesets and the latest version of H2. [LB-2177] [LB-2174]
Note: Check Liquibase Getting Started to see more details.
Enhancements
rollback-one-updatecommand [DAT-7590]jdbc:edbURL for Liquibase to recognize EnterpriseDB [LB-2185]sys.synonymsobjects for thegenerate-changeloganddiff-changelogcommands in Liquibase and SQL Server. The PR fixes PR#2044. [LB-2175]liquibase.sqlplus.conffile and put the file in theexamples/sqlfolder [DAT-7618]loadDataperformance [LB-2173]Fixes
generateChangeLogwrong dependency order: theaddPrimaryKeyChange Type appeared before its base table in PostgreSQL [DAT-8256]loadDataChange Type to recognize CSV files when loading data with the path that contains a dot character ('.') [LB-2178]addNotNullConstraintChange Type causing the "Data too long" error message. The PR fixes PR#1054. [LB-2187]relativeToChangelogFileattribute forloadData,createProcedure, andcreateViewChange Types [LB-2179]COLUMN_SIZEfor the PostgreSQLNUMERIC[]datatypeFull Changelog: liquibase/liquibase@v4.6.2...v4.7.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 make it stronger:
Our first-time contributors
Thanks to everyone who helps make the Liquibase community strong!
v4.6.2Compare Source
Liquibase 4.6.2 is a patch release
Please report any issues to https://github.com/liquibase/liquibase/issues
Notable Changes
Liquibase 4.6.2 introduces the multiple objects quality check that allows you to define and check the naming pattern for multiple types of objects rather than one type of object. For example, you do not want to have a dash in the table, column, and sequence names. With the multiple objects check, you can specify a pattern to check for dashes and choose tables, columns, and sequences as the objects to check. In version 4.6.2, the check is available for:
Note: For more information, see Multiple Objects Quality Check [DAT-8444]
The logging of SQL statements and execution output
Liquibase 4.6.2 includes the
liquibase.sql.logLevelconfiguration option to control the level at which SQL is logged. The default value isFINE.You can run the
--sql-log-levelparameter with the--log-level <level>parameter in the CLI:You can also set the parameter as follows:
liquibase.sql.logLevel: <FINE|INFO|SEVERE|WARNING|OFF>in yourliquibase.propertiesfileLIQUIBASE_SQL_LOG_LEVEL=<FINE|INFO|SEVERE|WARNING|OFF>as an environment variable [PR#1520] [nvoxland]An additional
liquibase_libsdirectoryWhen you run Liquibase in the CLI, the executables generate a classpath with the
.jarfiles from theLIQUIBASE_HOMEandLIQUIBASE_HOME/libdirectories. Liquibase 4.6.2 adds the ability to load an additional directory ofliquibase_libsin the current working directory to the classpath. With theliquibase_libsdirectory located in the/libdirectory, projects can have separate extensions, drivers, and versions specific to a project [PR#2015] [mcred]The
validatecommand in automationFrom now on, the exit code for the
validatecommand running in automation shows1when there is an error. The PR fixes PR#1006. [PR#2185] [nvoxland] [christf]Enhancements
DDL_LOCK_TIMEOUTparameter for Oracle without SQL Plus and define the connection timeout. You can configureDDL_LOCK_TIMEOUTas follows:liquibase.ddlLockTimeout: <value>in yourliquibase.propertiesfile--ddl-lock-timeout=<value>as a CLI global parameterLIQUIBASE_DDL_LOCK_TIMEOUT=<int>as an environment variable [DAT-7649]SqlUserDefinedPatternCheckquality check copy [DAT-8492]MSSQLDatabasespecific error evaluation when creating DATABASECHANGELOGLOCK tableNOT NULLconstraint with an initial default value in theaddColumnChange TypeFixes
remarksattribute in a primary key column tag for MariaDBaddColumnChange Type in SQLitegenerate-changelogcommand to generate theNUMERIC[]data type for PostgreSQL correctlyalterSequenceChange Type to be compatible with the Oracle, PostgreSQL, MariaDB, and MSSQL databases--verboseflag used in theunexpected-changesetscommand. The PR fixes PR#1987.YAMLChangelogParserandchangeLogIdin a Map. The PR fixes PR#1988.GENERATED ALWAYS ASclause while creating a table for PostgreSQLLOCKGRANTEDcolumn to include time zone information in the DATABASECHANGELOGLOCK tableDB2Databaseimplementations. The PR fixes PR#2058.ColumnConfig.javadocumentationrelativeToChangelog=trueparameter for Spring Bootsnapshotcommand failing against CockroachDB with the Liquibase Pro license key applied [DAT-8253]addPrimaryKeyChange Type generated by thegenerate-changelogcommand for PostgreSQL [DAT-8256]LIQUIBASE_COMMAND_CHECKS_CONFIGURE_CHECKS_SETTINGS_FILE,LIQUIBASE_COMMAND_CHECKS_RUN_CHECKS_SETTINGS_FILE, andLIQUIBASE_COMMAND_CHECKS_SHOW_CHECKS_SETTINGS_FILEto be detected when running the quality checks commands [DAT-8546]strictparameter. The default value isfalse. You can set thestrictparameter as follows:liquibase.strict=false|truein your liquibase.properties file--strict=false|trueas a CLI parameterLIQUIBASE_STRICT=false|trueas an environment variable [DAT-8547]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 make it stronger:
Our first-time contributors
Thanks to everyone who helps make the Liquibase community strong!
v4.6.1Compare Source
Liquibase 4.6.1 is a patch release
Please report any issues to https://github.com/liquibase/liquibase/issues.
Notable Changes
v4.6.0Compare Source
Liquibase 4.6.0 is a major release
Please report any issues to https://github.com/liquibase/liquibase/issues
Notable Changes
Starting with version 4.6.0, the Windows and Mac/Linux Liquibase installers and the .tar.gz and .zip installation files include the most common JDBC drivers in the installation package:
To use the available drivers, see the Adding and Updating Liquibase Drivers documentation. Also, check the page for the cases when you need different drivers. [PR#2031] [DAT-7438]
Note: Since Liquibase 4.6.0 provides driver jar files, the size of the installation package is bigger than the size of the installation package in earlier versions.
Liquibase Pro Changes
GRANT WITH ADMIN OPTIONstatement is detected [DAT-7955]GRANT WITH GRANT OPTIONstatement is detected [DAT-7995]liquibase.checks-settings.conffile is unencoded in version 4.6.0 and later versions for easier inspection that allows you to resolve a merge conflict in source control. Liquibase backs up encoded files in the working directory, and you can still use previous versions by specifying the--checks-settings-fileparameter in the CLI, as an environment variable, or as a property in the liquibase.properties file. [DAT-8473]If you use Liquibase Hub, check the Liquibase Hub DevOps metrics documentation to learn more about DevOps metrics that provide the data to optimize your DevOps performance.
Enhancements
errorOnMissingOrEmptyattribute totruefor theincludeAllattribute in the XML changelog file. The PR fixes PR#1960.createTableChange Type. The PR fixes PR#1597constraintNameattribute in thedropNotNullConstraintattribute. Updated theaddNotNullConstraintrollback logic to pass the constraint name to the generateddropNotNullConstraintchange. The PR fixes PR#1492 and PR#1942.liquibase.utilpackagedatetimetype todatetime2for thetimestamptype on SQL Server.liquibase.fileEncodingsetting, which you can set as--file-encoding=ASCIIin the CLI,liquibase.fileEncoding: ASCIIin the liquibase.properties file, andLIQUIBASE_FILE_ENCODING=ASCIIas an environment variable. The PR fixes PR#1445.strictattribute is set totrue[DAT-6946]Fixes
snapshotcommand using for CockroachDB with Liquibase Pro license key [DAT-8253]ChangesetCommentCheckcheck to handle a lack of comments in thetagDatabaseChange Type [DAT-8313]liquibase.checks-settings.conffiles [DAT-8328]checks customizeandchecks copycommands to handle directories with spaces [DAT-8389]schemasandincludeSchemaattributes for thegenerateChangeLogcommand in Liquibase 4.4 and later versions [DAT-8133]insertChange Type with thevalueSequenceNextandvalueSequenceCurrentattributes to use the schema specified on a statement level of a changeset. The PR fixes PR#1304.LicenseServiceinterface cannot be loaded because of the missingjaxbdependenciesUniqueConstraintSnapshotGeneratorclass switching to a bulk query after four unique constraints. The PR fixes PR#1996.--changesetline. The PR fixes PR#1919.dropAllcommand failing in the PostgreSQL database when the Liquibase-Cassandra extension is in theliquibase/libdirectory. The PR fixes PR#47.liquibaseSchemaNameandliquibaseCatalogNameconfiguration settings. The PR fixes PR#2000.dropPrimaryKeyattribute for PostgreSQL. The PR fixes PR#1933.sqlFileChange Type to handle theencodingattribute. The PR fixes PR#1760.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 make it stronger:
Our first-time contributors
Thanks to everyone who helps make the Liquibase community strong!
v4.5.0Compare Source
v4.5.0
Liquibase 4.5.0 is now available at Liquibase.org.
Here is a closer look at what we improved in the latest release.
Liquibase 4.5.0 is a major release
Please report any issues to https://github.com/liquibase/liquibase/issues.
Notable Changes
Liquibase 4.5.0 includes support for Liquibase Quality Checks, which allow you to run checks against changelogs and SQL scripts by flagging conditions and configurations you need.
There is a new family of commands to use to run quality checks:
liquibase checks showto list the available quality checksliquibase checks runto run the available quality checksenable,disable,customize,copy,reset, anddelete options, andliquibase checks --help` to learn moreThe following is a list of changes related to Liquibase Quality Checks:
Bugfixes
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 make it stronger:
Our first-time contributors
Thanks to everyone who helps make the Liquibase community strong!
v4.4.3Compare Source
Liquibase 4.4.3 is now available at Liquibase.org.
Here is a closer look at what we improved in the latest release.
Liquibase 4.4.3 is a patch release
This release includes many community-contributed pull requests, Liquibase Open Source and Liquibase Pro bug fixes, and enhancements to Liquibase Hub performance and pipelines.
Notable Changes
In Liquibase 4.4.3, there are improvements to the
FileSystemAlreadyExistsExceptionoutput message. The originalFileSystemNotFoundExceptionwarning was changed to be aninfomessage that does not include logs of stack traces. If you are still seeing stack traces, please contact us. #1885 dertinAdditionally, we fixed bugs in SQL files: [#&