PackageTrack
Sign in Get early access

github.com/evrone/go-clean-template

v1.18.0 #525 most downloaded on Go modules evrone/go-clean-template

What this package is like to depend on

Last release 2 days ago

22 Aug 2026

Ships on a steady schedule

a new release about every 2 weeks

Rarely documented

notes for 10 of 53 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

87 releases · first in 2021

31 releases in the last 12 months

see the full history below

Release timeline

87 releases · Aug 2021 to Aug 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 87
  1. v1.18.0 22 Aug 2026
    Release notes

    Agent-native repository documentation

    Adds CLAUDE.md, a single instruction file that tells AI coding agents how to work in this
    repository, plus AGENTS.md as a symlink to it so tools that look for either filename find the same
    content. The document is deliberately vendor-neutral — no assistant-specific syntax, commands or
    configuration — so any agent can consume it.

    What it covers

    • Makefile-first workflow. A per-task table mapping each job to its make target, and the flags
      you silently lose by calling the underlying tool directly (make test adds -race -covermode atomic; make swag-v1 passes --parseDependency -g internal/controller/restapi/router.go;
      make format runs go fix, gofumpt and gci with the repo's import grouping).
    • Layer boundaries. The dependency direction across entityusecaserepo
      controller, the rule that pkg/ never imports internal/, and that wiring happens only in
      internal/app/app.go.
    • Where new code goes. A decision table keyed on what the code knows about — a domain
      invariant, SQL, an HTTP status, a reusable server — plus file, package and constructor naming
      conventions.
    • The handler contract. The six steps every controller method follows on all four transports:
      identify the caller, decode into a transport-local DTO, validate, call the use case with the
      request context, map sentinel errors to a transport status, encode the response.
    • Checklists. Adding a use case to an existing domain, and adding a whole domain end to end
      from entity and migration through repository, use case, mocks, wiring, transports, docs and
      integration test.
    • Translation upkeep. README.md is canonical; README_RU.md and README_CN.md mirror it
      section for section, with a trigger table for which change requires which README edit and rules
      for localized anchors.
    • Generated artifacts. Which files come from make swag-v1, make proto-v1 and make mock,
      and must never be hand-edited.

    Documented pitfalls

    • make integration-test runs on the host and always fails; make compose-up-integration-test is
      the real entry point.
    • make migrate-create <name> prints No rule to make target after succeeding — a side effect of
      reading the name from MAKECMDGOALS.
    • make run and make pre-commit require swag and protoc on PATH; make bin-deps does not
      install protoc.
    • Fiber handlers must use ctx.UserContext(), never ctx.Context(), or the trace is dropped.
    • Every use-case and repository constructor returns the interface wrapped by newTraced, so a new
      contract method must be implemented in three places — interface, struct and tracing decorator.
    • internal/repo/persistent/translation/ declares package persistent while its siblings use the
      directory name; new packages should follow task/ and user/.

    What's Changed

    Full Changelog: v1.17.2...v1.18.0

    Open source →
    Release notes

    v1.18.0 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. v1.17.2 04 Aug 2026
    Release notes

    What's Changed

    Full Changelog: v1.17.1...v1.17.2

    Open source →
    Release notes

    v1.17.2

    Compare

    Choose a tag to compare

    Open source →
  3. v1.17.1 18 Jul 2026
    Release notes

    What's Changed

    Full Changelog: v1.17.0...v1.17.1

    Open source →
    Release notes

    v1.17.1

    Compare

    Choose a tag to compare

    Open source →
  4. v1.17.0 11 Jul 2026
    Release notes

    Distributed Tracing with OpenTelemetry

    End-to-end distributed tracing across the entire request path, powered by OpenTelemetry. A single trace now spans all four transports and every architectural layer: controller -> usecase -> repo. It's exported over OTLP/gRPC to a collector (Jaeger in the docker stack).

    What's new

    • OTLP/gRPC exporter - a global TracerProvider (pkg/tracing) with configurable endpoint, TLS, and sampling; spans batch-export to any OTLP-compatible backend.
    • Cross-transport context propagation - W3C traceparent + baggage, so traces stay connected regardless of transport:
      • REST -> otelfiber middleware
      • gRPC -> otelgrpc stats handler
      • AMQP RPC / NATS RPC -> trace context carried in message headers via custom carriers
    • Instrumented business layers -> use cases and repositories wrapped in tracing decorators, giving full visibility from handler down to DB and external web API calls.
    • Jaeger in the docker stack -> make compose-up-all now brings up Jaeger, reachable through the nginx reverse proxy.
    • No-op when disabled -> with TRACING_ENABLED=false, a no-op tracer provider is installed; instrumentation runs unconditionally with zero overhead.
    • Internal routes excluded -> /healthz, /metrics, /swagger are not traced; only versioned API groups are instrumented.

    Configuration

    Variable Default Description
    TRACING_ENABLED false Enable OpenTelemetry tracing
    TRACING_OTLP_ENDPOINT localhost:4317 OTLP/gRPC collector endpoint
    TRACING_OTLP_INSECURE true Disable TLS for the OTLP exporter
    TRACING_SAMPLE_RATE 0.1 Parent-based sampling ratio

    ⚠️ Sampling is parent-based - use 1.0 locally, but keep it low (0.1 / 0.01) in production.

    Upgrade notes

    • Tracing is off by default - no action required to keep current behavior. To enable, set TRACING_ENABLED=true and point TRACING_OTLP_ENDPOINT at your collector.
    • Persistent repos were reorganized into per-domain packages to host the tracing decorators; the composition root was updated accordingly. No public API or transport contract changes.

    PR's

    Full Changelog: v1.16.4...v1.17.0

    Open source →
    Release notes

    v1.17.0

    Compare

    Choose a tag to compare

    Open source →
  5. v1.16.4 11 Jul 2026
    Release notes

    What's Changed

    • chore(deps): go1.26.5 and security updates by @soltanoff in #450
    • chore(docker): remove version specification from docker-compose files by @soltanoff in #451

    Full Changelog: v1.16.3...v1.16.4

    Open source →
    Release notes

    v1.16.4

    Compare

    Choose a tag to compare

    Open source →
  6. v1.16.3 11 Jun 2026
    Release notes

    What's Changed

    Full Changelog: v1.16.2...v1.16.3

    Open source →
    Release notes

    v1.16.3

    Compare

    Choose a tag to compare

    Open source →
  7. v1.16.2 17 May 2026
    Release notes

    What's Changed

    Full Changelog: v1.16.1...v1.16.2

    Open source →
    Release notes

    v1.16.2

    Compare

    Choose a tag to compare

    Open source →
  8. v1.16.1 01 May 2026
    Release notes

    What's Changed

    • feat: update README to reflect addition of NATS RPC and enhance domain descriptions by @soltanoff in #407
    • chore(deps): update dependencies and modify linting rules by @soltanoff in #421
    • refactor: make nested config structs unexported by @Dawe257 in #419
    • chore(ci): update linting actions to use fail_level for error reporting by @soltanoff in #422

    New Contributors

    Full Changelog: v1.16.0...v1.16.1

    Open source →
    Release notes

    v1.16.1

    Compare

    Choose a tag to compare

    Open source →
  9. v1.16.0 05 Apr 2026
    Release notes

    What's New: User Authentication & Task Management

    This release adds two major domains to the clean architecture template — user authentication and task management — across all four transport layers (REST, gRPC, RabbitMQ RPC, NATS RPC).

    User Authentication

    • Registration with bcrypt password hashing and email uniqueness enforcement
    • Login with JWT token generation and configurable expiry
    • Auth middleware for all transport layers (Fiber, gRPC interceptor, AMQP/NATS token extraction)
    • Profile endpoint to retrieve the authenticated user

    Task Management

    • Full CRUD for tasks scoped to the authenticated user
    • Status state machine with validated transitions: todoin_progressdone (and in_progresstodo)
    • List endpoint with pagination (limit/offset) and optional status filtering
    • Ownership enforcement — users can only access their own tasks

    Infrastructure

    • JWT package (pkg/jwt) with token generation and validation
    • Three new database migrations: users table, tasks table, user_id foreign key on translation history
    • gRPC server options support (for injecting unary interceptors)
    • Protobuf definitions for auth and task services

    Testing

    • 27 unit tests for the task use case covering all operations and error paths
    • Unit tests for user use case (register, login, get)
    • Table-driven entity tests for task status transitions
    • Auth middleware tests for both REST and gRPC
    • Integration tests restructured into separate files by domain (user_test.go, task_test.go, translation_test.go)

    Other Changes

    • Swagger docs regenerated with full coverage of new endpoints
    • Docker Compose updated with JWT configuration
    • Logger simplified (removed redundant debug-level branching in error path)

    Chore Changed and PR's

    • chore(deps): bump rabbitmq from 4.2.4-management to 4.2.5-management by @dependabot[bot] in #397
    • chore(deps): bump google.golang.org/grpc from 1.79.2 to 1.79.3 by @dependabot[bot] in #396
    • chore(deps): bump github.com/jackc/pgx/v5 from 5.8.0 to 5.9.1 by @dependabot[bot] in #398
    • chore(deps): bump nginx from 1.29.6-alpine to 1.29.7-alpine by @dependabot[bot] in #399
    • chore(deps): bump github.com/nats-io/nats.go from 1.49.0 to 1.50.0 by @dependabot[bot] in #400
    • chore(deps): update go-playground/validator, zerolog, grpc, and other by @soltanoff in #405
    • feat: implement user authentication and task management with JWT support by @soltanoff in #406

    Full Changelog: v1.15.2...v1.16.0

    Open source →
    Release notes

    v1.16.0

    Compare

    Choose a tag to compare

    Open source →
  10. v1.15.3-0.20260325061954-3688617e5aaa 25 Mar 2026 pre-release

    Nothing published for this version

  11. v1.15.2 16 Mar 2026
    Release notes

    What's Changed

    • chore(deps): bump nginx from 1.29.5-alpine to 1.29.6-alpine by @dependabot[bot] in #392
    • chore(deps): bump github.com/goccy/go-json from 0.10.5 to 0.10.6 by @dependabot[bot] in #393
    • Bump golang from 1.26.0 to 1.26.1 by @soltanoff in #395

    Full Changelog: v1.15.1...v1.15.2

    Open source →
    Release notes

    v1.15.2

    Compare

    Choose a tag to compare

    Open source →
  12. v1.15.1 27 Feb 2026

    Nothing published for this version

  13. v1.15.0 21 Feb 2026

    Nothing published for this version

  14. v1.14.7 08 Feb 2026

    Nothing published for this version

  15. v1.14.6 23 Jan 2026

    Nothing published for this version

  16. v1.14.5 08 Jan 2026

    Nothing published for this version

  17. v1.14.4 25 Dec 2025

    Nothing published for this version

  18. v1.14.3 07 Dec 2025

    Nothing published for this version

  19. v1.14.2 23 Nov 2025

    Nothing published for this version

  20. v1.14.2-0.20251122090625-998ac2015921 22 Nov 2025 pre-release

    Nothing published for this version

  21. v1.14.2-0.20251111182804-276028c0ad12 11 Nov 2025 pre-release

    Nothing published for this version

  22. v1.14.2-0.20251110150456-3198ef1aa694 10 Nov 2025 pre-release

    Nothing published for this version

  23. v1.14.2-0.20251030175749-ca5adaaa6d20 30 Oct 2025 pre-release

    Nothing published for this version

  24. v1.14.2-0.20251028062248-616849e43dd1 28 Oct 2025 pre-release

    Nothing published for this version

  25. v1.14.1 26 Oct 2025

    Nothing published for this version

  26. v1.14.1-0.20251015154838-9ed26daa687e 15 Oct 2025 pre-release

    Nothing published for this version

  27. v1.14.1-0.20251012152144-6b8ab3aee278 12 Oct 2025 pre-release

    Nothing published for this version

  28. v1.14.0 12 Oct 2025

    Nothing published for this version

  29. v1.13.1 12 Sep 2025

    Nothing published for this version

  30. v1.13.0 08 Sep 2025

    Nothing published for this version

  31. v1.12.6 31 Aug 2025

    Nothing published for this version

  32. v1.12.5 08 Aug 2025

    Nothing published for this version

  33. v1.12.5-0.20250717152606-a955f25565b7 17 Jul 2025 pre-release

    Nothing published for this version

  34. v1.12.4 14 Jul 2025

    Nothing published for this version

  35. v1.12.3 28 May 2025

    Nothing published for this version

  36. v1.12.2 23 May 2025

    Nothing published for this version

  37. v1.12.1 21 May 2025

    Nothing published for this version

  38. v1.12.0 30 Apr 2025

    Nothing published for this version

  39. v1.11.0 22 Apr 2025

    Nothing published for this version

  40. v1.10.1 16 Apr 2025

    Nothing published for this version

  41. v1.10.0 09 Apr 2025

    Nothing published for this version

  42. v1.9.0 25 Mar 2025

    Nothing published for this version

  43. v1.8.3-0.20250322213439-8e1509420fc2 22 Mar 2025 pre-release

    Nothing published for this version

  44. v1.8.2 22 Mar 2025

    Nothing published for this version

  45. v1.8.1 14 Mar 2025

    Nothing published for this version

  46. v1.8.0 11 Mar 2025

    Nothing published for this version

  47. v1.7.1 08 Mar 2025

    Nothing published for this version

  48. v1.7.0 04 Mar 2025

    Nothing published for this version

  49. v1.6.0 26 Feb 2025

    Nothing published for this version

  50. v1.5.1-0.20250226194130-625b4904bbe1 26 Feb 2025 pre-release

    Nothing published for this version

  51. v1.5.0 26 Feb 2025

    Nothing published for this version

  52. v1.4.3-0.20230208133710-34844d644b3c 08 Feb 2023 pre-release

    Nothing published for this version

  53. v1.4.3-0.20220626132133-8fb159d185a8 26 Jun 2022 pre-release

    Nothing published for this version

  54. v1.4.3-0.20220110135951-c9412d5d311d 10 Jan 2022 pre-release

    Nothing published for this version

  55. v1.4.3-0.20211220214343-c125ac1a6004 20 Dec 2021 pre-release

    Nothing published for this version

  56. v1.4.3-0.20211210065723-e665062e9069 10 Dec 2021 pre-release

    Nothing published for this version

  57. v1.4.2 30 Nov 2021

    Nothing published for this version

  58. v1.4.2-0.20211130090705-c8549e456ffa 30 Nov 2021 pre-release

    Nothing published for this version

  59. v1.4.2-0.20211130053005-10a55025e523 30 Nov 2021 pre-release

    Nothing published for this version

  60. v1.4.2-0.20211127042503-7c483ea0e94a 27 Nov 2021 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive