Skip to content

docs: formalize the deferred-otel decision for v1 - #31

Merged
hadifarnoud merged 1 commit into
masterfrom
docs/formalize-otel-defer
Jun 4, 2026
Merged

docs: formalize the deferred-otel decision for v1#31
hadifarnoud merged 1 commit into
masterfrom
docs/formalize-otel-defer

Conversation

@hadifarnoud

Copy link
Copy Markdown
Member

Summary

Records the decision agreed during v1 planning: runtime dependencies stay pinned for v1; modernization (notably otel) lands in v2. Docs-only, no code changes.

  • CHANGELOG.md — convert the Compatibility section to bullets and add the rationale:
    • Runtime dependencies pinned for v1otel, mongo-driver, zap, go-i18n. otel is hard-breaking because htel exposes metric.MeterProvider and otel's metric package had a v0.x→v1.x redesign; the trace/sdk modules are coupled to it. Modernization is scheduled for v2 (github.com/kamva/hexa/v2).
    • Also fixed the now-inaccurate "no signatures changed" claim: hlog.LevelFromString did change in fix: registry mutex, LevelFromString error, hurl status threshold #28 to return (Level, error) instead of panicking on unknown input.
  • docs/v1-release-plan.md — Phase 2's "Modernize dependencies" item is now marked decided/deferred to v2; Phase 3's Observability bullet is narrowed to "verify on the pinned otel versions; migration is v2."

Notes

  • The CHANGELOG still pre-dates a lot of merged work (#15, #16–#25, #26–#28). That broader backfill is out of scope here — let me know if you'd like a follow-up to bring the whole thing current before tagging v1.

🤖 Generated with Claude Code


Generated by Claude Code

Record the decision agreed during the v1 planning: otel (and the other
runtime dependencies whose types hexa re-exports — mongo-driver, zap,
go-i18n) stay at their currently pinned versions for v1. Modernizing them
lands in v2 (the /v2 module path) alongside the other breaking work.

- CHANGELOG.md: convert the Compatibility section to bullets, add the
  runtime-dependency-pinning rationale, and fix the now-inaccurate
  "no signatures changed" claim (LevelFromString's signature changed in
  #28 to return (Level, error) instead of panicking).
- docs/v1-release-plan.md: mark Phase 2's "Modernize dependencies" item
  decided/deferred, and narrow Phase 3's Observability bullet to "verify
  on the pinned otel versions; migration is v2."

https://claude.ai/code/session_01J46cm6MaKsVpw1YSXGg8eq
@hadifarnoud
hadifarnoud merged commit 1f21852 into master Jun 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants