Skip to content

Commit 0165ca7

Browse files
cubehouseclaude
andcommitted
chore(release): 2.0.0a1
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 84c70b6 commit 0165ca7

3 files changed

Lines changed: 29 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Changelog
22

3+
## [2.0.0a1] - 2026-04-15
4+
### Added
5+
- MkDocs Material documentation site with full API reference and a cookbook
6+
(recipes for sorted wait times, 7-day schedules, geo-locations grouped by
7+
entity type, every queue variant, and HTTP debugging).
8+
- Top-level exports for `current_wait_time`, `iter_queues`, `parse_api_datetime`.
9+
- Class-level docstrings on every public surface for readable API reference rendering.
10+
- README sections explaining every queue variant (STANDBY, PAID_RETURN_TIME,
11+
BOARDING_GROUP, etc.) and how to enable the httpx logger for HTTP debugging.
12+
13+
### Fixed
14+
- `walk()` now makes a single API call instead of one per descendant — the
15+
`/children` endpoint already returns the entire subtree recursively. Walking
16+
Walt Disney World dropped from ~250 requests to 1.
17+
- `get_entity_schedule_month` now zero-pads the month (`/schedule/2026/05`,
18+
not `/schedule/2026/5`) per the API requirement.
19+
- `RetryConfig` field renamed `max_attempts``max_retries` to match its
20+
actual semantics (N retries beyond the first attempt = N+1 total calls).
21+
- `APIError` now includes a server-body excerpt in the exception message;
22+
`RateLimitError.__repr__` includes `retry_after`.
23+
- `destinations.find()` now performs the loose, case-insensitive substring
24+
match it had always promised in its docstring (was exact equality).
25+
- Generated queue variant classes renamed (`STANDBY``StandbyQueue` etc.)
26+
so users access `queue.STANDBY` instead of the awkward `queue.STANDBY_1`.
27+
- `eval-type-backport` is now a conditional dep on Python 3.9 so pydantic
28+
can evaluate PEP 604 union syntax in the generated models.
29+
330
## [2.0.0a0] - 2026-04-14
431
### Added
532
- Full rewrite on pydantic v2 + httpx.

pyproject.toml

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

55
[project]
66
name = "themeparks"
7-
version = "2.0.0a0"
7+
version = "2.0.0a1"
88
description = "Official SDK for the ThemeParks.wiki API"
99
readme = "README.md"
1010
requires-python = ">=3.9"

themeparks/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from themeparks._transport import AsyncTransport, RetryConfig, SyncTransport
1414

1515
DEFAULT_BASE_URL = "https://api.themeparks.wiki/v1"
16-
PACKAGE_VERSION = "2.0.0a0"
16+
PACKAGE_VERSION = "2.0.0a1"
1717

1818

1919
def _default_user_agent() -> str:

0 commit comments

Comments
 (0)