Repository navigation
WebFront 0.6.0
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/reactadapter 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.broadcastandapp.forEachUIaddress connected browsers; stale UI values no longer reach a later connection when an identifier is reused.- Native windows support configurable titles and sizes, and
NativeOrBrowserFrontendselects a native webview when available.
Migration
UI,JsFunctionandJsFunctionSenderconstructors now take a connection generation as well as the identifier. Prefer theUIprovided by connection handlers and callbacks.UIvalues 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