[JAVA-573] Provide a unique value for each released version in Mongo.version() or some similar method Created: 23/May/12  Updated: 18/Jun/12  Resolved: 25/May/12

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

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

Backwards Compatibility: Fully Compatible

 Description   

Currently Mongo.version() only provides the major and minor version of the driver. Thus, 2.7.3 returns the same value as 2.7.1. I would like some way to determine the exact version of the driver, something that returns a different value for each released version of the driver. Either Mongo.version() or some new method would be OK. If it's a new method, then either a unique version string like 2.8.0-rc1 or some unique identifier like the Git commit id would work.



 Comments   
Comment by Jeffrey Yemin [ 18/Jun/12 ]

Closing for 2.8.0 release.

Comment by auto [ 25/May/12 ]

Author:

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

Message: JAVA-573: Changed Mongo.getVersion() to return the full version string, instead of just major.minor
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/267ebdf3cddd795fe2af0c59f32ad94ccde85b08

Comment by Jeffrey Yemin [ 25/May/12 ]

Mongo.getVersion() will be changed to return the full version string.

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