Skip to content

v0.4.6

Choose a tag to compare

@proggeramlug proggeramlug released this 24 Mar 08:38
· 4596 commits to main since this release

Bug Fixes

  • Class field splice: this.field.splice() on class fields caused memory corruption — HIR now desugars to a temp variable pattern (copy → mutate → write-back)
  • i18n locale detection: Apple platforms now use NSBundle.preferredLocalizations to respect per-app language settings in iOS Settings, falling back to CFLocaleCopyCurrent
  • System preferences: perry_system_preferences_get handles NSArray values (e.g., AppleLanguages) on iOS — returns first element as string
  • Safe widget removal (macOS + iOS): clear_children and remove_child now snapshot subviews before mutation, remove in reverse order, and clean up metadata maps (constraints, parent map, bg color map)

Tests

  • New WASM tests for class field array splice and module-level array splice