- Last updated: 2024-10-08T20:41:04Z
- Generator: thi.ng/monopub
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.
1.0.0 (2024-08-18)
- update WasmDom, add WasmDomModule spec (51bedd2)
- BREAKING CHANGE: update WasmDom, add WasmDomModule spec
- update typedefs, optimize/minimize generated TS code (08c6e01)
- regenerate types (ef98da6)
0.11.89 (2024-04-22)
0.11.88 (2024-04-20)
- update type usage (2f77b8b)
0.11.49 (2023-11-09)
- update all tests (packages A-S) (e3085e4)
0.11.25 (2023-06-29)
- Zig v0.11-dev syntax updates (325bf98)
0.11.20 (2023-03-27)
0.11.12 (2023-02-05)
- regenerate types (a28869d)
0.11.2 (2022-11-30)
- rename types/imports (#368) (650f59c)
- rename exports/imports interfaces => WasmDomExports/Imports
- update/rename zig imports
- update readme
0.11.0 (2022-11-24)
- add check if auto-initializer is present (40a32f5)
- faster event target check/lookup (8636215)
- only use linear search if target isn't configured element
0.10.1 (2022-11-24)
- regenerate types (6c839e2)
0.10.0 (2022-11-23)
- add getStringAttribAlloc() (61e301c)
- add getStringAttribAlloc() API method
- refactor/simplify existing attrib accessors
- add listener auto-cleanup (4b443c2)
- add hidden DOM element property to stored listener IDs
- update removeElement() to auto-cleanup listeners
- update Zig API
- add support for event listener attribs (c7e4864)
- add/update typespecs
- update Attrib type to support event listener specs to be given to createElement() & createCanvas()
- add getElementByID()
- update initElement()
- add WASM auto-initializer hook
- update generated types & string handling (686f867)
- switch to extern structs for generated types
- switch to zero-terminated pointers for string values
- update/rename/simplify API methods, remove obsolete
- fix string attrib handling/alloc sizes
0.9.0 (2022-11-01)
- add attrib creation opts (0e69c47)
- add Attrib, AttribValue, AttribType types
- update CreateElementOpts
- update initElement() to batch create given attribs
- update doc strings
- update ScrollEvent (17a6205)
- update ScrollEvent.fromEvent() to use target element's scroll offset
- if attached to window, use global offset
0.8.1 (2022-10-31)
- add module ID (6efa4d4)
0.8.0 (2022-10-31)
- add DOM classList manip, restructure (e28770f)
- add addClass()/removeClass() functions
- enforce uniform project structure for all
[@thi.ng/wasm-api-](https://github.com/thi-ng/umbrella/tree/main/packages/wasm-api-)*
pkgs - rename /zig/wasmapi.zig => /zig/lib.zig
0.7.0 (2022-10-30)
- update DOM constants, split up Zig API (b042f91)
- update/rename reserved DOM element IDs
- add
document.head
as reserved element - split up zig API into separate smaller files
- rename DOM element constants
0.6.0 (2022-10-29)
- add support for recursive DOM tree creation (36d1857)
- update CreateElementOpts w/ recursive
.children
field - update createElement() API method to also create children
- update CreateElementOpts w/ recursive
- add boolean attrib support (1d9c543)
- add fullscreen methods for WindowInfo [zig] (e480b2c)
- add isFullscreen() & hasFullscreen() helpers
- fix fullscreen support for Safari (1ad855a)
- ofc Safari doesn't support the standard API =;-(
0.5.0 (2022-10-28)
- major update event types & handling (2878bce)
- major simplification of JS side event processing
- add regex based event name to event type mappings
- add DragEvent, PointerEvent, ScrollEvent
- inject
.fromEvent()
converters for generated event types - add
requestFullscreen()
API mechanism - update WindowInfo to include fullscreen info & scroll offsets
- add XML namespace support for createElement() (6074d04)
- add public registry of wellknown namespace aliases
- update KeyEvent (8c91c17)
- add u8 length field to avoid scanning for sentinel
- add KeyEvent.hasModifier() (zig only)
- update fullscreen handling, add exit support (998c5fc)
- add exitFullscreen() API method
- add zig docstrings
0.4.0 (2022-10-26)
- support more event types/fns, minor zig updates (d05803d)
- add support for focus & wheel events
- add stopPropagation()
- update zig error fn return types
- update Zig API (5165f87)
- remove ManagedIndex (see d8bb3ee7d)
- move all Zig sources from /include => /zig
- update pkg
- add/update event types & handling (4596757)
- add new more specific event structs to be more mem efficient
- add EventBody union type
- refactor Event
- regenerate sources for TS & Zig
- move typedefs.json to /src folder
0.3.0 (2022-10-17)
- update EventListener and RAFListener (9f97f3d)
- update EventListener to allow storing a anyopaque pointer
- update RAFListener to allow storing a anyopaque pointer
- update/rename ManagedIndex (078df79)
- rename FreeList => ManagedIndex
- add/update ManagedIndex functions & generics
- update DOM listener functions to only use u16 for IDs
- fix Firefox TouchEvent handling, update deps (da3a235)
- add FreeList zig impl (e2a63c2)
- add generic FreeList impl & tests
- store Zig listeners in FreeList to avoid linear searches for free slots
- update addListener() & requestAnimationFrame() args to accept pointers only
- remove obsolete reuseOrAddSlot()
- remove obsolete ItemType enum (1ea7c63)
0.2.0 (2022-10-04)
- update/extend types & API (e563ccc)
- add RAF support
- add Event.value field & input event support
- update/simplify Zig listener handling
0.1.0 (2022-10-03)
- update Event struct (80b1d7a)
- switch clientX/Y to u16