[JAVA-5144] Remove deprecated constructors and factory methods Created: 08/Sep/23  Updated: 05/Dec/23  Resolved: 08/Nov/23

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 5.0.0

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

Issue Links:
Documented
Epic Link: Remove deprecated APIs for 5.0 release
Quarter: FY24Q4
Backwards Compatibility: Minor Change
Documentation Changes: 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   

            com.mongodb 
                MongoBulkWriteException
                    MongoBulkWriteException(BulkWriteResult, List<BulkWriteError>, WriteConcernError, ServerAddress)
                MongoCursorNotFoundException
                    MongoCursorNotFoundException(long, ServerAddress) 
                MongoQueryException
                    MongoQueryException(ServerAddress, int, String)
                    MongoQueryException(ServerAddress, int, String, String)
                    MongoQueryException(MongoCommandException
            com.mongodb.bulk
                BulkWriteResult 
                    acknowledged(Type, int, List<BulkWriteUpsert>)  
                    acknowledged(Type, int, Integer, List<BulkWriteUpsert>) 
                    acknowledged(int, int, int, Integer, List<BulkWriteUpsert>)<String>)  
            com.mongodb.client.model.changestream
                ChangeStreamDocument
                    ChangeStreamDocument(String, BsonDocument, BsonDocument, BsonDocument, TDocument, TDocument, BsonDocument, ...)  
                    ChangeStreamDocument(String, BsonDocument, BsonDocument, BsonDocument, TDocument, BsonDocument, BsonTimestamp, ...)  
                    ChangeStreamDocument(OperationType, BsonDocument, BsonDocument, BsonDocument, TDocument, BsonDocument, BsonTimestamp, ...) 
       com.mongodb.event 
                CommandEvent
                    CommandEvent(RequestContext, int, ConnectionDescription, String) 
                CommandFailedEvent  
                    CommandFailedEvent(RequestContext, int, ConnectionDescription, String, long, Throwable)
                    CommandFailedEvent(int, ConnectionDescription, String, long, Throwable)
                CommandStartedEvent 
                    CommandStartedEvent(RequestContext, int, ConnectionDescription, String, String, BsonDocument) 
                    CommandStartedEvent(int, ConnectionDescription, String, String, BsonDocument) 
                CommandSucceededEvent
                    CommandSucceededEvent(RequestContext, int, ConnectionDescription, String, BsonDocument, long) 
                    CommandSucceededEvent(int, ConnectionDescription, String, BsonDocument, long)
                ConnectionCheckedInEvent 
                    ConnectionCheckedInEvent(ConnectionId)
                ConnectionCheckedOutEvent 
                    ConnectionCheckedOutEvent(ConnectionId, long)
                    ConnectionCheckedOutEvent(ConnectionId)
                ConnectionCheckOutFailedEvent
                    ConnectionCheckOutFailedEvent(ServerId, long, Reason) 
                    ConnectionCheckOutFailedEvent(ServerId, Reason)
                ConnectionCheckOutStartedEvent
                    ConnectionCheckOutStartedEvent(ServerId) 
                ConnectionReadyEvent 
                    ConnectionReadyEvent(ConnectionId)
                ServerHeartbeatFailedEvent
                    ServerHeartbeatFailedEvent(ConnectionId, long, Throwable)  
                ServerHeartbeatSucceededEvent  
                    ServerHeartbeatSucceededEvent(ConnectionId, BsonDocument, long)  



 Comments   
Comment by Githook User [ 05/Dec/23 ]

Author:

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

Message: Remove deprecated constructors and factory methods

JAVA-5144
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/84730f7fb7d39f092a1ef770333ed25f44c1591e

Comment by Githook User [ 20/Nov/23 ]

Author:

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

Message: Remove deprecated constructors and factory methods

JAVA-5144
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/462a34803fbb940c9688c8ac3f27b7d92e5708d7

Generated at Thu Feb 08 09:03:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.