From f8d2721567ef3f0811cf591649e70bea20db68b4 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Wed, 31 Mar 2021 14:25:37 -0400 Subject: [PATCH] chore: release 5.12.3 --- History.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/History.md b/History.md index a209cb2ca60..cd3daf62008 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,15 @@ +5.12.3 / 2021-03-31 +=================== + * fix: avoid setting schema-level collation on text indexes #10044 [IslandRhythms](https://github.com/IslandRhythms) + * fix(query): add `writeConcern()` method to avoid writeConcern deprecation warning #10009 + * fix(connection): use queueing instead of event emitter for `createCollection()` and other helpers to avoid event emitter warning #9778 + * fix(connection): scope `Connection#id` to Mongoose instance so id always lines up with `mongoose.connections` index #10025 [IslandRhythms](https://github.com/IslandRhythms) + * fix: avoid throwing in `promiseOrCallback()` if 3rd param isn't an EventEmitter #10055 [emrebass](https://github.com/emrebass) + * fix(index.d.ts): add Model as 2nd generic param to `Model.discriminator()` #10054 [coro101](https://github.com/coro101) + * fix(index.d.ts): add docs to `next()` callback for `pre('insertMany')` hooks #10078 #10072 [pezzu](https://github.com/pezzu) + * fix(index.d.ts): add `transform` to PopulateOptions interface #10061 + * fix(index.d.ts): add DocumentQuery type for backwards compatibility #10036 + 5.12.2 / 2021-03-22 =================== * fix(QueryCursor): consistently execute `post('find')` hooks with an array of docs #10015 #9982 [IslandRhythms](https://github.com/IslandRhythms) diff --git a/package.json b/package.json index bcfbeb0af28..a0808b8ebc1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongoose", "description": "Mongoose MongoDB ODM", - "version": "5.12.2", + "version": "5.12.3", "author": "Guillermo Rauch ", "keywords": [ "mongodb",