grails / grails-database-migration

Grails® framework Database Migration Plugin
Apache License 2.0
98 stars 115 forks source link

Update dependency org.liquibase:liquibase-core to v4.8.0 #277

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.liquibase:liquibase-core (source) 4.7.1 -> 4.8.0 age adoption passing confidence

Release Notes

liquibase/liquibase ### [`v4.8.0`](https://togithub.com/liquibase/liquibase/releases/v4.8.0) #### Liquibase 4.8.0 release Please report any issues to . #### Notable Changes Liquibase 4.8.0 introduces the following functionality: - The `init hub` subcommand 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](https://docs.liquibase.com/commands/liquibase-start/init-hub.html) and [Getting Started with Liquibase Hub](https://docs.liquibase.com/tools-integrations/liquibase-hub/setup.html). - \[PRO] The `sqlcmd` utility support to process complex SQL for MSSQL Server. Liquibase provides the `liquibase.sqlcmd.conf` file 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](https://docs.liquibase.com/concepts/changelogs/attributes/using-sqlcmd-integration.html). - Changes to the behavior of the XML parser, which no longer allows referencing external DTD files for security reasons. If you use externally defined entities or any other potentially insecure XML feature in your changelogs, set `liquibase.secureParsing=false`. \[[PR#​2384](https://togithub.com/liquibase/liquibase/pull/2384)] \[LB-2218] **Note:** For more information about the ways to set the parameter, see [Command Parameters](https://docs.liquibase.com/commands/command-parameters.html). - The upgrade of the `postgresql` (from `42.2.12` to `42.3.2`) and `h2` (from `2.0.206` to `2.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 the `LIQUIBASE_HOME/lib` directory. #### Enhancements - Implemented the `SimpleObjectConstructor` interface for DB2 on z/OS \[DAT-8580] - Included the CLI instructions on how to use the properties file with a nonstandard name when running the `init project` subcommand \[DAT-9041] - Improved the output message for `init start-h2` when the H2 database driver is specified, but there is no connection detected \[DAT-8992] - Added validation errors for the `enableCheckConstraint`, `disableCheckConstraint`, `dropPackage`, `dropPackageBody` Change Types \[DAT-9017] - \[[PR#​2367](https://togithub.com/liquibase/liquibase/pull/2367)] \[[Mike Olivas](https://togithub.com/molivasdat)] Added example rollback scripts to the `example-changelog.sql` file \[LB-2220] - \[[PR#​1648](https://togithub.com/liquibase/liquibase/pull/1648)] \[[Daniel Gray](https://togithub.com/danielthegray)] Improved the exception error message for the `customChange` node with no `class` attribute \[LB-1144] - \[[PR#​2222](https://togithub.com/liquibase/liquibase/pull/2222)] \[[msimko81](https://togithub.com/msimko81)] Added the offline mode support for the `rollback-sql ` operation \[LB-2198] - \[[PR#​2273](https://togithub.com/liquibase/liquibase/pull/2273)] \[[Tsvi Zandany](https://togithub.com/szandany)] Added the autocomplete quality checks commands for macOS - \[[PR#​2308](https://togithub.com/liquibase/liquibase/pull/2308)] \[[Valentin Blistin](https://togithub.com/Delir4um)] Added the `close` method for the `ClassLoaderResourceAccessor` class \[LB-2205] #### Fixes - Fixed the `renameSequence` Change Type generating an uppercase SQL instead of lowercase and causing failures with case-sensitive databases \[LB-1763] - Fixed the `generate-changelog` and `diff` commands to show and generate a proper SQL with autoincrement for PostgreSQL \[DAT-8779] - \[[PR#​1320](https://togithub.com/liquibase/liquibase/pull/1320)] \[[PR#​2329](https://togithub.com/liquibase/liquibase/pull/2329)] \[[Anatoly S](https://togithub.com/tolix)] \[[Nathan Voxland](https://togithub.com/nvoxland)] \[[Matteo Turra](https://togithub.com/matteoturra)] Improved the UTF-8 character support in the `` tags \[LB-562] - \[[PR#​2139](https://togithub.com/liquibase/liquibase/pull/2139)] \[[wziebicki](https://togithub.com/wziebicki)] Improved the `UniqueConstraintSnapshotGenerator` class 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] - \[[PR#​2335](https://togithub.com/liquibase/liquibase/pull/2335)] \[[erzsebet](https://togithub.com/XDelphiGrl)] Removed duplicated DATABASECHANGELOGLOCK SQL statements when running the `update-sql` command against a new database \[LB-2208] - \[[PR#​2505](https://togithub.com/liquibase/liquibase/pull/2505)] \[[Nathan Voxland](https://togithub.com/nvoxland)] \[[Dries Samyn](https://togithub.com/driessamyn)] \[[erzsebet](https://togithub.com/XDelphiGrl)] Fixed the OSGI support with the `MANIFEST.MF` file in the `liquibase-core-4.7.0.jar` file. The PR fixes [PR#​2361](https://togithub.com/liquibase/liquibase/issues/2361). - \[[PR#​2366](https://togithub.com/liquibase/liquibase/pull/2366)] \[[Steven Massaro](https://togithub.com/StevenMassaro)] Made the `sp_rename` function to be lowercase when using MSSQL Server - \[[PR#​2429](https://togithub.com/liquibase/liquibase/pull/2429)] \[[Nathan Voxland](https://togithub.com/nvoxland)] \[[Mirko Dostmann](https://togithub.com/mirkobeine)] \[[Alex Litovsky](https://togithub.com/alexlitovsky)] Fixed the Ant and Apache Derby support. The PR fixes [PR#​2388](https://togithub.com/liquibase/liquibase/issues/2388) and [PR#​2391](https://togithub.com/liquibase/liquibase/issues/2391). \[LB-2222] - \[[PR#​2397](https://togithub.com/liquibase/liquibase/pull/2397)] \[[Nathan Voxland](https://togithub.com/nvoxland)] \[[maxencelaurent](https://togithub.com/maxencelaurent)] Implemented the logging of exceptions in the CDI integration. The PR fixes [PR#​2354](https://togithub.com/liquibase/liquibase/issues/2354). \[LB-2223] - \[[PR#​2398](https://togithub.com/liquibase/liquibase/pull/2398)] \[[Nathan Voxland](https://togithub.com/nvoxland)] \[[urvanov-ru](https://togithub.com/urvanov-ru)] Fixed the handling of schema snapshots with an underscore. The PR fixes [PR#​1604](https://togithub.com/liquibase/liquibase/issues/1604). \[LB-2219] - \[[PR#​2340](https://togithub.com/liquibase/liquibase/pull/2340)] \[[Nathan Voxland](https://togithub.com/nvoxland)] \[[nickshoe](https://togithub.com/nickshoe)] Enabled adding the `computed=true` columns with no type set in the `createTable` Change Type. The PR fixes [PR#​2283](https://togithub.com/liquibase/liquibase/issues/2283). \[LB-2215] - \[[PR#​2372](https://togithub.com/liquibase/liquibase/pull/2372)] \[[Nathan Voxland](https://togithub.com/nvoxland)] \[[Henrik Sachse](https://togithub.com/0x7d7b)] \[[rburgst](https://togithub.com/rburgst)] Fixed the autoincrement syntax for H2 2.0 and later versions. The PR fixes [PR#​2362](https://togithub.com/liquibase/liquibase/issues/2362). \[LB-2216] - \[[PR#​2549](https://togithub.com/liquibase/liquibase/pull/2549)] \[[Nathan Voxland](https://togithub.com/nvoxland)] \[[jenhae](https://togithub.com/jenhae)] Added validation errors for Liquibase and MSSQL Server if the `ordered` clause is specified in the `createSequence` or `alterSequence` Change Type. The PR fixes [PR#​2528](https://togithub.com/liquibase/liquibase/issues/2528). - \[[PR#​2351](https://togithub.com/liquibase/liquibase/pull/2351)] \[[Wesley Willard](https://togithub.com/wwillard7800)] \[[Joseph Cen](https://togithub.com/JosephCen)] Fixed the handling of properties defined with different `dbms` filters. The PR fixes [PR#​2231](https://togithub.com/liquibase/liquibase/issues/2231). \[LB-2217] - \[[PR#​2122](https://togithub.com/liquibase/liquibase/pull/2122)] \[[Tobias Liefke](https://togithub.com/liefke)] Fixed the handling of the classpath for resources. The PR fixes [PR#​2121](https://togithub.com/liquibase/liquibase/issues/2121). **Full Changelog**: https://github.com/liquibase/liquibase/compare/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 . ##### Read the Documentation Please check out and contribute to the continually improving docs, now at . ##### 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](https://www.liquibase.org/development/contribute.html) - [Make doc updates](https://togithub.com/liquibase/liquibase.github.com/tree/master/documentation) - [Help by asking and answering questions](https://forum.liquibase.org/) - [Set up a chat with the Product team](https://calendly.com/liquibase-outreach/product-feedback) ##### Our first-time contributors - [Anatoly S](https://togithub.com/tolix) - [wziebicki](https://togithub.com/wziebicki) - [msimko81](https://togithub.com/msimko81) - [Dries Samyn](https://togithub.com/driessamyn) - [Mirko Dostmann](https://togithub.com/mirkobeine) - [maxencelaurent](https://togithub.com/maxencelaurent) - [urvanov-ru](https://togithub.com/urvanov-ru) - [nickshoe](https://togithub.com/nickshoe) - [Joseph Cen](https://togithub.com/JosephCen) ##### Thanks to everyone who helps make the Liquibase community strong!

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.