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/orm from 2.17.4 to 3.0.1 #15

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

Bumps doctrine/orm from 2.17.4 to 3.0.1.

Release notes

Sourced from doctrine/orm's releases.

3.0.1

Release Notes for 3.0.1

3.0.x bugfix release (patch)

3.0.1

  • Total issues resolved: 1
  • Total pull requests resolved: 12
  • Total contributors: 8

BC Break

Test Suite

Documentation

Bug

Static Analysis

CI

Changes from Lower Branches

  • This release contains all changes of the 2.18.1 release.

3.0.0

Release Notes for 3.0.0

After almost 8 years of work by many different contributors, we're incredibly proud to announce the release of Doctrine ORM 3.0.0!

... (truncated)

Upgrade guide

Sourced from doctrine/orm's upgrade guide.

Upgrade to 3.0

BC BREAK: Doctrine\ORM\Proxy\Autoloader no longer extends Doctrine\Common\Proxy\Autoloader

Make sure to use the former when writing a type declaration or an instanceof check.

Minor BC BREAK: Changed order of arguments passed to OneToOne, ManyToOne and Index mapping PHP attributes

To keep PHP mapping attributes consistent, order of arguments passed to above attributes has been changed so $targetEntity is a first argument now. This change affects only non-named arguments usage.

BC BREAK: AUTO keyword for identity generation defaults to IDENTITY for PostgreSQL when using doctrine/dbal 4

When using the AUTO strategy to let Doctrine determine the identity generation mechanism for an entity, and when using doctrine/dbal 4, PostgreSQL now uses IDENTITY instead of SEQUENCE or SERIAL.

  • If you want to upgrade your existing tables to identity columns, you will need to follow migration to identity columns on PostgreSQL
  • If you want to keep using SQL sequences, you need to configure the ORM this way:
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use Doctrine\ORM\Configuration;
use Doctrine\ORM\Mapping\ClassMetadata;

assert($configuration instanceof Configuration); $configuration->setIdentityGenerationPreferences([ PostgreSQLPlatform::CLASS => ClassMetadata::GENERATOR_TYPE_SEQUENCE, ]);

BC BREAK: Throw exceptions when using illegal attributes on Embeddable

There are only a few attributes allowed on an embeddable such as #[Column] or #[Embedded]. Previously all others that target entity classes where ignored, now they throw an exception.

BC BREAK: Partial objects are removed

  • The PARTIAL keyword in DQL no longer exists.
  • Doctrine\ORM\Query\AST\PartialObjectExpressionis removed.
  • Doctrine\ORM\Query\SqlWalker::HINT_PARTIAL and Doctrine\ORM\Query::HINT_FORCE_PARTIAL_LOAD are removed.
  • Doctrine\ORM\EntityManager*::getPartialReference() is removed.

BC BREAK: Doctrine\ORM\Persister\Entity\EntityPersister::executeInserts() return type changed to void

Implementors should adapt to the new signature, and should call UnitOfWork::assignPostInsertId() for each entry in the previously returned array.

BC BREAK: Doctrine\ORM\Proxy\ProxyFactory no longer extends abstract factory from doctrine/common

... (truncated)

Commits
  • 2a250b5 Merge branch '2.18.x' into 3.0.x
  • e6eef1a Backport QueryParameterTest (#11288)
  • 44fa5d3 Merge pull request #11287 from derrabus/bugfix/parameter-types
  • 708146b Test different ways of settings query parameters
  • a5bf9bb Be less restrictive in DiscriminatorColumnMapping phpdoc (#11226)
  • 3eace16 Allow (Array)ParameterType in QueryBuilder
  • bc5efd4 Merge branch '2.18.x' into 3.0.x
  • 0efac09 Fix Static Analysis folder reference (#11281)
  • b6b4cbc Remove broken assertion from DateAddFunction and DateSubFunction (#11243)
  • efb6ceb Merge pull request #11270 from greg0ire/fix-trim-bug
  • 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 9 months ago

Superseded by #18.