What's Changed
Added
-
PostgreSQL backend support — DataJoint now supports PostgreSQL as an alternative to MySQL. Use
dj.config['database.backend'] = 'postgresql'to connect to PostgreSQL databases. (#1338, #1339, #1340) -
Diagram improvements (#1345)
- New
collapse()method for high-level pipeline views - Mermaid output format support via
output='mermaid' - Schema grouping with module labels
- Direction control (
direction='LR'ordirection='TB') - Default diagram direction changed from TB to LR
- New
-
Singleton tables — Support for tables with empty primary keys (#1341)
Changed
- Performance: Lazy-load
deepdiffandtqdmin autopopulate for faster imports (#1349) - Packaging: Switched from setuptools to hatchling for build system (#1358)
Deprecated
- The
migratemodule shows deprecation warning (#1373)
Fixed
- Allow table class names with underscores (with warning) (#1375)
Documentation
- Converted all docstrings to NumPy style (#1378)
Full Changelog: v2.0.2...v2.1.0