From cd7bb1b44426b094469305f14fdaf777629e5882 Mon Sep 17 00:00:00 2001 From: Ambroise Leclerc <6860842+ambroise-leclerc@users.noreply.github.com> Date: Tue, 17 Nov 2026 10:16:32 +0100 Subject: [PATCH 1/3] Prepare WebFront 1.0.0 --- docs/CHANGELOG.md | 25 ++++++++++--------------- examples/host-loop/HostLoop.cpp | 2 +- include/webfront/WebFront.hpp | 2 +- 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index b51224ae..bc4d781c 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -10,20 +10,22 @@ these entries stays in the GitHub releases and the Git history. ## Unreleased -### Breaking +## [1.0.0] - 2026-11-17 + +WebFront 1.0 ships with developer environment 1.0.0. This release adds host-loop integration, developer tools and +platform qualification; see the breaking changes below when upgrading. +### Breaking - WebKitGTK defaults to development mode with its sandbox disabled; packaged applications must select `WEBFRONT_DISTRIBUTION=ON` or `webfront_use_distribution(target)` to require it, independently of Debug/Release (#596, `docs/WEBKITGTK.md`). - Reserve more command names for the terminal: an application command named `ls`, `cat`, `tree`, `mounts`, `cd`, `pwd`, `cp`, `mv`, `rm`, `mkdir`, `rmdir`, `touch`, `edit`, `find`, `grep`, `head`, `tail`, `less`, `stat`, `du` or `df` is now refused by `webfront::Commands::add` and must be renamed (#575, ADR-023). ### Added - - Capture numbered PNG sequences with a fixed simulation clock using `WebFrontHostLoop --capture-frames`; `--capture-demo` hides statistics and switches materials continuously. Illustrate the bilingual README with the CUDA checkered ball followed by illuminated glass (#602, `docs/HOST_LOOP_EXAMPLE.md`). - Qualify real X11 Canvas/WebGL presentation on NVIDIA EGL, the GNOME file portal and fullscreen Life React on Orin Nano Super; retain captures, an EGL diagnostic and the limits of nested Wayland testing (#528, `docs/JETSON.md`). - Add an isolated, low-priority Jetson Orin hardware workflow with persistent caches, complete CEF-off tests, WebKitGTK integration, required CUDA regression and workflow security checks (#529, `docs/JETSON_RUNNER.md`). - Turn the `WebFrontHostLoop` example into a ray-traced Boing Ball computed by the host's own loop on the CPU or with an optional CUDA unit, shown full-window by an embedded page that receives at most one image at a time; a glass ball with coloured beams is the workload that separates the two engines. Measured on a Jetson Orin Nano (#530, `docs/HOST_LOOP_EXAMPLE.md`). - Generate a per-executable AppArmor profile for application packaging with `webfront_generate_webkitgtk_profile`; select the distribution policy per target with `webfront_use_distribution`, without adding a runtime (#596, `docs/WEBKITGTK.md`). -- Document the Jetson Orin Nano Super qualification after the JetPack 7 upgrade and its L4T R39.2.1 toolchain; add a manual Canvas 2D/WebGL capture probe for the remaining real-display qualification (#528, `docs/JETSON.md`). - Look at the project from the terminal with `ls`, `cat`, `tree` and `mounts` (read-only), and at the installed packages with `wf list --tree`, `wf why ` and `wf info `; a `wf` command typed without its prefix answers with the line to type. The `wf` prefix stays (#575, ADR-023, `docs/DEVELOPER_ENVIRONMENT.md`). - Add WebFront to an application that keeps its own loop: `app.start()` opens the system browser and returns at once, `app.requestClose()` ends an embedded window's `show()` from any thread, and `webfront::UIThread` runs an application on a secondary thread where the frontend allows it (WebView2). New `WebFrontHostLoop` example (#567, `docs/HOST_INTEGRATION.md`, ADR-007). - Tell an agent at first contact how an application is developed (C++ with a TypeScript/TSX interface in `ui/`, `wf dev`) and that it can run `wf` itself in JSON or MCP: a README section before the tutorial, `webfront_write_agent_guide()`, and notices at configuration, in the terminal and at startup (#561, `docs/DEVELOPING_WITH_AGENTS.md`). @@ -35,38 +37,30 @@ these entries stays in the GitHub releases and the Git history. - Launch the developer environment from its verified cache without rewriting it while its published files match the archive: a `wf` command of the tests starts in 1.6 s instead of 2.5 s (#570, `docs/DEVELOPER_ENVIRONMENT.md`). - Replace Catch2 with `test/unit/Bdd.hpp`, a single-header BDD framework: scenarios are `Scenario` objects whose `given`/`when`/`then` sections are lambdas, checked with `require`/`check`. The tests no longer download or compile Catch2; `tests` takes `--exact`, `--list`, `--junit` and the former filters, order and shard options (ADR-012, `docs/TEST_TIERS.md`). - Wait for asynchronous states in unit tests with `requireEventually`, `checkEventually`, `requireReady` and `checkReady` of `Bdd.hpp`, which report the delay and the time waited and replace nine local helpers; `WEBFRONT_TEST_TIMEOUT_FACTOR` lengthens the delays of a slow job (#582, `docs/TEST_TIERS.md`, ADR-012). -- Keep automated browser windows visible (#544, #556, `docs/TEST_PERFORMANCE.md`). - Run each developer integration part and each wf command of the tests in a process of its own again: the shared windows of #544 and #556 made the driver cases about a third slower on Windows and failed more often. Remove the timing analysis tools and their CI steps, and repeat the desktop suite through one path, with `desktop_passes` on a manual dispatch (#570, `docs/TEST_PERFORMANCE.md`). - Close the test driver's window with `requestClose()` instead of asking the page: a spec that blocks the page now ends with the driver's timeout report instead of a forced exit (#570). -- Retire browser tests that repeated others: `LifeEmbeddedBuild` and `LifeEmbeddedIntegration` (the journey compiles and runs the same application from its own generated header), `WfDriverCreateStarter` and `WfDriverTestPasses` (`JourneyCreate` and `JourneyTest`), and `AutomationCliWatchdog`, whose endpoint reuse and Unicode failure checks now follow `AutomationMcpWatchdog` (#570). - Keep the configure downloads of the tests (bootstrap environment, test registry, jasmine-core) once per machine, in `WEBFRONT_DOWNLOAD_CACHE`, and try a failed download three times: a new build tree links the verified archives instead of downloading them again (#570, `docs/DEVELOPER_ENVIRONMENT.md`). - Declare GCC 13 as the best-effort S2 minimum for the library and examples, document the GCC 14 exit clause and qualified Clang scope, and add GCC 13 ASan/UBSan fast tests (#525, ADR-022). -- Skip the cases that configure a CMake project (label `configuration`, about 75 s of worker time) and the coverage capture on a pull request that does not change the build system, and drop the compiler-cache probe step; a push to `develop` and the full tier still run them (#545). -- Open the developer page on the interface, over the whole window, once the project has a preview; the terminal moves to a floating, movable window behind a tab on the right edge that shows the session's state, and keeps its session when collapsed. Its shortcut is F9, or the manifest's new optional `developer.terminalShortcut`. Environment sources 0.9.1, not published yet (#539, `docs/DEVELOPER_ENVIRONMENT.md`). +- Open the developer page on the interface, over the whole window, once the project has a preview; the terminal moves to a floating, movable window behind a tab on the right edge that shows the session's state, and keeps its session when collapsed. Its shortcut is F9, or the manifest's new optional `developer.terminalShortcut`. Introduced in environment 0.9.1 (#539, `docs/DEVELOPER_ENVIRONMENT.md`). - Make the default test build the quick one: the heavy unit tests compile four to a file, the MSVC code analysis and the reproducibility proofs are off unless `-DWEBFRONT_MSVC_ANALYZE=ON` or `-DWEBFRONT_TEST_REPRODUCIBILITY=ON` asks for them. The CI passes every option explicitly and checks what it checked before (#546). -- Run the unit tests as a few processes instead of one per scenario with `-DWEBFRONT_TEST_UNIT_SHARDS=`: each of the `n` CTest cases is a Catch2 shard that reports every scenario in `unit-results-.xml`. The default still registers one CTest case per scenario; the desktop CI jobs pass 4 and no longer run the fast tier twice on a pull request (#543). ### Fixed - +- Build the host-loop capture example with AppleClang when ignoring the frame number (#602, `docs/HOST_LOOP_EXAMPLE.md`). - Deduplicate the host-loop example's frame requests through rendering until each delivery starts, and expose its status messages to assistive technologies (#599, `docs/HOST_LOOP_EXAMPLE.md`). - Make the host-loop example reject `--capture` without a native window or with `--benchmark`, and return a failure when the capture cannot be saved or the window closes before it completes (#599, `docs/HOST_LOOP_EXAMPLE.md`). - Enforce the WebKitGTK distribution policy across translation units and inherited environments; bound launcher checks and restore the development opt-out before callbacks or system-browser fallback (#596, `docs/WEBKITGTK.md`). -- Give `CheckConsumerJasmineReports.cmake` the policies of CMake 3.31, without which it compared the report status with a variable (#596). - On Windows, a slow HTTP client no longer blocks the publication of developer resources, and removing a log sink no longer returns while one of its callbacks is still running (#542, `docs/validation/ci-flakes-542.md`). -- Serialize the developer session's phase logs and keep CI timing analysis running if a duration is malformed: report and omit that timing while retaining the other phases and test results (#542). - The Linux interface loop shuts down without leaving work behind, and the automation deadlines are decided consistently when a window is ready at the moment its startup expires. The ThreadSanitizer job no longer needs its GLib suppression (#542, `docs/validation/ci-flakes-542.md`). -- Driver commands and their Jasmine runners are displayed in the native window, and asynchronous unit tests wait for observable states instead of fixed delays (#542). -- Logging delivers to its sinks without allocating per line (#542). - `WebView2Lifecycle-native-early-close` no longer fails under load: the COM initialization that the WebView2 runtime keeps after a window closed during its startup is a documented limit, and the frontend's own apartment has a unit test (#564, #570, `docs/PROJECT_STATUS.md`). - Restore the terminal prompt with exit code 1 when `wf dev` starts without a project or a selectable entry; compilation errors still keep watching for edits. Environment 0.9.2 (#560). - Read all six developer integration reports in CTest after a part fails, and keep the successful parts' dependent tests runnable, also when the session's native deadline ends it (#556). - On Windows, `wf install`, `wf build` and `wf test` no longer fail with `rename: Access is denied` while another process, such as an antivirus scan, still reads the files just written: the developer store tries the rename again for up to 635 ms; `wf test` also empties the directory of an interrupted run (#542). -- Run the commit attribution regression checks with older Git versions by dropping the unsupported `git log --no-graph` option (#525). - Build with `-DWEBFRONT_EMBED_CEF=ON` on Linux aarch64 instead of failing on `-m64`, and cross-compile CEF: WebFront pins CEF 156.0.28, whose package selects the archive and `PROJECT_ARCH` from the target (#523). + ## [0.9.0] - 2026-11-10 Last minor revision before 1.0, with the developer environment at the same number. It lays the groundwork for the @@ -237,7 +231,8 @@ Coroutines and the opt-in developer environment. One **breaking** change to the - Fail decoding when a bridge integer is out of the requested C++ range, instead of invoking undefined behavior. -[Unreleased]: https://github.com/ambroise-leclerc/WebFront/compare/v0.9.0...HEAD +[Unreleased]: https://github.com/ambroise-leclerc/WebFront/compare/v1.0.0...HEAD +[1.0.0]: https://github.com/ambroise-leclerc/WebFront/compare/v0.9.0...v1.0.0 [0.9.0]: https://github.com/ambroise-leclerc/WebFront/compare/v0.8.0...v0.9.0 [0.8.0]: https://github.com/ambroise-leclerc/WebFront/compare/v0.7.0...v0.8.0 [0.7.0]: https://github.com/ambroise-leclerc/WebFront/compare/v0.6.0...v0.7.0 diff --git a/examples/host-loop/HostLoop.cpp b/examples/host-loop/HostLoop.cpp index 0355491a..57c3ae4f 100644 --- a/examples/host-loop/HostLoop.cpp +++ b/examples/host-loop/HostLoop.cpp @@ -137,7 +137,7 @@ int runWithWindow(boing::Host& host, const Options& options) { auto drawn = ui->jsFunction("hostLoop.captureNext")(glass); if (drawn.wait_for(10s) != std::future_status::ready) throw std::runtime_error("No capture: the browser did not draw the next frame"); - drawn.get(); + (void)drawn.get(); } boing::saveCapture(webfront::frontend::capturePng(), boing::captureFramePath(options.capture, i, options.captureFrames)); } diff --git a/include/webfront/WebFront.hpp b/include/webfront/WebFront.hpp index 54eeb9a3..9597b24d 100644 --- a/include/webfront/WebFront.hpp +++ b/include/webfront/WebFront.hpp @@ -46,7 +46,7 @@ namespace webfront { -inline constexpr std::string_view version = "0.9.0"; +inline constexpr std::string_view version = "1.0.0"; namespace testing { /// Test-only access to the connection identifiers of an application; not part of the API. From ed6976c80bc74ae1eda1a0d978a41d78d939cefc Mon Sep 17 00:00:00 2001 From: "webfront-release[bot]" Date: Tue, 17 Nov 2026 09:18:44 +0000 Subject: [PATCH 2/3] Pin developer environment 1.0.0 --- docs/DEVELOPER_ENVIRONMENT.md | 6 +++--- include/webfront/system/DeveloperReleaseData.hpp | 6 +++--- js/developer/environment/bundles.json | 4 ++-- js/developer/tools/distribution.json | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/DEVELOPER_ENVIRONMENT.md b/docs/DEVELOPER_ENVIRONMENT.md index d771b54c..598a97a5 100644 --- a/docs/DEVELOPER_ENVIRONMENT.md +++ b/docs/DEVELOPER_ENVIRONMENT.md @@ -79,8 +79,8 @@ Each published version is immutable: 0.3.0 introduced the packed-bitset Life sta manifest, `wf restore`, `wf run`, `wf exec`, `wf check` and the complete terminal, and 0.6.0 `wf build`, `wf dev` and `wf test`. The default configuration is generated in `include/webfront/system/DeveloperReleaseData.hpp`; it contains -an exact versioned environment URL and the trusted digest. The 0.9.3 release pin selects -`https://dist.webfront.fr/developer/0.9.3/environment.tgz` (ADR-021). The deployed archive, CORS headers and public +an exact versioned environment URL and the trusted digest. The 1.0.0 release pin selects +`https://dist.webfront.fr/developer/1.0.0/environment.tgz` (ADR-021). The deployed archive, CORS headers and public smoke test were verified before the pin was merged. Earlier publication gates are recorded for [0.6.6](validation/developer-0.6.6-release.md), [0.6.4](validation/developer-0.6.4-release.md) and [0.6.3](validation/developer-0.6.3-release.md). Published 0.6.2 introduced installation of the archives of `@types` packages and the manifest directory; @@ -727,7 +727,7 @@ above). Rows before 0.9 were reconstructed from the header of each tag; 0.4.0 pr | Library | Environment | Minimum api | | --- | --- | --- | -| unreleased | 0.9.3 | 1 | +| unreleased | 1.0.0 | 1 | | 0.9.0 | 0.9.0 | 1 | | 0.8.0 | 0.6.3 | 1 | | 0.7.0 | 0.6.3 | 1 | diff --git a/include/webfront/system/DeveloperReleaseData.hpp b/include/webfront/system/DeveloperReleaseData.hpp index 421298ce..9817dcd2 100644 --- a/include/webfront/system/DeveloperReleaseData.hpp +++ b/include/webfront/system/DeveloperReleaseData.hpp @@ -4,7 +4,7 @@ #include namespace webfront::developer::release { -inline constexpr std::string_view version{"0.9.3"}; -inline constexpr std::string_view environment{"https://dist.webfront.fr/developer/0.9.3/environment.tgz"}; -inline constexpr std::string_view integrity{"sha512-fVr362da3+0iuX4WHvxg2Vp9nuZ4/qWJXkI1kU9MHfqoDYrN4HB9f3qvFm2p7NG7c3CuW/zHpiNsGmywm77PdA=="}; +inline constexpr std::string_view version{"1.0.0"}; +inline constexpr std::string_view environment{"https://dist.webfront.fr/developer/1.0.0/environment.tgz"}; +inline constexpr std::string_view integrity{"sha512-jZTAAPzQmKYoSJ6URWkD3ksB8FvsVCUhAYw+E4P4yAV94eW9qp5wO3p2KKrWYjFEUqiyPU+H8pryi0E/Dvd2Sw=="}; } // namespace webfront::developer::release diff --git a/js/developer/environment/bundles.json b/js/developer/environment/bundles.json index 5410b41c..a6954c10 100644 --- a/js/developer/environment/bundles.json +++ b/js/developer/environment/bundles.json @@ -45,12 +45,12 @@ "js/developer/starters/agent-guide.md": "a4ace796863308f9239825389cc3ddd0f29dcc6f45cd0b2af65767411fc723ce", "js/developer/starters/app/main.ts": "3bc27323c1170089c53dec4ffcc8632ed3db66c45e73d75fa6d2d9ff2752652e", "js/developer/starters/app/style.css": "1d4dccf54c21d56cd99bf72de181be095e196263767848ac52721ea94520dc5d", - "js/developer/tools/distribution.json": "42daedcec878dce14463c3523b5e136c61f0a7d7e4a38073aed5e6df2a021665", + "js/developer/tools/distribution.json": "390a79e5523d1c54e7f388c34b47a715fee2c9c3b6dca351e1c91797bd5cb7f3", "js/developer/tools/archive.mjs": "da63bb9d796ddfd24ed945b15c53f66a0400eb177886fd4f1c8fd10cafb5a91b", "js/developer/tools/distribution.mjs": "43dfdccc912693db46fd095fd78ae79325abab672d99f89fd569914ef3499cad", "js/developer/scripts/build.mjs": "a577f4396ab867096bc6fe6876e16e5220121ec8e8dd234fa1e4819d0a1173e1", "js/developer/webfront.project.json": "a31b7313bedc47bd437fe68decb23e0788dcaa9903c4c5c2a31841b296a40776", "js/core/bootstrap/bootstrap.bundle.mjs": "65af2f899f7ff4752400148933284e702b0bcb3285a7bd89f2db31da99080698", "js/developer/environment/packages.bundle.mjs": "5598a590a9e859a4128075387a6c32963b2246ca120c2d7775851c780ad437f2", - "include/webfront/system/DeveloperReleaseData.hpp": "494086e6d8aaf8e6900fa8e4a9f7725c92db7feb847b24c8360c5cc39f9ab7a1" + "include/webfront/system/DeveloperReleaseData.hpp": "572c8e5372ece66eae4a6dbcecc7de9307d92aec342853acd24025a0c0961e37" } diff --git a/js/developer/tools/distribution.json b/js/developer/tools/distribution.json index 6119daed..f2d52b5a 100644 --- a/js/developer/tools/distribution.json +++ b/js/developer/tools/distribution.json @@ -1,4 +1,4 @@ { - "version": "0.9.3", + "version": "1.0.0", "baseUrl": "https://dist.webfront.fr/" } From 8c32f1b24a20caaa3d2c192ba29f21576f46e89b Mon Sep 17 00:00:00 2001 From: Ambroise Leclerc <6860842+ambroise-leclerc@users.noreply.github.com> Date: Tue, 17 Nov 2026 10:20:22 +0100 Subject: [PATCH 3/3] Freeze compatibility for WebFront 1.0.0 --- docs/DEVELOPER_ENVIRONMENT.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/DEVELOPER_ENVIRONMENT.md b/docs/DEVELOPER_ENVIRONMENT.md index 598a97a5..56f10f62 100644 --- a/docs/DEVELOPER_ENVIRONMENT.md +++ b/docs/DEVELOPER_ENVIRONMENT.md @@ -728,6 +728,7 @@ above). Rows before 0.9 were reconstructed from the header of each tag; 0.4.0 pr | Library | Environment | Minimum api | | --- | --- | --- | | unreleased | 1.0.0 | 1 | +| 1.0.0 | 1.0.0 | 1 | | 0.9.0 | 0.9.0 | 1 | | 0.8.0 | 0.6.3 | 1 | | 0.7.0 | 0.6.3 | 1 |