Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6f71fc904 | ||
|
|
036295cced | ||
|
|
d865530f4e | ||
|
|
96e37e9250 | ||
|
|
7eac2476b3 | ||
|
|
72353788ae |
No files matched your search
@@ -19,7 +19,7 @@ jobs:
|
|||||||
go-version: stable
|
go-version: stable
|
||||||
- uses: actions/setup-python@v7
|
- uses: actions/setup-python@v7
|
||||||
with:
|
with:
|
||||||
python-version: '3.14'
|
python-version: '3.15'
|
||||||
- name: Install goimports
|
- name: Install goimports
|
||||||
run: go install golang.org/x/tools/cmd/goimports@latest
|
run: go install golang.org/x/tools/cmd/goimports@latest
|
||||||
- uses: pre-commit/action@v3.0.1
|
- uses: pre-commit/action@v3.0.1
|
||||||
@@ -11,7 +11,7 @@ repos:
|
|||||||
- --allow-multiple-documents
|
- --allow-multiple-documents
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
||||||
rev: v9.26.0
|
rev: v9.27.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: commitlint
|
- id: commitlint
|
||||||
stages: [ commit-msg ]
|
stages: [ commit-msg ]
|
||||||
@@ -23,14 +23,14 @@ repos:
|
|||||||
- id: go-imports
|
- id: go-imports
|
||||||
args:
|
args:
|
||||||
- -local
|
- -local
|
||||||
- gitea.unbound.se/shiny/subscriptions
|
- git.unbound.se/shiny/subscriptions
|
||||||
- repo: https://github.com/lietu/go-pre-commit
|
- repo: https://github.com/lietu/go-pre-commit
|
||||||
rev: v1.0.0
|
rev: v1.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: go-test
|
- id: go-test
|
||||||
- id: gofumpt
|
- id: gofumpt
|
||||||
- repo: https://github.com/golangci/golangci-lint
|
- repo: https://github.com/golangci/golangci-lint
|
||||||
rev: v2.13.1
|
rev: v2.14.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: golangci-lint-full
|
- id: golangci-lint-full
|
||||||
- repo: https://github.com/gitleaks/gitleaks
|
- repo: https://github.com/gitleaks/gitleaks
|
||||||
|
|||||||
+14
-1
@@ -2,7 +2,20 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## [0.1.1] - 2026-08-21
|
## [0.2.0] - 2026-10-17
|
||||||
|
|
||||||
|
### 🚀 Features
|
||||||
|
|
||||||
|
- Move module path to git.unbound.se (#26)
|
||||||
|
|
||||||
|
### ⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
|
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.13.2 (#18)
|
||||||
|
- *(deps)* Update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.27.0 (#20)
|
||||||
|
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.14.0 (#22)
|
||||||
|
- *(deps)* Update dependency python to 3.15 (#24)
|
||||||
|
|
||||||
|
## [0.1.1] - 2026-08-29
|
||||||
|
|
||||||
### 🐛 Bug Fixes
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ instances of the pattern to use this library rather than copy it.
|
|||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "gitea.unbound.se/shiny/subscriptions"
|
import "git.unbound.se/shiny/subscriptions"
|
||||||
|
|
||||||
// One registry per subscription field, parameterised by the GraphQL payload.
|
// One registry per subscription field, parameterised by the GraphQL payload.
|
||||||
reg := subscriptions.New[model.EntryBasisChange](
|
reg := subscriptions.New[model.EntryBasisChange](
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ of that pattern, extracted from the hand-rolled copies in `authz-service`
|
|||||||
(`availableCompanies`) and `accounting-service` (`entryBasesChanged`).
|
(`availableCompanies`) and `accounting-service` (`entryBasesChanged`).
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "gitea.unbound.se/shiny/subscriptions"
|
import "git.unbound.se/shiny/subscriptions"
|
||||||
|
|
||||||
// One registry per subscription, parameterised by the GraphQL payload type.
|
// One registry per subscription, parameterised by the GraphQL payload type.
|
||||||
reg := subscriptions.New[model.EntryBasisChange](subscriptions.WithLogger(logger))
|
reg := subscriptions.New[model.EntryBasisChange](subscriptions.WithLogger(logger))
|
||||||
|
|||||||
Reference in new issue
Block a user