From 1fd8fa1e97231d8cabb5227eee90cdbb6a55a830 Mon Sep 17 00:00:00 2001 From: Qingyang Hu Date: Tue, 17 Dec 2024 18:18:09 -0500 Subject: [PATCH 1/2] GODRIVER-3443 Remove internal APIs in migration guide. --- docs/migration-2.0.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/migration-2.0.md b/docs/migration-2.0.md index c32d353e2c..91ab28b92b 100644 --- a/docs/migration-2.0.md +++ b/docs/migration-2.0.md @@ -503,12 +503,6 @@ mongo.WithSession(context.TODO(),sess,func(ctx context.Context) error { ## Options Package -The following fields were marked for internal use only and do not have replacement: - -- `ClientOptions.AuthenticateToAnything` -- `FindOptions.OplogReplay` -- `FindOneOptions.OplogReplay` - The following fields were removed because they are no longer supported by the server - `FindOptions.Snapshot` (4.0) From a354e5c51d3653197a050cfe23f3ffb0f8a3efd3 Mon Sep 17 00:00:00 2001 From: Qingyang Hu Date: Mon, 13 Jan 2025 13:52:53 -0500 Subject: [PATCH 2/2] address the review feedback. --- docs/migration-2.0.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/migration-2.0.md b/docs/migration-2.0.md index 91ab28b92b..94a661e8cb 100644 --- a/docs/migration-2.0.md +++ b/docs/migration-2.0.md @@ -503,6 +503,8 @@ mongo.WithSession(context.TODO(),sess,func(ctx context.Context) error { ## Options Package +`ClientOptions.AuthenticateToAnything` was marked for internal use in 1.x and does not have a replacement. + The following fields were removed because they are no longer supported by the server - `FindOptions.Snapshot` (4.0)