ggaction 0.0.11 → 0.0.12

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +2 -1
  3. package/knowledge/action-cards.json +1 -1
  4. package/knowledge/intent-taxonomy.json +1 -1
  5. package/knowledge/mcp-resources.json +1 -1
  6. package/knowledge/task-resolver.js +1 -1
  7. package/package.json +1 -1
  8. package/src/actions/encodings/offset.js +33 -21
  9. package/src/actions/encodings/position/apply.js +30 -0
  10. package/src/actions/encodings/position/policies/arc.js +23 -2
  11. package/src/actions/encodings/position/resolve.js +12 -2
  12. package/src/actions/errorBars/create.js +138 -7
  13. package/src/actions/errorBars/edit.js +10 -0
  14. package/src/actions/marks/point/materialize.js +33 -13
  15. package/src/actions/marks/rule/actions.js +26 -1
  16. package/src/core/vocabulary.js +2 -2
  17. package/src/grammar/arcs.js +156 -65
  18. package/src/grammar/positionCompatibility.js +1 -1
  19. package/src/grammar/rules.js +2 -0
  20. package/src/grammar/scales/ordinal.js +23 -0
  21. package/src/layout/facets.js +45 -16
  22. package/src/materialization/facetGuides/legacyCategorical.js +7 -1
  23. package/src/materialization/facetGuides/placement.js +16 -1
  24. package/src/materialization/facetGuides/preparation.js +26 -1
  25. package/src/materialization/facets.js +3 -1
  26. package/src/materialization/marks/capabilities.js +10 -2
  27. package/src/materialization/marks/index.js +5 -2
  28. package/src/materialization/rowEncoding.js +57 -1
  29. package/src/materialization/scales/policies/bar.js +0 -43
  30. package/src/materialization/scales/policies/offset.js +54 -0
  31. package/src/materialization/scales/resolve.js +2 -4
  32. package/types/program.d.ts +18 -0
package/CHANGELOG.md CHANGED
@@ -4,6 +4,36 @@ All notable changes to `ggaction` are recorded in this file.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## [0.0.12] - 2026-09-03
8
+
9
+ ### Added
10
+
11
+ - Added direct quantitative theta encodings for Polar arc marks, producing one
12
+ proportional sector per positive row with deterministic order, validation,
13
+ selection, rematerialization, strict types, and executable documentation.
14
+ - Added quantitative independent positions for explicit error bars and
15
+ categorical `xOffset`/`yOffset` grouping for points, rules, and complete
16
+ point-and-whisker charts. Inferred intervals now reuse the source offset
17
+ field, scale, padding, and statistical grouping.
18
+ - Added Context7 project metadata, ownership verification, bounded indexing
19
+ rules, and manual or release-triggered documentation refresh automation.
20
+
21
+ ### Changed
22
+
23
+ - Sharded the realistic data corpus across seven CI jobs and removed duplicate
24
+ coverage work from the ordinary test job, while retaining the complete
25
+ release qualification suite.
26
+ - Updated the locked `fast-uri` and `qs` dependency lines and retained a clean
27
+ production dependency audit across the supported Node.js package matrix.
28
+
29
+ ### Fixed
30
+
31
+ - Kept grouped points, whisker rules, and fixed-width caps on the same
32
+ categorical sub-slot after Canvas, scale, offset-scale, and data changes.
33
+ - Preserved an explicitly authored shared facet legend at its child
34
+ `left`, `right`, `top`, or `bottom` edge, including horizontal alignment and
35
+ the correct width-versus-height reservation after composition layout edits.
36
+
7
37
  ## [0.0.11] - 2026-09-02
8
38
 
9
39
  ### Added
@@ -279,6 +309,7 @@ All notable changes to `ggaction` are recorded in this file.
279
309
  - Cartesian charts are the complete current path. Polar semantic tokens exist only where explicitly documented and do
280
310
  not imply complete polar rendering.
281
311
 
312
+ [0.0.12]: https://github.com/ggaction/ggaction/releases/tag/v0.0.12
282
313
  [0.0.11]: https://github.com/ggaction/ggaction/releases/tag/v0.0.11
283
314
  [0.0.10]: https://github.com/ggaction/ggaction/releases/tag/v0.0.10
284
315
  [0.0.9]: https://github.com/ggaction/ggaction/releases/tag/v0.0.9
package/README.md CHANGED
@@ -219,6 +219,7 @@ browser entry. See the [local MCP guide](https://ggaction.github.io/ggaction/mcp
219
219
  - [Tutorials and Examples](https://ggaction.github.io/ggaction/tutorials/)
220
220
  - [Action Reference](https://ggaction.github.io/ggaction/reference/actions/)
221
221
  - [Local MCP for LLM Chart Authoring](https://ggaction.github.io/ggaction/mcp/)
222
+ - [Context7 library](https://context7.com/ggaction/ggaction) — use the library ID `/ggaction/ggaction`
222
223
  - [Concepts](https://ggaction.github.io/ggaction/concepts/chart-program/)
223
224
  - [Supported Features](https://ggaction.github.io/ggaction/supported-features/)
224
225
 
@@ -230,7 +231,7 @@ the extra discussion required before public API or architecture changes.
230
231
 
231
232
  ## Status and development
232
233
 
233
- > **Status:** `0.0.11` is the current experimental public release. APIs may change before `1.0.0`; changes are recorded in the [changelog](./CHANGELOG.md).
234
+ > **Status:** `0.0.12` is the current experimental public release. APIs may change before `1.0.0`; changes are recorded in the [changelog](./CHANGELOG.md).
234
235
 
235
236
  ```bash
236
237
  npm install