[JAVA-3107] Deprecate serverVersion property in ConnectionDescription and ServerDescription Created: 30/Nov/18  Updated: 28/Oct/23  Resolved: 07/Jan/19

Status: Closed
Project: Java Driver
Component/s: API, Monitoring
Affects Version/s: None
Fix Version/s: 3.10.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This property relies on the driver successfully executing the buildInfo command, which is likely to require authentication in future versions of the server. Removing the property will allow the Java driver to stop executing buildInfo.



 Comments   
Comment by Githook User [ 14/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Deprecate all use of the ServerVersion class

Deprecate use of ServerVersion in ConnectionDescription and
ServerDescription. This will allow the driver to stop calling the
buildInfo command in the next major release, after removal of these
deprecated methods.

JAVA-3107
Branch: 3.10.x
https://github.com/mongodb/mongo-java-driver/commit/ee19878ea365960ca9587ad474c4837f0ab5070f

Comment by Githook User [ 07/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Deprecate all use of the ServerVersion class

Deprecate use of ServerVersion in ConnectionDescription and
ServerDescription. This will allow the driver to stop calling the
buildInfo command in the next major release, after removal of these
deprecated methods.

JAVA-3107
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/92a48b5d4c4e4b437224cccb128204f6005187b3

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