wuira 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +62 -792
  3. package/data/icons/forever.json +90051 -0
  4. package/docs/icons.md +28 -0
  5. package/docs/source-converters.md +34 -0
  6. package/lib/datasources/DataSource.d.ts +8 -0
  7. package/lib/datasources/DataSource.lua +7 -0
  8. package/lib/datasources/GroupMembers.d.ts +6 -0
  9. package/lib/datasources/GroupMembers.lua +332 -0
  10. package/lib/datasources/GroupRoster.d.ts +28 -0
  11. package/lib/datasources/GroupRoster.lua +611 -0
  12. package/lib/datasources/MathConverter.d.ts +6 -0
  13. package/lib/datasources/MathConverter.lua +61 -0
  14. package/lib/datasources/MathExpression.d.ts +16 -0
  15. package/lib/datasources/MathExpression.lua +281 -0
  16. package/lib/datasources/Resources.d.ts +3 -2
  17. package/lib/datasources/Resources.lua +57 -48
  18. package/lib/datasources/SourceConverter.d.ts +39 -0
  19. package/lib/datasources/SourceConverter.lua +568 -0
  20. package/lib/datasources/UnitInfo.d.ts +6 -0
  21. package/lib/datasources/UnitInfo.lua +347 -15
  22. package/lib/datasources/UnitSource.d.ts +8 -3
  23. package/lib/datasources/UnitSource.lua +318 -5
  24. package/lib/datasources/index.d.ts +7 -1
  25. package/lib/datasources/index.lua +15 -0
  26. package/lib/icons/index.d.ts +45634 -0
  27. package/lib/icons/index.lua +3 -0
  28. package/lib/index.d.ts +1 -0
  29. package/lib/store/index.lua +20 -18
  30. package/lib/ui/Cell.d.ts +2 -0
  31. package/lib/ui/ForEach.d.ts +18 -4
  32. package/lib/ui/ForEach.lua +763 -13
  33. package/lib/ui/index.d.ts +1 -1
  34. package/package.json +20 -4
  35. package/tools/build-library.mjs +1 -1
  36. package/tools/generate-icons.mjs +10 -0
  37. package/tools/icon-data.mjs +59 -0
  38. package/tools/update-icons.mjs +36 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,44 @@ with the release date and highlight breaking changes explicitly.
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 0.2.5 — 2026-10-16
11
+
12
+ ### Added
13
+
14
+ - `SourceConverter`, `CaseConverter` and `MathConverter` with checked reads,
15
+ shared event subscriptions, strict case matching and a bounded arithmetic
16
+ parser. Restricted values never reach conversion callbacks. ClassSource now
17
+ provides lazy native change subscriptions for unit identity and class data.
18
+
19
+ - Generated `Icons` const enum and packaged icon catalog under `wuira/icons`,
20
+ using native texture FileDataIDs from the same pinned Forever client build as
21
+ the spell enums. Includes spell, active-spell and item icons with searchable
22
+ names and aliases, plus repeatable update and generation commands.
23
+
24
+ ### Fixed
25
+
26
+ - Wait for the completed addon load before opening SavedVariables. The native
27
+ `IsAddOnLoaded` loading flag no longer causes stores to retain a temporary table
28
+ and lose changes on reload.
29
+
30
+ ## 0.2.4 — 2026-10-15
31
+
32
+ ### Added
33
+
34
+ - Observable keyed ForEach rendering. Stable keys retain native widgets and their
35
+ subscriptions across joins, leaves, reorder and metadata updates; only added or
36
+ removed records mount or dispose. Supports grouped layout and wrapping.
37
+ - Native GroupRoster metadata with GUID identity, full-name/realm fallback, pet
38
+ ownership and raid subgroup membership. Retains the last readable roster if
39
+ native membership data becomes restricted.
40
+ - Cell keys, event-driven GroupMembers subscriptions and shared UnitSource
41
+ retargeting. HP/Mana readers and event filters follow the existing unit reference.
42
+
43
+ ### Changed
44
+
45
+ - Defer keyed structural updates and unit retargeting until combat ends, keeping
46
+ protected click targets aligned with displayed data.
47
+
10
48
  ## 0.2.3 — 2026-10-15
11
49
 
12
50
  ### Added