github.com/doctrine/persistence
The Doctrine Persistence project is a library that provides common abstractions for object mapper persistence.
https://github.com/doctrine/persistence
* 2.5.x:
Deprecate MappingException::pathRequired()
* 2.4.x:
Fix nullable parameter types (#257)
Document colocated mapping driver upgrade path ...
* 2.4.x:
Fix nullable parameter types (#257)
Document colocated mapping driver upgrade path ...
6b74c862ccfdb08a7c4dc721ba63501667978ad4 authored over 3 years ago
0ee841f8c97b4a1c962a82a8595047ea61da12c4 authored over 3 years ago
Drop deprecated APIs
b91f128ee243e8418878fd97fe795eabdeb5a1eb authored over 3 years ago7422aabf621f2d246e27cd7474a570c11f55da2e authored over 3 years ago
Deprecate MappingException::pathRequired()
feec77a8512f1f0eafc8a9f75722049f289ab8da authored over 3 years agoMappingException::pathRequiredForDriver() is not coupled to annotations.
3696e225ab202ec58a00548cc51b55790116892d authored over 3 years agoMerge 2.5.x up into 3.0.x
11d45d1729f0079631bc8a37dc146dfc42477935 authored over 3 years agoMake templates more precise
625bc637877461d63777a2e5f389ef3543e36bd7 authored over 3 years ago4c1b66b8649dd2d4e0ac0ca13d9462939384afff authored over 3 years ago
Rephrase ObjectManager::merge() BC break doc
d3a12944d4b1b8c0727a7169898b11c5ceb313a0 authored over 3 years agoDocument colocated mapping driver upgrade path better
8540c1b7d530cff5e71c63290617abf2f7f88ad0 authored over 3 years agoIt refers to another deprecation that has been reverted.
e302d01f49934000d5b68602da1c6dbc50a5c38b authored over 3 years ago466777d4cfa8d600b9d90ce156babacdcdcbc412 authored over 3 years ago
ff78e2ca69eb2ab95ba1778d7d8a01458a2fbae7 authored over 3 years ago
Use a shallower tree
e7c8edcf98e819638af00e7b3cbbbd7734b9b2fb authored over 3 years agobfe5057d924d7b4c021e7c90d36cd4ffd3720d3d authored over 3 years ago
add enum reflection property
2e84e102ab903f1c84e8ca68166cb7e55e756487 authored over 3 years ago9acc0d4a0223bf1cb4aca5d1f6ac54ee815888fb authored over 3 years ago
Decouple from annotations
3d3dad9c5d0fa1f861d3cde4fa142bdfe3330c67 authored over 3 years ago6b12f2b4fd72328642515483f1b6913dbbd5d80a authored over 3 years ago
This is consistent with other packages such as doctrine/dbal
d1c22c8e5ac57782449ca63f19c78c67e8d22226 authored over 3 years agof1381da9c094ff09472b383e93eb3b94f0cb3528 authored over 3 years ago
Merge 2.3.x up into 2.4.x
8529c8208cc125c70736a1397e17a721878437b6 authored over 3 years agoUse input parameter in test
c04998d0bd2f8def7e43ced2299bb96bb259ae79 authored over 3 years agoI forgot this crucial part in my previous PR
942c1edb0c0a5d24bb76fe129216767cb6c76dba authored over 3 years ago* Assert AnnotationDriver works with winding paths
This has been broken on the 3.0.x branch. ...
7be7b452eea744fa77f632801c1ed736543a887c authored over 3 years ago178b94230b873cb5510e176c6f61cde661fe815c authored over 3 years ago
956804e68a379e21b0f3c4c359528fa4a7eb456f authored over 3 years ago
Assert AnnotationDriver works with winding paths
bb9dd7fdad07520083e47634e7405b615d0c5b39 authored over 3 years ago
This has been broken on the 3.0.x branch. Let us add a test that ensure
this cannot be broken.
* 2.4.x:
Cover AbstractClassMetadataFactory::getParentClasses() (#235)
Improve documentation...
* Bump psalm to 4.20.0 (#232)
* Cover AbstractClassMetadataFactory::getParentClasses() (#235)...
64597551b40b22931191e659f32eded1922b9e5e authored over 3 years ago
Another name should have been picked for this variable, because not only
did we extract the par...
0399f31e92c7f9417cb45eea861fdf19aca74ca3 authored over 3 years ago
7fea600bf0099d2d200b11e1374f85a6873bcf9d authored over 3 years ago
Closes #233
ed0d1a004b6d914554082c3070391d0f90109008 authored over 3 years ago0130920efd696cf5480744f499672b2d4ca47c85 authored over 3 years ago
Adding them means downstream projects that define subtypes of ours
cannot create subtypes compa...
It was due for removal in 2.0
6f5fe17cda344d008b1993a5035cafef9e1ac83e authored over 3 years agoDocument 3.0.0 BC breaks
07bc30172044d04ae9a9b97efba527c4d20f4fc5 authored over 3 years agoThat guide does not exist on the 2.x branches.
fcdbfe816855822d561fe48632552ee100b5ef13 authored over 3 years ago
Note that some BC Breaks seem to have wrongly been documented in
UPGRADE-2.0.md
1fea64be6db9afa86e2f61575a452cb2728ccd29 authored over 3 years ago
Co-authored-by: Alexander M. Turek <[email protected]>
f8af155c1e7963f3d2b4415097d55757bbaa53d8 authored over 3 years agocdbcf72c9aa890800897e489d89aa89b76374452 authored over 3 years ago
faa9c14ac7d323c5f3b58dd3f65f2c3442da0efe authored over 3 years ago
0766162a0934a353e3bd21a764a9891aca013e6e authored over 3 years ago
* 2.2.x:
Allow symfony/cache 6 (#221)
9f226731048d8efbd42e3b0079c6fc353f3a6b96 authored over 3 years ago
* 2.3.x: (24 commits)
Bump PHPStan and Psalm (#214)
Update `ObjectRepository`, more type inf...
* 2.2.x:
Bump PHPStan and Psalm (#214)
PHPStan 1.0.1
0e29e0737e2214b6825ef94a23cf7d5b2284e058 authored over 3 years ago
Related psalm documentation: https://psalm.dev/docs/annotating_code/type_syntax/scalar_types/#cl...
0419502a2f1ad3f0e222dd4a363525ea17937f2e authored over 3 years ago1ed5427e2ea50adb17aa6bb40037a8aa6e99a9fe authored over 3 years ago
Signed-off-by: Alexander M. Turek <[email protected]>
8d09cad712f4a17ce316f2fe06e76f551c7ce529 authored over 3 years agoMerge release 2.2.3 into 2.3.x
d22ea9208fa44137f887ba55ce867233a5666250 authored over 3 years ago90fe152b50b6e115d261f45e1b80d9f8ad11c653 authored over 3 years ago
Reuse workflows from upstream
5e7bdbbfe9811c06e1f745d1c166647d5c47d6ee authored over 3 years agoUndeprecate detach
d0fb7f888aba99123df65f144b0132bfddbedf24 authored over 3 years ago18b9e4ffe4881baa527e118c5694896d7da20e71 authored almost 4 years ago
Specify proxy type
846db7aa8bc91ccc8aee7172128d40f3a984f5af authored almost 4 years ago
It would be hard to be less specific, but also to be more, and this
fixes a PHPStan error.
Let's finally get `detach` off the hook. As discussed we can not deprecate detach without provid...
5b68fb987a205807abf3c75aeaa7be9e00a61564 authored almost 4 years agoAdd PHP 8.1 to the CI
6dcc4bc4bd081356ac8079935a2c28594020ade2 authored almost 4 years agofbdb7b27257b3fe3e5169d5f903fd85e3018fc96 authored almost 4 years ago
3c661c35b3f7920ca9cfc5c3802449ef2357a4b2 authored almost 4 years ago
8614fec62b6cd33110907d3d1769d60f09f7c3c2 authored almost 4 years ago
Users should use ::class syntax instead
cacfa89c72eea5a20e4c803351a375d69fa0818b authored almost 4 years ago19a2cd78192a21c4d8204252c69b172104edf867 authored almost 4 years ago
100e83f1c96b971c77f47e636bba845a73c22d48 authored almost 4 years ago
Add explicit `@return` type next to `#[ReturnTypeWillChange]`
4ce4712e6dc84a156176a0fbbb11954a25c93103 authored almost 4 years agobfeb468ca91fa7228ad9750f36cd2cb61e14e0ae authored almost 4 years ago
Allow null in `ClassMetadata::getTypeOfField` and use string offset for criteria
2272edb2ac3cdd400f972f0d7fc27a775b0af693 authored about 4 years ago72d34ac1e9a115e7c98b8381867d74660fd3d511 authored about 4 years ago
cb2612b70c2f6b84757e17c4f65621bb0927ecf2 authored about 4 years ago
Mark doctrine/annotations dependency as optional
97b724327cbb4339104445cd52ba3867e02d8697 authored about 4 years ago
Now that the ORM has a driver based on PHP attributes, it seems less
necessary to require doctri...
Merge 2.2.x into 2.3.x
69bc7b9c39dd5e9a647dbf9a7af6a38f4114f40e authored about 4 years ago7029ed54c8dcaff8f41b71951581120c8b588425 authored about 4 years ago
ee36ff348ea134f5d2ca4745368307e4629109bb authored about 4 years ago
Add .github, .doctrine-project.json and phpstan-baseline.neon to export ignore
901b2c2656033f26af54a522d931246090c5dc3b authored about 4 years ago6a175705ad46bc7253f0ae97cc6b43ee1e0bca3d authored about 4 years ago
Removed parameter from ObjectManager::clear()
bc6921b5bfa00c7381739d990626afbacff14c7b authored about 4 years ago8b0e54940a8e8c40201a6334c5b375a9201c9acd authored about 4 years ago
Fix incorrect instance of ReflectionProperty created for public typed properties
27d6134038e8c84c81b79a747452439f303a0b29 authored about 4 years agoDue to how PHP 7.4 works, if you have a typed public property that does not support null values,...
dc3d9eb092d9d6850bf47efa0ebda7ce7decb512 authored about 4 years ago9853534079f9268ecc3d62c462df4986a4004ce9 authored about 4 years ago
Add ReturnTypeWillChange to extended reflection classes
79e97bcb1dfe3b242961253d81b8357a04e96ca1 authored about 4 years ago83a44d996444b4dabb999a5b251e83fce586b04b authored about 4 years ago
e1646e59fb78feb0901f440df8ff2e8ecf9f27f5 authored about 4 years ago
Merge release 2.2.1 into 2.3.x
70d7177779d4ff6e31f269169bc5c919de1bf7d7 authored about 4 years agoFix wrong exception about unsupported caches
d138f3ab5f761055cab1054070377cfd3222e368 authored about 4 years ago
Downstream builds are broken because the last release of persistence
describes its inputs more ...
Use doctrine/deprecations over plain trigger_error
c659a8937491cf57db73b574c1768effce619cd8 authored about 4 years ago
It is better for use cases where the deprecated code might get called
many times.
This was left from the previous compatibility layer and no longer applies.
0f61a186311a529eb52b01c30bfba2e1cb8d918b authored about 4 years ago8b420f7065c2d6c0149ff523816f6b28391581d1 authored about 4 years ago