Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.31 KB

File metadata and controls

32 lines (23 loc) · 1.31 KB

Changelog

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.2.0 - 2026-06-04

Added

  • Load remote pages by passing an http:// or https:// URL as the positional argument, alongside the existing file-path and piped-stdin inputs. URLs are detected case-insensitively; anything else is treated as a file. Piped stdin continues to take precedence over both.
  • window.webview.version exposes the webview-cli version to the page, so a remote page can detect this context and tell which build it's running in.
  • Set a webview-cli/<version> User-Agent so a server can detect the webview context before any JavaScript runs.

Added

  • Initial release: a webview CLI that renders HTML (from a file or piped on stdin), gives the page a window.webview.resolve / .reject bridge, prints the single result, and exits with a documented exit code.
  • Window-shaping flags: --title, --width, --height, --devtools, --icon (macOS Dock icon), and --timeout-ms.