Releases: dennwc/dom
Releases · dennwc/dom
v0.3.0
New features
- Support for Go 1.12 and synchronous callbacks.
- Introduced
HTMLElement
. - Implemented most missing functions and properties for
Element
. Window.Open
andSetLocation
.- 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
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 toCall
). - Special case for getting
Object
andArray
classes. - Add build tags to
webrtc
package. - Element constructors can be called on the package level.
- Exposed
head
element.
v0.2.0
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 zeroValue
v0.1.0
Initial release
- Better JS API (wrappers for
syscall/js
) - Basic DOM manipulation, styles, events
- Input elements
- SVG elements and transforms
LocalStorage
andSessionStorage
- Extension APIs (tested on Chrome):
- Native Messaging
- Bookmarks
- Tabs
net
-like library for WebSockets- Tested with gRPC
wasm-server
for fast prototyping