v8.0.0
Re-written in TypeScript, hopefully with very few disruptive breaking changes.
Build output is ESM first (import { serve } from "express-restify-mongoose") but CJS is also supported (const { serve } = require("express-restify-mongoose/cjs"))
Breaking changes
allowRegexnow defaults tofalseand returns an error when the query includes$regexoptions.accessno longer accepts a callback and be can anasyncfunction instead (or a function that returns aPromise)- Removed
defaultsmethod: apps should define default options and spread them intoserveoptions