Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`).
Expand Down Expand Up @@ -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]

Expand Down
5 changes: 4 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
@@ -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).
Expand Down Expand Up @@ -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
Expand Down
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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()

Expand Down Expand Up @@ -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)

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion domino/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.1.0"
__version__ = "2.2.0"
Binary file removed tests/.DS_Store
Binary file not shown.
Loading