Skip to content

Latest commit

 

History

History
261 lines (177 loc) · 10.7 KB

CHANGELOG.md

File metadata and controls

261 lines (177 loc) · 10.7 KB

Change Log

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)

🛑 Breaking changes

  • update WasmDom, add WasmDomModule spec (51bedd2)
  • BREAKING CHANGE: update WasmDom, add WasmDomModule spec

⏱ Performance improvements

  • update typedefs, optimize/minimize generated TS code (08c6e01)

♻️ Refactoring

0.11.89 (2024-04-22)

♻️ Refactoring

  • minor zig v0.12.0 updates (ee4f117)
  • minor zig v0.12.0 updates (aaaa4e8)

0.11.88 (2024-04-20)

♻️ Refactoring

0.11.49 (2023-11-09)

♻️ Refactoring

  • update all tests (packages A-S) (e3085e4)

0.11.25 (2023-06-29)

♻️ Refactoring

  • Zig v0.11-dev syntax updates (325bf98)

0.11.20 (2023-03-27)

♻️ Refactoring

0.11.12 (2023-02-05)

♻️ Refactoring

0.11.2 (2022-11-30)

♻️ Refactoring

  • rename types/imports (#368) (650f59c)
    • rename exports/imports interfaces => WasmDomExports/Imports
    • update/rename zig imports
    • update readme

0.11.0 (2022-11-24)

🚀 Features

  • add check if auto-initializer is present (40a32f5)

⏱ Performance improvements

  • faster event target check/lookup (8636215)
    • only use linear search if target isn't configured element

0.10.1 (2022-11-24)

♻️ Refactoring

0.10.0 (2022-11-23)

🚀 Features

  • 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

♻️ Refactoring

  • update string, attrib & listener types/fns [zig] (9928ab7)
  • update generated types (298f194)

0.9.0 (2022-11-01)

🚀 Features

  • 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)

♻️ Refactoring

0.8.0 (2022-10-31)

🚀 Features

  • 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)

🚀 Features

  • 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)

🚀 Features

  • add support for recursive DOM tree creation (36d1857)
    • update CreateElementOpts w/ recursive .children field
    • update createElement() API method to also create children
  • add boolean attrib support (1d9c543)
  • add fullscreen methods for WindowInfo [zig] (e480b2c)
    • add isFullscreen() & hasFullscreen() helpers

🩹 Bug fixes

  • fix fullscreen support for Safari (1ad855a)
    • ofc Safari doesn't support the standard API =;-(

0.5.0 (2022-10-28)

🚀 Features

  • 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)

🚀 Features

  • 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)

🚀 Features

  • 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

🩹 Bug fixes

  • fix Firefox TouchEvent handling, update deps (da3a235)

⏱ Performance improvements

  • 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()

♻️ Refactoring

  • remove obsolete ItemType enum (1ea7c63)

0.2.0 (2022-10-04)

🚀 Features

  • 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)

🚀 Features

♻️ Refactoring

  • update Event struct (80b1d7a)
    • switch clientX/Y to u16