From 0e68bfd6ea9d05b515e0afef5cb05e4601f5d97f Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 28 Jul 2023 09:28:45 +0300 Subject: [PATCH] chore(release): @casl/mongoose@7.2.1 [skip ci] --- packages/casl-mongoose/CHANGELOG.md | 7 +++++++ packages/casl-mongoose/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/casl-mongoose/CHANGELOG.md b/packages/casl-mongoose/CHANGELOG.md index 88416ffe0..108f5eeed 100644 --- a/packages/casl-mongoose/CHANGELOG.md +++ b/packages/casl-mongoose/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## [7.2.1](https://github.com/stalniy/casl/compare/@casl/mongoose@7.2.0...@casl/mongoose@7.2.1) (2023-07-28) + + +### Bug Fixes + +* changes empty result query to be $expr with object, otherwise mongoose throws error ([9eae155](https://github.com/stalniy/casl/commit/9eae155cb730d6f23bc18808fee2eb4cbf5075b5)) + # [7.2.0](https://github.com/stalniy/casl/compare/@casl/mongoose@7.1.3...@casl/mongoose@7.2.0) (2023-07-22) diff --git a/packages/casl-mongoose/package.json b/packages/casl-mongoose/package.json index 1c87e94c7..a9ea6aecb 100644 --- a/packages/casl-mongoose/package.json +++ b/packages/casl-mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@casl/mongoose", - "version": "7.2.0", + "version": "7.2.1", "description": "Allows to query accessible records from MongoDB based on CASL rules", "main": "dist/es6c/index.js", "es2015": "dist/es6m/index.mjs",