You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
⚠ BREAKING CHANGES
Resource.cache replaced by instance-scoped App.cache — cache access moves to App only. The API is now async (await self.cache.get(key), await self.cache.set(key, value, ttl=...), await self.cache.get_or_set(key, creator, ttl=...), .clear(), .invalidate(*keys)), with a self.cache.sync accessor for sync equivalents. HassetteConfig.default_cache_size is replaced by HassetteConfig.default_cache_ttl (seconds). diskcache is no longer a dependency, and existing on-disk cache data is orphaned on upgrade. (#1361)
Helper CRUD methods namespaced under Api.helpers — all 35 flat helper methods (list_input_booleans(), create_input_boolean(), update_counter(), delete_timer(), increment_counter(), etc.) are removed from Api, ApiSyncFacade, RecordingApi, and RecordingApiSyncFacade. Use api.helpers.list("input_boolean"), api.helpers.create(CreateInputBooleanParams(...)), api.helpers.update(helper_id, UpdateCounterParams(...)), api.helpers.delete("timer", helper_id). The sync facade mirrors this at api.sync.helpers.*. (#1362)
Features
replace Resource.cache with instance-scoped async App.cache — per-app cache with TTL support, WAL-mode SQLite, and corruption recovery (#1361)
render raw config as TOML with syntax highlighting on the config tab (#1405)
ui: add execution detail page with linked execution IDs (#1375)