wuira 0.2.4 → 0.2.6
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.
- package/CHANGELOG.md +33 -0
- package/README.md +62 -831
- package/data/icons/forever.json +90051 -0
- package/docs/icons.md +28 -0
- package/docs/source-converters.md +27 -0
- package/lib/datasources/DataSource.d.ts +8 -0
- package/lib/datasources/DataSource.lua +7 -0
- package/lib/datasources/SourceConverter.d.ts +30 -0
- package/lib/datasources/SourceConverter.lua +475 -0
- package/lib/datasources/UnitInfo.d.ts +6 -0
- package/lib/datasources/UnitInfo.lua +347 -15
- package/lib/datasources/index.d.ts +3 -0
- package/lib/datasources/index.lua +4 -0
- package/lib/icons/index.d.ts +45634 -0
- package/lib/icons/index.lua +3 -0
- package/lib/index.d.ts +1 -0
- package/lib/store/index.lua +20 -18
- package/package.json +20 -4
- package/tools/build-library.mjs +1 -1
- package/tools/generate-icons.mjs +10 -0
- package/tools/icon-data.mjs +59 -0
- package/tools/update-icons.mjs +36 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,39 @@ with the release date and highlight breaking changes explicitly.
|
|
|
7
7
|
|
|
8
8
|
## Unreleased
|
|
9
9
|
|
|
10
|
+
## 0.2.6 — 2026-10-16
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Keep wuira source conversion callback-based. Case mappings and arithmetic
|
|
15
|
+
formula factories now belong to LumaUI's builder layer.
|
|
16
|
+
|
|
17
|
+
### Removed
|
|
18
|
+
|
|
19
|
+
- **Breaking:** Remove the `CaseConverter` and `MathConverter` APIs introduced in
|
|
20
|
+
0.2.5, including the expression parser. Use `new SourceConverter(source,
|
|
21
|
+
value => ...)` in wuira code; LumaUI owns its editable case/math definitions.
|
|
22
|
+
|
|
23
|
+
## 0.2.5 — 2026-10-16
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- `SourceConverter`, `CaseConverter` and `MathConverter` with checked reads,
|
|
28
|
+
shared event subscriptions, strict case matching and a bounded arithmetic
|
|
29
|
+
parser. Restricted values never reach conversion callbacks. ClassSource now
|
|
30
|
+
provides lazy native change subscriptions for unit identity and class data.
|
|
31
|
+
|
|
32
|
+
- Generated `Icons` const enum and packaged icon catalog under `wuira/icons`,
|
|
33
|
+
using native texture FileDataIDs from the same pinned Forever client build as
|
|
34
|
+
the spell enums. Includes spell, active-spell and item icons with searchable
|
|
35
|
+
names and aliases, plus repeatable update and generation commands.
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- Wait for the completed addon load before opening SavedVariables. The native
|
|
40
|
+
`IsAddOnLoaded` loading flag no longer causes stores to retain a temporary table
|
|
41
|
+
and lose changes on reload.
|
|
42
|
+
|
|
10
43
|
## 0.2.4 — 2026-10-15
|
|
11
44
|
|
|
12
45
|
### Added
|