pptx-vanilla-viewer 3.41.0 → 3.42.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
@@ -7,6 +7,22 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs releases whenever any published file changes, not only on
8
8
  conventional commits.
9
9
 
10
+ ## [3.42.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vanilla-viewer@3.42.0) - 2026-10-17
11
+
12
+ ### Features
13
+
14
+ - **chart:** Honor native markers throughout shared rendering ([a7aeee1](https://github.com/ChristopherVR/ooxml/commit/a7aeee171248fc565b7bc9d611e054b659954243))
15
+
16
+ ### Bug Fixes
17
+
18
+ - **chart:** Apply shared axis scaling to radar charts ([4acbf15](https://github.com/ChristopherVR/ooxml/commit/4acbf1556d8ac89371f736a8b7b5f7a5aedc3609))
19
+ - **pptx:** Bound image caches and dispose chart subscriptions ([0f2c004](https://github.com/ChristopherVR/ooxml/commit/0f2c0041b94c32293f8502bc299a4c18f586b3f3))
20
+
21
+ ### Refactor
22
+
23
+ - **chart:** Share axis ranges and native gridline rendering ([8c26687](https://github.com/ChristopherVR/ooxml/commit/8c26687a7b3196955df602198528adc83fce259b))
24
+ - **chart:** Share pptx marker geometry with neutral rendering ([b246d63](https://github.com/ChristopherVR/ooxml/commit/b246d6315c32412298508d9b2a944b0c9bafc26b))
25
+
10
26
  ## [3.41.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-vanilla-viewer@3.41.0) - 2026-10-17
11
27
 
12
28
  ### Features
package/README.md CHANGED
@@ -373,6 +373,25 @@ The other subpaths are `i18n/fr` (`translationsFr`), `i18n/es`
373
373
  [localization guide](https://christophervr.github.io/ooxml/pptx/guide/localization)
374
374
  for registration and runtime switching. Existing English imports are unchanged.
375
375
 
376
+ ## Custom DOM stage cleanup
377
+
378
+ The cleanup helpers belong to the shared DOM renderer:
379
+
380
+ ```ts
381
+ import { disposePptxRenderStage, releasePptxRenderCaches } from 'ooxml-ui/pptx/dom';
382
+ ```
383
+
384
+ Before a custom host replaces or removes a `renderSlideStage` result, call
385
+ `disposePptxRenderStage(stage)` to release chart subscriptions, then remove the
386
+ node. It also accepts a host containing multiple stages. The built-in viewer
387
+ performs this cleanup for its canvas, thumbnails, reading/presenter previews,
388
+ layout/template galleries and export stages.
389
+
390
+ A host that has closed all viewers sharing the renderer module may call
391
+ `releasePptxRenderCaches()` (from `ooxml-ui/pptx/dom`) to release retained image
392
+ memoisation. This is global, so wait until other live viewers no longer need
393
+ pending picture samples. Stage disposal itself only affects its own subtree.
394
+
376
395
  ## License
377
396
 
378
397
  Apache-2.0. See `LICENSE` and `NOTICE`.