github PerryTS/perry v0.4.6

latest releases: v0.5.1220, v0.5.1219, v0.5.1206...
3 months ago

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

Don't miss a new perry release

NewReleases is sending notifications on new releases.