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
Expand Up @@ -8,12 +8,23 @@ This project follows [Semantic Versioning](https://semver.org/) and the format i

### Added

- Webhook type safety: frozen dataclasses for all webhook event types, `parse_webhook_event()` with HMAC-SHA256 verification, replay protection (#26)
- Rate limit header exposure: `RateLimitInfo` dataclass, `parse_rate_limit_headers()` utility (#26)
- Changelog automation: `scripts/generate_changelog.py` wired into release workflow (#25)
- Performance benchmarks: token refresh latency, async concurrent request handling (#27)
- SECURITY.md with responsible disclosure policy
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- GitHub issue and PR templates
- Troubleshooting section in README

### Fixed

- Streaming read timeout: set to 300s for agent responses (was httpx default 5s) (#28)
- Dependabot alert #1: `black` arbitrary file write CVE (#23)
- CodeQL workflow conflict with GitHub default setup (#28)
- Integration test 409 Conflict: added retry with cleanup for sync test class (#28)

## [0.136.0] - 2026-03-14

- Auto-generated model updates from OpenAPI spec
Expand Down
8 changes: 8 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ src/amigo_sdk/
errors.py # Error hierarchy: AmigoError -> BadRequestError, AuthenticationError, etc.
_retry_utils.py # Retry-After parsing, jitter, backoff helpers
models.py # Shared/manual Pydantic models
webhooks.py # Typed webhook events, parse_webhook_event(), HMAC-SHA256 verification
rate_limits.py # RateLimitInfo dataclass, parse_rate_limit_headers()
generated/
model.py # Auto-generated Pydantic models from OpenAPI spec (DO NOT EDIT)
resources/
Expand All @@ -37,6 +39,12 @@ scripts/
gen_models.py # Fetches OpenAPI spec and generates src/amigo_sdk/generated/model.py
check.py # Pre-release checks
aliases.json # Schema name aliases for code generation
generate_changelog.py # Generates categorized changelog from conventional commits

benchmarks/
token_refresh.py # Token refresh latency benchmark
concurrent_requests.py # Concurrent request handling benchmark
run.sh # Runner script (requires AMIGO_* env vars)

tests/
conftest.py # Shared pytest fixtures
Expand Down
Loading