Skip to content

v0.39.0

Choose a tag to compare

@hassette-release-please hassette-release-please released this 01 Jun 02:55
d2a0ea8

0.39.0 (2026-06-01)

⚠ BREAKING CHANGES

  • App.send_event(topic, data) and AppSync.send_event_sync(topic, data) are removed. Use self.bus.emit(topic, data) instead — same arguments, same behavior, now on the bus where subscriptions live.
  • HassettePayload no longer accepts an event_type parameter. Remove event_type= from any HassettePayload(...) or HassetteServiceEvent(...) construction. EventPayload base class also no longer has event_type — use HassPayload.event_type for HA events, or event.topic for routing.
  • send_event() now takes a single Event argument instead of (event_name, event). User code calling App.send_event(name, event) or App.send_event_sync(name, event) must change to send_event(event) — the event's topic field is used for routing.

Features

  • add Bus.emit for in-process broadcast with EventData[T] DI accessor (#952) (082a59e)

Bug Fixes

  • ci: add frontend build to release-please publish pipeline (#941) (8b33713)
  • prevent aiosqlite worker threads from blocking interpreter exit (#923) (#948) (a17b57b)

Refactoring

  • remove event_type from EventPayload base and HassettePayload (#947) (8037297)
  • remove redundant event_name parameter from send_event (#946) (e282f81), closes #943