From b3fb1ef07cd8011f25e2d56298e82f787fc1a019 Mon Sep 17 00:00:00 2001 From: Bira Ignacio Date: Wed, 15 Jul 2026 15:04:52 -0400 Subject: [PATCH 1/3] chore: create new 2.2.0 release --- CHANGELOG.md | 23 +++++++++++++++-------- README.adoc | 2 +- README.md | 20 ++++++++++---------- docs/source/conf.py | 2 +- domino/_version.py | 2 +- 5 files changed, 28 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72c25d5b..4a087ee2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,16 @@ All notable changes to the `python-domino` library will be documented in this fi ## [Unreleased] ### Added -* `scripts/check_snake_case.py` — AST-based lint script that catches camelCase parameter names in new code. -* GitHub Actions CI workflow (`.github/workflows/ci.yml`) that runs lint, type-checking, and tests on every PR and push to `master`. All checks must pass before a PR can be merged. -* `pyproject.toml` with `isort` and `black` configuration (`profile = "black"`, `target-version = ["py310"]`). + +### Changed + +## [2.2.0] + +### Added +* `app_publish()` support for `branch`, `commitId`, and `appId`. (#259) +* `job_start(branch=...)`, public `app_id` property, `app_get_status()`, and `files_download()`. (#266) +* GitHub Actions CI, snake_case lint script, and `pyproject.toml`. (#265) +* Unit test coverage for all public API methods. (#261) ### Deprecated The following public API parameters have been renamed to follow PEP 8 (`snake_case`). @@ -40,11 +47,11 @@ removed in the next major version. | `app_unpublish` | `appId` | `app_id` | ### Changed -* Resolved all 38 pre-existing `mypy` type errors across `domino/`, bringing the codebase to a clean `mypy` pass with `--python-version=3.10`. -* Resolved all `flake8`, `isort`, and `black` formatting errors across the codebase. -* Updated `.pre-commit-config.yaml` to latest tool versions: `pre-commit-hooks` v5.0.0, `flake8` 7.2.0, `isort` 5.13.2, `black` 25.1.0, `mypy` v1.15.0. Added the `check-snake-case` hook. -* Updated `tox.ini` to run the full test suite across Python 3.10, 3.11, and 3.12 (previously only ran two files on Python 3.9). -* Updated `pytest.ini` with coverage configuration. +* Fixed `app_publish()` NameError when building request payload. (#258) +* Fixed bugs in dataset removal, relogin handling, `project_id` errors, upload session handling, `trigger_alert()` payload, and API key auth. (#261) +* Fixed `_validate_hardware_tier_id()` accepting dict tier input. (#266) +* Resolved mypy, flake8, isort, and black issues; updated pre-commit, tox, and pytest. (#265) +* Pinned `typing-extensions` to `~=4.13`. (#263) ## [2.1.0] diff --git a/README.adoc b/README.adoc index 6f9f3a12..0064f421 100644 --- a/README.adoc +++ b/README.adoc @@ -1,6 +1,6 @@ = python-domino -:latest-version: 2.1.0 +:latest-version: 2.2.0 :python-domino-repo: https://github.com/dominodatalab/python-domino This library provides bindings for the Domino APIs. It ships with the Domino Standard Environment (DSE). diff --git a/README.md b/README.md index 150601f7..3dbc9518 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ See this documentation for details about the APIs: - [Legacy APIs](https://dominodatalab.github.io/api-docs/) -The latest released version of `python-domino` is `2.1.0`. +The latest released version of `python-domino` is `2.2.0`. # Version compatibility matrix @@ -134,7 +134,7 @@ See # Budgets and Billing Tags See -[`example_budget_manager.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.1.0/examples/example_budget_manager.py) +[`example_budget_manager.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.2.0/examples/example_budget_manager.py) for example code. ### budget_defaults_list() @@ -304,7 +304,7 @@ Requires Admin permission ## Projects See -[`example_projects_usage.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.1.0/examples/example_projects_usage.py) +[`example_projects_usage.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.2.0/examples/example_projects_usage.py) for example code. ### project_create_v4(project_name, owner_id, owner_username, description, collaborators, tags, billing_tag, visibility=PUBLIC) @@ -362,7 +362,7 @@ project, the packages and libraries it uses, or the source of the data within. See -[`example_projects_usage.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.1.0/examples/example_projects_usage.py) +[`example_projects_usage.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.2.0/examples/example_projects_usage.py) for example code. ### tags_list(\*project_id) @@ -422,9 +422,9 @@ Remove a tag from a project. See these code example files: -- [`start_run_and_check_status.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.1.0/examples/start_run_and_check_status.py) +- [`start_run_and_check_status.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.2.0/examples/start_run_and_check_status.py) -- [`export_runs.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.1.0/examples/export_runs.py) +- [`export_runs.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.2.0/examples/export_runs.py) ### runs_list() @@ -508,9 +508,9 @@ Get `stdout` emitted by a particular execution. See these code example files: -- [`upload_file.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.1.0/examples/upload_file.py) +- [`upload_file.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.2.0/examples/upload_file.py) -- [`upload_and_run_file_and_download_results.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.1.0/examples/upload_and_run_file_and_download_results.py) +- [`upload_and_run_file_and_download_results.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.2.0/examples/upload_and_run_file_and_download_results.py) ### files_list(commitId, path) @@ -787,7 +787,7 @@ through the Domino UI or through workload executions. See [Domino Datasets](https://docs.dominodatalab.com/en/latest/user_guide/0a8d11/datasets-overview/) for more details, and -[`example_dataset.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.1.0/examples/example_dataset.py) +[`example_dataset.py`](https://github.com/dominodatalab/python-domino/blob/Release-2.2.0/examples/example_dataset.py) for example code. ### datasets_list(project_id=None) @@ -1257,7 +1257,7 @@ command: pip install -e git+https://github.com/dominodatalab/python-domino.git@1.0.6#egg="dominodatalab[airflow]" See also -[example_airflow_dag.py](https://github.com/dominodatalab/python-domino/blob/Release-2.1.0/examples/example_airflow_dag.py) +[example_airflow_dag.py](https://github.com/dominodatalab/python-domino/blob/Release-2.2.0/examples/example_airflow_dag.py) for example code. ## DominoOperator diff --git a/docs/source/conf.py b/docs/source/conf.py index 6e387104..fa9390aa 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -4,7 +4,7 @@ project = "domino" author = "Domino Data Lab Inc." copyright = "2025, Domino Data Lab Inc." -release = "2.1.0" +release = "2.2.0" # -- General configuration --------------------------------------------------- extensions = [ diff --git a/domino/_version.py b/domino/_version.py index 9aa3f903..8a124bf6 100644 --- a/domino/_version.py +++ b/domino/_version.py @@ -1 +1 @@ -__version__ = "2.1.0" +__version__ = "2.2.0" From fb11057341f3d20c42c7b9b17e45a81d789451b9 Mon Sep 17 00:00:00 2001 From: Bira Ignacio Date: Wed, 15 Jul 2026 15:05:48 -0400 Subject: [PATCH 2/3] docs: add 6.3.0 compatibility matrix entry --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3dbc9518..5ef6310c 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ Domino: | 5.11.0 or higher | [1.4.1](https://github.com/dominodatalab/python-domino/archive/refs/tags/Release-1.4.1.zip) or Higher | | 6.0.0 or higher | [1.4.8](https://github.com/dominodatalab/python-domino/archive/refs/tags/Release-1.4.8.zip) or Higher | | 6.2.0 or higher | [2.0.0](https://github.com/dominodatalab/python-domino/archive/refs/tags/Release-2.0.0.zip) or Higher | +| 6.3.0 or higher | [2.1.0](https://github.com/dominodatalab/python-domino/archive/refs/tags/Release-2.1.0.zip) or Higher | # Development From 5fa471791095c31e00579c2b99783e386afa3988 Mon Sep 17 00:00:00 2001 From: Bira Ignacio Date: Wed, 15 Jul 2026 15:07:19 -0400 Subject: [PATCH 3/3] chore: update adoc with compat matrix --- README.adoc | 3 +++ tests/.DS_Store | Bin 6148 -> 0 bytes 2 files changed, 3 insertions(+) delete mode 100644 tests/.DS_Store diff --git a/README.adoc b/README.adoc index 0064f421..824274c6 100644 --- a/README.adoc +++ b/README.adoc @@ -44,6 +44,9 @@ The `python-domino` library is compatible with different versions of Domino: | 6.2.0 or higher | {python-domino-repo}/archive/2.0.0.zip[2.0.0] or Higher + +| 6.3.0 or higher +| {python-domino-repo}/archive/2.1.0.zip[2.1.0] or Higher |=== == Development diff --git a/tests/.DS_Store b/tests/.DS_Store deleted file mode 100644 index f79410bd5b66e9e22bdf2122f3ac760f89bc2106..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK%}T>S5T3QwrWBzEMUM+!3%0dX#7n641&ruHr8cH$FlI}W+CwSisxRc5_&m<+ zZoq25n~0r(-EVe&b~7Jje*i%Ara=p!4gd}|LP1J_kh##cW`hZZo?{FtB>pTJ`%%F} zf6+wWUV#MeU;-h0`hMl3=gl8SVUjkR?_#Y~Uf-xV6{qIhcn@mkrNeZZ^oElw8l5W@ z`MEyyFT&AmP~SRHaXJj+(L^VN!3aaHFT*%cv!0s9L85a#<8Z1@bx_}#&pX|QY_$&; z4LLt*Hyg5Z&|NI5&i3B^@!8-pdWzMHVNxLJS~e}_@QTWpqMp4;9I5yoJ$Y6h&BzQe z1Iz$3uwo3@gTSe+SlwJMGr$b|%mD2V5*wjwF*B&Q4(#aqO#U(<3F`EgAe0teivTlE2xvmMV+MYKfe+)%OsW6?