Repository navigation
15.0.0
·
5 commits
to main
since this release
Breaking changes
- The enums are
constobjects now. The names and the values are unchanged, so
ArxPolygonFlags.Tiled, the type annotations and the bitwise combinations work the same way. What is
gone is the reverse mapping that an enum carries:The upside is that// before ArxPolygonFlags[64] // 'Tiled' // after ArxPolygonFlags[64] // undefined
Object.keys()andJSON.stringify()of a flags object no longer contain the
duplicated numeric keys. - The type of a bitmask flag is
number(a combination such as
SetBackgroundColor | SetDrawDistanceis not one of the members), while the two discrete enums
(ArxZoneAndPathPointType,ArxFaceType) are the union of their values. Code that annotates with the
old enum names keeps compiling; assigning a raw number to a discrete one needs a cast.
Fixes
- Sixteen entries of the character table were wrong. The bytes
0x10–0x1Fwere stored as aNUL
byte followed by the textx10,x11, … instead of the control characters (the entries read
'\0x10'). The readers and the writers of the 256 byte string fields — the names and the paths of
the formats — map those bytes correctly now. This was a pre-existing typo, not a regression.
Improvements
- The documentation of the public API. Every description is a complete sentence now, and the path
transformations and the value ranges moved under@example/@remarks, so an editor shows them as
structured documentation instead of a run-on paragraph. The generated.d.tscarries all of it. - The served JSON schemas are refreshed by the release workflow automatically.
Smaller changes
Cell.readFrom()always contains theanchorskey (it isundefinedwhen the cell has none). The
JSON output does not change,JSON.stringify()drops theundefinedvalues.- The
contributorsofpackage.jsoncredit the AI coding agent that works on the project.
Full Changelog: v14.0.1...v15.0.0