Skip to content

Commit

Permalink
chore: release 6.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jul 26, 2022
1 parent 204bef9 commit f5ee642
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,18 @@
6.5.0 / 2022-07-26
==================
* perf(document): avoid creating unnecessary empty objects when creating a state machine #11988
* feat: upgrade mongodb driver -> 4.8.1 #12103 [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)
* feat(model): allow passing timestamps option to Model.bulkSave(...) #12082 [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez)
* feat(model): add castObject() function that casts a POJO to the model's schema #11945
* feat(document): add $inc() helper that increments numeric paths #12115
* feat(schema): add schema level lean option [IslandRhythms](https://github.com/IslandRhythms)
* feat(schema): add global id option to disable id on schemas #12067 [IslandRhythms](https://github.com/IslandRhythms)
* fix(connection): re-run Model.init() if re-connecting after explicitly closing a connection #12130
* feat(model): add applyDefaults() helper that allows applying defaults to document or POJO #11945
* feat(model): allow calling hydrate() with { setters: true } #11653
* feat(model): add hydrate option to Model.watch() to automatically hydrate fullDocument #12121
* feat(types): add support for automatically typed virtuals in schemas #11908 [mohammad0-0ahmad](https://github.com/mohammad0-0ahmad)

6.4.7 / 2022-07-25
==================
* fix(virtualtype): use $locals for default virtual getter/setter rather than top-level doc #12124
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "mongoose",
"description": "Mongoose MongoDB ODM",
"version": "6.4.7",
"version": "6.5.0",
"author": "Guillermo Rauch <guillermo@learnboost.com>",
"keywords": [
"mongodb",
Expand Down

3 comments on commit f5ee642

@fredkilbourn
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the 6.5.0 Mongoose release upgrading to the 4.8.x MongoDB node driver, is MongoDB 6.0 server supported?

@vkarpov15
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fredkilbourn
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok - i knew the driver was compatible now just wanted to make sure there wasn't any special issue with Mongoose itself. Thanks. Also might want to update here as this is what prompted my question: https://mongoosejs.com/docs/compatibility.html

Please sign in to comment.