Skip to content

Releases: xp-forge/mongodb

1.8.0: String representations

19 Nov 23:04
Compare
Choose a tag to compare
  • Merged PR #25: Implement toString() for collections and databases
    (@thekid)

1.7.0: DSN errors

24 Sep 09:48
Compare
Choose a tag to compare
  • Changed error message when an empty or malformed DSN is passed to the
    Protocol class' constructor to better indicate what has gone wrong
    (@thekid)

1.6.0: Upserts

10 Sep 12:15
Compare
Choose a tag to compare
  • Merged PR #24: Add Collection::upsert() which calls the update
    command with upsert: true.
    (@thekid)

1.5.0: Socket timeout support

01 Sep 19:00
Compare
Choose a tag to compare

1.4.0: Commands

09 Jul 15:36
Compare
Choose a tag to compare
  • Merged PR #23: Add MongoConnection::run() to run commands in the
    admin database, e.g. ping.
    (@thekid)
  • Merged PR #22: Add Cursor::all(). This is equivalent to iterating and
    storing all documents in an array but more concise.
    (@thekid)
  • Merged PR #21: Add Collection::run() to run commands. This deprecates
    the command method, which will be removed in a future release.
    (@thekid)

1.3.0: Load distribution

29 Mar 20:17
Compare
Choose a tag to compare
  • Merged PR #19: Pick a random secondary, improving load distribution
    (@thekid)

1.2.0: Cursor improvements

27 Mar 11:33
Compare
Choose a tag to compare
  • Fixed com.mongodb.result.Cursor::first() to raise a meaningful error
    message when cursor has been forwarded
    (@thekid)
  • Added com.mongodb.result.Cursor::present() to check whether a cursor
    represents a non-empty result
    (@thekid)

1.1.1: Large documents fix

26 Mar 12:09
Compare
Choose a tag to compare
  • Fixed reading large documents - @thekid

1.1.0: Code, MinKey and MaxKey

26 Mar 10:55
Compare
Choose a tag to compare
  • Merged PR #17: Add support for MinKey and MaxKey types - @thekid
  • Merged PR #16: Code support - @thekid
  • Simplified EOF handling in Connection::send() - @thekid
  • Renamed Protocol class' connection() method to dsn() - @thekid

1.0.0: Stability

25 Mar 21:43
Compare
Choose a tag to compare

This first major release supports working with replica sets as well as with standalone MongoDB servers. There is no support for read and write
concerns yet, and no support for client-side encryption.

  • Fixed com.mongodb.Decimal128 for large negative numbers - @thekid
  • Fixed com.mongodb.NoSuitableCandidate::candidates() - @thekid
  • Fixed equality comparisons for com.mongodb.result.Cursor - @thekid
  • Increased code coverage significantly by adding a variety of unittests
    (@thekid)