Skip to content

Treblle Go SDK v2.0.0

Latest
Compare
Choose a tag to compare
@timpratim timpratim released this 26 Mar 09:48
· 1 commit to main since this release

Major Improvements

  • Complete Rewrite: Fully redesigned SDK architecture with improved performance and reliability
  • Asynchronous Processing: Added support for asynchronous request processing with controlled concurrency
  • Enhanced Route Pattern Detection: Automatic extraction of route patterns from Gorilla Mux and improved support for standard HTTP package
  • Configurable Environment Filtering: Added ability to ignore specific environments (dev, test) to prevent unnecessary logging
  • Advanced Error Handling: Improved error collection with batch processing capabilities
  • Comprehensive Debugging: Enhanced debug mode with detailed logging of requests, responses, and endpoint grouping
  • Improved Security: Enhanced field masking for sensitive data with customizable masking rules
  • Context-Aware Operations: Added context support for better timeout and cancellation handling
  • Graceful Shutdown: Implemented proper shutdown procedures for async operations
  • Better Framework Support: Improved integration with various Go web frameworks
    Technical Enhancements
  • Updated minimum Go version to 1.21
  • Added SDK_TOKEN and API_KEY to match platform
  • Improved performance
  • More test coverage across all components
  • Better documentation with more examples
    Migration Notes
  • The v2 release includes breaking changes from v1.
  • Please refer to the examples directory for integration guides with different web frameworks