yarn mongoose 9.0.1

5 hours ago

9.0.1 / 2025-12-05

  • perf: use native Buffer.equals() for buffer comparison #15821 AbdelrahmanHafez
  • fix(model): fix overwriteImmutable not working with timestamps: true, add overwriteImmutable types re #15781 #15819 AbdelrahmanHafez
  • fix(bulkWrite): pass overwriteImmutable option to castUpdate fixes #15782 #15781 jhaayushkumar
  • fix(schema): Add enumValues property to Number enum for consistency with String enum #15824 AkaHarshit
  • fix: incorrect variable bug in double casting #15849 #15848 lomesh2312
  • fix: clear timeout in collection operations #15852 techcodie
  • types(query+model): use function overrides instead of | Query<any, any> to support using Query as filter #15791 #15779
  • docs(migrating_to_9): clarify removing next() from pre middleware #15813
  • docs: add dark mode support and CSS improvements #15753
  • docs: Mongoose compatibility page updates #15797 alexbevi
  • docs: Add closing backticks to code block in migration guide #15783 isnifer
  • docs: fix documentation link in connection.js #15804 salittle0

Don't miss a new mongoose release

NewReleases is sending notifications on new releases.