Skip to content

Commit 103ebf2

Browse files
committed
release: prepare v0.1.1 with authentication improvements and bug fixes
This release introduces conditional authentication, improves startup validation, and fixes critical authentication separation issues. Major improvements: - Add conditional authentication support - proxy runs in open mode when SECURITY__AUTH_TOKEN is not configured, enforces auth when configured - Add comprehensive startup validation for OAuth credentials and Claude CLI - Separate client authentication from upstream OAuth authentication - Set 'serve' as default command when running ccproxy without subcommands Breaking changes: - Rename AUTH_TOKEN environment variable to SECURITY__AUTH_TOKEN for better namespace organization - Remove deprecated permission tool functionality and related CLI options Other changes: - Update to Pydantic v2 configuration syntax - Migrate CLI to modern Annotated syntax - Fix Aider integration documentation with correct /api endpoint URLs - Add ccproxy-api as alternative entry point - Remove redundant /status endpoints - Fix default values for list parameters in CLI
1 parent 7aa6979 commit 103ebf2

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,34 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.1] - 2025-07-22
9+
10+
### Added
11+
- **Conditional Authentication**: API endpoints now support optional authentication - when `SECURITY__AUTH_TOKEN` is configured, authentication is enforced; when not configured, the proxy runs in open mode.
12+
- **Startup Validation**: Added comprehensive validation checks during application startup:
13+
- Validates OAuth credentials and warns about expired tokens
14+
- Checks for Claude CLI binary availability with installation instructions
15+
- Logs token expiration time and subscription type when valid
16+
- **Default Command**: The `serve` command is now the default - running `ccproxy` without subcommands automatically starts the server.
17+
- **Alternative Entry Point**: Added `ccproxy-api` as an alternative command-line entry point.
18+
19+
### Changed
20+
- **Authentication Variable**: Renamed environment variable from `AUTH_TOKEN` to `SECURITY__AUTH_TOKEN` for better namespace organization and clarity.
21+
- **Credential Priority**: Reordered credential search paths to prioritize ccproxy-specific credentials before Claude CLI paths.
22+
- **CLI Syntax**: Migrated all CLI parameters to modern Annotated syntax for better type safety and IDE support.
23+
- **Pydantic v2**: Updated all models to use Pydantic v2 configuration syntax (`model_config` instead of `Config` class).
24+
- **Documentation**: Improved Aider integration docs with correct API endpoint URLs and added installation options (uv, pipx).
25+
26+
### Fixed
27+
- **Authentication Separation**: Fixed critical issue where auth token was incorrectly used for both client and upstream authentication - now client auth token is separate from OAuth credentials.
28+
- **URL Paths**: Fixed documentation to use `/api` endpoints for Aider compatibility instead of SDK mode paths.
29+
- **Default Values**: Fixed default values for list parameters in CLI (docker_env, docker_volume, docker_arg).
30+
31+
### Removed
32+
- **Status Endpoints**: Removed redundant `/status` endpoints from both Claude SDK and proxy routes.
33+
- **Permission Tool**: Removed Claude permission tool functionality and related CLI options (`--permission-mode`, `--permission-prompt-tool-name`) that are no longer needed.
34+
- **Deprecated Options**: Removed references to deprecated permission_mode and permission_prompt_tool_name from documentation.
35+
836
## [0.1.0] - 2025-07-21
937

1038
This is the initial public release of the CCProxy API.

0 commit comments

Comments
 (0)