[GODRIVER-2495] Undeprecate legacy timeouts Created: 18/Jul/22  Updated: 28/Oct/23  Resolved: 19/Jul/22

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

Type: Bug Priority: Major - P3
Reporter: Benji Rewis (Inactive) Assignee: Benji Rewis (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before GODRIVER-2342 Deprecate SocketTimeout, wTimeout, Ma... Closed
Epic Link: Client Side Operations Timeout
Quarter: FY23Q2, FY23Q3
Backwards Compatibility: Fully Compatible

 Description   

Deprecating legacy timeout options with the addition of Timeout to ClientOptions has left some users with static analysis failures (deprecation warnings) and no stable alternative (as Timeout is still provisional API). We should wait until CSOT is more stable before doing GODRIVER-2342. For now, let's change the Deprecated: notices to NOTE sections that suggest using Timeout in place of the given legacy timeout option.



 Comments   
Comment by Githook User [ 19/Jul/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2495 Undeprecate legacy timeouts. (#1026)

Uses NOTEs to suggest that users use Timeout instead of legacy timeout options as opposed to deprecating legacy timeout options.
Branch: release/1.10
https://github.com/mongodb/mongo-go-driver/commit/e095f2d00e18df1caa58acebe0f4d0da21c516c2

Comment by Githook User [ 19/Jul/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2495 Undeprecate legacy timeouts. (#1026)

Uses NOTEs to suggest that users use Timeout instead of legacy timeout options as opposed to deprecating legacy timeout options.
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/ee4f97f61b0000348d581bbec52c2061a9b90005

Comment by Benji Rewis (Inactive) [ 18/Jul/22 ]

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

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