Repository navigation
Correct the server releases of $toUUID and $documents - #4583
Open
evanchooly wants to merge 1 commit into
Open
evanchooly wants to merge 1 commit into
evanchooly wants to merge 1 commit into
Conversation
toUuid had no @mongodb.server.release; $toUUID is new in MongoDB 8.0. Documents said 5.1, where the manual now gives 6.0. Found by the capability coverage report.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found by the capability coverage report in #4582. As you decided, these are fixed in Morphia rather than filed as issues. Stacked on #4582.
Problem
TypeExpressions.toUuidhad no@mongodb.server.releasetag. The manual introduces$toUUIDin MongoDB 8.0.Documents(the class and its factory) said@mongodb.server.release 5.1. The manual now gives 6.0, since 5.1 was a rapid release.Change
toUuidgains@mongodb.server.release 8.0, andDocumentsmoves to 6.0. The tags are documentation only; Morphia doesn't enforce them at runtime.Verification
Rebuilding core's API inventory and rerunning coverage against the baseline: the two
VERSION_ANNOTATIONfindings are gone, and 14MISSING_APIfindings remain.Self-reviewed only: the independent reviewers are out of quota until 2026-11-26.