Releases: synatic/mongo-magic
Releases · synatic/mongo-magic
v2.3.3
v2.3.1
Full Changelog: v2.3.0...v2.3.1
v2.3.0
What's Changed
- fix: wrapped mongodb sdk promises in callbackify to prevent
.catch()
statements from stealing thrown errors from deeper in the call stack
Full Changelog: v2.2.0...v2.3.0
v2.2.0
- Adds new TypeScript and JSDoc types to make knowing what to pass in for a
MongoQuery
andMongoCollection
easier. - Fixed a couple bugs where strings were being passed to the callback instead of an
Error
object
What's Changed
- build(deps): bump github/codeql-action from 2 to 3 by @dependabot in #47
- build(deps): bump actions/setup-node from 3 to 4 by @dependabot in #48
- adding types for mongo query & collection by @eXigentCoder in #52
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #45
- chore(deps): updated the mongodb SDK to version 6.5.0 by @thiren in #46
- updated the required version of NodeJS to 16+
Full Changelog: v2.0.0...v2.1.0
v2.0.0
v1.2.0
What's Changed
- Bump github/codeql-action from 1 to 2 by @dependabot in #19
- Bump mocha from 9.2.2 to 10.0.0 by @dependabot in #20
- Bump moment from 2.29.3 to 2.29.4 by @dependabot in #21
- Updating library to throw errors as an option. Fix for incorrect matching of unsafe operations by @eXigentCoder in #22
- 1.2.0 - dependency updates by @thiren in #24
Full Changelog: v1.1.2...v1.2.0
v1.1.3
Fixing an issue where some mongo aggregates were marked as unsafe, specifically queries with $merge (was looking for $mergeObjects). Also added support to tell the library if it should throw on unsafe or not.