smbls 3.14.838 → 3.14.840
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +28 -4
- package/dist/smbls.cjs +45 -44
- package/dist/smbls.cjs.map +3 -3
- package/dist/smbls.core.chunk-4U7SOJDO.esm.js +36 -0
- package/dist/smbls.core.chunk-4U7SOJDO.esm.js.map +6 -0
- package/dist/smbls.core.chunk-MCONKV7B.esm.js +4 -0
- package/dist/smbls.core.chunk-MCONKV7B.esm.js.map +6 -0
- package/dist/{smbls.core.chunk-7JOJ6YVP.esm.js → smbls.core.chunk-TCG3IHHN.esm.js} +2 -2
- package/dist/smbls.core.chunk-TCG3IHHN.esm.js.map +6 -0
- package/dist/smbls.core.chunk-WG4YVMCP.esm.js +38 -0
- package/dist/smbls.core.chunk-WG4YVMCP.esm.js.map +6 -0
- package/dist/{smbls.core.dropdown-67KQ35SU.esm.js → smbls.core.dropdown-CI6PUN6W.esm.js} +2 -2
- package/dist/smbls.core.esm.js +1 -1
- package/dist/smbls.core.fetch-L2MDZV25.esm.js +2 -0
- package/dist/smbls.core.fetch-L2MDZV25.esm.js.map +6 -0
- package/dist/{smbls.core.fetchOnCreate-QRFDUMYQ.esm.js → smbls.core.fetchOnCreate-GJOL6VHT.esm.js} +2 -2
- package/dist/{smbls.core.inspect-6DYWYQQS.esm.js → smbls.core.inspect-NBVRVDZ2.esm.js} +2 -2
- package/dist/{smbls.core.sync-2BMJGR2N.esm.js → smbls.core.sync-5DQ7LL2U.esm.js} +2 -2
- package/dist/{smbls.core.windows-DRIJQJSI.esm.js → smbls.core.windows-S4KYOYTY.esm.js} +2 -2
- package/dist/smbls.embed.iife.js +1 -1
- package/dist/smbls.embed.iife.js.map +1 -1
- package/dist/smbls.esm.js +45 -44
- package/dist/smbls.esm.js.map +3 -3
- package/dist/smbls.iife-string.js +2 -2
- package/dist/smbls.iife.js +1 -1
- package/dist/smbls.iife.js.map +1 -1
- package/package.json +9 -9
- package/dist/smbls.core.chunk-7JOJ6YVP.esm.js.map +0 -6
- package/dist/smbls.core.chunk-J6JACLXE.esm.js +0 -36
- package/dist/smbls.core.chunk-J6JACLXE.esm.js.map +0 -6
- package/dist/smbls.core.chunk-KA4MADUH.esm.js +0 -38
- package/dist/smbls.core.chunk-KA4MADUH.esm.js.map +0 -6
- package/dist/smbls.core.chunk-NJZRPU6B.esm.js +0 -3
- package/dist/smbls.core.chunk-NJZRPU6B.esm.js.map +0 -6
- package/dist/smbls.core.fetch-OYYY24CY.esm.js +0 -2
- package/dist/smbls.core.fetch-OYYY24CY.esm.js.map +0 -6
- /package/dist/{smbls.core.dropdown-67KQ35SU.esm.js.map → smbls.core.dropdown-CI6PUN6W.esm.js.map} +0 -0
- /package/dist/{smbls.core.fetchOnCreate-QRFDUMYQ.esm.js.map → smbls.core.fetchOnCreate-GJOL6VHT.esm.js.map} +0 -0
- /package/dist/{smbls.core.inspect-6DYWYQQS.esm.js.map → smbls.core.inspect-NBVRVDZ2.esm.js.map} +0 -0
- /package/dist/{smbls.core.sync-2BMJGR2N.esm.js.map → smbls.core.sync-5DQ7LL2U.esm.js.map} +0 -0
- /package/dist/{smbls.core.windows-DRIJQJSI.esm.js.map → smbls.core.windows-S4KYOYTY.esm.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# smbls
|
|
2
2
|
|
|
3
|
+
## 3.14.840
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- XMA round 3 (performance): a pre-rendered page is adopted in short tasks; the first render puts rows on screen whole; the design system is prepared at build time and adopted by the page; `smbls build` adds V8 compile hints and (opt-in, `build.modulePreload`) lazy-module preloads; brender's preload goes after the import map; pre-built pages can be flagged stale (`fetch.seed.isStale` / `maxAge` / `onRefresh`, `<html data-smbls-stale>`); routes without their own page answer with 200.html on every deploy target; the app starts in the address's language (`addressLang`) and adopts the seeded answers; `DropdownDisclosure` and Dialog `locked`; frank-audit accepts DOM work on a bridged library's and a parsed document's own nodes; a server render waits for its own labels (label loads in flight are per app); mermaid renderProjectHtml takes a caller-resolved head (`options.metadata`) and `metadata.source` is never a tag.
|
|
8
|
+
|
|
9
|
+
## 3.14.839
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Cross-tenant isolation for server renders, and the wider CLI production gate.
|
|
14
|
+
|
|
15
|
+
- fetch: a server render context (`isolateFetchCache`, set by brender) has its own query store — cache, requests in flight, invalidations and mounted queries — so two renders of different projects in one process never share rows, in sequence or at the same time; a server render binds no browser-only refetch (no focus / online listeners, no `refetchInterval` timer), so no request of one page lands in another page's seed and the process exits when the work is done.
|
|
16
|
+
- brender: renders that start together share one framework bundle; every render owns its `location`, Web Storage and `history`.
|
|
17
|
+
- cli: destructive platform writes (project delete, transfer, members, invites, library changes, version writes) print the target and need a typed "production" or `--yes` for production; `project create` is not gated.
|
|
18
|
+
|
|
3
19
|
## 3.14.838
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -98,7 +98,11 @@ page are built in chunks of 10 ms (`@symbo.ls/element` yielding mounts).
|
|
|
98
98
|
The first view is painted once. The root is built outside the document and
|
|
99
99
|
goes in with one insertion when the shell and the first page are complete, so
|
|
100
100
|
the first paint shows the whole first view, as when the boot was one task, and
|
|
101
|
-
nothing on screen moves.
|
|
101
|
+
nothing on screen moves. What reaches the document while the first render
|
|
102
|
+
still yields — rows a state update (a fetched list) builds as the root goes
|
|
103
|
+
in — goes in whole too: an element whose children are still being built
|
|
104
|
+
waits outside its parent until its last chunk is in (`@symbo.ls/element`
|
|
105
|
+
`mountWhole`), so a row never shows with only its first children.
|
|
102
106
|
|
|
103
107
|
```js
|
|
104
108
|
create(App, { firstRender: 8 }) // chunks of 8 ms
|
|
@@ -131,9 +135,29 @@ When things happen:
|
|
|
131
135
|
- A project's own `domqlOptions.mountYield` wins over the 10 ms budget. After
|
|
132
136
|
the first render, reconciles, `if:` and navigations build in one go again
|
|
133
137
|
unless the project set `domqlOptions.mountYield`.
|
|
134
|
-
- A boot over a pre-rendered (brender) page
|
|
135
|
-
|
|
136
|
-
server
|
|
138
|
+
- A boot over a pre-rendered (brender) page adopts the server markup in the
|
|
139
|
+
same short tasks: the shell, then the first page in a task of its own, in
|
|
140
|
+
chunks of the budget. The server's nodes stay on screen while each element
|
|
141
|
+
takes its own, so nothing visible changes. `create()` resolves once the
|
|
142
|
+
adoption is done; no `onMounted` runs before it; the hydration window (and
|
|
143
|
+
`window.__BRENDER_HYDRATION__`) is counted from its end. A click on a server
|
|
144
|
+
node whose element is not built yet is held and dispatched again, once, on
|
|
145
|
+
the same node when the adoption is done (an element already adopted handles
|
|
146
|
+
its own events at once); input during the adoption does not close the
|
|
147
|
+
window. `firstRender: false` adopts in one task, as before; a page that
|
|
148
|
+
replaces the server markup (no registry, `hydrate: false`) renders in one
|
|
149
|
+
task; a server render keeps the whole boot in one task.
|
|
150
|
+
- A pre-rendered page shows the data of its build (`smbls build` pages: until
|
|
151
|
+
the next build). `el.context.prerender` is the build it comes from,
|
|
152
|
+
`{ stamp, time }` (`<meta name="brender-stamp">`). When the page is flagged
|
|
153
|
+
stale (`<html data-smbls-stale>`, or the project's `fetch.seed.isStale` /
|
|
154
|
+
`fetch.seed.maxAge`), it is adopted from the build's data as any page is,
|
|
155
|
+
and when the hydration window closes (on a replaced page: when its first
|
|
156
|
+
view has settled) the fetch plugin asks again, at idle, for exactly what
|
|
157
|
+
took a recorded answer and swaps in what changed;
|
|
158
|
+
`window.__BRENDER_HYDRATION__.refreshed` counts it. A page that is not
|
|
159
|
+
stale sends nothing extra. See `@symbo.ls/fetch`, "A pre-built page shows
|
|
160
|
+
the data of its build".
|
|
137
161
|
|
|
138
162
|
## Plugins
|
|
139
163
|
|