Skip to content

0.4.0

Choose a tag to compare

@Polliog Polliog released this 02 Jan 19:02
· 56 commits to main since this release

Added

  • Comprehensive Test Suite: Significantly expanded test coverage from ~30% to ~75-80%
    • LogWardClientOptionsTest: 23 tests for configuration validation
    • ExceptionTest: 16 tests for exception hierarchy
    • LogWardClientHttpTest: 21 tests for HTTP flush/retry/circuit breaker with MockWebServer
    • TraceIdContextTest: 24 tests for coroutine-safe trace ID propagation
    • ModelsSerializationTest: 22 tests for JSON serialization
  • Middleware Testing: Full test coverage for all framework integrations
    • LogWardPluginTest: 19 tests for Ktor middleware
    • LogWardInterceptorTest: 18 tests for Spring Boot interceptor
    • LogWardFilterTest: 25 tests for Jakarta Servlet filter

Fixed

  • Test dependencies now properly configured for runtime (slf4j-api, slf4j-simple)
  • Framework test dependencies added (ktor-server-test-host, spring-test, jakarta.servlet-api)

Changed

  • Total test count increased from ~24 to ~192 tests
  • All middleware components now have dedicated unit and integration tests

New Contributors

Full Changelog: v0.3.0...v0.4.0