From fe85a40499ddcd29b8170e685f0aebc2e04460dc Mon Sep 17 00:00:00 2001 From: "V. David Zvenyach" Date: Thu, 4 Jun 2026 10:15:18 -0500 Subject: [PATCH] chore(release): v1.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Promotes [Unreleased] to [1.1.2] - 2026-06-04, covering the changes that landed since v1.1.1: - get_entity_budget_flows() now paginated + accepts fiscal_year (#41) - Budget surface documented in docs/API_REFERENCE.md (#41) - strict-mypy burn-down across tango/shapes/ (#37) — mypy is now a hard gate in lint.yml - CI runtimes bumped off Node 20 (#36) Bumps pyproject.toml + tango/__init__.py from 1.1.1 → 1.1.2 and refreshes uv.lock with the new project version. Co-Authored-By: Claude Opus 4.7 (1M context) --- CHANGELOG.md | 28 ++++++++++++++-------------- pyproject.toml | 2 +- tango/__init__.py | 2 +- uv.lock | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd3fee4..d0d2461 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.1.2] - 2026-06-04 + ### Changed - `get_entity_budget_flows()` now exposes the backend's standard page/limit pagination and `fiscal_year` filter, and returns @@ -16,6 +18,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 to narrow by fiscal year. Callers that were indexing `result["results"]` on the old return value should switch to `result.results` (and can now use `result.next` / `page=` to walk further pages). +- Completed the strict-`mypy` burn-down across `tango/shapes/` (parser, + generator, factory, schema). All changes are type-annotation/typing + corrections with no runtime behavior change, except: + - `FieldSchema.nested_model` is now typed `type | str | None` (it always + accepted string model names from the explicit schemas; the annotation was + wrong). `ModelFactory.validate_data` and `ShapeParser._validate_field_spec` + likewise accept `type | str` for the model argument. + - Removed two dead `elif field_spec.is_wildcard:` branches (in + `TypeGenerator.generate_type` and `ModelFactory.create_instance`) and the + now-orphaned `_parse_nested_wildcard` helper. These were unreachable — + wildcard field specs are fully handled by the top-of-loop branch that + `continue`s before reaching them — so removal is behavior-preserving. ### Docs - `docs/API_REFERENCE.md` now documents the Budget surface that shipped in @@ -33,20 +47,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `mypy` is now a **hard gate** in `lint.yml` (no longer advisory). The `tango/` package type-checks cleanly under strict mypy. -### Changed -- Completed the strict-`mypy` burn-down across `tango/shapes/` (parser, - generator, factory, schema). All changes are type-annotation/typing - corrections with no runtime behavior change, except: - - `FieldSchema.nested_model` is now typed `type | str | None` (it always - accepted string model names from the explicit schemas; the annotation was - wrong). `ModelFactory.validate_data` and `ShapeParser._validate_field_spec` - likewise accept `type | str` for the model argument. - - Removed two dead `elif field_spec.is_wildcard:` branches (in - `TypeGenerator.generate_type` and `ModelFactory.create_instance`) and the - now-orphaned `_parse_nested_wildcard` helper. These were unreachable — - wildcard field specs are fully handled by the top-of-loop branch that - `continue`s before reaching them — so removal is behavior-preserving. - ## [1.1.1] - 2026-05-29 ### Removed diff --git a/pyproject.toml b/pyproject.toml index 62409fc..61e1b9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "tango-python" -version = "1.1.1" +version = "1.1.2" description = "Python SDK for the Tango API" readme = "README.md" requires-python = ">=3.12" diff --git a/tango/__init__.py b/tango/__init__.py index 861f96b..414cd0d 100644 --- a/tango/__init__.py +++ b/tango/__init__.py @@ -44,7 +44,7 @@ ) from .webhooks.receiver import Delivery, WebhookReceiver -__version__ = "1.1.1" +__version__ = "1.1.2" __all__ = [ "TangoClient", "TangoAPIError", diff --git a/uv.lock b/uv.lock index 250686b..abb9ca7 100644 --- a/uv.lock +++ b/uv.lock @@ -515,7 +515,7 @@ wheels = [ [[package]] name = "tango-python" -version = "1.1.1" +version = "1.1.2" source = { editable = "." } dependencies = [ { name = "httpx" },