86 Commits

Author SHA1 Message Date
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
10 changed files with 205 additions and 40 deletions
+1
View File
@@ -1,2 +1,3 @@
.idea
.claude
/release
+2 -2
View File
@@ -7,7 +7,7 @@ include:
- project: unboundsoftware/ci-templates
file: Pre-Commit-Go.gitlab-ci.yml
image: amd64/golang:1.24.5@sha256:0a156a4a26df7babc9944fa442dfe38e9f867b45869e182d056a174b7f949f8c
image: amd64/golang:1.25.5@sha256:ad03ba93327b8a6143b49373790b5d92c28067bdb814418509466122ee9c9e63
stages:
- deps
@@ -32,7 +32,7 @@ test:
vulnerabilities:
stage: test
image: amd64/golang:1.24.5@sha256:0a156a4a26df7babc9944fa442dfe38e9f867b45869e182d056a174b7f949f8c
image: amd64/golang:1.25.5@sha256:ad03ba93327b8a6143b49373790b5d92c28067bdb814418509466122ee9c9e63
script:
- go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck ./...
+5 -5
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
@@ -18,7 +18,7 @@ repos:
- --project
- unboundsoftware/shiny/presenter
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.22.0
rev: v9.23.0
hooks:
- id: commitlint
stages: [ commit-msg ]
@@ -32,15 +32,15 @@ repos:
- -local
- gitlab.com/unboundsoftware/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.3.0
rev: v2.7.2
hooks:
- id: golangci-lint-full
- repo: https://github.com/gitleaks/gitleaks
rev: v8.28.0
rev: v8.30.0
hooks:
- id: gitleaks
+1
View File
@@ -0,0 +1 @@
{"version":"v0.2.2"}
+124
View File
@@ -2,12 +2,100 @@
All notable changes to this project will be documented in this file.
## [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
@@ -15,6 +103,10 @@ All notable changes to this project will be documented in this file.
- *(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
@@ -33,6 +125,13 @@ All notable changes to this project will be documented in this file.
- *(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
@@ -40,6 +139,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
@@ -55,12 +159,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 "gitlab.com/unboundsoftware/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)
+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 {
+3 -3
View File
@@ -3,9 +3,9 @@ module gitlab.com/unboundsoftware/shiny/presenter
go 1.24.1
require (
github.com/99designs/gqlgen v0.17.78
github.com/stretchr/testify v1.10.0
github.com/vektah/gqlparser/v2 v2.5.30
github.com/99designs/gqlgen v0.17.85
github.com/stretchr/testify v1.11.1
github.com/vektah/gqlparser/v2 v2.5.31
)
require (
+8 -6
View File
@@ -1,5 +1,7 @@
github.com/99designs/gqlgen v0.17.78 h1:bhIi7ynrc3js2O8wu1sMQj1YHPENDt3jQGyifoBvoVI=
github.com/99designs/gqlgen v0.17.78/go.mod h1:yI/o31IauG2kX0IsskM4R894OCCG1jXJORhtLQqB7Oc=
github.com/99designs/gqlgen v0.17.85 h1:EkGx3U2FDcxQm8YDLQSpXIAVmpDyZ3IcBMOJi2nH1S0=
github.com/99designs/gqlgen v0.17.85/go.mod h1:yvs8s0bkQlRfqg03YXr3eR4OQUowVhODT/tHzCXnbOU=
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,10 @@ 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.30 h1:EqLwGAFLIzt1wpx1IPpY67DwUujF1OfzgEyDsLrN6kE=
github.com/vektah/gqlparser/v2 v2.5.30/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.31 h1:YhWGA1mfTjID7qJhd1+Vxhpk5HTgydrGU9IgkWBTJ7k=
github.com/vektah/gqlparser/v2 v2.5.31/go.mod h1:c1I28gSOVNzlfc4WuDlqU7voQnsqI6OG2amkBAFmgts=
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=