Skip to content

docs: bump README install hint to 0.7 and clarify deferred :allow contract#79

Merged
joshrotenberg merged 1 commit into
mainfrom
docs/post-0-7-1-tweaks
May 13, 2026
Merged

docs: bump README install hint to 0.7 and clarify deferred :allow contract#79
joshrotenberg merged 1 commit into
mainfrom
docs/post-0-7-1-tweaks

Conversation

@joshrotenberg

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • mix format --check-formatted
  • mix compile --warnings-as-errors
  • mix docs (no warnings)
  • mix credo --strict
  • mix test (136 tests, 0 failures)

…tract

- README installation snippets pointed at `~> 0.6`; the current line
  is 0.7 (0.7.1 just released).
- DuplexSession.respond_to_permission/3 doc said the decision shape
  is identical to a synchronous handler return value. After #71/#76
  that is subtly inaccurate: the sync dispatch defaults `:allow` to
  `{:allow, input}` automatically, but the deferred path can't (the
  session does not retain per-request input across the defer
  boundary). Add an admonition spelling out that callers using the
  deferred path should pass `{:allow, input}` if they need
  `updatedInput` populated.
@joshrotenberg joshrotenberg merged commit 1ef17fc into main May 13, 2026
2 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.

1 participant