[GODRIVER-2617] Remove or un-export all currently deprecated code in Go Driver 2.0 Created: 26/Oct/22  Updated: 28/Oct/23  Resolved: 13/Oct/23

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

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

Issue Links:
Depends
depends on GODRIVER-2606 Deprecate unused functionality in pre... Closed
depends on GODRIVER-2706 Deprecate the "bsonoptions" package Closed
depends on GODRIVER-2618 Create an "extjson" package for the E... Closed
depends on GODRIVER-2663 Deprecate "bson.Raw" APIs to support ... Closed
depends on GODRIVER-2674 Use time.Duration instead of duration... Closed
depends on GODRIVER-2681 Replace "primitive.CompareTimestamp" ... Closed
depends on GODRIVER-2682 Rename "bson.NewFromIOReader" to "bso... Closed
depends on GODRIVER-2683 Deprecate the "mongo.NewClient" and "... Closed
depends on GODRIVER-2684 Deprecate "bson.D.Map" Closed
depends on GODRIVER-2691 Deprecate "description.Server" fields... Closed
depends on GODRIVER-2716 Deprecate all "bsoncodec.*Codec" types Closed
is depended on by GODRIVER-2824 Remove non-int64 Exported Connection IDs Closed
is depended on by GODRIVER-2612 Remove all references to the bson/pri... Investigating
Gantt Dependency
has to be done before GODRIVER-2696 Allow only 0 or 1 options structs in ... Investigating
Related
related to GODRIVER-3001 Deprecate options.MergeClientOptions Backlog
related to GODRIVER-2976 Remove or un-export all currently dep... In Progress
Epic Link: Go Driver 2.0: Driver
Backwards Compatibility: Major Change
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   

Definition of done:

  • Remove or un-export all deprecated code before releasing Go Driver 2.0 (except for the BSON library). Some deprecated code may still be needed, but can be un-exported, and some can be completely removed.

Note that we should leave functions and types that are deprecated but marked "internal use only".

Note: The scope of this ticket is limited to all Go driver code except the BSON library. See GODRIVER-2976 for the task for the BSON library.



 Comments   
Comment by Githook User [ 13/Oct/23 ]

Author:

{'name': 'Qingyang Hu', 'email': '103950869+qingyang-hu@users.noreply.github.com', 'username': 'qingyang-hu'}

Message: GODRIVER-2617 Remove deprecated code (#1398)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/71f65e3a0ae906f5ddcba6bc9fb0c314194636ad

Comment by Qingyang Hu [ 02/Oct/23 ]

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

Comment by Preston Vasquez [ 26/Sep/23 ]

qingyang.hu@mongodb.com On PR #1395 we decided to keep a running list of breaking changes on GODRIVER-2705 to help make writing the migration go more smoothly. Does it seem natural to extend that list in the description of GODRIVER-2705 with the instance of the "Deprecated" grammar that you encounter in the efforts for this ticket?

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