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

GODRIVER-3285 [v2]Allow update to supply sort option. #1797

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qingyang-hu
Copy link
Collaborator

GODRIVER-3285

Summary

Allow v2 update to supply sort option.

Background & Motivation

@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the priority-3-low Low Priority PR for Review label Sep 9, 2024
Copy link
Contributor

mongodb-drivers-pr-bot bot commented Sep 9, 2024

API Change Report

./v2/mongo

compatible changes

(*ReplaceOneModel).SetSort: added
(*UpdateOneModel).SetSort: added
ReplaceOneModel.Sort: added
UpdateOneModel.Sort: added

./v2/mongo/options

incompatible changes

BSONOptions.ObjectIDAsHexString: removed
Update: removed
UpdateOptions: removed
UpdateOptionsBuilder: removed

compatible changes

(*ReplaceOptionsBuilder).SetSort: added
ReplaceOptions.Sort: added
UpdateMany: added
UpdateManyOptions: added
UpdateManyOptionsBuilder: added
UpdateOne: added
UpdateOneOptions: added
UpdateOneOptionsBuilder: added

./v2/x/mongo/driver

incompatible changes

##CursorOptions.MarshalValueEncoderFn: changed from func(io.Writer) ./v2/bson.Encoder to func(io.Writer) (./v2/bson.Encoder, error)

@qingyang-hu qingyang-hu force-pushed the godriver3285v2 branch 4 times, most recently from fab1a09 to 8533d0a Compare September 9, 2024 22:36
@qingyang-hu qingyang-hu added priority-2-medium Medium Priority PR for Review and removed priority-3-low Low Priority PR for Review labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-2-medium Medium Priority PR for Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant