2026.5.18
- Add Python 3.14 support (#768, @DanielYang59).
- Optimize hot paths across
monty.json,monty.collections,monty.dev,monty.inspect, andmonty.io(#791). - Introduce
monty.json.TypeHandler+register/unregisterplugin API so third-party packages can teachMontyEncoder/MontyDecoderabout custom types without forking. Built-in types (datetime, uuid, pathlib, numpy, torch, pandas, pint, bson) are migrated to handlers with identical dict shapes. - Add serialization support for
bson.dbref.DBRef(collection, id, optional database, optional extras; nested ids recurse throughMontyDecoder). Closes #746, @mkhorton. - Deprecate
monty.fractions.gcd,monty.fractions.lcm,monty.functools.nCr,monty.functools.nPr, andmonty.string.is_stringin favor of stdlib equivalents. - Modernize type hints to PEP 585/604 and add return type annotations to public functions.