Skip to content

0.4.0

Compare
Choose a tag to compare
@oskardudycz oskardudycz released this 12 Jul 16:06
· 144 commits to main since this release

🚀 What's New

  • Added missing implementations of methods:
    • replaceOne
    • drop
    • rename,
    • countDocuments, count, estimatedDocumentCount,
    • findOneAndDelete, findOneAndReplace, findOneAndUpdate
      That closes the basic coverage of the methods. They're not yet fully compatible in behaviour to Mongo, but we'll get there! by @oskardudycz in #28, #29, #31
  • Added option to inject PoolClient to PongoClient as the first step for transaction handling. Now you can create transaction outside and inject pool client. It's not yet fully the same as Mongo API; it'll be delivered in follow-up PR, but it's already enabling Emmett inline projections. by @oskardudycz in #26
  • Changed _id type to TEXT. In PostgreSQL, this should be almost equally the same indexable. Of course, it'll take a bit more storage, but let's live with that for now. Changing from uuid to text will allow more sophisticated key strategies. Most importantly, it'll reuse the stream ID as a document ID for Emmett projections. by @oskardudycz in #30

Full Changelog: 0.3.0...0.4.0