Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 2.2.x into 2.3.x #2350

Merged
merged 25 commits into from
Aug 5, 2021
Merged

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Aug 2, 2021

This should also allow me to finally fix the required build config for protected branches.

buffcode and others added 24 commits February 3, 2021 15:01
Caching / unserializing ClassMetadata broke locking functionality

Fixes doctrine#2278
Fix locking when ClassMetadata is unserialized
Detach doc text from code block
Update working-with-objects.rst
Fix invalid strict comparison when validating mappings
Fix documentation for uploadFromFile
Fix mapping of the nullable option for XML driver
* Fix initialising nullable associations

* Fix error when merging documents with uninitialised typed properties
…#2318)

* Comprehensively test nullable behaviour for embedOne

Co-authored-by: wuchen90 <wu.chen@agriconomie.com>

* Fix handling of nullable fields for upsert

Co-authored-by: wuchen90 <wu.chen@agriconomie.com>
* Fix handling of upserts during scheduling for deletion

* Added test
This was uncovered by Psalm testing when merging 2.2.x up into 2.3.x.
* 2.2.x:
  Fix wrong assertion (doctrine#2335)
  Fix handling of upserts during scheduling for deletion (doctrine#2334)
  Fix wrong handling for nullable fields in upsert and update (doctrine#2318)
  [2.2] Fix builds (doctrine#2319)
  Allow mixed value in $not operator (doctrine#2307)
  Fix errors with nullable typed associations (doctrine#2302)
  Fix using null values in partial filter expressions (doctrine#2300)
  Fix preparation of $elemMatch operators in queries (doctrine#2298)
  Fix query preparation when in elemMatch (doctrine#2299)
  Fix mapping of the nullable option for XML driver
  Fix documentation for uploadFromFile
  Correctly handle write concern specified in defaultCommitOptions (doctrine#2294)
  Fix invalid strict comparison when validating mappings
  Update storage-strategies.rst
  Update working-with-objects.rst
  Test serialization of lock/version fields
  Fix locking when ClassMetadata is unserialized
@alcaeus alcaeus requested a review from franmomu August 2, 2021 08:43
@alcaeus alcaeus self-assigned this Aug 2, 2021
psalm.xml Outdated
@@ -6,6 +6,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
errorBaseline="psalm-baseline.xml"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 I think I fixed these ParamNameMismatch some time ago (in 2.3.x), probably this is not needed.

This is what I don't like about ignoring issues in the psalm baseline, that it doesn't complain about non existing ignored issues.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll recreate the baseline and see what happens.

Copy link
Member Author

@alcaeus alcaeus Aug 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See f995aad - this now has an empty baseline. Do you want me to drop the file and config?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove it if it is not needed and add it when we need it.

@alcaeus alcaeus force-pushed the merge-2.2.x-into-2.3.x branch from f995aad to 0abe370 Compare August 5, 2021 12:55
@alcaeus alcaeus requested review from franmomu and removed request for franmomu August 5, 2021 13:01
@alcaeus alcaeus merged commit 08b3799 into doctrine:2.3.x Aug 5, 2021
@alcaeus alcaeus deleted the merge-2.2.x-into-2.3.x branch August 5, 2021 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants