Skip to content

Latest commit

 

History

History
144 lines (91 loc) · 4.42 KB

CHANGELOG.md

File metadata and controls

144 lines (91 loc) · 4.42 KB

Changelog

0.0.4 Python Client; 1.0.1-rc.2 Deno Client; 0.3.1 binary -- 2025-03-05

  • Fixed a bug that caused webview to fail to open on linux
  • Upgraded various native dependencies

0.0.3 Python Client -- 2025-03-01

  • Fixed a bug where the windows binary path was still incorrect (thanks @daidalvi)

0.0.2 Python Client; 1.0.1-rc.1 Deno Client; 0.3.0 binary -- 2025-02-23

Binary

  • Updated wry to 0.49.0
  • Updated tao to 0.32.0

Python Client

  • Updated webview binary to 0.3.0
  • Fixed readme
  • Fixed binary path being wrong
  • Fixed windows binary name being incorrectly constructed
  • Fixed an issue where events weren't being acknowledged

Deno Client

  • Updated webview to 0.3.0

0.0.1 Python Client; 0.2.0 binary -- 2025-02-18

  • Initial release of the python client

1.0.0-rc.1 Deno Client; 0.2.0 binary -- 2025-02-17

  • Added new logging that can be triggered with the LOG_LEVEL environment variable

  • [BREAKING] Changed some typenames/zod schemas not to include Webview in the name.

  • [BREAKING] Updated code generation to support multiple clients which necessitated a breaking change for the Deno client.

    using webview = await createWebView({
      title: "Simple",
      devtools: true,
    +  load: {
        html: "<h1>Hello, World!</h1>",
    +  },
      initializationScript:
        "console.log('This is printed from initializationScript!')",
    });

    html or url must be wrapped in an object and passed to load.

0.0.17 (binary 0.1.14) -- 2024-10-02

  • Add webview.loadUrl to load a new URL after the webview is initialized
  • Add the ability to specify headers when instantiating a webview with a URL
  • Add userAgent to WebViewOptions to construct a new webview with a custom user agent.

0.0.16 (binary 0.1.13) -- 2024-09-29

  • Add initializationScript to WebViewOptions. Allows providing JS that runs before onLoad.

0.0.15 (binary 0.1.12) -- 2024-09-28

  • Pages loaded with html are now considered to be in a secure context.
  • When creating a webview with html or calling webview.loadHtml() the webview now has a default origin which can be changed via the origin parameter
  • Improved type generation to output more doc strings and documented more code
  • Update TLDraw example with a persistence key

0.0.14 (binary 0.1.11) -- 2024-09-26

  • fix an issue where arm64 macs weren't downloading the correct binary

0.0.13 (binary 0.1.11) -- 2024-09-26

  • added webview.loadHtml(...)

0.0.12 (binary 0.1.10) -- 2024-09-26

BREAKING CHANGES

  • WebViewOptions accept_first_mouse is now acceptFirstMouse
  • WebViewOptions fullscreen was removed in favor of size

Additions

  • The webview size can be altered by providing WebViewOptions size as either "maximized", "fullscreen", or { width: number, height: number }
  • added webview.maximize()
  • added webview.minimize()
  • added webview.fullscreen()
  • added webview.getSize()
  • added webview.setSize({ ... })

Fixes

  • webview.on and webivew.once had their types improved to actually return the result of their event payload

Misc

  • Tao updated to v0.30.2
  • Wry upgraded to v0.45.0

0.0.11 (binary 0.1.9) -- 2024-09-23

  • Adds more doc comments

0.0.10 (binary 0.1.9) -- 2024-09-23

  • Adds an ipc flag to enable sending messages from the webview back to the host deno process.
  • Adds an IPC example
  • Updates notifications to pass message bodies through

0.0.9 (binary 0.1.8) -- 2024-09-23

  • Adds a getVersion method to Webview that returns the binary version.
  • Adds a check on startup that compares the expected version to the current version.
  • Adds slightly more graceful error handling to deserialization errors in the deno code.

0.0.8 (binary 0.1.7) -- 2024-09-23

NOTE: The binary version was bumped this release, but it doesn't actually have changes. This is just me forcing a new release to be published.

  • Fixed the release URL to ensure the download comes from the correct place

0.0.7 (binary 0.1.6) -- 2024-09-23

  • Added this changelog
  • Add the ability to show and hide the webview window via .setVisibility(true/false)
  • Added the ability to check if the webview window is visible via .isVisible()

0.0.6 (binary 0.1.5) -- 2024-09-23

  • Fixed a bug where .on and .once weren't firing for the webview's lifecycle events

0.0.5 (binary 0.1.5) -- 2024-09-23

  • Improved type generation to avoid publishing slow types to JSR

0.0.4 (binary 0.1.5) -- 2024-09-22

  • Added examples, doc comments to code