Skip to content

WebFront 0.6.0

Choose a tag to compare

@ambroise-leclerc ambroise-leclerc released this 31 Oct 08:16
7b9c6d5

WebFront 0.6.0 is an experimental C++23 header-only library for serving a browser UI from a C++ application.

Highlights

  • Per-browser DOM documents support batched updates, events and awaitable node.next() calls. Optional forms descriptors generate forms, inspectors and TypeScript declarations.
  • The optional @webfront/react adapter provides stores and DOM islands for React applications.
  • Developer automation adds a native agent, an MCP interface and permission-scoped window control. Applications can also run Jasmine specs through CTest.
  • app.broadcast and app.forEachUI address connected browsers; stale UI values no longer reach a later connection when an identifier is reused.
  • Native windows support configurable titles and sizes, and NativeOrBrowserFrontend selects a native webview when available.

Migration

  • UI, JsFunction and JsFunctionSender constructors now take a connection generation as well as the identifier. Prefer the UI provided by connection handlers and callbacks.
  • UI values are assignable and compare by application, identifier and connection generation. They must not be used after their application is destroyed.
  • The library pins developer environment 0.6.3. The developer environment is not a sandbox; APIs and packaging remain experimental.

See the changelog for the full changes and limitations.

Full changelog: v0.5.0...v0.6.0