[JAVA-3007] Deprecate core driver Created: 29/Sep/18  Updated: 28/Oct/23  Resolved: 09/Oct/18

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 3.9.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   

The driver-core module, introduced in the 3.0 driver, is a useful abstraction for implementing the driver's high-level modules, but as there has not been significant usage of the module outside of that, the effort it takes to document it and avoid backwards breaking changes is not worth it.  Most of the classes should therefore be deprecated so that they can be moved to an internal package in the next major release.



 Comments   
Comment by Githook User [ 09/Oct/18 ]

Author:

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

Message: Deprecate API elements in driver-core module

Deprecate API element in driver-core module that are not exposed via
the high-level driver APIS (driver-sync, driver-sync, driver-legacy).
The driver-core module is a useful abstraction on which to build these
high-level drivers, but as a public API it has not seen the sort of
adoption that we initially expected. Formally deprecating it and using
it just as an internal abstraction will allow us to more rapidly evolve
its API without concern for backwards compatibility that doesn't
actually help external users.

JAVA-3007
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/757c3279bb08738e2209d38285b18a9ef3d0ab35

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