Skip to content

feat(annotation): introduce LineStyle constants and JSON handling#13

Merged
rschmied merged 7 commits into
mainfrom
dev
Mar 18, 2026
Merged

feat(annotation): introduce LineStyle constants and JSON handling#13
rschmied merged 7 commits into
mainfrom
dev

Conversation

@rschmied

Copy link
Copy Markdown
Owner
  • add LineStyle constants: LineStyleArrow, LineStyleSquare, LineStyleCircle
  • implement LineStyle.MarshalJSON to handle unknown values
  • update LineAnnotationPartial JSON tags to include null keys for PATCH requests
  • add tests for LineStyle marshalling and validation
  • bump version constraint to >=2.9.0 in system services
  • adjust version strings in tests and documentation
  • update README with compatibility notes and examples

- implement StaticTokenProvider returning consistent token
- introduce WithStaticToken option in client configuration
- ensure no calls to /api/v0/auth_extended with retries on 401
- enhance AuthProvider to error on missing credentials
- add tests for SetDefault(nil) using slog.Default
- verify emitted slog records with Debug/Info/Warn/Error wrappers
- enhance tests in pkg/models for error handling in annotations
- ensure proper behavior of DiskImage1 unmarshal and omit optional fields
- add `lint` job in GitHub Actions after build
- integrate `go vet` and `golangci-lint-action v6` for linting
- update Makefile with phony targets `test`, `vet`, `lint`
- revise README.md with new linting instructions
- add LineStyle constants: LineStyleArrow, LineStyleSquare,
  LineStyleCircle
- implement LineStyle.MarshalJSON to handle unknown values
- update LineAnnotationPartial JSON tags to include null keys
  for PATCH requests
- add tests for LineStyle marshalling and validation
- bump version constraint to >=2.9.0 in system services
- adjust version strings in tests and documentation
- update README with compatibility notes and examples
@rschmied rschmied merged commit 8c2d257 into main Mar 18, 2026
6 checks passed
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 92.88% (+0.02%) from 92.857%
when pulling 735ae95 on dev
into cf17ff6 on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants