Skip to content

Correct the server releases of $toUUID and $documents - #4583

Open
evanchooly wants to merge 1 commit into
audits-capability-baselinefrom
audits-version-annotations
Open

evanchooly wants to merge 1 commit into
audits-capability-baselinefrom
audits-version-annotations

Conversation

@evanchooly

Copy link
Copy Markdown
Member

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.toUuid had no @mongodb.server.release tag. The manual introduces $toUUID in 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

toUuid gains @mongodb.server.release 8.0, and Documents moves 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_ANNOTATION findings are gone, and 14 MISSING_API findings remain.

Self-reviewed only: the independent reviewers are out of quota until 2026-11-26.

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

No deployments
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.

1 participant