github Automattic/mongoose 8.18.1

one day ago

8.18.1 / 2025-09-08

  • types: correct type inference for maps of maps #15602
  • types(model): copy base model statics onto discriminator model #15623 #15600
  • types: fix types for a string of enums #15605 ruiaraujo
  • types(SchemaOptions): disallow versionKey: true, which fails at runtime #15606
  • docs(typescript): add example explaining how to use query helper overrides for handling lean() #15622 #15601
  • docs(transactions): add note about nested transactions #15624

Don't miss a new mongoose release

NewReleases is sending notifications on new releases.