dom v0.3.0 Release Notes

Release Date: 2019-03-16 // about 5 years ago
  • 🆕 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.

Previous changes from 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 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.