Skip to content

v0.3.4 — Awesome-Go Preparation

Choose a tag to compare

@kolkov kolkov released this 05 Mar 13:39
· 3 commits to main since this release
7e9b498

What's Changed

Test Coverage: 91.7% -> 93.8%

  • internal/binding: 64.4% -> 97.7% (all setField types, edge cases, invalid inputs)
  • New router_generic_test.go: tests for HEAD[Req,Res]() and OPTIONS[Req,Res]()
  • openapi_test.go: WriteJSON and WriteYAML tests
  • middleware/circuitbreaker_test.go: 6 new tests (constructors, state, counts, reset)
  • box_test.go: Unauthorized and Forbidden tests
  • middleware/logger_test.go, recovery_test.go: default constructor tests

Documentation Fixes

  • Fixed 5 critical API mismatches in README vs actual code:
    • JWT() signature corrected to JWT(signingKey) / JWTWithConfig(config)
    • RateLimit() signature corrected to RateLimit(rate, burst) / RateLimitWithConfig(config)
    • CircuitBreaker() signature: removed non-existent fields, added helper functions
    • router.Run() replaced with http.ListenAndServe() (method does not exist)
    • Package godoc: *fursy.Box without type params -> *fursy.Context

CI/CD

  • Fixed duplicate workflow triggers (push + pull_request on same branch)
  • Switched to GitHub Flow (feature branches -> PR -> main)
  • Branch protection enabled on main (required status checks)

Full Changelog: v0.3.3...v0.3.4