[JAVA-1605] Remove Mongo#getVersion Created: 30/Dec/14 Updated: 07/Jul/15 Resolved: 05/Jan/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
We should remove Mongo#getVersion in 3.0 after deprecating in 2.13. This is not a common practice in Java libraries, and it complicates the build process. |
| Comments |
| Comment by Dima [ 07/Jul/15 ] |
|
Jeff, (by the way, awesome work on driver v3, we migrated from v2 without much pain) |
| Comment by Jeffrey Yemin [ 07/Jul/15 ] |
|
Hi Dima, We ripped this out for a number of reasons:
As you ship the driver as part of the installation of your own software product, could you not give each version of the installation its own number, and derive the driver version from that (e.g version 1.4.3 of your software ships with version 3.0.2 of the Java driver)? |
| Comment by Dima [ 07/Jul/15 ] |
|
Thank you Jeff, |
| Comment by Jeffrey Yemin [ 07/Jul/15 ] |
|
Hi Dima, Maybe if you explain how you're using the driver version in your code, we can suggest an alternative way of accomplishing your goal. |
| Comment by Dima [ 07/Jul/15 ] |
|
But what is the replacement of this? How do we to know the version of driver used with the application hosting the driver? |
| Comment by Jeffrey Yemin [ 31/Mar/15 ] |
|
Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released. |
| Comment by Githook User [ 30/Jan/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Removed Mongo.getVersion() method, which will be deprecated in the 2.13 release. |
| Comment by Githook User [ 05/Jan/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Removed Mongo.getVersion() method, which will be deprecated in the 2.13 release. |