-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
The ruby driver is constantly suffering breaking changes in its API. Last one I found is the disappearance of Connection#host. Wether or not the method should have been discarded is beyond the scope of this post. But a method should never disappear between a "1.1.2" and "1.1.5" version. A minor version number update should not break client code. Moreover, this particular change was not listed in the changelog.
This is not the first time this library have suffered for such changes, we all remember the ObjectID to ObjectId change last year.
We came to a point where we have more issues when we bump the ruby driver than when we bump the server itself. This does not make any sense at all. It's a shame to impair whatever credibility everybody works so hard to give to mongodb by failure to comply to simple good practices in software engineering on such a simple matter as a mere client library.
Sorry for this rant. The bug is in the process here. I would be glad to provide a patch, but I can't.
- is related to
-
RUBY-238 Enforce Semantic Versioning
- Closed