Conversation
…ayload limits, middleware updates, CI workflows - AsyncLogTideClient (aiohttp), LogTideHandler, PayloadLimitsOptions - Starlette middleware, FastAPI alias, per-framework __all__ guards - Breaking: API paths v1, X-API-Key header, exception serialization, stream() stop callable - 13+ runtime bug fixes (circuit breaker, close/flush ordering, trace ID race, etc.) - GitHub Actions CI (Python 3.8-3.13) and PyPI release workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements and new features to the LogTide Python SDK, including a new async client, stdlib logging integration, payload size safeguards, and updates to documentation and CI/CD workflows. It also includes several breaking API changes to align with the v1 server contract, and updates the project structure and documentation to reflect the new repository location.
Major new features and breaking changes:
New Features & Enhancements:
AsyncLogTideClient(asyncio/aiohttp-based),LogTideHandlerfor stdlib logging integration,PayloadLimitsOptionsfor payload size control, and Starlette middleware. Also,serialize_exception()is now exported for custom integrations. [1] [2] [3]README.mdfor async usage, logging integration, payload limits, and clarified installation and usage instructions for all supported frameworks. [1] [2] [3] [4] [5] [6] [7] [8]Breaking API Changes:
X-API-Key, changed error metadata from"error"to"exception"with a new structure, and madestream()non-blocking. Buffer overflow now drops logs silently instead of raising an error.Bug Fixes:
Project Infrastructure & Documentation:
logtide-pythonrepo and improved changelog formatting. [1] [2] [3]Most important changes:
1. New Features & Enhancements
AsyncLogTideClient(async/await, aiohttp),LogTideHandlerfor stdlib logging, payload size controls (PayloadLimitsOptions), and Starlette middleware. [1] [2] [3]README.md. [1] [2] [3] [4] [5] [6] [7] [8]2. Breaking API Changes
/api/v1/..., switched toX-API-Keyauth header, replaced"error"with structured"exception"metadata, madestream()non-blocking, and changed buffer overflow behavior.3. Bug Fixes
4. Project Infrastructure
5. Documentation & Repository Updates
logtide-pythonrepository and improved changelog formatting. [1] [2] [3]