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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 0.11.2 (2026-11-17)

Follows API 1.21.3. The saved spec has 165 operations and 175 schemas, as in 0.11.1, and the models are regenerated from it.
No method, argument or field changed.

- The generated docstring of `Subscription.ends_at` says it is `None` whenever `entitled` is false, as after the plan ended.
The server sent that at 1.21.2 already.
- The package metadata names its licence as `License-Expression: MIT`, from `license = "MIT"` and `license-files` (PEP 639).
The licence classifier is gone, and the build needs hatchling 1.27 or later.
- The Documentation link of the package points at https://faxforagents.com/docs/sdks/python/.

## 0.11.1 (2026-11-17)

Follows API 1.21.2. The saved spec has 165 operations and 175 schemas, as in 0.11.0, and the models are regenerated from it.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ ruff check src tests && mypy src
sh scripts/truthcheck.sh
```

`spec/openapi.yaml` follows the public document at API version 1.21.2. It has the same 165 operations and no schema that document lacks.
`spec/openapi.yaml` follows the public document at API version 1.21.3. It has the same 165 operations and no schema that document lacks.
It also declares fields a route returns beyond the public schemas, in `InboxItemSummary` and `ExtractionPage`.
0.5.0 removed the two validation error schemas, because the server never sent that shape.
0.6.0 removed two cost fields of an extraction, because the server stopped sending them.
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"

[project]
name = "faxforagents"
version = "0.11.1"
version = "0.11.2"
description = "Python client for Fax for Agents: a fax API, a hosted MCP server and SDKs built so AI agents can send and receive faxes."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Fax for Agents", email = "hello@faxforagents.com" }]
keywords = ["fax", "fax-api", "ai-agents", "mcp", "agents", "api-client", "sdk", "webhooks"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
Expand Down Expand Up @@ -49,7 +49,7 @@ faxforagents = "faxforagents.cli:main"

[project.urls]
Homepage = "https://faxforagents.com"
Documentation = "https://faxforagents.com/docs"
Documentation = "https://faxforagents.com/docs/sdks/python/"
Pricing = "https://faxforagents.com/pricing"
Dashboard = "https://app.faxforagents.com"
Repository = "https://github.com/faxforagents/sdk-python"
Expand Down
6 changes: 3 additions & 3 deletions spec/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Fax for Agents API, refreshed from the public document of https://github.com/faxforagents/openapi at API 1.21.2.
# Fax for Agents API, refreshed from the public document of https://github.com/faxforagents/openapi at API 1.21.3.
# An operation reaches every schema here. 0.10.0 dropped 70 earlier schemas that no operation reached.
# Existing SDK routes, model names and serializer additions are retained.
openapi: 3.1.0
Expand Down Expand Up @@ -27,7 +27,7 @@ info:
x-logo:
url: https://faxforagents.com/brand/logo-512.png
altText: Fax for Agents
version: 1.21.2
version: 1.21.3
servers:
- url: https://api.faxforagents.com
description: Production (live and test keys)
Expand Down Expand Up @@ -16246,7 +16246,7 @@ components:
title: Ends At
description: When the subscription ends without being charged again. That is cancel_at when it comes no
later than current_period_end, or current_period_end after a cancel at the period's end. Null while
it renews.
it renews, and whenever entitled is false, as after it ended.
current_period_end:
anyOf:
- type: string
Expand Down
2 changes: 1 addition & 1 deletion src/faxforagents/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from __future__ import annotations

__version__ = "0.11.1"
__version__ = "0.11.2"

from faxforagents._http import ORDER_TOKEN_HEADER
from faxforagents.async_client import AsyncClient
Expand Down
4 changes: 2 additions & 2 deletions src/faxforagents/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Typed models of the Fax for Agents API.

GENERATED by scripts/gen_models.py from spec/openapi.yaml (API version 1.21.2). Do not edit by hand.
GENERATED by scripts/gen_models.py from spec/openapi.yaml (API version 1.21.3). Do not edit by hand.
Money fields ending in ``_micro`` are integer USD micro-units (39000 is $0.039). Timestamps are ISO 8601
strings in UTC. Response models accept fields the API adds later. Request models refuse unknown fields.
"""
Expand Down Expand Up @@ -1622,7 +1622,7 @@ class Subscription(_Response):
stripe_price_id: str | None
cancel_at_period_end: bool
cancel_at: str | None = Field(None, description="When Stripe is set to end the subscription. A cancel in the billing portal sets it to the end of the period and leaves cancel_at_period_end false.")
ends_at: str | None = Field(None, description="When the subscription ends without being charged again. That is cancel_at when it comes no later than current_period_end, or current_period_end after a cancel at the period's end. Null while it renews.")
ends_at: str | None = Field(None, description="When the subscription ends without being charged again. That is cancel_at when it comes no later than current_period_end, or current_period_end after a cancel at the period's end. Null while it renews, and whenever entitled is false, as after it ended.")
current_period_end: str | None
entitled: bool
created_at: str
Expand Down
Loading