Skip to content

Releases: zakodium/adonis-mongodb

@zakodium/adonis-mongodb v0.10.3

19 Jul 13:43
f4e6406
Compare
Choose a tag to compare

Bug Fixes

  • include src in distribution (4fd53d4)

@zakodium/adonis-mongodb v0.10.2

15 Jul 13:38
3e28f39
Compare
Choose a tag to compare

Bug Fixes

  • correctly compute ModelAttributes type (af9d775)
  • make id reference the type of _id (8148481)

@zakodium/adonis-mongodb v0.10.1

14 Jul 14:16
c167671
Compare
Choose a tag to compare

Bug Fixes

  • update mongodb to 4.0.0 and test on MongDB 5.0 too (#87) (d57f0d8)

@zakodium/adonis-mongodb v0.10.0

14 Jul 12:16
bf9baed
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • move ObjectId export to Zakodium/Mongodb/Odm
  • rename isDirty to $isDirty
  • move mongodb driver options to options.driverOptions
  • The model API has been reworked to be closer to Lucid's.
  • move count() method out of find result, make find() method return synchronously
  • The MongoDB driver has been upgraded to version 4. Types are now included and many have changed.
  • rename Model binding to Odm, and rename Model to BaseModel

Features

  • add model boot method and start working on field decorator (18d41c9)
  • add model.$dirty (d218456)
  • allow to change the connection used in Model.getCollection (16c4180)
  • expose model.$isDeleted (39f01d3)
  • make query filter optional, add query.count and query.distinct (d7a65b1)
  • rename Model binding to Odm, and rename Model to BaseModel (0fa9da6)
  • sort find results by descending id by default (d9162b3)
  • upgrade mongodb driver to version 4 (1e2e403)

Bug Fixes

  • correct types and suppress unavoidable anys (7d95cee)

Code Refactoring

  • move count() method out of find result, make find() method return synchronously (cf07ae7)
  • move mongodb driver options to options.driverOptions (edb0587)
  • move ObjectId export to Zakodium/Mongodb/Odm (093eef3)
  • rename isDirty to $isDirty (2a3bc6a)
  • rework model API (4092ca6)

@zakodium/adonis-mongodb v0.9.1

06 Jul 18:42
3911175
Compare
Choose a tag to compare

Bug Fixes

  • implement workaround to allow closing and reopening connections (48d3ad5)

@zakodium/adonis-mongodb v0.9.0

06 Jul 07:15
5d5be12
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • implement Connection manager
  • rename DatabaseContract and add primaryConnectionName
  • rename "default" config field to "connection"
  • add Zakodium/ prefix to IoC binding names

Features

  • expose container binding types (de33f9e)
  • implement Database.connection method (91b0686)

Bug Fixes

  • treat model instances created from iterator as already saved (#67) (57474a9)

Code Refactoring

  • add Zakodium/ prefix to IoC binding names (966a7a1)
  • implement Connection manager (749ccca)
  • rename "default" config field to "connection" (bcfda31)
  • rename DatabaseContract and add primaryConnectionName (5a1a914)

@zakodium/adonis-mongodb v0.8.0

17 Jun 12:18
994cf80
Compare
Choose a tag to compare

Features

  • do not cancel successful migrations (#65) (0b4fb92)

@zakodium/adonis-mongodb v0.7.0

27 Apr 07:15
0a44a95
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • The module now depends on @adonisjs/auth v8

Features

  • bump @adonisjs/auth to version 8 (#60) (de23012)

@zakodium/adonis-mongodb v0.6.0

23 Mar 13:19
1e7e93a
Compare
Choose a tag to compare

Bug Fixes

@zakodium/adonis-mongodb v0.5.0

15 Mar 14:05
a6ef02c
Compare
Choose a tag to compare

Features