mbarre / schemacrawler-additional-lints

Some additionnal lints for Schemacrawler
Other
12 stars 7 forks source link

Bump liquibase-maven-plugin from 3.6.3 to 4.6.1 #326

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 3 years ago

Bumps liquibase-maven-plugin from 3.6.3 to 4.6.1.

Release notes

Sourced from liquibase-maven-plugin's releases.

v4.6.1

Liquibase 4.6.1 is a patch release

Please report any issues to https://github.com/liquibase/liquibase/issues.

Notable Changes

  • Liquibase 4.6.0 release has the wrong version of the Liquibase Pro XSD file. This release fixes that issue.

v4.6.0

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:

  • DB2
  • Firebird
  • H2
  • HSQLDB
  • PostgreSQL
  • MariaDB
  • MSSQL
  • Oracle
  • SQLite 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

  • Quality checks have configurable severity and exit codes [DAT-8171]
  • The quality checks bulk-set command [DAT-8289]
  • New quality checks:
  • Static check: Warn when a table truncation is detected [DAT-7933]
  • Dynamic check: Warn when granting specific privileges [DAT-7972]
  • Static check: Warn when the GRANT WITH ADMIN OPTION statement is detected [DAT-7955]
  • Static check: Warn when the GRANT WITH GRANT OPTION statement is detected [DAT-7995]
  • The liquibase.checks-settings.conf file 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-file parameter 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

  • [PR#1975] [nvoxland] Changed the XSD default errorOnMissingOrEmpty attribute to true for the includeAll attribute in the XML changelog file. The PR fixes PR#1960.
  • [PR#1993] [siudeks] Added support for deferrable primary keys in the createTable Change Type. The PR fixes PR#1597
  • [PR#1986] [alexey-ivanov-official] [parthdesai21google] Added support for the constraintName attribute in the dropNotNullConstraint attribute. Updated the addNotNullConstraint rollback logic to pass the constraint name to the generated dropNotNullConstraint change. The PR fixes PR#1492 and PR#1942.
  • [PR#2114] [nvoxland] Improved code and added tests in the liquibase.util package
  • [PR#1679] [thomseno] Changed the datetime type to datetime2 for the timestamp type on SQL Server.
  • [PR#2144] [matejsp] Changed the default encoding to UTF-8. Added a new global liquibase.fileEncoding setting, which you can set as --file-encoding=ASCII in the CLI, liquibase.fileEncoding: ASCII in the liquibase.properties file, and LIQUIBASE_FILE_ENCODING=ASCII as an environment variable. The PR fixes PR#1445.
  • [PRO] Added a message to warn Liquibase Pro users when they have noncompliant Liquibase environment variables if the strict attribute is set to true [DAT-6946]

Fixes

  • [PRO] Fixed the issue with Liquibase 4.4.0 and later versions to prompt if the Liquibase Pro license key is expired or invalid. [DAT-7862]
  • [PRO] Fixed Liquibase Pro SQL Plus changesets failures with the Kerberos setup [DAT-8102]
  • [PRO] Fixed the snapshot command using for CockroachDB with Liquibase Pro license key [DAT-8253]
  • Fixed an issue with running quality checks on Windows when using a configuration file created on Linux/macOS [DAT-8298]
  • Fixed the ChangesetCommentCheck check to handle a lack of comments in the tagDatabase Change Type [DAT-8313]

... (truncated)

Changelog

Sourced from liquibase-maven-plugin's changelog.

Liquibase Core Changelog

Changes in version 4.6.1(2021.11.04)

  • Fixed the liquibase-pro-4.6.xsd

Changes in version 4.6.0(2021.11.04)

Windows and Mac/Linux Liquibase installers and the .tar.gz and .zip installation files include the most common JDBC drivers in the installation package:

  • DB2
  • Firebird
  • H2
  • HSQLDB
  • PostgreSQL
  • MariaDB
  • MSSQL
  • Oracle
  • SQLite

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.

  • Quality checks have configurable severity and exit codes

  • The quality checks bulk-set command

  • New Quality checks

  • Static check: Warn when a table truncation is detected

  • Dynamic check: Warn when granting specific privileges

  • Static check: Warn when the GRANT WITH ADMIN OPTION statement is detected

  • Static check: Warn when the GRANT WITH GRANT OPTION statement is detected

  • The liquibase.checks-settings.conf file 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-file parameter in the CLI, as an environment variable, or as a property in the liquibase.properties file.

  • Changed the XSD default errorOnMissingOrEmpty attribute to true for the includeAll attribute in the XML changelog file (#1960)

  • Added support for deferrable primary keys in the createTable Change Type. (#1597)

  • Added support for the constraintName attribute in the dropNotNullConstraint attribute. Updated the addNotNullConstraint rollback logic to pass the constraint name to the generated dropNotNullConstraint change (#1492)

  • Improved code and added tests in the liquibase.util package

  • Changed the default encoding to UTF-8. Added a new global liquibase.fileEncoding setting, which you can set as --file-encoding=ASCII in the CLI, liquibase.fileEncoding: ASCII in the liquibase.properties file, and LIQUIBASE_FILE_ENCODING=ASCII as an environment variable (#1445)

  • [PRO] Added a message to warn Liquibase Pro users when they have noncompliant Liquibase environment variables if the strict attribute is set to true

  • [PRO] Fixed the issue with Liquibase 4.4.0 and later versions to prompt if the Liquibase Pro license key is expired or invalid.

  • [PRO] Fixed Liquibase Pro SQL Plus changesets failures with the Kerberos setup

  • [PRO] Fixed the snapshot command using for CockroachDB with Liquibase Pro license key

  • Fixed an issue with running quality checks on Windows when using a configuration file created on Linux/macOS

  • Fixed the ChangesetCommentCheck check to handle a lack of comments in the tagDatabase Change Type

  • Fixed the default severity for the existing liquibase.checks-settings.conf files

  • Fixed the checks customize and checks copy commands to handle directories with spaces

  • Fixed the schemas and includeSchema attributes for the generateChangeLog command in Liquibase 4.4 and later versions

  • Fixed the quality checks customization issue when using Git Bash

  • Fixed the message for the quality checks severity customization

  • Fixed the quality checks halting execution when the checks settings file contains entries for rules which do not exist in the system. Liquibase skips unknown checks and continues the execution

  • Fixed the quality checks customization issue when using Git Bash

  • Fixed the issue with Liquibase inserting a wrong default datetime value into MySQL. The PR fixes (#1395)

  • Fixed the insert Change Type with the valueSequenceNext and valueSequenceCurrent attributes to use the schema specified on a statement level of a changeset (#1304)

  • Fixed the issue with Liquibase not handling case-sensitive primary key names in the dropPrimaryKey attribute for PostgreSQL (#1933)

... (truncated)

Commits


Dependabot compatibility score

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)
sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

dependabot[bot] commented 2 years ago

Superseded by #330.