Skip to content

Releases: mongodb/mongo-java-driver

3.0.4

14 Sep 14:45
Compare
Choose a tag to compare

Java Driver 3.0.4 (September 14, 2015)

The 3.0.4 MongoDB Java Driver is a patch to the 3.0.0 release.

Reference documentation

The new documentation hub includes extensive documentation of the 3.0 driver, including

and much more.

API Documentation

http://api.mongodb.org/java/3.0/

README

https://github.com/mongodb/mongo-java-driver/blob/master/README.md

Bug fixes

You can find a full list of bug fixes here.

2.13.3

08 Sep 15:06
Compare
Choose a tag to compare

Java Driver 2.13.3 (September 8, 2015)

The 2.13.3 MongoDB Java Driver is a patch to the 2.13.0 release. It contains fixes for the following issues:

  • JAVA-1880: Higher memory allocation rate for write commands than write protocol
  • JAVA-1885: Bulk write can error when upserting across batches

Downloads

Below and on maven central

Docs

http://api.mongodb.org/java/2.13/

3.0.3

16 Jul 15:58
Compare
Choose a tag to compare

Java Driver 3.0.3 (July 16, 2015)

The 3.0.3 MongoDB Java Driver is a patch to the 3.0.0 release.

Reference documentation

The new documentation hub includes extensive documentation of the 3.0 driver, including

and much more.

API Documentation

http://api.mongodb.org/java/3.0/

README

https://github.com/mongodb/mongo-java-driver/blob/master/README.md

Bug fixes

You can find a full list of bug fixes here.

3.0.2

28 May 18:46
Compare
Choose a tag to compare

Java Driver 3.0.2 (May 27, 2015)

The 3.0.2 MongoDB Java Driver is a patch to the 3.0.0 release.

Reference documentation

The new documentation hub includes extensive documentation of the 3.0 driver, including

and much more.

API Documentation

http://api.mongodb.org/java/3.0/

README

https://github.com/mongodb/mongo-java-driver/blob/master/README.md

Bug fixes

You can find a full list of bug fixes here.

Improvements

You can find a full list of improvements here.

2.13.2

28 May 16:44
Compare
Choose a tag to compare

Java Driver 2.13.2 (May 28, 2015)

The 2.13.2 MongoDB Java Driver is a patch to the 2.13.0 release. It contains fixes for the following issues:

  • JAVA-1815: Remove from the topology a replica set member whose "me" hostname:port does not match the one that was used to connect to it
  • JAVA-1799: Use electionId reported by ismaster to avoid sending operations to false primaries
  • JAVA-1814: Cluster manager behaves incorrectly when server addresses are given as DBAddress
  • JAVA-1780: A socket will be returned to the pool in an undefined state if an Error subclass is thrown while reading from it
  • JAVA-1842: listCollections and listIndexes commands are forced to the primary

Downloads

Below and on maven central

Docs

http://api.mongodb.org/java/2.13/

3.0.1

05 May 20:02
Compare
Choose a tag to compare

Java Driver 3.0.1 (May 5, 2015)

The 3.0.1 MongoDB Java Driver is a patch to the 3.0.0 release.

Reference documentation

The new documentation hub includes extensive documentation of the 3.0 driver, including

and much more.

API Documentation

http://api.mongodb.org/java/3.0/

README

https://github.com/mongodb/mongo-java-driver/blob/master/README.md

Bug fixes

You can find a full list of bug fixes here.

Improvements

You can find a full list of improvements here.

2.13.1

13 Apr 21:13
Compare
Choose a tag to compare

Java Driver 2.13.1 (April 13, 2015)

The 2.13.1 MongoDB Java Driver is a patch to the 2.13.0 release. It contains the following minor changes:

  • JAVA-1738: OSGi Import-Package is missing javax.crypto and javax.crypto.spec
  • JAVA-1641: Remove errant Deprecation annotation on MongoClientOptions.Builder.localThreshold()

Downloads

Below and on maven central

Docs

http://api.mongodb.org/java/2.13/

3.0.0

31 Mar 20:25
Compare
Choose a tag to compare

Java Driver 3.0.0 (March 31, 2015)

The 3.0.0 MongoDB Java Driver is a major release that includes bug fixes, new features, and improvements.

As a major release, it is not binary or source compatible with the 2.x release series.

It supports MongoDB server versions from the 2.2 release through the most recent 3.0 release.

The 3.0 Java driver is not a required upgrade for MongoDB 3.0. The 2.13.0 release is the minimum required for full compatibility with MongoDB 3.0.

Reference documentation

The new documentation hub includes extensive documentation of the 3.0 driver, including

and much more.

API Documentation

http://api.mongodb.org/java/3.0/

README

https://github.com/mongodb/mongo-java-driver/blob/master/README.md

Bug fixes

You can find a full list of bug fixes here.

New Features

You can find a full list of new features here.

Improvements

You can find a full list of improvements here.

2.13.0

29 Jan 14:50
Compare
Choose a tag to compare

Java Driver 2.13.0 (January 29, 2015)

The 2.13.0 MongoDB Java Driver includes bug fixes, new features, and improvements. It is binary compatible with the 2.12 release line and supports all MongoDB server versions from the 2.2 release through the upcoming 3.0 release.

Downloads

Below and on maven central

Docs

http://api.mongodb.org/java/2.13/

Compatibility

If you are deploying MongoDB version 3.0 with authentication enabled, and one of the following holds true:

  • You have no existing users created in the database
  • You plan to execute the authSchemaUpgrade command

then you MUST first

Otherwise, authentication will fail because the server is expecting the driver to use the new SCRAM-SHA1 authentication protocol rather than the MONGODB-CR authentication protocol that it replaces.

Bug fixes

You can find a full list of bug fixes here.

New Features

You can find a full list of new features here.

Improvements

You can find a full list of improvements here.

And finally: this will be the last feature release before the 3.0 driver release, which will contain backwards breaking changes. The 2.13 release deprecates some additional classes and methods, most of which will be removed in 3.0. So to prepare for an eventual upgrade, please compile against 2.13 with deprecation warnings enabled. Code which compiles without any deprecation warnings against 2.13 should run without modification against the eventual 3.0 release. You can find a complete list of deprecated classes and methods that will be removed in the 3.0 release here. You can find the list of deprecations added in the 2.13 release here.

2.12.5

15 Jan 15:45
Compare
Choose a tag to compare

Java Driver 2.12.5 (January 15, 2015)

The 2.12.5 Java driver is a patch release. It is a recommended upgrade for all users.

Downloads

Below and on maven central

Docs

http://api.mongodb.org/java/2.12/

Bugs:

  • JAVA-1541: unordered bulk writes should continue sending batches after an error
  • JAVA-1613: Race condition on DBPort usage during write commands
  • JAVA-1581: Driver throws IllegalStateException unnecessarily