github Automattic/mongoose 9.12.3

one hour ago

9.12.3 / 2026-11-20

  • fix(model): match pathsToSkip string paths exactly in Model.validate() #16706 NotAFlightRisk
  • fix(query): avoid casting $expr $in search value when it is an expression #16709 kwy404
  • fix(update): run update validators on mixed paths in subdocuments #16708 #16707 lazerg
  • fix(documentarray): respect castNonArrays path option on document arrays #16685 yxshee
  • types(schema): add removeVirtual() to Schema #16722 farisbasha
  • docs(document): correct checkKeys default for save() #16716 phatstraws
  • docs: fix typos in comments, tests, and typings #16714 ninglinLiu

Don't miss a new mongoose release

NewReleases is sending notifications on new releases.