Skip to content

v0.50.0

Choose a tag to compare

@nodejsmith-release-please nodejsmith-release-please released this 24 Jul 19:02
d29ccd2

⚠ 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)
  • ui: refine app detail handler diagnostics (#1411)

Bug Fixes

  • key appStatus WebSocket state per app instance — app detail pages now show status for the correct instance (#1399)
  • move tomli-w to production dependencies to fix Docker crash (#1409)
  • replace clickable log table rows with explicit detail controls (#1403)
  • thread time-window into log fetch and deduplicate by row key (#1397)
  • ui: fix column picker popover clipping at viewport bottom (#1406)

Refactoring

  • namespace helper CRUD behind Api.helpers — replaces 35 flat methods with 4 generic overloaded methods plus counter shortcuts (#1362)