diff --git a/.changeset/perfect-trains-leave.md b/.changeset/perfect-trains-leave.md deleted file mode 100644 index 786928a..0000000 --- a/.changeset/perfect-trains-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@lowdefy/community-plugin-mongodb': patch ---- - -Update dependency mongodb to v6.3.0. diff --git a/.changeset/shaggy-ants-pretend.md b/.changeset/shaggy-ants-pretend.md deleted file mode 100644 index 9fda420..0000000 --- a/.changeset/shaggy-ants-pretend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@lowdefy/community-plugin-mongodb': patch ---- - -Handle upsert true for error throw. diff --git a/.changeset/short-rice-develop.md b/.changeset/short-rice-develop.md deleted file mode 100644 index 0e1667b..0000000 --- a/.changeset/short-rice-develop.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@lowdefy/community-plugin-mongodb': major ---- - -The `MongoDBUpdateOne` request now throws an error if no document was matched and updated. This behaviour can be disabled by setting the new `disableNoMatchError` property. - diff --git a/plugins/community-plugin-mongodb/CHANGELOG.md b/plugins/community-plugin-mongodb/CHANGELOG.md index b873969..cd28c8b 100644 --- a/plugins/community-plugin-mongodb/CHANGELOG.md +++ b/plugins/community-plugin-mongodb/CHANGELOG.md @@ -1,5 +1,16 @@ # @lowdefy/community-plugin-mongodb +## 2.0.0 + +### Major Changes + +- a3a3b2c: The `MongoDBUpdateOne` request now throws an error if no document was matched and updated. This behaviour can be disabled by setting the new `disableNoMatchError` property. + +### Patch Changes + +- 0ed171e: Update dependency mongodb to v6.3.0. +- 4c3ad0c: Handle upsert true for error throw. + ## 1.4.1 ### Patch Changes diff --git a/plugins/community-plugin-mongodb/package.json b/plugins/community-plugin-mongodb/package.json index 33b15ec..edf285a 100644 --- a/plugins/community-plugin-mongodb/package.json +++ b/plugins/community-plugin-mongodb/package.json @@ -1,6 +1,6 @@ { "name": "@lowdefy/community-plugin-mongodb", - "version": "1.4.1", + "version": "2.0.0", "license": "MIT", "type": "module", "exports": {