opencultureconsulting / oai-pmh2

This is a stand-alone OAI-PMH 2.0 data provider. It serves records in any XML metadata format from a SQL database, supports deleted records, resumption tokens and sets.
GNU General Public License v3.0
2 stars 0 forks source link

Bump doctrine/dbal from 3.8.7 to 4.1.0 #42

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 3 months ago

Bumps doctrine/dbal from 3.8.7 to 4.1.0.

Release notes

Sourced from doctrine/dbal's releases.

4.1.0

Release Notes for 4.1.0

4.1.0

  • Total issues resolved: 0
  • Total pull requests resolved: 13
  • Total contributors: 8

Deprecation,Platforms,PostgreSQL

Bug,PostgreSQL,Schema Comparison

Deprecation,New Feature,Schema Management

Test Suite

New Feature,Type Mapping,Types

Improvement,QueryBuilder

Deprecation,Drivers,New Feature,Results

Improvement

New Feature,QueryBuilder

Deprecation,MariaDB,MySQL,Platforms

... (truncated)

Upgrade guide

Sourced from doctrine/dbal's upgrade guide.

Note about upgrading: Doctrine uses static and runtime mechanisms to raise awareness about deprecated code.

  • Use of @deprecated docblock that is detected by IDEs (like PHPStorm) or Static Analysis tools (like Psalm, phpstan)
  • Use of our low-overhead runtime deprecation API, details: https://github.com/doctrine/deprecations/

Upgrade to 4.1

Deprecated TableDiff methods

The TableDiff methods getModifiedColumns() and getRenamedColumns() have been merged into a single method getChangedColumns(). Use this method instead.

Deprecated support for MariaDB 10.4, MySQL 5.7 and Postgres 10 + 11

  • Upgrade to MariaDB 10.5 or later.
  • Upgrade to MySQL 8.0 or later.
  • Upgrade to Postgres 12 or later.

Add Result::getColumnName()

Driver and middleware results need to implement a new method getColumnName() that gives access to the column name. Not doing so is deprecated.

Upgrade to 4.0

BC BREAK: removed AbstractMySQLPlatform methods.

  1. getColumnTypeSQLSnippets(),
  2. getDatabaseNameSQL().

BC BREAK: Removed lock-related AbstractPlatform methods

The methods AbstractPlatform::getReadLockSQL(), ::getWriteLockSQL() and ::getForUpdateSQL() have been removed Use QueryBuilder::forUpdate() as a replacement for the latter.

BC BREAK: BIGINT values are cast to int if possible

BigIntType casts values retrieved from the database to int if they're inside the integer range of PHP. Previously, those values were always cast to string.

BC BREAK: Stricter DateTime types

The following types don't accept or return DateTimeImmutable instances anymore:

  • DateTimeType
  • DateTimeTzType
  • DateType

... (truncated)

Commits
  • 2377cd4 Merge branch '3.9.x' into 4.1.x
  • d8f68ea Prepare 3.9.0 and 4.1.0 (#6492)
  • 377d051 Deprecate support for Postgres 10 and 11 (#6495)
  • 7cade22 Merge branch '3.9.x' into 4.1.x
  • 959db69 Document the new PostgreSQL120Platform (#6494)
  • c4a415f Merge branch '3.9.x' into 4.1.x
  • 5f43767 fix #6198: stop considering generated column definition as being its default...
  • 1f8b3fb Fix condition on Ascii String for SQL Server (#6389)
  • 677746e Add DBTypes that are missing for TypeMapping (#6463)
  • 6ef1518 Add deprecation layer for TableDiff methods (#6482)
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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[bot] commented 2 months ago

Superseded by #50.