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..824274c6 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). @@ -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/README.md b/README.md index 150601f7..5ef6310c 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 @@ -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 @@ -134,7 +135,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 +305,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 +363,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 +423,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 +509,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 +788,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 +1258,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" diff --git a/tests/.DS_Store b/tests/.DS_Store deleted file mode 100644 index f79410bd..00000000 Binary files a/tests/.DS_Store and /dev/null differ