Skip to content

Commit d97680e

Browse files
committed
Release 0.2.1: regenerate from contract sha256:b5774d24bc81
Generated by packages/sdk-generator 1.0.0 from the Desktop Accounting API OpenAPI contract (sha256:b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9, API 1.0.0, 275 operations).
1 parent faec5ca commit d97680e

79 files changed

Lines changed: 407 additions & 407 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.daapi-sdk.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"repository": "DesktopAccountingAPI/quickbooks-desktop-python",
3-
"sdkVersion": "0.2.0",
3+
"sdkVersion": "0.2.1",
44
"generator": {
55
"name": "packages/sdk-generator",
66
"version": "1.0.0"
77
},
88
"contract": {
99
"path": "packages/api-contract/generated/openapi.json",
10-
"sha256": "6f5ac28d7c33ac90aa7e2c15d88efd50e8e41c808bcc5489f0c8b1cb7833326a",
10+
"sha256": "b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9",
1111
"openapi": "3.1.0",
1212
"apiVersion": "1.0.0"
1313
},

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Easier porting from Conductor's `conductor-py`; see "Porting from Conductor" in
1111

1212
## 0.1.0
1313

14-
First release, generated from API version 1.0.0 (contract `sha256:6f5ac28d7c33`, 275 operations).
14+
First release, generated from API version 1.0.0 (contract `sha256:b5774d24bc81`, 275 operations).
1515

1616
- Synchronous `DesktopAccountingApi` and asyncio `AsyncDesktopAccountingApi` clients on httpx, for Python 3.9 to 3.14.
1717
- Every QuickBooks Desktop and platform operation as a typed method (`client.qbd.invoices.create(...)`, `client.end_users.passthrough(...)`), with request and response models in `desktopaccountingapi.types`.

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Because of this, we usually cannot merge pull requests as they are. Open an issu
1616

1717
Open an issue with:
1818

19-
- the SDK version (`0.2.0` or later) and your Python version,
19+
- the SDK version (`0.2.1` or later) and your Python version,
2020
- the operation you called, for example `qbd.invoices.create`,
2121
- the `Daapi-Request-Id` of the failing call (every error exposes it as its request ID),
2222
- what you expected and what happened.

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ The Python client for [Desktop Accounting API](https://www.desktopaccountingapi.
1515
pip install desktopaccountingapi-quickbooks-desktop
1616
```
1717

18-
The current version is **0.2.0**. To pin it exactly:
18+
The current version is **0.2.1**. To pin it exactly:
1919

2020
```sh
21-
pip install "desktopaccountingapi-quickbooks-desktop==0.2.0"
22-
uv add "desktopaccountingapi-quickbooks-desktop==0.2.0"
23-
poetry add "desktopaccountingapi-quickbooks-desktop==0.2.0"
21+
pip install "desktopaccountingapi-quickbooks-desktop==0.2.1"
22+
uv add "desktopaccountingapi-quickbooks-desktop==0.2.1"
23+
poetry add "desktopaccountingapi-quickbooks-desktop==0.2.1"
2424
```
2525

2626
The distribution is `desktopaccountingapi-quickbooks-desktop`; the import package is `desktopaccountingapi`.
@@ -493,7 +493,7 @@ The [migration guide](https://www.desktopaccountingapi.com/docs/get-started/migr
493493
- The Python, Node.js, .NET and Java SDKs and the [MCP server](https://github.com/DesktopAccountingAPI/quickbooks-desktop-mcp) are released together with the same version number, generated from the same API contract.
494494
- Every release is listed in [CHANGELOG.md](https://github.com/DesktopAccountingAPI/quickbooks-desktop-python/blob/main/CHANGELOG.md) and tagged `v<version>` on GitHub.
495495
- The API is versioned in its path (`/v1`). Within `v1` the API only adds operations, fields, enum values and error codes, and the SDK tolerates all of them, so older SDK versions keep working.
496-
- Each release is generated from one version of the API contract; `.daapi-sdk.json` and `desktopaccountingapi.CONTRACT_SHA256` record its digest (`sha256:6f5ac28d7c33...` for this release), `desktopaccountingapi.API_VERSION` the API version and `desktopaccountingapi.__version__` the package version.
496+
- Each release is generated from one version of the API contract; `.daapi-sdk.json` and `desktopaccountingapi.CONTRACT_SHA256` record its digest (`sha256:b5774d24bc81...` for this release), `desktopaccountingapi.API_VERSION` the API version and `desktopaccountingapi.__version__` the package version.
497497

498498
## Support
499499

@@ -507,7 +507,7 @@ The [migration guide](https://www.desktopaccountingapi.com/docs/get-started/migr
507507

508508
The toolchain is pinned in `mise.toml`. `mise run check` installs the pinned dev tools with uv and runs ruff, `mypy --strict`, the unit tests, the cross-language conformance suite (against `conformance/mock-server.mjs`), the example type checks, the README samples (`mypy --strict` on every Python block of this file, and the quickstart against the mock server) and a build plus clean install of the wheel. Set `UV_PYTHON=3.9` (or any supported version) to run it on another interpreter.
509509

510-
To install from source: `pip install "git+https://github.com/DesktopAccountingAPI/[email protected].0"`. The code under `src/desktopaccountingapi/types` and `src/desktopaccountingapi/resources`, `api.md`, `conformance/fixtures` and this README are generated; see [CONTRIBUTING.md](https://github.com/DesktopAccountingAPI/quickbooks-desktop-python/blob/main/CONTRIBUTING.md).
510+
To install from source: `pip install "git+https://github.com/DesktopAccountingAPI/[email protected].1"`. The code under `src/desktopaccountingapi/types` and `src/desktopaccountingapi/resources`, `api.md`, `conformance/fixtures` and this README are generated; see [CONTRIBUTING.md](https://github.com/DesktopAccountingAPI/quickbooks-desktop-python/blob/main/CONTRIBUTING.md).
511511

512512
## License
513513

‎api.md‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
55

66
[project]
77
name = "desktopaccountingapi-quickbooks-desktop"
8-
version = "0.2.0"
8+
version = "0.2.1"
99
description = "Python client for Desktop Accounting API, the REST API for QuickBooks Desktop."
1010
readme = "README.md"
1111
license = "MIT"

‎src/desktopaccountingapi/_client.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/desktopaccountingapi/_error_codes.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""SDK version and the contract it was generated from."""
22

3-
__version__ = "0.2.0"
3+
__version__ = "0.2.1"
44

55
API_VERSION = "1.0.0"
66
"""API version (contract ``info.version``) this SDK release was generated from."""
77

8-
CONTRACT_SHA256 = "6f5ac28d7c33ac90aa7e2c15d88efd50e8e41c808bcc5489f0c8b1cb7833326a"
8+
CONTRACT_SHA256 = "b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9"
99
"""SHA-256 digest of the OpenAPI contract this SDK release was generated from."""
1010

1111
USER_AGENT = f"desktopaccountingapi-python/{__version__}"

‎src/desktopaccountingapi/resources/__init__.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)