Skip to content

v1.0.19 - Config Preservation & Update Notifications

Choose a tag to compare

@callum-spencer callum-spencer released this 02 Feb 22:17
· 61 commits to main since this release
f315ee9

What's New

Bug Fixes

  • Config Migration: Plugin updates now preserve all user customizations in orxa.json using smart deep merge
  • User values always take precedence over defaults
  • Only adds missing fields, never overwrites

Features

  • Welcome Toast: Animated spinner toast shows on OpenCode startup with current version
  • Update Notifications: Background check of NPM registry for new versions
  • Two-Toast Flow: Welcome toast + update available toast (if applicable)
  • Caching: Update checks cached for 1 hour to avoid hammering NPM
  • Configurable: New ui.autoUpdateCheck option (default: true)

Files Changed

  • postinstall.mjs: Smart config migration
  • src/hooks/welcome-toast.ts: Toast with update integration
  • src/hooks/update-checker.ts: NEW - Background update checker
  • src/config/schema.ts: autoUpdateCheck config option
  • src/config/default-config.ts: Default value for autoUpdateCheck
  • src/plugin.ts: Factory function pattern