Skip to content

Releases: doubleloop-io/effect-mongodb

@effect-mongodb/services@0.1.1

28 Feb 16:39
Compare
Choose a tag to compare

Patch Changes

effect-mongodb@0.2.0

24 Feb 09:44
Compare
Choose a tag to compare

Minor Changes

  • ec45cb5 Thanks @VenomAV! - Wrap mongodb driver MongoClient type into a TaggedClass

  • 89b1063 Thanks @VenomAV! - Wrap mongodb driver Db type into a TaggedClass

Patch Changes

  • 7faa2c5 Thanks @devmatteini! - Export MongoClient.connectScoped options type MongoClientScopedOptions

effect-mongodb@0.1.4

24 Jan 17:23
Compare
Choose a tag to compare

Patch Changes

effect-mongodb@0.1.3

14 Jan 09:26
Compare
Choose a tag to compare

Patch Changes

  • f4750b7 Thanks @devmatteini! - Fix Collection.updateMany success return type UpdateResult<I> to allow custom defined _id types

  • b5469c5 Thanks @devmatteini! - Fix Collection.replaceOne success return type UpdateResult<I> to allow custom defined _id types

  • 3f9d487 Thanks @devmatteini! - Fix Collection.insertOne success return type InsertOneResult<I> to allow custom defined _id types

  • 8332e0c Thanks @devmatteini! - Collection/DocumentCollection.dropIndex return type is the same as mongodb driver

  • 891b6bf Thanks @devmatteini! - Swap Collection.aggregate pipeline and schema parameter positions

    // Before
    Collection.aggregate(pipeline, schema)
    
    // After
    Collection.aggregate(schema, pipeline)
  • 4e17b58 Thanks @VenomAV! - Review all errors, providing contextual information and standardizing error messages

  • bd026cf Thanks @devmatteini! - Fix Collection.insertMany success return type InsertManyResult<I> to allow custom defined _id types

effect-mongodb@0.1.2

03 Jan 16:50
Compare
Choose a tag to compare

Patch Changes

  • 5de41db Thanks @devmatteini! - Fix errors on DocumentCollection:

    • insertOne data-first overload when only passing collection and doc
    • insertMany return type is always InsertManyResult
    • rename now returns a new DocumentCollection (like Collection.rename)
    • dropIndex now returns void (like Collection.dropIndex)

effect-mongodb@0.1.1

03 Jan 15:21
Compare
Choose a tag to compare

Patch Changes

effect-mongodb@0.1.0

02 Jan 12:02
Compare
Choose a tag to compare

Minor Changes

  • e52f494 Thanks @devmatteini! - upgrade mongodb version to 6.9.0 to fully support mongodb server 8

effect-mongodb@0.0.5

15 Nov 16:54
Compare
Choose a tag to compare

Patch Changes

  • 4287f85 Thanks @devmatteini! - Remove services related types from Db and MongoClient that are moved to the new package @effect-mongodb/services

  • 00874e9 Thanks @VenomAV! - Add estimetedDocumentCount and countDocuments in Collection and DocumentCollection

effect-mongodb@0.0.4

12 Nov 17:21
Compare
Choose a tag to compare

Patch Changes

  • a8530e7 Thanks @devmatteini! - Add dropIndex function in Collection and DocumentCollection

  • 6cc9c61 Thanks @devmatteini! - Add createIndex function in Collection and DocumentCollection

  • 16c906a Thanks @devmatteini! - Add findOneAndReplace function in Collection and DocumentCollection

  • 6f0a8d4 Thanks @devmatteini! - Use Filter type in FindCursor and DocumentFindCursor filter function.
    Add optional filter parameter to find functions in Collection and DocumentCollection

  • d50d85d Thanks @devmatteini! - Add drop function in Collection and DocumentCollection

effect-mongodb@0.0.3

11 Nov 17:01
Compare
Choose a tag to compare

Patch Changes

  • 04a7439 Thanks @devmatteini! - - Db.listCollections with ListCollectionsCursor
    • Db.dropCollection
    • DocumentCollection/Collection.deleteOne
    • DocumentCollection/Collection.deleteMany
    • DocumentCollection/Collection.updateMant
    • DocumentCollection/Collection.replaceOne
    • DocumentCollection/Collection.rename
    • DocumentCollection/Collection.createIndexes
    • DocumentCollection/Collection.aggregate with DocumentAggregationCursor and AggregationCursor