@vanelsas/baredom 3.7.1 → 3.9.0

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 CHANGED
@@ -2,6 +2,45 @@
2
2
 
3
3
  All notable changes to BareDOM will be documented in this file.
4
4
 
5
+ ## [3.9.0] - 2026-08-26
6
+
7
+ The manifest declares `schemaVersion 1.0.0` and omitted three fields the schema defines. It now
8
+ publishes all three, so an editor reading `custom-elements.json` completes attributes and custom
9
+ properties that it previously knew nothing about.
10
+
11
+ ### Added
12
+
13
+ - **`attributes`** — every attribute a component observes. An attribute that a `property-api`
14
+ entry reflects also carries that property's type and field name. The rest carry a name alone,
15
+ because the component states no type for them. 809 attributes across 108 components, 480 of
16
+ them typed. `observed-attributes` names symbols rather than strings, so each one is resolved
17
+ through the model's own constants: a symbol that escaped resolution would publish `attr-columns`
18
+ as if it were an attribute name.
19
+
20
+ - **`cssProperties` and `cssParts`** — the custom properties a component reads and the parts it
21
+ exposes, read from the implementation source that writes them rather than from a second
22
+ declaration. A property is owned by the longest tag that prefixes it, so `--x-table-cell-padding`
23
+ belongs to `x-table-cell` and not to `x-table`. 1351 properties and 489 parts.
24
+
25
+ - **`scripts/check_css_api.bb` and `scripts/check_attribute_api.bb`** — CI checks that read each
26
+ component crudely and assert the manifest agrees. Each is written to avoid the assumption its
27
+ extractor makes, because a check that shares one agrees with the bug.
28
+
29
+ ### Notes
30
+
31
+ - **`src/` is unchanged**, so the ESM bundles, the framework adapters and the compiled namespaces
32
+ in the jar are identical to 3.8.0. Only the manifest grew.
33
+
34
+ ## [3.8.0] - 2026-08-14
35
+
36
+ ### Added
37
+
38
+ - **`baredom.dev.pick`** — a dev-only namespace for pointing at elements from a REPL, in both directions. `pick!` puts the page into click-to-select and answers with a stable `tag#n` id for whatever is clicked, `element-for` resolves that id back to an element, and `show!` outlines where it is. The id is minted here rather than reused from `x-trace-history`'s component id, which is an integer assigned inside the trace hook and only exists while the recorder is installed, because picking has to work with tracing off. Ids are numbered per tag in document order, so `x-table-cell#7` is the seventh cell on the page rather than the seventh one clicked, and an id survives a re-projection replacing the node.
39
+
40
+ ### Notes
41
+
42
+ - **Nothing here is reachable from a component**, and no custom element is registered, so the ESM bundle and the framework adapters are unchanged. The namespace ships in the Clojars jar alongside the other `baredom.dev` namespaces and is not exported to npm.
43
+
5
44
  ## [3.7.1] - 2026-08-12
6
45
 
7
46
  ### Fixed
package/README.md CHANGED
@@ -22,6 +22,7 @@
22
22
  library. [BareBuild](https://github.com/avanelsas/barebuild) is a small runtime that drives web
23
23
  components from server state alone. [BareReplay](https://github.com/avanelsas/barereplay) is a
24
24
  powerful time-travel replay debugger for BareBuild-based apps.
25
+ [BareProbe](https://github.com/avanelsas/bareprobe) reads the same log from a REPL.
25
26
 
26
27
  ---
27
28