1644 Commits

Author SHA1 Message Date
Jérôme Tamarelle
72a40244a4 Merge release 5.5.2 into 5.6.x (#975)
Merge release 5.5.2 into 5.6.x
5.6.0
2026-01-26 11:21:57 +01:00
Jérôme Tamarelle
0de651cb47 Mark the definition with the new Document attribute as excluded (#970) 2026-01-26 11:10:22 +01:00
Jérôme Tamarelle
32ad0d1838 Add documentation page for data fixtures (#974) 5.5.2 2026-01-22 00:38:37 +01:00
Jérôme Tamarelle
6982de0af8 Disable proxy class generation for PHP 8.4 native lazy objects (#946)
* Disable proxy class generation when using Native Lazy Objects

* Fix compatibility with mongodb-odm < 2.10
2025-12-18 13:36:36 +01:00
Jérôme Tamarelle
5a93986cbf Document, test and expose the DoctrineMongoDBMappingsPass (#972) 2025-12-18 11:21:39 +01:00
Jérôme Tamarelle
ef8ae0a3c1 [BC break] Remove namespace aliases from the configuration (#971) 2025-12-17 11:29:26 +01:00
dependabot[bot]
9c2ccf08a0 Bump actions/download-artifact from 6 to 7 (#969)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 09:57:00 +01:00
dependabot[bot]
e05e418e5c Bump actions/cache from 4 to 5 (#968)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 09:56:51 +01:00
dependabot[bot]
fa5b35ca49 Bump actions/upload-artifact from 5 to 6 (#967)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 09:56:37 +01:00
dependabot[bot]
1a6deff97a Bump doctrine/.github/.github/workflows/phpstan.yml (#959)
Bumps [doctrine/.github/.github/workflows/phpstan.yml](https://github.com/doctrine/.github) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/13.0.0...13.1.0)

---
updated-dependencies:
- dependency-name: doctrine/.github/.github/workflows/phpstan.yml
  dependency-version: 13.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 18:43:50 +01:00
dependabot[bot]
499adf82aa Bump doctrine/.github/.github/workflows/release-on-milestone-closed.yml (#960)
Bumps [doctrine/.github/.github/workflows/release-on-milestone-closed.yml](https://github.com/doctrine/.github) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/13.0.0...13.1.0)

---
updated-dependencies:
- dependency-name: doctrine/.github/.github/workflows/release-on-milestone-closed.yml
  dependency-version: 13.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 18:43:42 +01:00
dependabot[bot]
259ee22f7c Bump doctrine/.github/.github/workflows/coding-standards.yml (#961)
Bumps [doctrine/.github/.github/workflows/coding-standards.yml](https://github.com/doctrine/.github) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/13.0.0...13.1.0)

---
updated-dependencies:
- dependency-name: doctrine/.github/.github/workflows/coding-standards.yml
  dependency-version: 13.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 18:43:32 +01:00
dependabot[bot]
121e430a46 Bump doctrine/.github/.github/workflows/composer-lint.yml (#962)
Bumps [doctrine/.github/.github/workflows/composer-lint.yml](https://github.com/doctrine/.github) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/13.0.0...13.1.0)

---
updated-dependencies:
- dependency-name: doctrine/.github/.github/workflows/composer-lint.yml
  dependency-version: 13.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-10 18:43:22 +01:00
Jérôme Tamarelle
eae7432c02 Merge pull request #964 from doctrine/5.5.x
Merge 5.5.x into 5.6.x

Test with PHP 8.5
Remove useless and deprecated ReflectionProperty::setAccessible
Fix compatibility with Symfony 8
2025-12-10 18:27:46 +01:00
Jérôme Tamarelle
f386c12141 Cleanup PHPStan baseline for Symfony 8 (#966)
Update Route attribute namespace in tests
2025-12-10 18:19:19 +01:00
Jérôme Tamarelle
f54758781a Fix test configuration for native lazy objects and Symfony 8 (#965)
* Fix configuration for native lazy objects

* Skip XML config tests with Symfony 8+

* Make matrix parameters order consistent for Job title
2025-12-10 17:58:20 +01:00
dependabot[bot]
41fd41953f Bump doctrine/.github/.github/workflows/phpstan.yml (#954)
Bumps [doctrine/.github/.github/workflows/phpstan.yml](https://github.com/doctrine/.github) from 12.2.0 to 13.0.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/v12.2.0...13.0.0)

---
updated-dependencies:
- dependency-name: doctrine/.github/.github/workflows/phpstan.yml
  dependency-version: 13.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 14:03:26 +01:00
dependabot[bot]
17b0395108 Bump doctrine/.github/.github/workflows/coding-standards.yml (#955)
Bumps [doctrine/.github/.github/workflows/coding-standards.yml](https://github.com/doctrine/.github) from 12.2.0 to 13.0.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/v12.2.0...13.0.0)

---
updated-dependencies:
- dependency-name: doctrine/.github/.github/workflows/coding-standards.yml
  dependency-version: 13.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 14:03:17 +01:00
dependabot[bot]
b2555235c1 Bump doctrine/.github/.github/workflows/composer-lint.yml (#956)
Bumps [doctrine/.github/.github/workflows/composer-lint.yml](https://github.com/doctrine/.github) from 12.2.0 to 13.0.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/v12.2.0...13.0.0)

---
updated-dependencies:
- dependency-name: doctrine/.github/.github/workflows/composer-lint.yml
  dependency-version: 13.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 14:03:08 +01:00
dependabot[bot]
e0e27038d1 Bump actions/checkout from 5 to 6 (#957)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 14:02:59 +01:00
dependabot[bot]
f1ebe85eee Bump doctrine/.github/.github/workflows/release-on-milestone-closed.yml (#958)
Bumps [doctrine/.github/.github/workflows/release-on-milestone-closed.yml](https://github.com/doctrine/.github) from 12.2.0 to 13.0.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/v12.2.0...13.0.0)

---
updated-dependencies:
- dependency-name: doctrine/.github/.github/workflows/release-on-milestone-closed.yml
  dependency-version: 13.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 14:02:49 +01:00
Jérôme Tamarelle
af300ffbc8 Test with PHP 8.5 (#953)
* Test with PHP 8.5
* Remove useless and deprecated ReflectionProperty::setAccessible
2025-11-21 09:34:07 +01:00
Jérôme Tamarelle
aa78f6cefb Merge release 5.5.1 into 5.6.x (#952)
Merge release 5.5.1 into 5.6.x
2025-11-19 14:30:47 +01:00
Michiel Vermeersch
502f2c0102 Replace deprecated Symfony\Component\HttpKernel\DependencyInjection\Extension (#951) 5.5.1 2025-11-19 14:25:47 +01:00
Grégoire Paris
b51b247fc4 Merge pull request #950 from GromNaN/doctrine-project
Update .doctrine-project.json for 5.5.0 and remove old branches
2025-11-14 21:53:54 +01:00
Jérôme Tamarelle
1b3004ec1a Update .doctrine-project.json for 5.5.0 and remove old branches 2025-11-14 21:42:44 +01:00
Jérôme Tamarelle
da3bfe0aa2 Clean supported metadata driver types (#948)
* Clean supported metadata driver types

* Remove duplicate code
5.5.0
2025-11-14 18:10:15 +01:00
Jérôme Tamarelle
8880fb2ec8 Mark DI extension and configuration classes as internal (#949)
They can only be accessed through the Bundle
2025-11-14 18:09:59 +01:00
Jérôme Tamarelle
e11ebf31a0 Fix proxy interface for ProxyManager or Symfony LazyGhost (#947)
Fix the interface that identifies the lazy objects.

Note that Doctrine\Persistence\Mapping\ProxyClassNameResolver should be used by Doctrine\Persistence\AbstractManagerRegistry instead of repeating the same logic.

Add a test with various lazy object implementations
2025-11-14 18:04:13 +01:00
Jérôme Tamarelle
de79766b8e Merge release 5.4.3 into 5.5.x (#944)
Merge release 5.4.3 into 5.5.x
2025-11-05 10:15:06 -05:00
Antoine Bluchet
2d040dd7ab Add kernel.reset tag to doctrine_mongodb definition (#943)
Fixes php/frankenphp#1767

The `ResetInterface` is not autoconfigured for bundles therefore this is never triggered by the ServicesResetter.
5.4.3
2025-11-05 10:09:42 -05:00
dependabot[bot]
062b66e744 Bump doctrine/.github from 12.1.0 to 12.2.0 (#942)
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 12.1.0 to 12.2.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/12.1.0...v12.2.0)

---
updated-dependencies:
- dependency-name: doctrine/.github
  dependency-version: 12.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-03 05:45:06 +01:00
Jérôme Tamarelle
6ccb67d270 Enable support for Symfony 8 (#938) 2025-10-30 09:40:49 +01:00
Jérôme Tamarelle
62220665c1 Run tests with Symfony Messenger (#941) 2025-10-29 20:51:30 +01:00
Jérôme Tamarelle
c7158bca54 Enable native lazy objects by default, add an option to disable it (#940) 2025-10-29 20:51:03 +01:00
Jérôme Tamarelle
a5e85b3862 Make MONGODB_URI configurable for functional tests (#931)
* Make server URI configurable for functional tests
* Use MONGODB_URI
2025-10-29 15:52:18 +01:00
Claudio Zizza
20a6556f5b Merge pull request #933 from doctrine/dependabot/github_actions/doctrine/dot-github-12.1.0
Bump doctrine/.github from 12.0.0 to 12.1.0
2025-10-28 00:14:54 +01:00
Claudio Zizza
956177b5d7 Merge pull request #934 from doctrine/dependabot/github_actions/actions/download-artifact-6
Bump actions/download-artifact from 5 to 6
2025-10-28 00:14:31 +01:00
Claudio Zizza
2ee9111c90 Merge pull request #935 from doctrine/dependabot/github_actions/actions/upload-artifact-5
Bump actions/upload-artifact from 4 to 5
2025-10-28 00:13:32 +01:00
dependabot[bot]
d33aef5fdb Bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 01:15:47 +00:00
dependabot[bot]
c091d4c11d Bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 01:15:31 +00:00
dependabot[bot]
6cd48d0f50 Bump doctrine/.github from 12.0.0 to 12.1.0
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/12.0.0...12.1.0)

---
updated-dependencies:
- dependency-name: doctrine/.github
  dependency-version: 12.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 01:14:15 +00:00
dependabot[bot]
aef3a3030d Bump doctrine/.github from 10.1.0 to 12.0.0 (#932)
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 10.1.0 to 12.0.0.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](https://github.com/doctrine/.github/compare/10.1.0...12.0.0)

---
updated-dependencies:
- dependency-name: doctrine/.github
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-20 08:27:32 +02:00
Jérôme Tamarelle
cb65826e2f Merge release 5.4.2 into 5.5.x (#930)
Merge release 5.4.2 into 5.5.x
2025-10-17 12:50:50 +02:00
Jérôme Tamarelle
eec60e4919 Inject the ManagerRegistry into DumpFieldsMapCommand for compatibility with Symfony 6.4 (#927) 5.4.2 2025-10-17 12:47:28 +02:00
Jérôme Tamarelle
113a9424fc Update phpstan baseline (#929) 2025-10-17 12:40:48 +02:00
Jérôme Tamarelle
8bdc6c218d Update .doctrine-project.json 2025-10-17 10:39:11 +02:00
Jérôme Tamarelle
1b63aa5b69 Fix kmsProvider configuration example (#928) 2025-10-17 10:36:42 +02:00
Grégoire Paris
0d826cba85 Import code from AbstractDoctrineExtension class (#923)
In order to be make it easier to make changes in the metadata discovery
mechanism, let us avoid having to change code in 2 different
repositories and inline the code of the AbstractDoctrineExtension of the
Symfony bridge here. This class will be deprecated and ultimately,
removed.

No type hints have been added for the sake of backward compatibility,
but there is still a breaking change: the extension no longer pass an
instanceof AbstractDoctrineExtension assertion, and I think that's fine.
2025-10-15 15:08:07 +02:00
Jérôme Tamarelle
5ad4756272 Improve queryable encryption documentation (#926)
* Improve queryable encryption documentation

* Add link to KMS providers and Security considerations
2025-10-15 11:22:40 +02:00