Repository navigation
Releases
WebFront 1.3.0
WebFront 1.3 ships with developer environment 1.3.0. The developer environment gains inspectors of the running application
(registered functions, browsers and tasks, watches declared with app.watch, locked packages, the bridge), which an agent can
also read through MCP; one process can serve several independent users with application spaces, under a sub-path of a site;
a plain interface directory can be embedded from CMake; and the BDD framework splits into lighter headers. It has breaking
changes: Ctrl+C in the terminal, custom frontends that prove their view, the reserved webfront.inspector. names and external
tools that write the project; each entry below gives its migration.
Breaking
- In the developer environment's terminal, Ctrl+C no longer interrupts a command nor clears the line: press Escape (with no text selected) or the terminal's Stop button; the interruption is unchanged (exit code 130,
webfront.commands.cancel, the grace period of scripts, statusinterrupted), its messages sayinterrupted(#721,docs/DEVELOPER_ENVIRONMENT.md). - A custom frontend whose
open()takesconst ViewLaunch&declaresstatic bool providesViewProof(),truewhen it gives the proof to its view andfalseotherwise, or the developer environment no longer compiles with it: undeclared, its proven view would leave project writes and C++ commands unguarded (#680, ADR-027,docs/FRONTENDS.md). cppFunction(andSpace::cppFunction) refuses the names starting withwebfront.inspector., reserved to the inspectors, withstd::invalid_argument: rename such a function, and itswebFront.cppFunction(...)calls in the page, to a name of your own (#680, ADR-027).- An external tool that writes the project (
webfront.developer.*writes) or starts terminal commands (webfront.commands.start,cancel) through the bridge is refused withwebfront.inspector.deniedwhen the frontend proves its view: run it in that view, use MCP automation, or settrustLoopbackClientsknowingly (#680, ADR-027,docs/DEVELOPER_ENVIRONMENT.md).
Added
- Copy, paste, cut and select all in the terminal of the developer environment with the system's shortcuts, Ctrl+C/V/X/A (Cmd on macOS), on CEF, WebView2, WebKitGTK, WKWebView and a system browser: they no longer become control characters, and a paste of several lines still runs them one after the other (#721,
docs/DEVELOPER_ENVIRONMENT.md). - Open the inspectors from the WebFront tab's menu, floating in the page or detached to a native window: Functions (TypeScript signatures, calls, failures, durations;
app.registeredFunctions()in C++), Browsers and tasks, Packages (the lock as a tree withwf whychains) and Bridge (webFront.ready, pending calls, rejected Promises) (#680, #681, #683, #684, ADR-027,docs/DEVELOPER_ENVIRONMENT.md). - Declare watches with
app.watch(name, source), whose handle removes the watch, and explore them in the Watches panel as a tree refreshed while the interface runs, by pages, with a pause and the changed values highlighted; a distribution build registers nothing (#680, #682, #723, ADR-027,docs/WATCHES.md). - Choose how a watch reaches its object (a visitor under your lock, a reference on its executor, a copy, a source owning its state), page a large container with
inspect::PagedSource, and edit a writable watch (Visit<T>) in place, applied only if the target still shows what was displayed (#682, ADR-027,docs/WATCHES.md). - Let an agent read the running application through MCP with the
stategrant (webfront.state.*: registered functions, calls to JavaScript, browsers and tasks, watches, read-only) and the locked packages with thepackagesgrant (list,why,info, environment 1.2.1 or later) (#685, ADR-027,docs/DEVELOPING_WITH_AGENTS.md,docs/AUTOMATION.md). - Embed a plain interface directory (HTML, JavaScript, CSS, vendored files) from CMake with
webfront_embed_directory(app ui CLASS AppUI), without the developer environment: the build regenerates the provider when a file changes, andfs::DocumentRootFirstFSWith<AppUI>lets a development root serve in front of it (#675,docs/EMBEDDED_ASSETS.md). - Set from the configuration
Referrer-Policy(contentPolicy.referrerPolicy:"no-referrer"forbids explicitly that a capability in your URLs leaves inReferer),X-Content-Type-Options: nosniff(noSniff) and theCache-Controlof HTML pages (htmlCacheControl), on files, route and generated replies unless a reply sets its own (#674,docs/CONTENT_POLICY.md). - Keep a capability carried by your URLs out of WebFront's logs with
app.addSecretPrefix("/s/"): the segment after the prefix is logged as*(/s/*/index.html) for files, routes, WebSocket upgrades and their failures, whose error messages are not logged (#673,docs/HTTP_ASSETS.md). - Serve several independent users from one process with application spaces:
app.spaces("/s/", resolver)gives each/s/<id>/its owncppFunctions, page handlers, broadcasts and routes (WebFront::Space) and tells the application when its last page closes;ui.path()gives the path from which a browser opened its bridge (#671, #672,docs/SPACES.md). - Write tests with lighter headers and richer checks:
<webfront/testing/bdd/Core.hpp>and only the parts a file uses,checkEqual/requireEqualreporting both operands (webfront::bdd::Printerfor your types),approx(v)with.epsilon()and.margin(), and arunEndinglistener called before the summary and the JUnit report (#669,docs/BDD.md). - The test helpers,
webfront_add_jasmine_testincluded, export the realXDG_DATA_HOMEandXDG_CACHE_HOMEasWEBFRONT_TEST_REAL_XDG_DATA_HOMEandWEBFRONT_TEST_REAL_XDG_CACHE_HOME, so an application under test can keep the throwaway WebKitGTK profile away from the programs it starts (#664,docs/CONSUMER_TESTING.md).
Changed
- Detach and attach an inspector panel with small icons, a frame with an arrow leaving it or entering it, instead of the Detach and Attach words; their tooltip and accessible name say the action, and a greyed detach icon still says why (#722,
docs/DEVELOPER_ENVIRONMENT.md). wf teststopped at its time limit or by an interruption says how far its runner got, in its message and in the report's newstage: the last step reached, the spec in progress, and the runner files that never finished loading (#690,docs/DEVELOPER_ENVIRONMENT.md).- Destroying the handle of a watch (
inspect::Watch) waits for an operation of the inspectors in progress on another thread: destroy it outside every lock its source takes, or declare the watch with the state it owns (#682, ADR-027,docs/WATCHES.md). cppFunctionandSpace::cppFunctiontake a last, defaultedstd::source_location, which the inspectors show; existing calls compile unchanged, the explicitcppFunction<R, Args...>form included (#681, ADR-027).- Document the security contract of the application's callbacks: one that writes the project or what the server serves, starts a process or exposes a sensitive state takes the calling
UIand checksui.isLocalClient(), since WebFront guards only its own functions (#686, ADR-027,docs/DEVELOPING_WITH_AGENTS.md). WebFront.jsopens its WebSocket on the directory of the page (ws://host/dir/instead ofws://host), which tells the server a page's space (#671) and lets an application be deployed under a sub-path of a site (#672).- A file request whose path holds a control character (
%00...) is refused with 400, as a..already was, and a+in its path is a literal+, as for the routes, the spaces andui.path():/a+b.htmlservesa+b.html, which/a%20b.htmlno longer shares (#672).
Fixed
- A client connected to the MCP listener when it closes, because the session closed or the application stopped, and completes its request within a second reads its answer (a closed session says so) instead of a connection reset; a request that arrived just before its peer's two-second deadline is served rather than reset (#720,
docs/AUTOMATION.md). - A closed secondary window disconnects at once, its WKWebView page closed explicitly and never suspended while inactive on macOS 14+, its WebView2 page navigated to
about:blankfirst, and a WebView2 one opened while the first starts waits for its load (#681, #702, #708, #716,docs/WKWEBVIEW.md,docs/WEBVIEW2.md). - A WKWebView page whose web content process ends says why: its memory or CPU limit, the application's request, or a crash of the WebKit engine, which
DeveloperBrowserIntegration-jasminemet on the macOS runner while esbuild ran in its Worker, instead of only that the process terminated (#706,docs/WKWEBVIEW.md). webfront.sessionnames the native deadline that revoked a session (revocation:operation-deadlineorstartup-deadline, empty otherwise), andSession::revokedBy()gives it in C++:AutomationMcpWatchdogno longer fails when the window closes after the deadline, since its host recognised only a reason that the deadline never wrote (#709,docs/AUTOMATION.md).- An invalid content policy (an origin of
bridgeAllowedOriginsornavigationAllowedOrigins, areferrerPolicy, ahtmlCacheControl) throwsstd::invalid_argumentbefore the server binds its port, as documented, instead of an "address already in use" error when that port is taken (#674). - Browser tests that a loaded runner failed:
CEFLifecycle-navigation-allow-listcounts only the cancellation of its own navigation (#731),WebFrontBrowserIntegrationon CEF has 120 s and awf teststopped by the driver's limit names the stage it reached (#730), andDeveloperBrowserIntegration-workspacegives the relaunched page 60 s to start and to draw its collapsed terminal's prompt (#660, #729). - Applications started from the terminal of a Snap-packaged editor (VSCodium) now...
WebFront developer packages 1.3.0
Browser-powered WebFront developer environment with Game of Life starter (the PI starter of earlier versions is retired), versioned separately from the C++ library.
Version 0.3.0 migrates the Life starter to packed Uint8Array grids: 128 bytes per generation with direct C++ bitset registration. It requires the bridge support introduced in #289. The interface retains editable patterns, playback, reset and single stepping. Version 0.3.1 makes wf install honor the installed lock: versions it records are kept and their archives must still match the recorded integrity. Published versions 0.1.0 to 0.3.0 remain available without modification.
Download through the version-pinned GitHub Pages URLs in the bootstrap configuration. SHA-512 is verified before executing the environment or creating a starter. React, React DOM and scheduler remain on npm; application developers install no JavaScript tooling. Applications using the starter can generate their own compressed header-only resources for an offline native executable.
The environment includes the terminal, npm resolver, esbuild/WASM compiler, embedding tools and dependency notices. These packages are experimental; browser packages only, without installation scripts, native modules or server-side runtime shims.
Version 0.4.0 updates the Life starter text for a developer audience. The simulation and bridge contract are unchanged.
Version 0.5.0 introduces the project manifest webfront.project.json: wf init, manifest-driven wf install (with --update), wf preview and wf embed, and a lock that records the digest of the manifest dependencies. wf install now requires a manifest. The starters ship their own manifest.
Version 0.6.0 (published as developer-v0.6.0) adds wf test (the project's Jasmine, obtained by wf install jasmine-core, runs the specs of test.specs in the browser, with a structured report and a non-interactive entry), wf build and incremental wf dev, with bounded input polling, diagnostics in the preview and Ctrl+C cancellation. A publication whose commit has completed is displayed before cancellation ends the command. DeveloperReleaseData.hpp and the bootstrap environment of the tests pin it. environment.json now declares api (the webfront.developer.* version, 1); an environment that predates the field reads as 1.
WebFront developer packages 1.2.1
Browser-powered WebFront developer environment with Game of Life starter (the PI starter of earlier versions is retired), versioned separately from the C++ library.
Version 0.3.0 migrates the Life starter to packed Uint8Array grids: 128 bytes per generation with direct C++ bitset registration. It requires the bridge support introduced in #289. The interface retains editable patterns, playback, reset and single stepping. Version 0.3.1 makes wf install honor the installed lock: versions it records are kept and their archives must still match the recorded integrity. Published versions 0.1.0 to 0.3.0 remain available without modification.
Download through the version-pinned GitHub Pages URLs in the bootstrap configuration. SHA-512 is verified before executing the environment or creating a starter. React, React DOM and scheduler remain on npm; application developers install no JavaScript tooling. Applications using the starter can generate their own compressed header-only resources for an offline native executable.
The environment includes the terminal, npm resolver, esbuild/WASM compiler, embedding tools and dependency notices. These packages are experimental; browser packages only, without installation scripts, native modules or server-side runtime shims.
Version 0.4.0 updates the Life starter text for a developer audience. The simulation and bridge contract are unchanged.
Version 0.5.0 introduces the project manifest webfront.project.json: wf init, manifest-driven wf install (with --update), wf preview and wf embed, and a lock that records the digest of the manifest dependencies. wf install now requires a manifest. The starters ship their own manifest.
Version 0.6.0 (published as developer-v0.6.0) adds wf test (the project's Jasmine, obtained by wf install jasmine-core, runs the specs of test.specs in the browser, with a structured report and a non-interactive entry), wf build and incremental wf dev, with bounded input polling, diagnostics in the preview and Ctrl+C cancellation. A publication whose commit has completed is displayed before cancellation ends the command. DeveloperReleaseData.hpp and the bootstrap environment of the tests pin it. environment.json now declares api (the webfront.developer.* version, 1); an environment that predates the field reads as 1.
WebFront 1.2.0
WebFront 1.2 ships with developer environment 1.2.0. The application itself becomes the MCP server that a coding agent drives
(enableAutomation), and it can open a second native window, serve HTTPS and run beside other applications on a free port.
It has breaking changes: WebView2Options becomes ViewOptions, webfront-agent is removed and the CEF profile moves; each
entry below gives its migration.
Breaking
WebView2Optionsis nowViewOptions, shared with WKWebView:userDataFoldermoves afterlaunch, so a positional initialization ofWebView2Optionsstops compiling, and so does a designated one that writes.userDataFolderbefore.contentPolicy,.window,.visibleor.launch(write it last) (#652,docs/FRONTENDS.md).webfront/automation/Enable.hppno longer compiles withWEBFRONT_DISTRIBUTION: gateenableAutomationout of the distribution build, as the guide already advised (#632, ADR-025).webfront-agentis removed with its JSON CLI, MCP on stdio,--serve,--attach,--listand--print-mcp-config, as areWEBFRONT_BUILD_AUTOMATION,WEBFRONT_AUTOMATION_FRONTENDandwebfront_add_agent(): connect the MCP client to the URL the application prints (#632, ADR-025,docs/AUTOMATION.md).AutomationOptions::listenbecomesdirectoryand may stay empty (a private directory named after the session is created),Automation::endpoint()becomesdirectory(), and the JSON-lines attachment channel (ChannelServer,ChannelClient) is gone (#632).- The CEF profile is now
cef_cache/<executable>, notcef_cache: an application starts with an empty profile (localStorage, cookies); to keep the data, move the old contents ofcef_cacheintocef_cache/<executable>once (#617,docs/HOST_INTEGRATION.md).
Added
- Open a second native window with
app.openSecondaryWindow(page, WindowOptions)(WebKitGTK, WKWebView, WebView2; elsewherestd::logic_error, whichapp.canShowSecondaryWindow()predicts): it shares the server, thecppFunctions, thejsFunctionsubscribers and the view proof of the first window;app.requestClose(page)closes it, and closing the first closes the others (#616,docs/FRONTENDS.md). - Write your own scenarios with the public
webfront::bddframework:<webfront/testing/Bdd.hpp>, theWebFront::Bddtarget, the installableWebFrontBddpackage andwebfront_bdd_discover_tests()(prefix, properties, shards) replace the internaltest/unit/Bdd.hppandbdd_discover_tests, and follow WebFront's versions (#647,docs/BDD.md). - Configure a stable MCP port and application-supplied Bearer token, or explicitly disable authentication for trusted development (#637, ADR-026,
docs/AUTOMATION.md). - Connect an MCP client to the application itself:
enableAutomation(app, {.grants = {...}})serves MCP over Streamable HTTP on a loopback port of its own, prints its URL and writes a privatemcp.jsonwith the URL and a session Bearer token, so several applications run side by side with no other program (#632, ADR-025,docs/AUTOMATION.md). - Use a custom network provider with
DeveloperAppWithNetwork. TheBasicDeveloperAppalias selects the existing TCP provider (#631). - Pass the MSVC code analysis on the automation host probe and the discovery directory of
Enable.hpp(C6031, C6244), which stopped the Windows desktop job of a dispatch or pull request at its build (#638). - Serve HTTPS and WSS with the optional header-only TLS 1.3 listener and reload its PEM identity after renewal (#631,
docs/TLS.md). - Start an application with no port setting when
9002is taken: an emptyWebFrontConfig::portfalls back to a free port, a chosen port is never replaced, and CEF and WebKitGTK give each live instance its own profile directory (#617,docs/HOST_INTEGRATION.md). - Start several applications side by side: the default port follows
WEBFRONT_PORT(a number from 0 to 65535,0asks for a free port,9002remains the default), the examples take--port, the server announces the port really bound, and a failed bind names the address, the port and the cause (#617,docs/HOST_INTEGRATION.md).
Fixed
- Check the leftover STA of a WebView2 window only after a page that ran to its end, not after one that closes the window on a load failure: the runtime can keep a COM initialization of its own then, in about one
show()in 500 under load, and the limit is documented with its measurements (#638,docs/PROJECT_STATUS.md). - Refuse every
Sec-Fetch-*request header on the MCP listener, includingSec-Fetch-Dest, in both authenticated and unauthenticated modes (#637).
WebFront developer packages 1.2.0
Browser-powered WebFront developer environment with Game of Life starter (the PI starter of earlier versions is retired), versioned separately from the C++ library.
Version 0.3.0 migrates the Life starter to packed Uint8Array grids: 128 bytes per generation with direct C++ bitset registration. It requires the bridge support introduced in #289. The interface retains editable patterns, playback, reset and single stepping. Version 0.3.1 makes wf install honor the installed lock: versions it records are kept and their archives must still match the recorded integrity. Published versions 0.1.0 to 0.3.0 remain available without modification.
Download through the version-pinned GitHub Pages URLs in the bootstrap configuration. SHA-512 is verified before executing the environment or creating a starter. React, React DOM and scheduler remain on npm; application developers install no JavaScript tooling. Applications using the starter can generate their own compressed header-only resources for an offline native executable.
The environment includes the terminal, npm resolver, esbuild/WASM compiler, embedding tools and dependency notices. These packages are experimental; browser packages only, without installation scripts, native modules or server-side runtime shims.
Version 0.4.0 updates the Life starter text for a developer audience. The simulation and bridge contract are unchanged.
Version 0.5.0 introduces the project manifest webfront.project.json: wf init, manifest-driven wf install (with --update), wf preview and wf embed, and a lock that records the digest of the manifest dependencies. wf install now requires a manifest. The starters ship their own manifest.
Version 0.6.0 (published as developer-v0.6.0) adds wf test (the project's Jasmine, obtained by wf install jasmine-core, runs the specs of test.specs in the browser, with a structured report and a non-interactive entry), wf build and incremental wf dev, with bounded input polling, diagnostics in the preview and Ctrl+C cancellation. A publication whose commit has completed is displayed before cancellation ends the command. DeveloperReleaseData.hpp and the bootstrap environment of the tests pin it. environment.json now declares api (the webfront.developer.* version, 1); an environment that predates the field reads as 1.
WebFront developer packages 1.0.2
Browser-powered WebFront developer environment with Game of Life starter (the PI starter of earlier versions is retired), versioned separately from the C++ library.
Version 0.3.0 migrates the Life starter to packed Uint8Array grids: 128 bytes per generation with direct C++ bitset registration. It requires the bridge support introduced in #289. The interface retains editable patterns, playback, reset and single stepping. Version 0.3.1 makes wf install honor the installed lock: versions it records are kept and their archives must still match the recorded integrity. Published versions 0.1.0 to 0.3.0 remain available without modification.
Download through the version-pinned GitHub Pages URLs in the bootstrap configuration. SHA-512 is verified before executing the environment or creating a starter. React, React DOM and scheduler remain on npm; application developers install no JavaScript tooling. Applications using the starter can generate their own compressed header-only resources for an offline native executable.
The environment includes the terminal, npm resolver, esbuild/WASM compiler, embedding tools and dependency notices. These packages are experimental; browser packages only, without installation scripts, native modules or server-side runtime shims.
Version 0.4.0 updates the Life starter text for a developer audience. The simulation and bridge contract are unchanged.
Version 0.5.0 introduces the project manifest webfront.project.json: wf init, manifest-driven wf install (with --update), wf preview and wf embed, and a lock that records the digest of the manifest dependencies. wf install now requires a manifest. The starters ship their own manifest.
Version 0.6.0 (published as developer-v0.6.0) adds wf test (the project's Jasmine, obtained by wf install jasmine-core, runs the specs of test.specs in the browser, with a structured report and a non-interactive entry), wf build and incremental wf dev, with bounded input polling, diagnostics in the preview and Ctrl+C cancellation. A publication whose commit has completed is displayed before cancellation ends the command. DeveloperReleaseData.hpp and the bootstrap environment of the tests pin it. environment.json now declares api (the webfront.developer.* version, 1); an environment that predates the field reads as 1.
WebFront 1.1.1
WebFront 1.1.1 ships with developer environment 1.0.1. It repairs the desktop CI jobs that the 1.1.0 release exposed (a Windows
code-analysis error in the PTY, a macOS socket option error) and removes the GCC 13 warnings. No breaking change.
Added
- Run the MSVC code analysis in a pull request into
developthat changes Windows code, and list the reruns each job needed before going green withFlakeReport.py --days(#628,docs/TEST_TIERS.md,docs/TEST_PERFORMANCE.md).
Fixed
- Pass the compiler analysis on the Windows pseudoterminal when it cannot prove the attribute list non-null (C6387), stop a unit test from opening the developer's real browser (the directory of its replacement opener was removed before the shell found it), and keep an accepted connection whose
TCP_NODELAYthe system refuses, as macOS does after a reset (#628).
Full changelog: v1.1.0...v1.1.1
WebFront 1.1.0
WebFront 1.1 ships with developer environment 1.0.1. It adds POST routes with a bounded body, application-selected programs
in a native pseudoterminal, and a faster, less flashy start of the native windows. No breaking change.
Added
- Answer
POSTon a dynamic route that opts in withhttp::RouteOptions::postBodyLimit: the body, bounded byContent-Length, reaches the handler asRouteRequest::body;Response::accepted(202) andResponse::unauthorized(401) have their reason phrases (#619,docs/HTTP_ASSETS.md). - CEF supports
WindowOptions::backgroundand shows its window when the first document has loaded or after one second (#611,docs/FRONTENDS.md). - Print a hint on standard error when the development file system serves a stylesheet whose
font-familylists four or more costly families (#611,docs/WEBKITGTK.md). - Run the start-up time of the native windows, cold and warm (cold is fully cold on Linux only), as
<Frontend>StartupTime-coldand-warm(labelstartup) with generous limits, timed from the start of the program so that the frontend's initialization counts (#611,docs/WEBKITGTK.md). - Run application-selected programs in a native pseudoterminal with an optional xterm.js page adapter and replay across reloads (#613,
docs/PTY.md). - Skip GStreamer's initialization, and its plugin scan, in WebKitGTK for an application whose pages never use audio or video, with
WindowOptions::media = false; the default keeps media (#611,docs/WEBKITGTK.md). - WKWebView supports
WindowOptions::background, translucent colours included, andWEBFRONT_STARTUP_TRACE=1(#611,docs/WKWEBVIEW.md). - WebView2 supports
WindowOptions::backgroundandWEBFRONT_STARTUP_TRACE=1(#611,docs/WEBVIEW2.md). - Choose the colour of the WebKitGTK view under the page with
WindowOptions::background(WebKitGTK; the other embedded frontends are listed here), and read the start-up milestones of a WebKitGTK view withWEBFRONT_STARTUP_TRACE=1(#611,docs/WEBKITGTK.md).
Changed
- Reveal the WKWebView window when the document has loaded or after one second (#611,
docs/WKWEBVIEW.md). - Reveal the WebView2 window after the first frame or one second (#611,
docs/WEBVIEW2.md). - Show the WebKitGTK window when the page reports its first frame, or when a one-second timer fires, even if the page has not painted, instead of at once; the embedded pages, the starter and the examples use the cheap
sans-serifandmonospacefont stacks (#611,docs/WEBKITGTK.md).
Fixed
- Accept HTTP request headers with optional spaces or tabs after the colon, tabs in values, and empty values (#621).
- Read an obsolete line fold in a request header as one space (RFC 9112, section 5.2), not as the two lines glued together: a
Content-Lengthfolded as1and0was read as10(#619). - Keep the input focus of the developer terminal after a click on the page around it (title, notice, blank areas) while the terminal has the window, selection and controls excepted (#608).
- Remove the white flash of an embedded view between the developer environment's bootstrap page and the project's page, by giving the window the environment's dark colour (
#141821) when the application sets none; on macOS the view then no longer paints its own white behind it (#611,docs/WKWEBVIEW.md). - Select detected GPU architectures supported by nvcc by default for the host-loop CUDA renderer (
docs/HOST_LOOP_EXAMPLE.md).
WebFront developer packages 1.0.1
Browser-powered WebFront developer environment with Game of Life starter (the PI starter of earlier versions is retired), versioned separately from the C++ library.
Version 0.3.0 migrates the Life starter to packed Uint8Array grids: 128 bytes per generation with direct C++ bitset registration. It requires the bridge support introduced in #289. The interface retains editable patterns, playback, reset and single stepping. Version 0.3.1 makes wf install honor the installed lock: versions it records are kept and their archives must still match the recorded integrity. Published versions 0.1.0 to 0.3.0 remain available without modification.
Download through the version-pinned GitHub Pages URLs in the bootstrap configuration. SHA-512 is verified before executing the environment or creating a starter. React, React DOM and scheduler remain on npm; application developers install no JavaScript tooling. Applications using the starter can generate their own compressed header-only resources for an offline native executable.
The environment includes the terminal, npm resolver, esbuild/WASM compiler, embedding tools and dependency notices. These packages are experimental; browser packages only, without installation scripts, native modules or server-side runtime shims.
Version 0.4.0 updates the Life starter text for a developer audience. The simulation and bridge contract are unchanged.
Version 0.5.0 introduces the project manifest webfront.project.json: wf init, manifest-driven wf install (with --update), wf preview and wf embed, and a lock that records the digest of the manifest dependencies. wf install now requires a manifest. The starters ship their own manifest.
Version 0.6.0 (published as developer-v0.6.0) adds wf test (the project's Jasmine, obtained by wf install jasmine-core, runs the specs of test.specs in the browser, with a structured report and a non-interactive entry), wf build and incremental wf dev, with bounded input polling, diagnostics in the preview and Ctrl+C cancellation. A publication whose commit has completed is displayed before cancellation ends the command. DeveloperReleaseData.hpp and the bootstrap environment of the tests pin it. environment.json now declares api (the webfront.developer.* version, 1); an environment that predates the field reads as 1.
WebFront 1.0.0
WebFront 1.0.0 is a C++23 header-only library for serving a browser UI from a C++ application. It ships with developer environment 1.0.0 (compatibility: library 1.0.0, environment 1.0.0, API 1).
Highlights
- Integrate WebFront into an application's own loop with
app.start(),app.requestClose()andwebfront::UIThread; the host-loop example renders a Boing Ball on the CPU or with optional CUDA. - Develop a TypeScript or TSX interface with the standalone
wfenvironment, including theappstarter, command help, package inspection and a floating terminal. - Use the browser bridge, DOM islands and optional React adapter; see the documentation for their supported types and lifecycle.
- Run on the system browser or select an available native frontend. The release includes Jetson Orin Nano Super qualification and WebKitGTK distribution tooling.
Upgrading
- WebKitGTK defaults to development mode with its sandbox disabled. Packaged applications must select
WEBFRONT_DISTRIBUTION=ONorwebfront_use_distribution(target)to require it. - Additional terminal command names are reserved; rename conflicting commands registered through
webfront::Commands::add.
See the changelog for details and the project status for platform support and limitations. The developer environment packages are published separately.