Skip to content

chore: add schema-latest pattern #1792

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

Merged
merged 6 commits into from
Apr 30, 2025

Conversation

prestonvasquez
Copy link
Member

@prestonvasquez prestonvasquez commented Apr 28, 2025

PR #1782 suggests adding a schema-latest.json file that will allow reviewers to grok changes to schema updates. Implementers would still be required to add a schema-1.n.json file when updating a schema but will now also be required to run make update-schema-latest to sync schema-latest.json. The diff should be verified in the GitHub workflow.

  • Update changelog.
  • Test changes in at least one language driver.
  • Test these changes against all server versions and topologies (including standalone, replica set, sharded
    clusters, and serverless).

@prestonvasquez prestonvasquez changed the title chore: dd schema-latest pattern chore: add schema-latest pattern Apr 28, 2025
@prestonvasquez prestonvasquez marked this pull request as ready for review April 28, 2025 20:58
@prestonvasquez prestonvasquez requested review from a team as code owners April 28, 2025 20:58
@prestonvasquez prestonvasquez requested review from jmikola and dariakp and removed request for a team April 28, 2025 20:58
Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

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

Great idea - not being able to directly see schema changes when a new version is added has bothered me for a while. Thank you for adding this!

@prestonvasquez prestonvasquez merged commit 0c41c8b into mongodb:master Apr 30, 2025
5 checks passed
@prestonvasquez prestonvasquez deleted the add-schema-latest branch April 30, 2025 15:17
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.

3 participants