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
28 changes: 14 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tango/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
)
from .webhooks.receiver import Delivery, WebhookReceiver

__version__ = "1.1.1"
__version__ = "1.1.2"
__all__ = [
"TangoClient",
"TangoAPIError",
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading