[GODRIVER-2606] Deprecate unused functionality in preparation to remove it in Go Driver 2.0 Created: 25/Oct/22  Updated: 28/Oct/23  Resolved: 10/Apr/23

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.12.0

Type: Task Priority: Unknown
Reporter: Matt Dale Assignee: Matt Dale
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by GODRIVER-2367 Un-export all result type BSON unmars... Closed
is depended on by GODRIVER-2617 Remove or un-export all currently dep... Closed
Related
related to GODRIVER-2682 Rename "bson.NewFromIOReader" to "bso... Closed
related to GODRIVER-2683 Deprecate the "mongo.NewClient" and "... Closed
is related to GODRIVER-2674 Use time.Duration instead of duration... Closed
is related to GODRIVER-2681 Replace "primitive.CompareTimestamp" ... Closed
is related to GODRIVER-2684 Deprecate "bson.D.Map" Closed
Epic Link: Go Driver 2.0 Prep
Quarter: FY24Q1
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

There is a lot of functionality that appears totally unused in the Go Driver API. We've kept it around to maintain backward compatibility. Mark all of the seemingly unused types and functions as deprecated so we can reduce the negative impact of removing them in Go Driver 2.0.

To deprecate:



 Comments   
Comment by Githook User [ 10/Apr/23 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: GODRIVER-2606 Deprecate unused code in preparation to remove it in Go Driver 2.0 (#1220)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/64ef731978b59c04c480b24ea7cf00477dacc2d9

Comment by Matt Dale [ 04/Apr/23 ]

PR: https://github.com/mongodb/mongo-go-driver/pull/1217

Generated at Thu Feb 08 08:39:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.