-
Notifications
You must be signed in to change notification settings - Fork 96
Comparing changes
Open a pull request
base repository: datajoint/datajoint-python
base: v2.2.0
head repository: datajoint/datajoint-python
compare: v2.2.1
- 13 commits
- 7 files changed
- 6 contributors
Commits on Apr 1, 2026
-
github-actions committed
Apr 1, 2026 Configuration menu - View commit details
-
Copy full SHA for fd8546d - Browse repository at this point
Copy the full SHA fd8546dView commit details -
Merge pull request #1420 from datajoint/update-version-2.2.0
[github-actions]Update version.py to v2.2.0
Configuration menu - View commit details
-
Copy full SHA for 629c3c7 - Browse repository at this point
Copy the full SHA 629c3c7View commit details -
docs: add PostgreSQL configuration to CONTRIBUTING.md
- Document PostgreSQL 15+ as supported backend alongside MySQL 8+ - Add PostgreSQL environment variables (DJ_PG_HOST, DJ_PG_PORT, etc.) - Document backend-parameterized tests and how to run per-backend - Show pip install with [postgres] extra for psycopg2-binary - Add PostgreSQL to external containers instructions Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e957ef - Browse repository at this point
Copy the full SHA 1e957efView commit details
Commits on Apr 2, 2026
-
fix: use absolute URL for CONTRIBUTING.md link in README
Relative link works on GitHub but breaks on PyPI, which renders the README without access to other repo files. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08886ad - Browse repository at this point
Copy the full SHA 08886adView commit details
Commits on Apr 6, 2026
-
feat: add dbname setting for PostgreSQL connections
Add database.dbname config option (env: DJ_DBNAME) to specify which PostgreSQL database to connect to. Defaults to 'postgres' if not set (existing behavior preserved). Required where the primary database has a non-default name. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58de0f3 - Browse repository at this point
Copy the full SHA 58de0f3View commit details -
refactor: extract _build_connect_kwargs, add dbname to Connection.__i…
…nit__, add tests - Extract duplicated connect kwargs construction into _build_connect_kwargs() - Add dbname as explicit keyword argument to Connection.__init__() for programmatic use (explicit arg overrides config value) - Add 5 unit tests for dbname settings (default, env var, config file, dict access, override context manager) - Bump version to 2.2.1 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bdbec08 - Browse repository at this point
Copy the full SHA bdbec08View commit details -
style: apply ruff-format to dbname changes
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35e93b0 - Browse repository at this point
Copy the full SHA 35e93b0View commit details
Commits on Apr 7, 2026
-
Address PR review: rename database.dbname → database.name, deprecate …
…database_prefix Review feedback from PR #1426: 1. Rename setting to database.name (env: DJ_DATABASE_NAME) to match section naming style and avoid stutter. Connection kwarg is database_name. Adapter still receives dbname (psycopg2's parameter). 2. Deprecate database_prefix — emit DeprecationWarning when non-empty. Will be removed in DataJoint 2.3. database.name is the replacement. 3. Revert version.py to 2.2.0 — release workflow owns version bumps. 4. Warn when database.name is set with MySQL backend (MySQL does not support database selection via this parameter). 5. Include database name in Connection.__repr__ and log message when set. Format: user@host:port/database_name Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78a94fb - Browse repository at this point
Copy the full SHA 78a94fbView commit details -
style: fix line length in Connection.__repr__
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e3d39b - Browse repository at this point
Copy the full SHA 8e3d39bView commit details -
Merge pull request #1422 from datajoint/fix/readme-contributing-link
Fix CONTRIBUTING.md link for PyPI
Configuration menu - View commit details
-
Copy full SHA for 367f5d1 - Browse repository at this point
Copy the full SHA 367f5d1View commit details
Commits on Apr 8, 2026
-
refactor: move database_prefix deprecation warning to Schema.activate()
Move the DeprecationWarning from Pydantic model validator (fires at config load time with unhelpful stacklevel) to Schema.activate() where database_prefix is consumed. The warning now points to the user's dj.Schema(...) call — exactly where they need to make a change. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e24605d - Browse repository at this point
Copy the full SHA e24605dView commit details -
style: remove extra blank line in settings.py
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eabcfb0 - Browse repository at this point
Copy the full SHA eabcfb0View commit details -
Merge pull request #1426 from kushalbakshi/master
feat: add database.dbname setting for PostgreSQL connections
Configuration menu - View commit details
-
Copy full SHA for 7e825eb - Browse repository at this point
Copy the full SHA 7e825ebView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.2.0...v2.2.1