Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ The [changelog](docs/CHANGELOG.md) is exhaustive; the main additions are:
- **0.6.0.** `ui.document()` for [DOM islands from C++](docs/DOM.md); [forms and inspectors](docs/FORMS.md) generated from type descriptions (with an optional C++26 reflection layer); the [`@webfront/react` adapter](docs/REACT.md) with coalesced C++ stores and `Island`; `app.broadcast(...)` and `app.forEachUI(...)` to reach every browser from any thread; connection generations that reject a stale `UI`; local [automation](docs/AUTOMATION.md) (`webfront-agent`, stdio MCP and JSON CLI).
- **0.7.0.** **Breaking:** test, fuzzing, coverage and sanitizer CMake options require the `WEBFRONT_` prefix (`WEBFRONT_ENABLE_TESTING`, ...); several agent shutdown fixes; faster pull-request CI.
- **0.8.0.** Authorized native programs and private temporary files from [Jasmine specs](docs/CONSUMER_TESTING.md); PNG screenshots and image sequences of the web view (`webFrontCapture`); `webfront::embeddedFrontendAvailable` and `webfront::EmbeddedWebFront`; `init`, `create`, `install`, `restore` and `embed` available to automation.
- **0.9.0.** The last minor revision before 1.0, with the developer environment at the same number. System services groundwork ([ADR-020](docs/adr/README.md)): writable storage confined to declared roots, typed access to the native window and an interface-thread executor for every frontend, dynamic and ranged HTTP routes, file inputs and downloads in the embedded frontends, automation of an application's own window, and the `@webfront/services` package skeleton. Developer environment 0.9.0 is the first published by the `release-developer` workflow.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
- **Developer distribution.** The developer environment is served from `dist.webfront.fr` ([ADR-021](docs/adr/README.md)). Libraries older than the sources' pin keep the former address, which no longer works for the developer bootstrap: rebuild against the current sources.

## Use WebFront in your project
Expand Down
5 changes: 4 additions & 1 deletion cmake/DeveloperCompatibility.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ elseif(MODE STREQUAL "freeze")
if(NOT LIBRARY_VERSION MATCHES "^[0-9]+[.][0-9]+[.][0-9]+$")
message(FATAL_ERROR "LIBRARY_VERSION must be MAJOR.MINOR.PATCH")
endif()
if(table MATCHES "[|] ${LIBRARY_VERSION} [|]")
# The first cell of a row: the version of the environment column may be the same number, and a dot is literal.
string(REPLACE "." "[.]" version_pattern "${LIBRARY_VERSION}")
if(table MATCHES "
[|] ${version_pattern} [|]")
message(FATAL_ERROR "The compatibility table already has a row for ${LIBRARY_VERSION}")
endif()
string(REPLACE "${unreleased_row}" "${new_unreleased}| ${LIBRARY_VERSION} | ${environment} | ${api} |\n" table "${table}")
Expand Down
6 changes: 4 additions & 2 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## 0.9.0 - 2026-11-10

- Diagnose asynchronous media and file-services specs before Jasmine's generic timeout (#504). Each spec shares a 15 s
budget across named operations with a 20 s Jasmine deadline; video failures include the media state and a bounded
`mediaRanges` query. The video waits for initial data and checks the destination of each `seeked` event. Consumer
Expand Down Expand Up @@ -42,8 +44,8 @@
`wf run pin` now fails (instead of warning) when the pinned URL is off the origin of `baseUrl`, redirects or lacks CORS,
and reads `previousBase` and `baseSince` for the migration waiver, which covers only versions before `baseSince`. `DeveloperPinConsistency` checks the states (a) to (c) and the
inconsistencies of ADR-021 decision 2. The compatibility table of `docs/DEVELOPER_ENVIRONMENT.md` is maintained by
`cmake/DeveloperCompatibility.cmake` and enforced on `v*` tags by `CheckReleaseVersion.cmake`. The application, the tag rule
and the first real publication are repository operations that remain to be done by a maintainer.
`cmake/DeveloperCompatibility.cmake` and enforced on `v*` tags by `CheckReleaseVersion.cmake`. Environment 0.9.0 is the first
published by this workflow (tag `developer-v0.9.0`); the application and the tag rule are configured on the repository.
- `@webfront/services` package (#461, ADR-010 1.8, ADR-020 step 4). The browser side of the optional system services is
delivered outside the core, like `@webfront/react`: `js/services/` (a skeleton: an empty frozen `services` object and
`selfTest()`, declarations, license), `wf run services-package` for its deterministic archive and SHA-512, the same
Expand Down
1 change: 1 addition & 0 deletions docs/DEVELOPER_ENVIRONMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,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.0 | 1 |
| 0.9.0 | 0.9.0 | 1 |
| 0.8.0 | 0.6.3 | 1 |
| 0.7.0 | 0.6.3 | 1 |
| 0.6.0 | 0.6.3 | 1 |
Expand Down
2 changes: 1 addition & 1 deletion include/webfront/WebFront.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

namespace webfront {

inline constexpr std::string_view version = "0.8.0";
inline constexpr std::string_view version = "0.9.0";

namespace testing {
/// Test-only access to the connection identifiers of an application; not part of the API.
Expand Down
8 changes: 8 additions & 0 deletions test/cmake/CheckDeveloperCompatibility.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,12 @@ run(status -DMODE=freeze -DLIBRARY_VERSION=1.2.3)
if(status EQUAL 0)
message(FATAL_ERROR "A repeated freeze was accepted")
endif()
# The library version may equal the environment's (one number for both): only the first cell of a row is a library.
run(status -DMODE=freeze -DLIBRARY_VERSION=0.6.9)
document(content)
if(NOT status EQUAL 0 OR NOT content MATCHES "
[|] 0[.]6[.]9 [|] 0[.]6[.]9 [|] 2 [|]
")
message(FATAL_ERROR "A library version equal to the environment's was refused: ${last_output}")
endif()
file(REMOVE_RECURSE "${WORK}")
Loading