165 Commits

Author SHA1 Message Date
argoyle ff78b7d6b3 Merge pull request 'chore(release): prepare for v0.3.3' (#130) from next-release into main
presenter / vulnerabilities (push) Successful in 2m36s
presenter / test (push) Successful in 3m27s
Release / release (push) Successful in 45s
pre-commit / pre-commit (push) Successful in 5m28s
Reviewed-on: #130
2026-02-20 15:00:08 +00:00
releaser 5e182c2e80 chore(release): prepare for v0.3.3
presenter / vulnerabilities (pull_request) Successful in 2m36s
presenter / test (pull_request) Successful in 4m1s
pre-commit / pre-commit (pull_request) Successful in 7m13s
2026-02-20 14:50:39 +00:00
releaser 29f9f24c48 chore(release): prepare for v0.3.3 2026-02-20 14:50:36 +00:00
argoyle 1216372365 Merge pull request 'fix(deps): update module github.com/99designs/gqlgen to v0.17.87' (#129) from renovate/github.com-99designs-gqlgen-0.x into main
Release / release (push) Successful in 2m31s
presenter / vulnerabilities (push) Successful in 5m6s
pre-commit / pre-commit (push) Successful in 7m51s
presenter / test (push) Successful in 6m12s
Reviewed-on: #129
2026-02-20 14:48:53 +00:00
renovate 0454c26db9 fix(deps): update module github.com/99designs/gqlgen to v0.17.87
presenter / vulnerabilities (pull_request) Successful in 6m57s
presenter / test (pull_request) Successful in 8m9s
pre-commit / pre-commit (pull_request) Successful in 11m7s
2026-02-19 19:39:17 +01:00
argoyle 9bb5f4f80a Merge pull request 'chore(release): prepare for v0.3.2' (#128) from next-release into main
Release / release (push) Successful in 2m23s
presenter / test (push) Successful in 4m9s
presenter / vulnerabilities (push) Successful in 4m0s
pre-commit / pre-commit (push) Successful in 8m8s
Reviewed-on: #128
2026-02-19 16:42:43 +00:00
releaser 3f86d5c1a0 chore(release): prepare for v0.3.2
presenter / vulnerabilities (pull_request) Successful in 3m55s
presenter / test (pull_request) Successful in 5m2s
pre-commit / pre-commit (pull_request) Successful in 12m27s
2026-02-19 14:16:31 +00:00
releaser 6eff1ee4de chore(release): prepare for v0.3.2 2026-02-19 14:16:17 +00:00
renovate 0fceea7c94 fix(deps): update module github.com/vektah/gqlparser/v2 to v2.5.32 (#127)
Release / release (push) Successful in 1m41s
presenter / test (push) Successful in 3m1s
presenter / vulnerabilities (push) Successful in 4m29s
pre-commit / pre-commit (push) Successful in 10m12s
2026-02-19 14:14:29 +00:00
renovate 003df983a1 chore(deps): update pre-commit hook golangci/golangci-lint to v2.10.1 (#126)
Release / release (push) Failing after 2m0s
presenter / vulnerabilities (push) Successful in 3m41s
presenter / test (push) Successful in 6m32s
pre-commit / pre-commit (push) Successful in 7m31s
2026-02-17 17:35:16 +00:00
renovate 3ff236573e chore(deps): update pre-commit hook golangci/golangci-lint to v2.9.0 (#125)
presenter / vulnerabilities (push) Successful in 1m29s
Release / release (push) Successful in 1m35s
presenter / test (push) Successful in 2m51s
pre-commit / pre-commit (push) Successful in 10m4s
2026-02-11 13:15:07 +00:00
argoyle 8f0e645964 Merge pull request 'ci: add code coverage integration' (#123) from ci-coverage-integration into main
Release / release (push) Failing after 2m58s
presenter / vulnerabilities (push) Successful in 6m12s
presenter / test (push) Successful in 6m17s
pre-commit / pre-commit (push) Successful in 8m40s
Reviewed-on: #123
2026-01-28 12:37:56 +00:00
argoyle 30851a48a6 ci: add code coverage integration
presenter / vulnerabilities (pull_request) Successful in 2m43s
presenter / test (pull_request) Successful in 4m1s
pre-commit / pre-commit (pull_request) Successful in 5m9s
Add go-test-coverage for coverage threshold enforcement. Coverage data
is uploaded as artifacts on main branch and compared against baseline
in PRs using shell script that gracefully handles first run without
baseline. PR comments show coverage percentage.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 13:03:07 +01:00
argoyle ac19c57724 Merge pull request 'chore: remove GitLab CI configuration' (#122) from remove-gitlab-ci into main
Release / release (push) Successful in 1m21s
presenter / test (push) Successful in 1m32s
presenter / vulnerabilities (push) Successful in 5m1s
pre-commit / pre-commit (push) Successful in 16m9s
Reviewed-on: #122
2026-01-19 06:52:41 +00:00
argoyle fb4a1b53c5 chore: remove GitLab CI configuration
presenter / test (pull_request) Successful in 2m26s
pre-commit / pre-commit (pull_request) Successful in 5m5s
presenter / vulnerabilities (pull_request) Successful in 6m27s
2026-01-18 20:36:15 +01:00
renovate f6924a3d10 chore(deps): update golang docker tag to v1.25.6 (#121)
presenter / test (push) Successful in 2m7s
presenter / vulnerabilities (push) Successful in 2m8s
pre-commit / pre-commit (push) Successful in 5m1s
Release / release (push) Successful in 7m13s
2026-01-15 23:44:04 +00:00
renovate 1f6675f619 chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.24.0 (#120)
presenter / vulnerabilities (push) Successful in 2m28s
Release / release (push) Successful in 2m3s
presenter / test (push) Successful in 3m22s
pre-commit / pre-commit (push) Successful in 10m33s
2026-01-13 21:30:52 +00:00
renovate d7c9a791d5 chore(deps): update golang:1.25.5 docker digest to 3a01526 (#119)
presenter / test (push) Successful in 3m7s
presenter / vulnerabilities (push) Successful in 3m9s
Release / release (push) Successful in 2m56s
pre-commit / pre-commit (push) Successful in 7m54s
2026-01-13 06:21:47 +00:00
renovate e33987441a fix(deps): update module github.com/99designs/gqlgen to v0.17.86 (#117)
Release / release (push) Successful in 2m2s
presenter / vulnerabilities (push) Successful in 5m26s
presenter / test (push) Successful in 5m8s
pre-commit / pre-commit (push) Successful in 7m19s
2026-01-12 02:20:26 +00:00
argoyle 5b06a5e584 Merge pull request 'chore(release): prepare for v0.3.1' (#115) from next-release into main
Release / release (push) Successful in 29s
presenter / test (push) Successful in 1m38s
presenter / vulnerabilities (push) Successful in 1m38s
pre-commit / pre-commit (push) Successful in 4m32s
Reviewed-on: #115
2026-01-09 14:04:12 +00:00
releaser 728ef4f8ae chore(release): prepare for v0.3.1
presenter / test (pull_request) Successful in 7m5s
presenter / vulnerabilities (pull_request) Successful in 7m25s
pre-commit / pre-commit (pull_request) Successful in 8m31s
2026-01-09 13:52:15 +00:00
releaser ebefb9209e chore(release): prepare for v0.3.1 2026-01-09 13:52:08 +00:00
argoyle 579faa4f12 Merge pull request 'chore: migrate module path to gitea.unbound.se' (#116) from migrate-to-gitea into main
presenter / test (push) Successful in 1m11s
Release / release (push) Successful in 2m20s
presenter / vulnerabilities (push) Successful in 4m14s
pre-commit / pre-commit (push) Successful in 11m40s
Reviewed-on: #116
2026-01-09 13:49:48 +00:00
argoyle fad40030e1 chore: migrate module path to gitea.unbound.se
presenter / test (pull_request) Successful in 2m16s
presenter / vulnerabilities (pull_request) Successful in 3m29s
pre-commit / pre-commit (pull_request) Successful in 6m51s
Update module path from git.unbound.se to gitea.unbound.se for Go module
discovery over HTTPS.
2026-01-09 14:30:56 +01:00
releaser c317235773 chore(release): prepare for v0.3.1
presenter / vulnerabilities (pull_request) Successful in 1m18s
presenter / test (pull_request) Successful in 1m28s
pre-commit / pre-commit (pull_request) Successful in 3m50s
2026-01-09 09:39:08 +00:00
releaser a5b6a3f479 chore(release): prepare for v0.3.1 2026-01-09 09:39:03 +00:00
argoyle 11e134b08f Merge pull request 'chore(deps): update actions/setup-python action to v6' (#114) from renovate/actions-setup-python-6.x into main
presenter / vulnerabilities (push) Successful in 1m4s
presenter / test (push) Successful in 1m46s
Release / release (push) Successful in 1m3s
pre-commit / pre-commit (push) Successful in 4m46s
Reviewed-on: #114
2026-01-09 09:37:28 +00:00
renovate 419a82224d chore(deps): update actions/setup-python action to v6
presenter / vulnerabilities (pull_request) Successful in 1m33s
presenter / test (pull_request) Successful in 4m20s
pre-commit / pre-commit (pull_request) Successful in 6m38s
2026-01-09 09:28:05 +00:00
argoyle ab263ad2be Merge pull request 'chore(release): prepare for v0.3.0' (#99) from next-release into main
Release / release (push) Successful in 1m57s
presenter / test (push) Successful in 5m54s
presenter / vulnerabilities (push) Successful in 6m3s
pre-commit / pre-commit (push) Successful in 9m19s
Reviewed-on: #99
2026-01-09 09:01:56 +00:00
releaser e53a54e58c chore(release): prepare for v0.3.0 2026-01-09 09:00:28 +00:00
releaser 018444c022 chore(release): prepare for v0.3.0 2026-01-09 09:00:20 +00:00
argoyle 4a4fe3d5c8 Merge pull request 'ci: add pre-commit and release workflows' (#112) from add-workflows into main
Release / release (push) Successful in 1m29s
presenter / test (push) Successful in 3m6s
presenter / vulnerabilities (push) Successful in 3m16s
pre-commit / pre-commit (push) Has been cancelled
Reviewed-on: #112
2026-01-09 08:58:03 +00:00
argoyle 65aba3a47c ci: add pre-commit and release workflows
presenter / test (pull_request) Successful in 2m26s
presenter / vulnerabilities (pull_request) Successful in 2m26s
pre-commit / pre-commit (pull_request) Successful in 7m54s
2026-01-09 09:48:25 +01:00
argoyle e565f7b147 Merge pull request 'fix: update module path from gitlab to git.unbound.se' (#113) from update-module-path-git-unbound into main
presenter / vulnerabilities (push) Successful in 3m12s
presenter / test (push) Successful in 3m25s
Reviewed-on: #113
2026-01-09 08:47:37 +00:00
argoyle 44464c0a85 fix: update module path from gitlab to git.unbound.se
presenter / test (pull_request) Successful in 2m3s
presenter / vulnerabilities (pull_request) Successful in 2m28s
Change the module path in various files to reflect the new 
repository location on git.unbound.se. Update imports in 
CLAUDE.md, error_test.go, and presenter_test.go to ensure 
compatibility with the updated module path. Remove outdated 
CI configuration in .pre-commit-config.yaml to streamline 
the setup. This enhances consistency and aligns the project 
with its new hosting platform.
2026-01-09 09:26:03 +01:00
argoyle 45c18ccef6 Merge pull request 'chore(deps): update pre-commit hook golangci/golangci-lint to v2.8.0' (#111) from renovate/golangci-golangci-lint-2.x into main
presenter / test (push) Successful in 1m58s
presenter / vulnerabilities (push) Successful in 2m0s
Reviewed-on: #111
2026-01-09 04:13:14 +00:00
renovate 61f079354d chore(deps): update pre-commit hook golangci/golangci-lint to v2.8.0
presenter / test (pull_request) Successful in 5m26s
presenter / vulnerabilities (pull_request) Successful in 5m55s
2026-01-08 21:23:40 +00:00
argoyle b19d1fa250 Merge pull request 'chore(deps): update actions/setup-go action to v6' (#110) from renovate/actions-setup-go-6.x into main
presenter / vulnerabilities (push) Successful in 3m4s
presenter / test (push) Successful in 3m53s
Reviewed-on: #110
2026-01-08 19:21:41 +00:00
renovate 0f1ee07348 chore(deps): update actions/setup-go action to v6
presenter / test (pull_request) Successful in 3m22s
presenter / vulnerabilities (pull_request) Successful in 3m48s
2026-01-08 19:15:59 +00:00
argoyle 773cf10d05 Merge pull request 'chore(deps): update actions/checkout action to v6' (#109) from renovate/actions-checkout-6.x into main
presenter / test (push) Successful in 3m58s
presenter / vulnerabilities (push) Successful in 3m27s
Reviewed-on: #109
2026-01-08 18:30:26 +00:00
renovate 038ef213bb chore(deps): update actions/checkout action to v6
presenter / test (pull_request) Successful in 6m13s
presenter / vulnerabilities (pull_request) Successful in 6m16s
2026-01-08 18:12:09 +00:00
argoyle c35239b385 Merge pull request 'feat: migrate from GitLab CI to Gitea Actions' (#108) from feat/gitea-actions into main
presenter / vulnerabilities (push) Successful in 1m6s
presenter / test (push) Successful in 1m9s
Reviewed-on: #108
2026-01-08 17:57:29 +00:00
argoyle 7644c6793e feat: migrate from GitLab CI to Gitea Actions
presenter / vulnerabilities (pull_request) Successful in 1m5s
presenter / test (pull_request) Successful in 2m10s
2026-01-08 18:34:23 +01:00
Unbound Release cba9bb814d chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release e998aa8599 chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release a8a7fae14b chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release d092bb4158 chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release e7733a069d chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release 90518df4be chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release d007daed7a chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release a4eb50c45a chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release b309cf5fc7 chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release 824e3703a9 chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release aab014650e chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release 51dc2e8605 chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release b0d63489ea chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release 621e039ccf chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release 1b6d69f5f1 chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release 32887d6002 chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release 044226072b chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
Unbound Release 03b493c2e3 chore(release): prepare for v0.2.3 2025-12-31 21:16:29 +00:00
argoyle 147fb3ab15 Merge branch 'claude-docs' into 'main'
docs: add CLAUDE.md for Claude Code integration

See merge request unboundsoftware/shiny/presenter!106
2025-12-31 22:15:17 +01:00
argoyle ac93eacbbc docs: add CLAUDE.md for Claude Code integration 2025-12-31 22:11:47 +01:00
argoyle e96ce57940 Merge branch 'renovate/golang-1.25.5' into 'main'
chore(deps): update golang:1.25.5 docker digest to ad03ba9

See merge request unboundsoftware/shiny/presenter!105
2025-12-30 15:56:02 +01:00
Renovate 923e6a5585 chore(deps): update golang:1.25.5 docker digest to ad03ba9 2025-12-30 03:56:06 +00:00
argoyle b2617b1eb2 Merge branch 'renovate/github.com-99designs-gqlgen-0.x' into 'main'
fix(deps): update module github.com/99designs/gqlgen to v0.17.85

See merge request unboundsoftware/shiny/presenter!104
2025-12-17 08:27:13 +01:00
Renovate 023d0ed776 fix(deps): update module github.com/99designs/gqlgen to v0.17.85 2025-12-17 03:07:32 +00:00
argoyle f7c85d1e56 Merge branch 'renovate/golang-1.25.5' into 'main'
chore(deps): update golang:1.25.5 docker digest to 0c27bcf

See merge request unboundsoftware/shiny/presenter!103
2025-12-09 09:53:35 +01:00
Renovate f6632726c5 chore(deps): update golang:1.25.5 docker digest to 0c27bcf 2025-12-09 02:09:10 +00:00
argoyle 1d58e4afb1 Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.7.2

See merge request unboundsoftware/shiny/presenter!102
2025-12-08 09:41:03 +01:00
Renovate 1b7274b421 chore(deps): update pre-commit hook golangci/golangci-lint to v2.7.2 2025-12-07 16:56:33 +00:00
argoyle e7bea420a7 Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.7.1

See merge request unboundsoftware/shiny/presenter!101
2025-12-04 16:24:20 +01:00
Renovate 14b00f06d3 chore(deps): update pre-commit hook golangci/golangci-lint to v2.7.1 2025-12-04 14:56:55 +00:00
argoyle b286d56403 Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.7.0

See merge request unboundsoftware/shiny/presenter!100
2025-12-04 08:28:03 +01:00
Renovate 5c1b8981d1 chore(deps): update pre-commit hook golangci/golangci-lint to v2.7.0 2025-12-03 19:56:19 +00:00
argoyle 9bb84fb008 Merge branch 'renovate/golang-1.x' into 'main'
chore(deps): update golang docker tag to v1.25.5

See merge request unboundsoftware/shiny/presenter!99
2025-12-02 19:39:54 +01:00
Renovate a3c4bcfe0f chore(deps): update golang docker tag to v1.25.5 2025-12-02 18:08:38 +00:00
argoyle 6deb62064d Merge branch 'renovate/gitleaks-gitleaks-8.x' into 'main'
chore(deps): update pre-commit hook gitleaks/gitleaks to v8.30.0

See merge request unboundsoftware/shiny/presenter!97
2025-11-27 00:03:58 +01:00
Renovate eb8cefdc83 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.30.0 2025-11-26 18:56:37 +00:00
argoyle 9051396b67 Merge branch 'next-release' into 'main'
chore(release): prepare for v0.2.2

See merge request unboundsoftware/shiny/presenter!93
2025-11-24 20:33:24 +01:00
Unbound Release 55f47a6f01 chore(release): prepare for v0.2.2 2025-11-24 20:33:24 +01:00
argoyle 353801a1e0 Merge branch 'renovate/github.com-99designs-gqlgen-0.x' into 'main'
fix(deps): update module github.com/99designs/gqlgen to v0.17.84

See merge request unboundsoftware/shiny/presenter!96
2025-11-24 19:10:52 +01:00
Renovate 6337d0170e fix(deps): update module github.com/99designs/gqlgen to v0.17.84 2025-11-24 17:57:34 +00:00
argoyle 6dfc528b60 Merge branch 'renovate/gitleaks-gitleaks-8.x' into 'main'
chore(deps): update pre-commit hook gitleaks/gitleaks to v8.29.1

See merge request unboundsoftware/shiny/presenter!95
2025-11-20 09:20:19 +01:00
Renovate f5b36ea2ef chore(deps): update pre-commit hook gitleaks/gitleaks to v8.29.1 2025-11-19 21:55:54 +00:00
argoyle 0730168d32 Merge branch 'renovate/golang-1.25.4' into 'main'
chore(deps): update golang:1.25.4 docker digest to efe81fa

See merge request unboundsoftware/shiny/presenter!94
2025-11-18 16:21:11 +01:00
Renovate c597cfc0d8 chore(deps): update golang:1.25.4 docker digest to efe81fa 2025-11-18 11:55:53 +00:00
argoyle 2c26ae5ca6 Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.2

See merge request unboundsoftware/shiny/presenter!92
2025-11-14 16:20:58 +01:00
Renovate 3bde872925 chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.2 2025-11-14 13:55:36 +00:00
argoyle 89c8fa135f Merge branch 'next-release' into 'main'
chore(release): prepare for v0.2.1

See merge request unboundsoftware/shiny/presenter!89
2025-11-13 10:35:34 +01:00
Unbound Release 8e8ebce9f7 chore(release): prepare for v0.2.1 2025-11-13 10:35:34 +01:00
argoyle d92f462624 Merge branch 'renovate/github.com-99designs-gqlgen-0.x' into 'main'
fix(deps): update module github.com/99designs/gqlgen to v0.17.83

See merge request unboundsoftware/shiny/presenter!91
2025-11-11 10:48:31 +01:00
Renovate 11e581bfd4 fix(deps): update module github.com/99designs/gqlgen to v0.17.83 2025-11-10 23:07:36 +00:00
argoyle 816789b3e9 Merge branch 'renovate/github.com-99designs-gqlgen-0.x' into 'main'
fix(deps): update module github.com/99designs/gqlgen to v0.17.82

See merge request unboundsoftware/shiny/presenter!90
2025-11-07 08:35:09 +01:00
Renovate f16e35d17d fix(deps): update module github.com/99designs/gqlgen to v0.17.82 2025-11-07 01:56:48 +00:00
argoyle 1a64a84113 Merge branch 'renovate/golang-1.x' into 'main'
chore(deps): update golang docker tag to v1.25.4

See merge request unboundsoftware/shiny/presenter!88
2025-11-05 23:13:28 +01:00
Renovate 57f5932351 chore(deps): update golang docker tag to v1.25.4 2025-11-05 22:07:25 +00:00
argoyle d6b201c945 Merge branch 'next-release' into 'main'
chore(release): prepare for v0.2.0

See merge request unboundsoftware/shiny/presenter!81
2025-11-05 21:54:54 +01:00
Unbound Release 13c8720f29 chore(release): prepare for v0.2.0 2025-11-05 21:54:54 +01:00
argoyle 32664e15be Merge branch 'feat/errors-add-entity-bank-types' into 'main'
feat(errors): add new entity types for bank connections and transactions

See merge request unboundsoftware/shiny/presenter!87
2025-11-05 21:10:08 +01:00
argoyle d32e0ad41b feat(errors): add new entity types for bank connections and transactions
Adds EntityBankConnection and EntityBankTransaction to the
errors package to enhance error handling capabilities related
to banking operations. This improves the clarity and
specificity of error messages associated with bank-related
entities.
2025-11-05 20:08:32 +01:00
argoyle d918229d4a Merge branch 'renovate/gitleaks-gitleaks-8.x' into 'main'
chore(deps): update pre-commit hook gitleaks/gitleaks to v8.29.0

See merge request unboundsoftware/shiny/presenter!86
2025-11-05 06:52:05 +01:00
Renovate 336be7fd28 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.29.0 2025-11-05 01:56:18 +00:00
argoyle ddc2e7c759 Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.1

See merge request unboundsoftware/shiny/presenter!85
2025-11-04 13:36:31 +01:00
argoyle d1ec42b99d Merge branch 'renovate/golang-1.25.3' into 'main'
chore(deps): update golang:1.25.3 docker digest to 9ac0edc

See merge request unboundsoftware/shiny/presenter!84
2025-11-04 13:35:54 +01:00
Renovate 3da6de5265 chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.1 2025-11-04 11:55:58 +00:00
Renovate 622533df53 chore(deps): update golang:1.25.3 docker digest to 9ac0edc 2025-11-04 11:55:55 +00:00
argoyle 3af29c4724 Merge branch 'renovate/github.com-vektah-gqlparser-v2-2.x' into 'main'
fix(deps): update module github.com/vektah/gqlparser/v2 to v2.5.31

See merge request unboundsoftware/shiny/presenter!83
2025-10-30 07:55:35 +01:00
Renovate 1181cf6728 fix(deps): update module github.com/vektah/gqlparser/v2 to v2.5.31 2025-10-30 01:56:18 +00:00
argoyle 872d1f4620 Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.0

See merge request unboundsoftware/shiny/presenter!82
2025-10-29 23:15:03 +01:00
Renovate d95d4a9815 chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.0 2025-10-29 19:55:56 +00:00
argoyle 37f6f1b878 Merge branch 'clean-up-cliff-toml-configuration' into 'main'
chore: clean up cliff.toml configuration

See merge request unboundsoftware/shiny/presenter!80
2025-10-21 16:13:38 +02:00
argoyle 405df59774 chore: clean up cliff.toml configuration
Remove unnecessary initial_tag section and adjust comment 
indentation for better readability. Maintain commit parsers 
for clarity in grouping commits in changelogs.
2025-10-21 15:29:43 +02:00
argoyle 7dfe1a5aa1 Merge branch 'renovate/golang-1.25.3' into 'main'
chore(deps): update golang:1.25.3 docker digest to 69d1009

See merge request unboundsoftware/shiny/presenter!79
2025-10-21 14:18:21 +02:00
Renovate dbaa511fe6 chore(deps): update golang:1.25.3 docker digest to 69d1009 2025-10-21 09:55:27 +00:00
argoyle 78cf379dd3 Merge branch 'renovate/golang-1.x' into 'main'
chore(deps): update golang docker tag to v1.25.3

See merge request unboundsoftware/shiny/presenter!78
2025-10-14 08:58:44 +02:00
Renovate e2fc8a21c2 chore(deps): update golang docker tag to v1.25.3 2025-10-13 23:55:53 +00:00
argoyle 0541ba7662 Merge branch 'renovate/golang-1.x' into 'main'
chore(deps): update golang docker tag to v1.25.2

See merge request unboundsoftware/shiny/presenter!77
2025-10-08 09:18:10 +02:00
Renovate cff438adae chore(deps): update golang docker tag to v1.25.2 2025-10-07 21:55:25 +00:00
argoyle 84779c5812 Merge branch 'renovate/alessandrojcm-commitlint-pre-commit-hook-9.x' into 'main'
chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.23.0

See merge request unboundsoftware/shiny/presenter!76
2025-10-02 17:04:52 +02:00
Renovate e71f40a59e chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.23.0 2025-10-02 09:57:32 +00:00
argoyle 00ee6efca8 Merge branch 'renovate/golang-1.25.1' into 'main'
chore(deps): update golang:1.25.1 docker digest to 12640a4

See merge request unboundsoftware/shiny/presenter!75
2025-10-01 19:17:05 +02:00
Renovate 772c8a1d8f chore(deps): update golang:1.25.1 docker digest to 12640a4 2025-10-01 13:55:26 +00:00
argoyle 460c810a94 Merge branch 'next-release' into 'main'
chore(release): prepare for v0.1.8

See merge request unboundsoftware/shiny/presenter!74
2025-09-26 11:58:28 +02:00
Unbound Release 971b423945 chore(release): prepare for v0.1.8 2025-09-26 11:58:28 +02:00
argoyle 95be62a9d8 Merge branch 'renovate/github.com-99designs-gqlgen-0.x' into 'main'
fix(deps): update module github.com/99designs/gqlgen to v0.17.81

See merge request unboundsoftware/shiny/presenter!73
2025-09-26 11:24:18 +02:00
Renovate 303d6febe0 fix(deps): update module github.com/99designs/gqlgen to v0.17.81 2025-09-25 22:55:23 +00:00
argoyle ba980fb5f6 Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.5.0

See merge request unboundsoftware/shiny/presenter!72
2025-09-22 11:22:03 +02:00
Renovate 1eba0a8cde chore(deps): update pre-commit hook golangci/golangci-lint to v2.5.0 2025-09-21 19:54:55 +00:00
argoyle 8e872747c5 Merge branch 'next-release' into 'main'
chore(release): prepare for v0.1.7

See merge request unboundsoftware/shiny/presenter!65
2025-09-17 21:13:30 +02:00
Unbound Release 155bc96d69 chore(release): prepare for v0.1.7 2025-09-17 21:13:30 +02:00
argoyle c584852dab Merge branch 'renovate/github.com-99designs-gqlgen-0.x' into 'main'
fix(deps): update module github.com/99designs/gqlgen to v0.17.80

See merge request unboundsoftware/shiny/presenter!71
2025-09-17 19:17:21 +02:00
Renovate 0c747d142c fix(deps): update module github.com/99designs/gqlgen to v0.17.80 2025-09-17 16:55:29 +00:00
argoyle 2f4c2c5f18 Merge branch 'renovate/github.com-99designs-gqlgen-0.x' into 'main'
fix(deps): update module github.com/99designs/gqlgen to v0.17.79

See merge request unboundsoftware/shiny/presenter!70
2025-09-15 07:11:25 +02:00
Renovate 551b07b417 fix(deps): update module github.com/99designs/gqlgen to v0.17.79 2025-09-14 20:55:24 +00:00
argoyle 204641b65a Merge branch 'renovate/lietu-go-pre-commit-1.x' into 'main'
chore(deps): update pre-commit hook lietu/go-pre-commit to v1

See merge request unboundsoftware/shiny/presenter!69
2025-09-13 17:23:11 +02:00
Renovate 88b8a55bd4 chore(deps): update pre-commit hook lietu/go-pre-commit to v1 2025-09-13 09:10:03 +00:00
Renovate d29e5a940a chore(deps): update golang:1.25.1 docker digest to 53f7808 2025-09-08 23:10:33 +00:00
Renovate 072c665f60 chore(deps): update golang docker tag to v1.25.1 2025-09-03 19:55:14 +00:00
Renovate 3b518bad73 fix(deps): update module github.com/stretchr/testify to v1.11.1 2025-08-27 11:55:35 +00:00
Renovate c771483282 fix(deps): update module github.com/stretchr/testify to v1.11.0 2025-08-24 16:55:19 +00:00
Renovate 7f6dfe2776 chore(deps): update golang:1.25.0 docker digest to f6b9e1a 2025-08-22 18:55:23 +00:00
Renovate 1545e23e7a chore(deps): update golang docker tag to v1.25.0 2025-08-14 09:48:43 +02:00
Renovate a9ec99008f chore(deps): update pre-commit hook golangci/golangci-lint to v2.4.0 2025-08-13 20:55:23 +00:00
Renovate de82176779 chore(deps): update golang:1.24.6 docker digest to 958bfd1 2025-08-12 22:55:01 +00:00
Renovate b284ee5b82 chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 2025-08-09 19:55:39 +00:00
Renovate 3cb71a9ebc chore(deps): update golang docker tag to v1.24.6 2025-08-06 20:55:10 +00:00
Renovate 70198e90a4 chore(deps): update pre-commit hook golangci/golangci-lint to v2.3.1 2025-08-02 21:55:14 +00:00
Unbound Release 973b27651d chore(release): prepare for v0.1.6 2025-07-28 10:03:15 +00:00
Renovate 8c9db8b03e fix(deps): update module github.com/99designs/gqlgen to v0.17.78 2025-07-27 23:54:45 +00:00
Renovate ca713a0f66 chore(deps): update golang:1.24.5 docker digest to 0a156a4 2025-07-22 04:54:50 +00:00
Renovate b61b35f377 chore(deps): update pre-commit hook golangci/golangci-lint to v2.3.0 2025-07-21 14:54:35 +00:00
Renovate a677014b90 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.28.0 2025-07-20 16:54:22 +00:00
Renovate 43051b083e chore(deps): update pre-commit hook golangci/golangci-lint to v2.2.2 2025-07-11 12:51:54 +00:00
Renovate d4f77a299a chore(deps): update golang docker tag to v1.24.5 2025-07-09 18:52:06 +00:00
Renovate 80e67ca588 chore(deps): update golang:1.24.4 docker digest to 9f820b6 2025-07-01 05:51:52 +00:00
Renovate 52e8299bbd chore(deps): update pre-commit hook golangci/golangci-lint to v2.2.1 2025-06-29 21:51:49 +00:00
Unbound Release 9f937b3cd8 chore(release): prepare for v0.1.5 2025-06-29 00:58:43 +00:00
Renovate 2ee5917c46 fix(deps): update module github.com/99designs/gqlgen to v0.17.76 2025-06-29 02:05:11 +02:00
Renovate fe280430c9 fix(deps): update module github.com/vektah/gqlparser/v2 to v2.5.30 2025-06-28 23:52:07 +00:00
Renovate 073e0bb187 chore(deps): update pre-commit hook golangci/golangci-lint to v2.2.0 2025-06-28 20:51:58 +00:00
Unbound Release 814a5135a2 chore(release): prepare for v0.1.4 2025-06-28 07:22:00 +00:00
Renovate 83abbf26c1 fix(deps): update module github.com/vektah/gqlparser/v2 to v2.5.29 2025-06-27 21:51:42 +00:00
Unbound Release ef9c099e66 chore(release): prepare for v0.1.3 2025-06-16 15:32:17 +00:00
Renovate 443d4c4b0a fix(deps): update module github.com/99designs/gqlgen to v0.17.75 2025-06-16 14:52:10 +00:00
17 changed files with 429 additions and 91 deletions
+85
View File
@@ -0,0 +1,85 @@
name: presenter
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: 'stable'
- name: Run tests
run: go test -race -coverprofile=coverage.txt ./...
- name: Check coverage
uses: vladopajic/go-test-coverage@v2
with:
config: ./.testcoverage.yml
# Download baseline coverage from main branch (for PRs)
- name: Download baseline coverage
if: gitea.event_name == 'pull_request'
uses: actions/download-artifact@v3
with:
name: coverage-baseline
path: ./baseline
continue-on-error: true
# Compare coverage against baseline (for PRs)
- name: Compare coverage
if: gitea.event_name == 'pull_request'
run: |
CURRENT=$(go tool cover -func=coverage.txt | grep "^total:" | awk '{print $NF}' | tr -d '%')
if [ -f ./baseline/coverage.txt ]; then
BASE=$(go tool cover -func=./baseline/coverage.txt | grep "^total:" | awk '{print $NF}' | tr -d '%')
echo "Base coverage: ${BASE}%"
echo "Current coverage: ${CURRENT}%"
if [ "$(echo "$CURRENT < $BASE" | bc -l)" -eq 1 ]; then
echo "::error::Coverage decreased from ${BASE}% to ${CURRENT}%"
exit 1
fi
echo "Coverage maintained or improved: ${BASE}% -> ${CURRENT}%"
else
echo "No baseline coverage found, skipping comparison"
echo "Current coverage: ${CURRENT}%"
fi
# Upload coverage as baseline (only on main)
- name: Upload coverage baseline
if: gitea.ref == 'refs/heads/main'
uses: actions/upload-artifact@v3
with:
name: coverage-baseline
path: coverage.txt
retention-days: 90
# Post coverage to PR comment
- name: Post coverage comment
if: gitea.event_name == 'pull_request'
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_URL: ${{ gitea.server_url }}
run: |
COVERAGE=$(go tool cover -func=coverage.txt | grep "^total:" | awk '{print $NF}')
curl -X POST "${GITEA_URL}/api/v1/repos/${{ gitea.repository }}/issues/${{ gitea.event.pull_request.number }}/comments" \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
-d "{\"body\": \"## Coverage Report\n\nTotal coverage: **${COVERAGE}**\"}"
vulnerabilities:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: 'stable'
- name: Check vulnerabilities
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
+25
View File
@@ -0,0 +1,25 @@
name: pre-commit
permissions: read-all
on:
pull_request:
push:
branches:
- main
jobs:
pre-commit:
runs-on: ubuntu-latest
env:
SKIP: no-commit-to-branch
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: stable
- uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install goimports
run: go install golang.org/x/tools/cmd/goimports@latest
- uses: pre-commit/action@v3.0.1
+9
View File
@@ -0,0 +1,9 @@
name: Release
on:
push:
branches: [main]
jobs:
release:
uses: unboundsoftware/shared-workflows/.gitea/workflows/Release.yml@main
+1
View File
@@ -1,2 +1,3 @@
.idea
.claude
/release
-38
View File
@@ -1,38 +0,0 @@
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- project: unboundsoftware/ci-templates
file: Defaults.gitlab-ci.yml
- project: unboundsoftware/ci-templates
file: Release.gitlab-ci.yml
- project: unboundsoftware/ci-templates
file: Pre-Commit-Go.gitlab-ci.yml
image: amd64/golang:1.24.4@sha256:3494bbe140127d12656113203ec91b8e3ff34e8a2b06a0a22bb0d8a41cc69e53
stages:
- deps
- test
deps:
stage: deps
script:
- go mod download
test:
stage: test
dependencies:
- deps
script:
- CGO_ENABLED=1 go test -mod=readonly -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=$(go list ./... | tr '\n' , | sed 's/,$//') ./...
- go tool cover -html=coverage.txt -o coverage.html
- go tool cover -func=coverage.txt
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
- ./codecov -t ${CODECOV_TOKEN} -R $CI_PROJECT_DIR -C $CI_COMMIT_SHA -r $CI_PROJECT_PATH
vulnerabilities:
stage: test
image: amd64/golang:1.24.4@sha256:3494bbe140127d12656113203ec91b8e3ff34e8a2b06a0a22bb0d8a41cc69e53
script:
- go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck ./...
+6 -13
View File
@@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@@ -10,15 +10,8 @@ repos:
args:
- --allow-multiple-documents
- id: check-added-large-files
- repo: https://gitlab.com/devopshq/gitlab-ci-linter
rev: v1.0.6
hooks:
- id: gitlab-ci-linter
args:
- --project
- unboundsoftware/shiny/presenter
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.22.0
rev: v9.24.0
hooks:
- id: commitlint
stages: [ commit-msg ]
@@ -30,17 +23,17 @@ repos:
- id: go-imports
args:
- -local
- gitlab.com/unboundsoftware/shiny/presenter
- gitea.unbound.se/shiny/presenter
- repo: https://github.com/lietu/go-pre-commit
rev: v0.1.0
rev: v1.0.0
hooks:
- id: go-test
- id: gofumpt
- repo: https://github.com/golangci/golangci-lint
rev: v2.1.6
rev: v2.10.1
hooks:
- id: golangci-lint-full
- repo: https://github.com/gitleaks/gitleaks
rev: v8.27.2
rev: v8.30.0
hooks:
- id: gitleaks
+13
View File
@@ -0,0 +1,13 @@
# Coverage configuration for go-test-coverage
# https://github.com/vladopajic/go-test-coverage
profile: coverage.txt
threshold:
file: 0
package: 0
total: 0
exclude:
paths:
- _test\.go$
+3
View File
@@ -0,0 +1,3 @@
{
"version": "v0.3.3"
}
+208
View File
@@ -2,12 +2,195 @@
All notable changes to this project will be documented in this file.
## [0.3.3] - 2026-02-20
### 🐛 Bug Fixes
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.87
## [0.3.2] - 2026-02-19
### 🐛 Bug Fixes
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.86 (#117)
- *(deps)* Update module github.com/vektah/gqlparser/v2 to v2.5.32 (#127)
### ⚙️ Miscellaneous Tasks
- *(deps)* Update golang:1.25.5 docker digest to 3a01526 (#119)
- *(deps)* Update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.24.0 (#120)
- *(deps)* Update golang docker tag to v1.25.6 (#121)
- Remove GitLab CI configuration
- Add code coverage integration
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.9.0 (#125)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.10.1 (#126)
## [0.3.1] - 2026-01-09
### ⚙️ Miscellaneous Tasks
- *(deps)* Update actions/setup-python action to v6
- Migrate module path to gitea.unbound.se
## [0.3.0] - 2026-01-09
### 🚀 Features
- Migrate from GitLab CI to Gitea Actions
### 🐛 Bug Fixes
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.85
- Update module path from gitlab to git.unbound.se
### 📚 Documentation
- Add CLAUDE.md for Claude Code integration
### ⚙️ Miscellaneous Tasks
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.30.0
- *(deps)* Update golang docker tag to v1.25.5
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.7.0
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.7.1
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.7.2
- *(deps)* Update golang:1.25.5 docker digest to 0c27bcf
- *(deps)* Update golang:1.25.5 docker digest to ad03ba9
- *(deps)* Update actions/checkout action to v6
- *(deps)* Update actions/setup-go action to v6
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.8.0
- Add pre-commit and release workflows
## [0.2.2] - 2025-11-24
### 🐛 Bug Fixes
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.84
### ⚙️ Miscellaneous Tasks
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.6.2
- *(deps)* Update golang:1.25.4 docker digest to efe81fa
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.29.1
## [0.2.1] - 2025-11-13
### 🐛 Bug Fixes
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.82
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.83
### ⚙️ Miscellaneous Tasks
- *(deps)* Update golang docker tag to v1.25.4
## [0.2.0] - 2025-11-05
### 🚀 Features
- *(errors)* Add new entity types for bank connections and transactions
### 🐛 Bug Fixes
- *(deps)* Update module github.com/vektah/gqlparser/v2 to v2.5.31
### ⚙️ Miscellaneous Tasks
- *(deps)* Update golang:1.25.1 docker digest to 12640a4
- *(deps)* Update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.23.0
- *(deps)* Update golang docker tag to v1.25.2
- *(deps)* Update golang docker tag to v1.25.3
- *(deps)* Update golang:1.25.3 docker digest to 69d1009
- Clean up cliff.toml configuration
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.6.0
- *(deps)* Update golang:1.25.3 docker digest to 9ac0edc
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.6.1
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.29.0
## [0.1.8] - 2025-09-26
### 🐛 Bug Fixes
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.81
### ⚙️ Miscellaneous Tasks
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.5.0
## [0.1.7] - 2025-09-17
### 🐛 Bug Fixes
- *(deps)* Update module github.com/stretchr/testify to v1.11.0
- *(deps)* Update module github.com/stretchr/testify to v1.11.1
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.79
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.80
### ⚙️ Miscellaneous Tasks
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.3.1
- *(deps)* Update golang docker tag to v1.24.6
- *(deps)* Update pre-commit hook pre-commit/pre-commit-hooks to v6
- *(deps)* Update golang:1.24.6 docker digest to 958bfd1
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.4.0
- *(deps)* Update golang docker tag to v1.25.0
- *(deps)* Update golang:1.25.0 docker digest to f6b9e1a
- *(deps)* Update golang docker tag to v1.25.1
- *(deps)* Update golang:1.25.1 docker digest to 53f7808
- *(deps)* Update pre-commit hook lietu/go-pre-commit to v1
## [0.1.6] - 2025-07-28
### 🐛 Bug Fixes
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.78
### ⚙️ Miscellaneous Tasks
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.2.1
- *(deps)* Update golang:1.24.4 docker digest to 9f820b6
- *(deps)* Update golang docker tag to v1.24.5
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.2.2
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.28.0
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.3.0
- *(deps)* Update golang:1.24.5 docker digest to 0a156a4
## [0.1.5] - 2025-06-29
### 🐛 Bug Fixes
- *(deps)* Update module github.com/vektah/gqlparser/v2 to v2.5.30
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.76
### ⚙️ Miscellaneous Tasks
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.2.0
## [0.1.4] - 2025-06-28
### 🐛 Bug Fixes
- *(deps)* Update module github.com/vektah/gqlparser/v2 to v2.5.29
## [0.1.3] - 2025-06-16
### 🐛 Bug Fixes
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.75
## [0.1.2] - 2025-06-16
### 🐛 Bug Fixes
- *(deps)* Update module github.com/vektah/gqlparser/v2 to v2.5.28
### ⚙️ Miscellaneous Tasks
- *(deps)* Update golang docker tag to v1.24.4
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.27.1
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.27.2
- *(deps)* Update golang:1.24.4 docker digest to 3494bbe
## [0.1.1] - 2025-06-02
### 🐛 Bug Fixes
@@ -15,6 +198,11 @@ All notable changes to this project will be documented in this file.
- Update project reference in pre-commit config
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.74
### ⚙️ Miscellaneous Tasks
- *(deps)* Update golang:1.24.3 docker digest to f255a7d
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.27.0
## [0.1.0] - 2025-05-16
### 🚀 Features
@@ -30,12 +218,32 @@ All notable changes to this project will be documented in this file.
- *(deps)* Update module github.com/99designs/gqlgen to v0.17.73
- *(deps)* Update module github.com/vektah/gqlparser/v2 to v2.5.27
### ⚙️ Miscellaneous Tasks
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.1.2
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.1.4
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.1.5
- *(deps)* Update golang:1.24.2 docker digest to bf7899c
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.25.0
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.25.1
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.1.6
- *(deps)* Update golang docker tag to v1.24.3
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.26.0
## [0.0.2] - 2025-04-14
### 🐛 Bug Fixes
- *(deps)* Update module github.com/vektah/gqlparser/v2 to v2.5.24
### ⚙️ Miscellaneous Tasks
- *(deps)* Update golang docker tag to v1.24.2
- *(deps)* Update golang:1.24.2 docker digest to aebb7df
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.24.3
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.1.0
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.1.1
## [0.0.1] - 2025-03-30
### 🚀 Features
+42
View File
@@ -0,0 +1,42 @@
# presenter
Shared Go library for GraphQL error presentation with coded errors.
## Shared Documentation
@../docs/claude/architecture.md
@../docs/claude/go-services.md
@../docs/claude/graphql.md
@../docs/claude/conventions.md
## Library Information
### Purpose
Provides a standardized GraphQL error presenter that handles coded errors across all microservices. Converts internal error codes to GraphQL error extensions.
### Usage
```go
import "gitea.unbound.se/shiny/presenter"
// Create error presenter with valid codes and entities
errorPresenter := presenter.New(logger, validCodes, validEntities, internalErrorCode)
// Use in gqlgen server config
srv := handler.NewDefaultServer(generated.NewExecutableSchema(cfg))
srv.SetErrorPresenter(errorPresenter)
```
### Key Types
- `CodedError` - Error type with code, entity, and params
- `Code` - Error code type
- `Entity` - Error entity type
### Error Extensions
Errors are presented with extensions:
- `code` - The error code (mapped to valid codes or internal error)
- `errorEntity` - The entity related to the error (optional)
- `params` - Additional error parameters (optional)
-3
View File
@@ -1,6 +1,3 @@
# Shiny global error presenter
GraphQL global error presenter handling coded errors.
[![Build Status](https://gitlab.com/unboundsoftware/shiny/presenter/badges/main/pipeline.svg)](https://gitlab.com/unboundsoftware/shiny/presenter/commits/main)
[![codecov](https://codecov.io/gl/unboundsoftware:shiny/presenter/branch/main/graph/badge.svg?token=8F3HKACF7A)](https://codecov.io/gl/unboundsoftware:shiny/presenter)
+17 -24
View File
@@ -5,9 +5,6 @@
# Configuration options are organized into tables and keys.
# See documentation for more information on available options.
[bump]
initial_tag = "v0.0.1"
[changelog]
# template for the changelog header
header = """
@@ -39,7 +36,7 @@ footer = """
trim = true
# postprocessors
postprocessors = [
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
]
# render body even when there are no releases to process
# render_always = true
@@ -55,28 +52,25 @@ filter_unconventional = true
split_commits = false
# regex for preprocessing the commit messages
commit_preprocessors = [
# Replace issue numbers
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
# Check spelling of the commit with https://github.com/crate-ci/typos
# If the spelling is incorrect, it will be automatically fixed.
#{ pattern = '.*', replace_command = 'typos --write-changes -' },
# Replace issue numbers
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
# Check spelling of the commit with https://github.com/crate-ci/typos
# If the spelling is incorrect, it will be automatically fixed.
#{ pattern = '.*', replace_command = 'typos --write-changes -' },
]
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
]
# filter out the commits that are not matched by commit parsers
filter_commits = false
@@ -84,4 +78,3 @@ filter_commits = false
topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"
tag_pattern = "v[0-9]+\\.[0-9]+\\.[0-9]+"
+2
View File
@@ -36,6 +36,8 @@ const (
EntityTag = Entity("TAG")
EntityEntry = Entity("ENTRY")
EntityEntryBasis = Entity("ENTRY_BASIS")
EntityBankConnection = Entity("BANK_CONNECTION")
EntityBankTransaction = Entity("BANK_TRANSACTION")
)
type CodedError struct {
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/require"
"gitlab.com/unboundsoftware/shiny/presenter"
"gitea.unbound.se/shiny/presenter"
)
func TestCodedError_ErrorIs(t *testing.T) {
+6 -5
View File
@@ -1,11 +1,11 @@
module gitlab.com/unboundsoftware/shiny/presenter
module gitea.unbound.se/shiny/presenter
go 1.24.1
go 1.25
require (
github.com/99designs/gqlgen v0.17.74
github.com/stretchr/testify v1.10.0
github.com/vektah/gqlparser/v2 v2.5.28
github.com/99designs/gqlgen v0.17.87
github.com/stretchr/testify v1.11.1
github.com/vektah/gqlparser/v2 v2.5.32
)
require (
@@ -13,5 +13,6 @@ require (
github.com/google/uuid v1.6.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/sosodev/duration v1.3.1 // indirect
golang.org/x/sync v0.19.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
+10 -6
View File
@@ -1,5 +1,7 @@
github.com/99designs/gqlgen v0.17.74 h1:1FuVtkXxOc87xpKio3f6sohREmec+Jvy86PcYOuwgWo=
github.com/99designs/gqlgen v0.17.74/go.mod h1:a+iR6mfRLNRp++kDpooFHiPWYiWX3Yu1BIilQRHgh10=
github.com/99designs/gqlgen v0.17.87 h1:pSnCIMhBQezAE8bc1GNmfdLXFmnWtWl1GRDFEE/nHP8=
github.com/99designs/gqlgen v0.17.87/go.mod h1:fK05f1RqSNfQpd4CfW5qk/810Tqi4/56Wf6Nem0khAg=
github.com/agnivade/levenshtein v1.2.1 h1:EHBY3UOn1gwdy/VbFwgo4cxecRznFk7fKWN1KOX7eoM=
github.com/agnivade/levenshtein v1.2.1/go.mod h1:QVVI16kDrtSuwcpd0p1+xMC6Z/VfhtCyDIjcwga4/DU=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -12,10 +14,12 @@ github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
github.com/sosodev/duration v1.3.1 h1:qtHBDMQ6lvMQsL15g4aopM4HEfOaYuhWBw3NPTtlqq4=
github.com/sosodev/duration v1.3.1/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/vektah/gqlparser/v2 v2.5.28 h1:bIulcl3LF69ba6EiZVGD88y4MkM+Jxrf3P2MX8xLRkY=
github.com/vektah/gqlparser/v2 v2.5.28/go.mod h1:D1/VCZtV3LPnQrcPBeR/q5jkSQIPti0uYCP/RI0gIeo=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/vektah/gqlparser/v2 v2.5.32 h1:k9QPJd4sEDTL+qB4ncPLflqTJ3MmjB9SrVzJrawpFSc=
github.com/vektah/gqlparser/v2 v2.5.32/go.mod h1:c1I28gSOVNzlfc4WuDlqU7voQnsqI6OG2amkBAFmgts=
golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4=
golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/vektah/gqlparser/v2/gqlerror"
"gitlab.com/unboundsoftware/shiny/presenter"
"gitea.unbound.se/shiny/presenter"
)
func Test_globalErrorPresenter(t *testing.T) {