Releases: routatic/proxy
Release list
Release v0.0.24
#oc-go-cc Release Notes v0.0.24
Summary
This release introduces critical bug fixes for streaming tool call handling, adds hot reload configuration support, and enhances documentation with detailed guides. A breaking change updates the license to AGPL-3.0, requiring users to comply with the new terms.
Breaking Changes
- 🔴 License Update: Project license changed from MIT to AGPL-3.0 in
README.md. All users must now comply with the GNU Affero General Public License v3.0 terms.
New Features
- 🚀 Hot Reload Configuration: Added support for real-time configuration reloading via
config.example.jsonupdates (tracked inconfigs/config.example.jsonandinternal/config/config.go).
Bug Fixes
- 🐛 Streaming Tool Call Deduplication: Fixed duplicate
content_block_startevents when OpenAI-compatible models stream arguments incrementally (resolves #17 and #18). - 🐛 Empty Field Handling: Removed
omitemptyfromContentBlock.Text/Thinkingfields to prevent missing JSON keys, fixing client-side JavaScript errors. - 🐛 Heartbeat Fix: Corrected heartbeat goroutine to use wrapped
responseWriterinstead of unwrapped writer, eliminatingsuperfluous WriteHeaderwarnings. - 🐛 Ordered Emission: Prevented duplicate
content_block_stopevents and ensured proper tool call termination during EOF cleanup. - 🐛 Finish Reason Logic: Fixed off-by-one errors and map-based handling for
finish_reasontool block closure.
Improvements
- 🛠️ Stream Handling: Enhanced streaming logic with index tracking for tool calls and improved event ordering.
- 🧹 Code Quality: Refactored duplicate event prevention and cleanup routines for reliability.
Documentation
- 📘 Comprehensive Guides: Added detailed installation, configuration, and troubleshooting documentation in
INSTALLATION.md,CONFIGURATION.md, andTROUBLESHOOTING.md.
Chores
- 🔄 Dependency Updates: Updated build and CI/CD dependencies.
- 📦 Refactoring: Minor codebase restructuring for maintainability.
Release v0.0.23
Breaking Changes 🚨
- Preserve
--portCLI override across configuration reloads, changing previous behavior where CLI flags could be overridden by config.
New Features 🎉
- Add hot reload support for the configuration file using an fsnotify-based file watcher.
- Introduce
AtomicConfigwithatomic.Pointerfor lock‑free reads. - Support
SIGHUPas a manual reload trigger on Unix systems. - Enable dynamic log level updates via
slog.LevelVar. - Allow API key, base URLs, model routing, and fallbacks to reload live without restart.
- Preserve the
--portCLI override across configuration reloads.
Bug Fixes 🐞
- Preserve the old configuration during reload and log watcher errors instead of silently ignoring them.
- Move change detection before atomic store so the old config remains accessible while comparing host/port and timeout changes.
- Wrap the
config.WatchConfiggoroutine to capture and log startup errors. - Improve resource cleanup in the config watcher.
- Add error logging for absolute path and watcher creation failures.
- Enhance config watcher and improve concurrency handling in
AtomicConfig.
Improvements 🚀
- Refactor
serverstruct fields for better tidiness. - Optimize concurrency handling within
AtomicConfig. - Add comprehensive tests for atomic config and watcher functionality.
Documentation 📚
- Update README and internal comments to document hot reload capabilities and SIGHUP usage.
- Revise configuration documentation to reflect live reload of API key, base URLs, model routing, and fallbacks.
Chores 🧹
- Update
go.modandgo.sumwith new dependencies (fsnotify,slog). - Incorporate CI/CD pipeline updates for new test files.
- Refactor internal files for improved organization and code quality.
Release v0.0.21
Changelog
Summary
This release focuses on cleaning up obsolete features by removing the deprecated "budget" scenario, improving documentation accuracy, and adding test coverage for the stream transformer. Several bug fixes enhance error handling and configuration messaging.
Bug Fixes
- Remove obsolete "budget" scenario from codebase and configuration
- Correct routing documentation in README.md
- Update context threshold for long context scenario in token processing
- Improve error handling in token processing functions
- Enhance config initialization message to indicate existing config path
Improvements
- Add comprehensive test coverage for stream transformer (
internal/transformer/stream_test.go) - Improve changelog script formatting and output
Documentation
- Update README.md with corrected routing documentation
- Update MODELS.md with current model information
- Update CLAUDE.md with project guidance
Chores
- Simplify main.go by removing redundant code
- Remove budget scenario from config.example.json
- Refactor generate-changelog.sh script for better formatting
Release v0.0.20
🚨 Breaking Changes
This release introduces breaking changes that may affect existing implementations. Please review the changes carefully before upgrading.
Changelog
New Features
- Add unit tests for PID handling and process status checks
- Include stop reason in message delta for stream usage
Bug Fixes
- Fix Anthropic stream payloads and token usage
Improvements
- Add test for omitting stream usage options when streaming is disabled
Documentation
- No documentation changes
Chores
- No chore changes
Release v0.0.19
🔄 oc-go-cc v0.0.19 Release Changelog
This release introduces platform-specific background process management for the daemon, significantly improving cross-platform compatibility and reliability. The changes implement native process handling for Windows while maintaining consistent behavior across all operating systems. Background mode functionality has been enhanced with better PID file management and improved path handling.
Breaking Changes
New Features
- Add Windows support for background mode using native process APIs
- Split daemon package into platform-specific files for process management
- Preserve Scoop shim paths by skipping symlink resolution on Windows
- Improve PID file handling with pre-existing instance check
- Write PID file in foreground mode for better debugging
Improvements
- Platform-specific background process management for better cross-platform support
- Enhanced PID file reliability with foreground mode support
- Improved process management for Windows using native APIs
- Better error handling in background process management
Documentation
- Update README.md with new background mode information
- Add platform-specific background process details to documentation
Chores
- Refactor daemon package structure for better maintainability
- Update platform-specific background process implementations
- Clean up code and improve readability across platform implementations
Release v0.0.18
This release establishes a clear licensing foundation with AGPLv3 while streamlining the streaming handler to reduce overhead and improve clarity. Together, these changes reinforce governance and runtime efficiency for production use.
- None in this release.
New Features
- Add GNU Affero General Public License version 3 to the repository.
Bug Fixes
- None.
Improvements
- Remove unnecessary logging and reasoning content counting from streaming handler to reduce latency and payload size.
Documentation
- None.
Chores
- None.
Release v0.0.17
This release introduces improvements to the Go proxy server, enhancing handling of complex reasoning content and optimizing streaming logic. Key updates include a configurable long context threshold for streaming scenarios, ensuring better performance with large inputs. The project also fixes model selection issues and updates the default context settings. Additionally, the Go version is now explicitly set to 1.25, and documentation and tests have been refined for clarity and reliability.
New Features
- Implement configurable long context threshold for streaming
- Add tests for context handling and edge cases
Bug Fixes
- Correct model selection for long context scenarios
- Fix default long context threshold to 100K tokens
- Improve nil config handling in AI logic
Improvements
- Streaming logic optimizations for faster response times
- Enhanced reliability and code quality
Documentation
- Updated README and internal documentation for clarity
Chores
- Updated Go setup and workflow for version 1.25
- Refactored AI changelog and added comprehensive tests
Release v0.0.16
- [codex] Add DeepSeek V4 routing and thinking support (#6)
Release v0.0.15
Release Notes
The latest update introduces improved error handling in core operations, ensuring smoother execution across the application. New features enhance system reliability, while documentation and code quality have been refined. Breaking changes are noted for clarity.
New Features
- Refactor error handling for OS and I/O operations
Bug Fixes
- Resolve issues related to unexpected application crashes
Improvements
- Optimize performance and stability of core functionalities
Documentation
- Update README and documentation with recent changes
Chores
- Update build scripts and CI/CD pipelines
- Address dependency version inconsistencies
Release v0.0.14
#Changelog
Summary
This release focuses on enhancing our CI/CD pipelines and improving the changelog generation process through automation and better tag management.
New Features
- Add CI workflow and enhance release workflow with formatting checks
- Update changelog generation to use dedicated script and improve tag handling