Skip to content

Releases: dennwc/dom

v0.3.0

16 Mar 16:58
Compare
Choose a tag to compare

New features

  • Support for Go 1.12 and synchronous callbacks.
  • Introduced HTMLElement.
  • Implemented most missing functions and properties for Element.
  • Window.Open and SetLocation.
  • Separate functions for loading JS and CSS files in require package.

Fixes, tests and gelpers

  • Added Chrome-based tests for WebSockets.
  • Fix race condition on getting a dial error for WS.
  • Added js.Error constructor.

v0.2.1

14 Nov 23:19
Compare
Choose a tag to compare

New features

  • Support loading external JS and CSS files to DOM.

Fixes and helpers

  • Allow getting multiple values in a chain: v.Get("a", "b", "c").
  • Expose Call on the package level.
  • Allow any value in Set (similar to Call).
  • Special case for getting Object and Array classes.
  • Add build tags to webrtc package.
  • Element constructors can be called on the package level.
  • Exposed head element.

v0.2.0

14 Oct 21:57
Compare
Choose a tag to compare

New features

  • Support for promises
  • Support JSON encoding and decoding of js.Value
  • Experimental WebRTC support

wasm-server

  • Allow specifying apps folder
  • Automatically load current exec script
  • Use Go compiler from GOROOT

Fixes and helpers

  • Add a helper for async callbacks
  • WS: fix server error handling
  • WS: rewrite client code
  • Valid function now checks for zero Value

v0.1.0

27 Sep 21:56
Compare
Choose a tag to compare

Initial release

  • Better JS API (wrappers for syscall/js)
  • Basic DOM manipulation, styles, events
  • Input elements
  • SVG elements and transforms
  • LocalStorage and SessionStorage
  • Extension APIs (tested on Chrome):
    • Native Messaging
    • Bookmarks
    • Tabs
  • net-like library for WebSockets
    • Tested with gRPC
  • wasm-server for fast prototyping