Skip to content

Bump version to 0.9.0 - #24

Merged
bbangert merged 1 commit into
mainfrom
chore/bump-0.9.0
Aug 15, 2026
Merged

Bump version to 0.9.0#24
bbangert merged 1 commit into
mainfrom
chore/bump-0.9.0

Conversation

@bbangert

@bbangert bbangert commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Version bump for release, following #23.

What's in the release

EntityProvider.handle_command/2 (#23) — optional callback receiving %{encrypted?: boolean()}. The ESPHome protocol offers no authentication a server can act on: AuthenticationRequest is answered unconditionally, so a Noise session is the only real credential and a keyless server accepts entity commands from anything on the LAN. Espex can't decide which commands are dangerous — a ButtonCommandRequest for "factory reset" and one for "toggle a lamp" are the same message type — so it supplies the context and the provider decides. Fully backward compatible via @optional_callbacks; providers without /2 are unaffected.

Also in this PR

The README install snippet still said {:espex, "~> 0.1"}, eight minor versions stale. Corrected to ~> 0.9. Pre-existing, unrelated to #23 — folded in because this PR is about versions, but happy to split it out.

Minor rather than patch: #23 adds a public callback
(EntityProvider.handle_command/2), so consumers need a constraint that
guarantees it exists. On 0.8.0 a provider exporting /2 would compile
fine and simply never be called — the gate would be silently inert —
which is a bad failure mode to leave reachable via "~> 0.8".

Also corrects the README install snippet, which still said "~> 0.1".

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bbangert
bbangert merged commit 87aa0de into main Aug 15, 2026
3 checks passed
@bbangert
bbangert deleted the chore/bump-0.9.0 branch August 15, 2026 15:20
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