From 6b9b6eb8c09f4a66da1acc46d9ae1127a09de804 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Thu, 7 Mar 2024 17:48:12 -0500 Subject: [PATCH] chore: release 2.0.0 --- CHANGELOG.md | 4 ++++ package.json | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5cf0c9..cd9c701 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +2.0.0 / 2024-03-07 +================== + * BREAKING CHANGE: call getters correctly on array elements for Mongoose 7.5.0, require Mongoose 7.5.0 #30 + 1.1.0 / 2023-06-01 ================== * feat: apply getters to schemas with discriminator #26 [remcorakers](https://github.com/remcorakers) diff --git a/package.json b/package.json index f5aeeb0..3111db2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mongoose-lean-getters", - "version": "1.2.0", + "version": "2.0.0", "description": "Apply getters to the results of mongoose queries when using `.lean()`", "main": "index.js", "scripts": { @@ -34,10 +34,10 @@ "eslint": "5.16.0", "istanbul": "0.4.5", "mocha": "5.2.x", - "mongoose": ">= 7.1.0" + "mongoose": ">= 7.5.0" }, "peerDependencies": { - "mongoose": ">= 7.1.0" + "mongoose": ">= 7.5.0" }, "author": "Valeri Karpov ", "license": "Apache 2.0",