Repository navigation
Releases
Releases · braidjs/braid
v0.9.0
🚀 Features
- core,console: a header slot for host chrome; spans, moves and snapshots in workspace layouts (0925d43)
- examples: Starport tiles you can move, resize and pop out, and a seams view (3478e44)
🩹 Fixes
- code review — keep popped-out apps across a desk reload; robust drags; a move without dragging (c4966ca)
- examples: goal check — tests that can fail, and a popped-out window that reloads keeps its app (62549d4)
- examples,core: security review — a popped-out app comes back only to the desk that sent it (93ba9be)
❤️ Thank You
- Jeff Smith @Jefftopia
v0.8.1
🚀 Features
- examples: Starport, a workspace of five apps with intents and layouts (c179426)
- examples: Starport as static files, with the gateway in a service worker (7669723)
🩹 Fixes
- examples: review findings — a malformed request no longer stops Starport; close from the dock (df99c5a)
- examples: Starport keeps a restored course, and its README says what runs today (f931120)
- examples: review findings — Starport's build clears only its own output; real boundary checks; shared departures (c1559d5)
- examples: a malformed request no longer stops the sw-gateway server (be73d1b)
- examples: Starport fits a phone (a33c6e6)
- fdc3: declare uuid, which the FINOS agent proxy imports and does not declare (e1998bb)
- gateway: refuse a path separator or dot segment hidden by percent-encoding (87857d0)
- gateway: close the rest of the hidden-separator family; function endpoints too (4becf05)
❤️ Thank You
- Jeff Smith @Jefftopia
v0.8.0
🚀 Features
- ask before a navigation loses a fragment's unsaved work (0d33e7c)
- per-fragment IndexedDB and Cache Storage, with Storage Buckets (9bcdd7c)
- console: design a workspace area into a shell (9462451)
- core: a slot that moves keeps its fragment running (dd1aba0)
- core: run on hosts that enforce Trusted Types (35da155)
- core: lift a fragment's portals into the top layer (opt-in) (a1ac1fc)
- core: give the realmGlobals hook the slot a fragment boots in (9ffaf62)
- fdc3: add client and server preference stores (7bfc04b)
- fdc3: launch apps, resolve intents, keep preferences and layouts (3c4401e)
- gateway: Speculation Rules from the registry (opt-in) (0d7afed)
- gateway: serve per-user preferences at /__braid/preferences (80a70ac)
- registry: a Cache Storage snapshot store, so the console can edit behind the service-worker gateway (40892d8)
- sw: @braidlabs/sw/gateway, the gateway run inside the service worker (aa4eba9)
- sw: start the worker only for what it answers (static routes) (508e8e9)
🩹 Fixes
- storage buckets never delete what is not theirs, and sign-out clears them (0175841)
- the leave guard asks once, sees shadow DOM, and can be scoped (42715b7)
- a partition with only cached data stays put, and bucket names fit (4f7ad4c)
- review findings — framework-owned workspace areas, late containers, in-worker API hardening (44e3ad6)
- review findings — prove the plain event was dispatched, cover compat events in the guide (b52ee65)
- angular-workflow: scope drafts to the signed-in person (574cd2e)
- angular-workflow: a new person gets a fresh run, and no scope keeps nothing (6b95fb5)
- cli,console: generated gateways read NODE_ENV for their mode (fc0a67e)
- console: say what the workspace does, not more (faecfc5)
⚠️ core: refuse non-https untrusted src and normalize sandbox tokens (6adc2ca)⚠️ core: an untrusted fragment with no context grant reads nothing (2fbef3d)⚠️ core: refuse allow-popups-to-escape-sandbox; load the URL checked (7ce05df)⚠️ core: connect untrusted fragments from an opaque origin (6fb5881)- core: reboot a moved slot whose boot no longer holds (5d36f96)
- core: claim the braid policy first, and bless only neutralized scripts (ba57fc7)
- core: lifted portals survive reuse, keep their anchors, spare dialogs (e0181b9)
- core: dirtySlots counts its root, so a ShadowDom view's host finds its slots (d9b06da)
- core: the overlay reset loses to a fragment's layered styles (9501ef8)
- core: keep a fragment's neutralized SVG scripts (0ec5dc2)
- core: a moved slot shows its lifted overlays again (7ec60b0)
- data: let the outbox follow the signed-in person (efc863e)
- data: keep each queued entry in its own partition through a flush (9c055d4)
- data: sign-in waits for a purge, and the event queue follows the user (a4fb920)
- data: switchTenant takes the purge lock and notices an ended session (b906173)
- fdc3: decide launch or reuse in open(), so quick raises mount once (ba097d7)
- fdc3: offer only launches for newInstance raises again (b552586)
- fdc3: send a held intent to the instance launched for it (1880daa)
- fdc3: decide launch or wait from the held intent itself (8e8f53b)
- gateway: promote Angular's CSP-nonce deferred stylesheet media (c087f39)
⚠️ gateway: default mode to production so access rules always apply (bd30221)- gateway: ask for development mode where local examples need it (e29f719)
- gateway: run in a browser's fetch: unpinnable codings, opaque shells (fcaf478)
- gateway: speculation without buffering, and narrower rules (0be7e4e)
- gateway: enforce preference quotas inside the write; refuse by Origin (06e9e4c)
- registry: see route overlaps through a slash an optional part owns (2c7c0b0)
- sw: offline composition keeps nothing no-store, and clears at sign-out (136be18)
- sw: routes match what the workers register, and skip offline (f381377)
⚠️ Breaking Changes
- core: connect untrusted fragments from an opaque origin (6fb5881)
allow-same-origin is refused for untrusted fragments,
and so is allow-popups-to-escape-sandbox. Every untrusted frame now runs
in an opaque origin. That was the only configuration that connected
before, so for a vendor page that relied on it:- document.cookie, localStorage, sessionStorage and IndexedDB are
unavailable; - module scripts and other CORS-mode subresources need
Access-Control-Allow-Origin; - its own API calls go out with
Origin: nulland no cookies; - it cannot mount a nested untrusted fragment.
See "What the opaque origin means for a vendor's page" in
docs/braid-boundary.md.
- document.cookie, localStorage, sessionStorage and IndexedDB are
- core: refuse allow-popups-to-escape-sandbox; load the URL checked (7ce05df)
untrusted fragments can no longer be granted
allow-popups-to-escape-sandbox. allow-popups alone still opens windows,
which stay sandboxed. - core: an untrusted fragment with no context grant reads nothing (2fbef3d)
an untrusted fragment whose capabilities declare nocontext.readnow receives no context. List the keys it may read incapabilities.context.read. - core: refuse non-https untrusted src and normalize sandbox tokens (6adc2ca)
an untrustedsrcmust be https:, or http: on localhost, 127.0.0.1 or [::1]. Sandbox tokens the HTML standard does not define, which browsers ignored, now throw slot-config. - gateway: default mode to production so access rules always apply (bd30221)
a gateway created withoutmodeis now a production
gateway. Passmode: 'development'for local work that relies on the
access bypass, unfiltered discovery, verbose errors or the Origin rewrite.
❤️ Thank You
- Jeff Smith @Jefftopia
v0.7.1
🚀 Features
- angular: report settled after the first screen has loaded (b014d37)
- core: settled signal on fragment-slot, separate from liveness (b3996cf)
🩹 Fixes
- angular: tolerate a host env without settled; note zone timers (f042088)
- compat: let custom elements' own insertion overrides run in fragments (9ab567a)
- compat: delegate past every boundary's stamp; bound definition waiters (7a9e3dc)
- gateway: promote deferred stylesheets instead of leaving them print-only (6156d05)
- gateway: drop wire framing headers from decoded upstream responses (6cdde57)
- gateway: harden upstream framing and the deferred stylesheet match (3357435)
- gateway: never trust a fetched length under any coding; strict writes (204a43b)
- gateway: refuse an upstream coding that was not requested (1f2ac8f)
❤️ Thank You
- Jeff Smith @Jefftopia
v0.7.0
🚀 Features
- core: per-fragment Web Storage for trusted fragments (capabilities.storage) (a1faa26)
- core: boot fragments on intent with a slot boot attribute (89dde11)
- core: prefetchFragment starts a fragment's load before its slot exists (6757b65)
- core: opt-in self-healing slots with initBraid({ recover }) (e3755f5)
- core,gateway: mount prerequisites — named things a fragment waits for before its code runs (1508b13)
- core,gateway: opt-in capabilities.html for a fragment's own HTML writes (cc49ffb)
- core,react,angular: optional loading states for booting fragments (a505de0)
- gateway,core: per-fragment cookies for partitioned fragments (786de89)
- gateway,core: stream past slow fragments with stream: out-of-order (ce652ef)
- gateway,core: turn capabilities.network into a realm policy (0c51912)
- otel,gateway: OpenTelemetry tracing of fragment fetches; safe baggage (41f6159)
- site: serve the site at oss.braidcloud.com (bffb5ba)
🩹 Fixes
- core: storage views answer to Storage.prototype; faster, safer echoes (6cb00b6)
- core: cross-frame replies reach every listener style; script-set URLs resolve into the fragment (9276e97)
- core: release failed boots, close slot races, tighten prefetch (0d2011d)
- core: bound recovery and skip what retrying cannot fix (b8e254c)
- core: parse sanitized writes in context, and close the audit's bypasses (bf4b5ba)
- core: run only what Braid neutralized, never what a fragment writes (83d70e1)
- core: mark host scripts started the browser's way, not by shadowing (b2478c1)
- core,angular: loading-state review fixes (3e77812)
- core,gateway: script-set URLs use the gateway's base and never double-prefix; once means once (efd93f4)
- core,gateway: decide what runs by provenance, not by markers (b3e5393)
- core,gateway: never leave a host script the browser could run (c6780dd)
- core,gateway,registry: prerequisites review fixes (20903df)
- gateway: never coalesce two fragments' fetches into one response (c74a7c2)
- gateway: fetch hooks always end, run the fetch, and baggage is matched safely (f015f08)
- gateway: give a realm stub with a policy its own ETag (c4af3de)
- gateway,core: cookie scoping review fixes (5fd9f31)
- gateway,core: deliver late markup only when it is complete and genuine (ad40964)
- gateway,core: keep bad network entries from breaking startup (359da14)
- otel: one trace context per fragment request, the fetch span active, no context baggage (cc8fae8)
- site: write llms.txt and llms-full.txt as ASCII (dcf35c6)
- site: name astral characters whole in the ASCII guard (17e705a)
- site: spell em dashes as "--" in the llms files (6b47dcb)
❤️ Thank You
- Jeff Smith @Jefftopia
v0.6.0
🚀 Features
⚠️ fdc3: report FDC3 3.0, refuse close() and newInstance:true at once (2cf7d68)- site: the public site, as static files with no gateway (e34c799)
- site: "Interested in hosted Braid? Get in touch." on every page (f444259)
- site: a working contact form on a Cloudflare Worker (089ae5c)
- site: run the contact form as an AWS Lambda (f3a4ce2)
- site: a local dev server with a working contact form (af8d410)
- site: the AWS stack for hosting and the contact form, in CDK (e765d45)
- site: canonical URLs, share cards and JSON-LD (1731aad)
- site: robots.txt, sitemap and llms.txt for crawlers (64f6f5b)
🩹 Fixes
- deps: clear four high advisories published since the last audit (4de9c1a)
- fdc3: match intent listeners by context type, as FDC3 3.0 does (997a3dc)
- site: keep live sections on screen, hide seams, fit phones (3048006)
- site: harden the preview server and the build's output guard (90f2266)
- site: act on code review — dead CTA, anchor checks, contract, a11y (d330850)
- site: quieter nav — four links, two buttons, hosted line in the dateline (5878124)
- site: drop the date from the masthead dateline (0b49751)
- site: give nav links a full-size click target (c746cc2)
- site: act on the security and code reviews of the contact form (aa8fff5)
- site: CI can only publish content; close the Function URL bypass (4328f8e)
- site: trust GitHub's immutable OIDC subject for the publish role (384558f)
- site: let the publish role create Amplify deployments (e654795)
- site: make the llms-full converter strict, and its checks honest (119d3a0)
⚠️ Breaking Changes
- fdc3: report FDC3 3.0, refuse close() and newInstance:true at once (2cf7d68)
the agent reports FDC3 3.0, and the FINOS 3.0 directory drops
records whose optional fdc3Version range excludes 3.0.
❤️ Thank You
- Jeff Smith @Jefftopia
v0.5.0
🚀 Features
- core: realmGlobals — per-fragment values on a trusted fragment's realm (e5ebf03)
- core: replay the current context value to a subscriber that asks (ae2a7ac)
⚠️ core: context subscribe replays the current value by default (a251ab5)- data: channel state that persists across reloads (42d6cbd)
- data: intents reach handlers in other realms on the page (00659e2)
- fdc3: @braidlabs/fdc3, an FDC3 2.2 Desktop Agent for Braid pages (7b2688a)
- registry: endpointOrigins — an allowlist for where fragment endpoints may point (fa39e58)
- registry: serve the registry as an FDC3 App Directory (7beef57)
- registry,console: page snapshot history, so rollback reaches past 25 (7f7795d)
🩹 Fixes
- appd: drop bad links instead of failing the listing; a directory-only read right (144c648)
- console: the fragment editor no longer overwrites newer publishes (339ae03)
- console: keep fragment drafts across tabs, and ask before closing (7a2a2a6)
- console: ship the standalone app with a Content-Security-Policy (08fa397)
- console: report editor dirtiness only when it changes (3845303)
- console: review fixes for CSP, permissions refetch and history paging (eb32df6)
- core: call the realmGlobals hook only for adapters that install it (a1288ba)
- data: page scope crosses a page's realms; late joiners get current state (18023f2)
- data: set an intent call's error cause by hand for older TS libs (25c7fb5)
- data,core: late join without a storm or false conflict; review fixes (529792c)
- data,core: harden cross-realm intents and persisted state from review (203c566)
- fdc3: harden the agent against review findings (aabd608)
- gateway: make the App Directory projection conform to FDC3 2.2 AppD (aeaa39a)
- registry: own shell routes, so a team cannot answer another team's pages (8db6143)
- registry: judge route scope as URLPattern reads it, not as written (23e5619)
- registry: descriptor probes no longer read the server's network out (7621528)
- registry: cap write bodies, and require JSON from browsers (e837d20)
- registry: judge shell-route ownership conservatively, not by sampling (bec45cc)
- registry: probe only allowed endpoints, and keep refused snapshots unservable (78a9943)
⚠️ Breaking Changes
- core: context subscribe replays the current value by default (a251ab5)
code that called get() and then subscribe() handles the
first value twice. Drop the get(), or pass { replay: false }.
Also fixes the replay path readingoptions.aswhen no options were passed,
which threw inside the guarded call and was only logged.