Skip to content

Releases: xp-forge/mongodb

0.11.0: Change streams

20 Mar 13:15
Compare
Choose a tag to compare

0.10.0: Transactions

20 Mar 11:07
Compare
Choose a tag to compare
  • Merged PR #13: Implement multi-document transactions - @thekid

0.9.1: Session and connection fixes

19 Mar 18:40
Compare
Choose a tag to compare
  • Fixed operation errors causing reconnection - @thekid
  • Normalized databases enumeration between MongoDB versions - @thekid
  • Fixed com.mongodb.MongoConnection::databases() - @thekid
  • Fixed com.mongodb.Database::collections() - @thekid

0.9.0: Replicaset support

19 Mar 17:53
Compare
Choose a tag to compare
  • Implemented #9: Reconnect - according to specification, by checking
    a connection with the ping command if it has been not used for a
    defined number of seconds (defaulting to 5)
    (@thekid)
  • Merged PR #10: Sessions. Adds support for passing sessions to all of
    the database and collection methods.
    (@thekid)
  • Merged PR #5: Add support for mongodb+srv. This adds support for DNS
    seed lists, as well as reading from and writing to separate connections
    based on the read preference supplied.
    (@thekid)

0.8.0: Protocol error handling

10 Mar 14:28
Compare
Choose a tag to compare
  • Changed implementation to raise peer.ProtocolException instead of
    low-level socket errors
    (@thekid)

0.7.2: SASL authentication fixes

25 Feb 11:40
Compare
Choose a tag to compare
  • Fixed #6: Exception com.mongodb.Error (#40415:Location40415 "BSON field
    'saslContinue.done' is an unknown field.")
    (@thekid)
  • Fixed #7: Array to string conversion error in Document::toString()
    (@thekid)

0.7.1: XP11 compatibility

21 Oct 19:39
Compare
Choose a tag to compare
  • Made library compatible with XP 11 - @thekid

0.7.0: SSL / TLS support, PHP 8.1 fixes

16 Sep 21:21
Compare
Choose a tag to compare
  • Fixed PHP 8.1 compatibility for IteratorAggregate / ArrayAccess return
    type declarations
    (@thekid)
  • Fixed issue #4: Cannot handle binary subtype 3 - @thekid
  • Enable SSL/TLS if ssl=true or tls=true is passed in the connection
    string parameters; implements feature request #2
    (@thekid)
  • Made params for Collection::command() optional - @thekid

0.6.0: Simplified API

29 Aug 17:31
Compare
Choose a tag to compare
  • Added Cursor::first() to return the first document (or NULL).
    (@thekid)
  • Made Collection::find() also accept IDs to find single documents
    (@thekid)
  • Added Collection::command() to run arbitrary commands - @thekid
  • Simplified usage of collection methods update() and delete()
    (@thekid)

0.5.3: Socket reading fix

29 Aug 16:50
Compare
Choose a tag to compare
  • Fixed reading to ensure we have enough bytes when reading packets
    (@thekid)