Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Jul 01:11
· 116 commits to main since this release
v0.1.0
abf054c

Changelog

Breaking changes

  • feat!: require signing_key in config, drop the separate key file

Features

  • feat(server): add /up liveness endpoint echoing the build version
  • feat(server): gzip-compress compressible responses
  • feat(static): give served assets a short cache lifetime
  • feat(web): add a meta description to the login page
  • feat: prove configured audiences end-to-end and document in the example
  • feat(provider): resolve configured audiences into token requests
  • feat(config): parse and validate optional audiences lists
  • feat(config): configurable token lifetimes
  • feat(cli): read config path and listen address from the environment
  • feat(init): generate the signing key into the config file
  • feat(config): parse optional signing_key into an RSA private key

Bug fixes

  • fix(server): set WriteTimeout and IdleTimeout on the HTTP server
  • fix(static): do not cache error responses
  • fix(web): collapse --faint into --muted at WCAG AA contrast in both themes
  • fix(provider): clone resolved audience lists before handing them to op
  • fix(config): tolerate reflowed signing_key values and neutralise the missing-key hint
  • fix(provider): derive the JWKS kid deterministically from the signing key

Documentation

  • docs: write the root README
  • docs(init): point the starter config at the repo for richer examples
  • docs(example): rewrite the example README
  • docs(example): clarify hamnir.yaml config comments
  • docs: remove the deleted /static/ route from New and Routes comments
  • docs(command): add package comment and document Serve
  • docs(server): add package comment
  • docs(web): document the Handler, its constructor, and route registration
  • docs(provider): add package doc, token type docs, and CreateAccessToken note
  • docs(config): document Load, Validate, exported errors and config types
  • docs(static): document the static asset mount and directory-listing guard
  • docs(persona): document exported symbols and claim-release precedence
  • docs(examples): commit a signing key in the example config

Others

  • Merge pull request #7 from strangemattersystems/jgmw/over-time-hardening
  • chore(tooling): add an exec task that builds and runs the binary
  • refactor(example): tidy and harden the webapp relying party
  • refactor(example): sort webapp config by ownership
  • chore(example): tweak gitignore comment
  • Merge pull request #6 from strangemattersystems/jgmw/persona-hardening
  • ci: run test and lint even when one fails, test first
  • chore(web): document the gosec G203 exception for the inlined stylesheet
  • test(server): cover the gzip Range passthrough guard
  • refactor(web): inline the stylesheet and drop the /static/ route
  • test(command): cover Serve/Init error paths and run in parallel
  • test(command): fold TestInit_* subtests into TestInit
  • test(server): cover New's error path and run the tests in parallel
  • test(server): fold TestNew_ServesStatic into TestNew
  • test(web): cover postSelect error paths and initial, run in parallel
  • test(web): reorganize tests by handler method
  • refactor(web): fold embed.go into login.go
  • test(provider): run the provider tests in parallel
  • test(provider): cover auth-request, revocation, and introspection edge paths
  • test(provider): cover configured-client lookup and secret auth
  • test(provider): normalize constructor test names to Test
  • test(config): run the config tests in parallel
  • test(config): cover static-ref traversal, malformed refs, and load errors
  • test(static): cover file serving and the directory-listing guard
  • test(persona): cover claim-release precedence and persona edge cases
  • refactor(persona): return a read-only iterator from Set.All
  • Merge pull request #5 from strangemattersystems/jgmw/access-token-audiences
  • Merge pull request #4 from strangemattersystems/jgmw/signing-key-in-config
  • test(command): gate signing_key injection on an explicit table knob
  • build(release): anchor breaking-change detection and drop dead changelog regexp branches"
  • build(release): group breaking changes into their own changelog section