Repository navigation
Release WebFront 0.5.0 [#282] - #375
Merged
Merged
Conversation
Move the headers to include/webfront/ (included as <webfront/...>), the
browser sources to js/core and js/developer, the tests to test/{unit,web,
fuzz,cmake}, and the documentation, CI and container files to docs/,
.github/ and .devcontainer/. Remove the historical prototype and the
unused compressed header. Add the RepositoryLayout CTest case.
The generated-provider include changed, so the developer distribution is
bumped to 0.4.1; its publication is a separate maintainer step.
Reduce asset check cost and parallelize CI tests [#298]
Simplify the repository layout [#320]
Record the published developer distribution 0.4.1 [#320]
ADR-016: the bootstrap environment as WebFront's foundation [#304]
…ck publication [#305] webfront.project.json (format 1) is validated strictly and read by wf install, preview and embed. The lock records the digest of the manifest dependencies and every command reports a desynchronized state. developer::Store::commitGroup publishes both files through a synced intent journal recovered at startup, with a fingerprint precondition against concurrent installations. Fill the commit links of ADR-009, 010, 013, 014, 015 and 016.
…update and bump the developer distribution to 0.5.0 [#305]
…and sync new journal directories [#305]
… registry fixture [#306] wf restore rebuilds the package cache from the lock alone, at the locked versions and SHA-512 integrities; --offline only checks the cache and lists missing or corrupted packages. Each cached package is followed by a record of its files' digests, written last. DeveloperBootstrapOptions::registry becomes optional and takes precedence over the manifest's registry; install and restore print the registry in use. The tests' local registry is generated reproducibly from pinned and synthetic packages.
…ble and fix review findings [#305] - Windows: recovery read the journal through a stream still open when rollForward removed it. - A committed publication that cannot be completed no longer prevents opening the project: it is reported as IncompletePublication, its journal is kept, and state() or commitGroup() completes it. - A failure before the commit point returns the staged files to their transactions. - wf install validates requested ranges before resolving and rewrites the manifest as written. - wf init writes the root manifest and adopts the roots of an existing lock; a lock without a manifest digest whose roots satisfy the dependencies is usable and gets its digest recorded. - wf embed <provider> names the class after the provider; --output requires a C++ class name. - The installer reuses parseSpec. - CI checks a pin behind the sources against the published archive.
…f-restore # Conflicts: # docs/CHANGELOG.md # js/developer/environment/bundles.json # js/developer/environment/installer.mjs # js/developer/environment/packages.bundle.mjs # js/developer/environment/runtime.mjs # js/developer/tools/manifest-check.mjs
… cached files [#306] - The 256 MiB bound counts the packages already in the cache and is checked before each publication, so a failed or resumed restore cannot exceed it. - A cached file larger than the bound is a corrupted package: reading stops at the bound instead of failing, so wf restore downloads it again and --offline lists it.
Project manifest, wf init and transactional manifest and lock publication [#305]
…res on cache records [#306] - A same-origin registry path starting with // or containing a backslash is refused in C++, in the manifest and when it is resolved: on an HTTPS page, "/\\host" resolves to another HTTPS origin. - Only a malformed cache record makes a package corrupted; a bridge failure while reading it is reported instead of triggering a download.
…er test [#306] The competing publication's exception crossed threads through std::future; ThreadSanitizer on libc++ reports the shared exception object as a data race because libc++abi's reference counting is not instrumented. The thread now returns the message, and the test also checks that the first publication won.
…st permissions [#307] Scripts of the manifest and webfront.bin entries of locked packages are bundled by esbuild-wasm and run in a dedicated Worker with a bounded context API (args, signal, console, project read/list/write, packages.resolve, fetch, exit). The page applies the manifest permissions to context operations and publishes each write with developer::Store. Ctrl+C or the time limit aborts the script's signal, then terminates the Worker after a grace period; staged writes are aborted and committed ones complete. npm's bin is never run and Node.js imports are refused while loading. Store::list backs context.project.list.
…st link case without symlink rights [#307] - A commit refused by the store is aborted too, so its transaction and staging do not linger and exhaust the transaction limit. - context.exit throws to unwind the script at once, and nothing the script does after its first exit reaches the page. - The Store::list link case uses the error_code overload and is skipped where links cannot be created, like the other link scenarios. - lockPath moves to manifest.mjs, so the script Worker no longer bundles semver.
wf restore, application registry precedence and local npm registry fixture [#306]
Local CI: run Linux lanes over SSH with offline kits [#346]
Local CI: run native Windows lanes over SSH [#346]
Local CI: run native macOS lanes over SSH [#346]
Cache validated gzip fallback representations [#281]
Remove local SSH CI infrastructure [#346]
…#366] WebFrontLifeDeveloper uses ./life-project (created when missing, reused untouched) and the pinned environment when run without argument; the explicit <project> [<environment-url> <sha512-integrity>] form remains. Configuration enables the native engine of the platform when its dependencies are found (top-level builds with examples and without tests; an explicit WEBFRONT_EMBED_* value always wins, WEBFRONT_AUTODETECT_NATIVE=OFF disables it). Without a native engine the Life examples are built for the default browser and CMake explains what to install. The terminal no longer prints its redundant "browser-powered" banner, the README walkthrough builds with mkdir/cd/cmake/cmake --build, and the bundle checksum is refreshed.
The terminal change alters the environment archive, and a published version is immutable. The release pin stays on the published 0.6.2.
Bound gzip workers and keep transport benchmarks out of CI [#283]
…ults Start the Life example without arguments and detect the native window [#366]
ambroise-leclerc
requested review from
AM-L
and
a balanced review from Copilot
October 25, 2026 23:04
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
AM-L
approved these changes
Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promote the prepared WebFront 0.5.0 source to
masterfor publication. Merge only after #373 and #374, successful CI on the approved gzip commit, and successful release checks. The tag must point at the resultingmastercommit and matchwebfront::version/CMake.The proposed GitHub release notes follow.
WebFront 0.5.0 is an experimental C++23 header-only library for serving a browser UI from a C++ application.
Highlights
wf init,install,restore,build,dev,check,test,run,execandembed. The environment builds itself and runs Jasmine specs without a JavaScript runtime or package manager on the developer's machine.wf embed.Migration
<webfront/WebFront.hpp>,<webfront/http/...>and<webfront/system/...>; the previous generic include spellings are removed.webfront::Commandsreplace the removed terminal component and tool-manager APIs. Usewf installandwf embedinstead of the removed React/Babel/Jasmine filesystem providers. See UI migration.BasicWF::getLink(id)is replaced byfindLink(id), which returns shared ownership or null after disconnection.The library pins published developer environment 0.6.2. The 0.6.3 environment sources in this tree are not a newly published developer package. APIs and packaging remain experimental; the developer environment is not a sandbox.
Full changelog: v0.4.0...v0.5.0