Skip to content

feat(api): align SDK with KSeF API 2.2.0#25

Merged
smekcio merged 1 commit intomainfrom
feat/api-2-2-0-alignment
Mar 3, 2026
Merged

feat(api): align SDK with KSeF API 2.2.0#25
smekcio merged 1 commit intomainfrom
feat/api-2-2-0-alignment

Conversation

@smekcio
Copy link
Owner

@smekcio smekcio commented Mar 3, 2026

Summary

  • add support for POST /permissions/query/entities/grants (sync + async clients)
  • regenerate OpenAPI models to include 2.2.0 schemas (clientIp, Problem Details, entity permissions query models)
  • map clientIp in high-level auth challenge model
  • handle application/problem+json (and other +json) in HTTP error parsing
  • update docs compatibility reference to API 2.2.0

Validation

  • .venv\\Scripts\\python.exe -m pip check
  • .venv\\Scripts\\python.exe tools/lint.py
  • .venv\\Scripts\\python.exe -m pytest --cov=ksef_client --cov-report=term-missing --cov-fail-under=100
  • python tools/check_coverage.py --openapi ksef-docs/open-api.json --src src/ksef_client/clients --exclude-files lighthouse.py
  • python tools/check_coverage.py --openapi ../temp/openapi-test-v2.json --src src/ksef_client/clients --exclude-files lighthouse.py

Closes #24

@smekcio smekcio mentioned this pull request Mar 3, 2026
3 tasks
@smekcio smekcio merged commit 9583341 into main Mar 3, 2026
17 checks passed
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.

ksef-docs: nowy release 2.2.0

1 participant