Skip to content

Commit 4aceca4

Browse files
committed
Feat: v0.2.0
1 parent 3333333 commit 4aceca4

3 files changed

Lines changed: 48 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
environment: pypi
15+
permissions:
16+
id-token: write
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.12"
22+
- name: Install build tools
23+
run: pip install build
24+
- name: Build
25+
run: python -m build
26+
- name: Publish to PyPI
27+
uses: pypa/gh-action-pypi-publish@release/v1
28+
with:
29+
password: ${{ secrets.PYPI_API_TOKEN }}

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,24 @@ All notable changes to the `textql` Python SDK will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.2.0] — 2026-05-14
9+
10+
### Added
11+
- Chat resource: `list`, `create`, `get`, `stream` (SSE), `cancel`.
12+
- Connectors resource: `list`.
13+
- Playbooks resource: `list`, `create`, `get`, `update`, `deploy`, `delete`, `run`.
14+
- Sandbox resource: `start`, `status`, `stop`, `execute`, `query`, `upload_file`.
15+
- SSE streaming via `Stream` iterator with context manager support.
16+
- Multipart file upload support for chat and sandbox.
17+
- Automatic error mapping to typed exceptions (`NotFoundError`, `RateLimitError`, etc.).
18+
- Bare hostname support for `base_url` (e.g. `app.textql.com`).
19+
- Integration test suite against staging.
20+
21+
### Changed
22+
- Default `base_url` from `https://api.textql.com` to `https://app.textql.com`.
23+
- All endpoints target the v2 REST API (`/v2/*`).
24+
25+
## [0.1.0] — 2026-05-13
926

1027
### Added
1128
- Initial repository scaffolding: `pyproject.toml`, `src/textql/` package layout, exception hierarchy, sync client stub.

src/textql/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.0"
1+
__version__ = "0.2.0"

0 commit comments

Comments
 (0)