Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 13 Oct 04:59
· 117 commits to main since this release
f245c4b

Fixes from the first two teams on 0.1.1: the Kubernetes Secret namespace, batch-can object
fields, registration of a fragment without the company anchor and the grants rule for other apps'
types; plus trusted publishing, the release gate off the advisory feed, and the glue scripts
reduced to one Go tool.

  • Kubernetes: the overlays set namespace: kiban, the generated and example Secrets carry it, and make k8s-check fails on any rendered resource outside it; in 0.1.1 the Secret moved to the overlay without a namespace, landed in the kubeconfig's current one, and every pod waited on it

  • batch-can echoes each result's object as {type, id} again; 0.1.1 wrote the Go field names Type/ID, so the Node and Python SDKs returned an empty object on every row (decisions were right; the Go SDK was unaffected because its decoder matches field names case-insensitively); the OpenAPI object reference is now exactly {type, id} and the live OpenAPI run validates it

  • App registration refuses a fragment whose object type lacks the company_module anchor with 422, nothing stored; before, it registered and every authorization check for every module failed once the app was enabled, because authz validates the anchor only when it loads the fragment

  • Grants: an app's service account that is a member of a company can no longer write tuples on another app's object types there; a non-owner app needs the company's admin relation (403 COMPANY_ROLE_REQUIRED otherwise), the superadmin exception and the owning app's own types are unchanged

  • Release gate no longer runs the advisory scan at the tag (make check VULNCHECK=0); govulncheck stays on every PR and runs weekly (vulncheck.yml), opening a security issue on a finding, so a release never races the advisory feed

  • API docs pages load Redoc from Redocly's CDN through one pinned, integrity-checked <script> instead of inlining the bundle into docs/api/*.html; the backend SDK trims the gateway origin's trailing slashes without a regex; the remaining code-scanning alerts were triaged with a written reason each

  • SDKs publish to npm and PyPI by trusted publishing (OIDC from release.yml); the NPM_TOKEN and PYPI_APIKEY secrets are no longer read and can be deleted once the publishers are registered on npmjs.com and pypi.org

  • The nine manual proof scripts (infra/e2e-*.sh, modules/*/curl-proof.sh, the restart-survival proof, org's smoke.sh) are removed; the -tags live Go tests and the Playwright suites cover those journeys in the gate. The Python SDK's build output is no longer tracked

  • One developer tool, go run ./tools/dev <subcommand>, replaces the five gate and generator scripts (coverage-gate.sh, kustomize-check.sh, license-scan.sh, pin-images.sh, gen-quickstart-compose.sh), build-api-docs.mjs, cmd/modvalidate and the three tools/*/cmd binaries; every make target is one line and nothing is CI-only

  • No shell in the images: the migrate job and bootstrap set database role passwords over the wire (go run ./tools/dev migrate, internal/dbrole), the gateway generates its own self-signed development certificate (KIBAN_TLS_SELF_SIGNED_DIR; no gateway-devcert image, 12 images), the two Postgres init scripts are one, and deploy/k8s/kiban.sh secrets|apply replaces gen-secrets.sh and apply.sh

  • Full changelog: https://github.com/rosschiu/kiban/blob/v0.1.2/CHANGELOG.md

  • Known limitations: https://rosschiu.github.io/kiban/limitations/