|
1 | 1 | # mdast2docx |
2 | 2 |
|
| 3 | +## 1.3.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- The following @m2d/\* dependencies were upgraded: |
| 8 | + |
| 9 | + ### @m2d/core: 1.2.0 → 1.4.1 |
| 10 | + |
| 11 | + **Minor Changes** |
| 12 | + |
| 13 | + - Refactored `createPersistentCache` to accept a `config` object for optional settings. |
| 14 | + - **In-memory cache sharing**: Pass a shared cache object to coordinate between modules or tabs. |
| 15 | + - **Configurable cache strategies**: |
| 16 | + - `cacheTarget`: choose where data is stored — RAM, IndexedDB, or both. |
| 17 | + - `parallel`: race compute and read to optimize latency. |
| 18 | + - Update types to ensure sufficient data for converting to jsx |
| 19 | + - refactor plugin interface to update postprocess hook. Since there is very limited scope for utilizing the document object once creted, we are moving the postprocess hook to be called just before creating the document object. It gets list of sections which can be finished up just before converting to docx. |
| 20 | + |
| 21 | + **Patch Changes** |
| 22 | + |
| 23 | + - Better type safety and minor rename cacheTarget to cacheMode |
| 24 | + - fix: Bring back the Extended Node support and default to EmptyNode |
| 25 | + - Simplify types. |
| 26 | + - fix: Update types for supporting HTML and advanced tables |
| 27 | + - fix tag types in node data |
| 28 | + |
| 29 | + ### @m2d/emoji: 0.1.2 → 0.1.3 |
| 30 | + |
| 31 | + _No changelog available._ |
| 32 | + |
| 33 | + ### @m2d/html: 1.0.3 → 1.1.2 |
| 34 | + |
| 35 | + **Minor Changes** |
| 36 | + |
| 37 | + - Support block node inside table cells. Add tag to data for easy JSX creation |
| 38 | + |
| 39 | + **Patch Changes** |
| 40 | + |
| 41 | + - fix advanced table handling |
| 42 | + - fix: empty HTML table cells |
| 43 | + |
| 44 | + ### @m2d/image: 1.2.0 → 1.3.1 |
| 45 | + |
| 46 | + **Minor Changes** |
| 47 | + |
| 48 | + - Added support for optimized in-memory caching of resolved image data. |
| 49 | + - Introduced `cacheConfig.cache` option to share or inject a memory cache instance across multiple plugin invocations. |
| 50 | + - Consumers can now fine-tune cache behavior using `cacheConfig.parallel` (to avoid redundant parallel resolutions) and `cacheConfig.cacheMode` (choose between `"memory"`, `"idb"`, or `"both"`). |
| 51 | + - Enhances image resolution performance in multi-page or repeated image scenarios, especially when used across sessions or documents. |
| 52 | + |
| 53 | + **Patch Changes** |
| 54 | + |
| 55 | + - provide cache field to avoid entire cacheConfig option for simple cache sharing optimizations. |
| 56 | + - Store type in \_type for conversion to JSX |
| 57 | + |
| 58 | + ### @m2d/list: 0.0.7 → 0.0.8 |
| 59 | + |
| 60 | + **Patch Changes** |
| 61 | + |
| 62 | + - Ensure enough data is available on node after processing to convert to JSX. |
| 63 | + |
| 64 | + ### @m2d/mermaid: 1.1.4 → 1.2.2 |
| 65 | + |
| 66 | + **Minor Changes** |
| 67 | + |
| 68 | + - Added support for optimized in-memory caching of resolved mermaid data. |
| 69 | + - Introduced `cacheConfig.cache` option to share or inject a memory cache instance across multiple plugin invocations. |
| 70 | + - Consumers can now fine-tune cache behavior using `cacheConfig.parallel` (to avoid redundant parallel resolutions) and `cacheConfig.cacheMode` (choose between `"memory"`, `"idb"`, or `"both"`). |
| 71 | + - Enhances mermaid resolution performance in multi-page or repeated mermaid scenarios, especially when used across sessions or documents. |
| 72 | + |
| 73 | + **Patch Changes** |
| 74 | + |
| 75 | + - fix: handle edgecase when cache is deleberately set to null. |
| 76 | + - provide cache field to avoid entire cacheConfig option for simple cache sharing optimizations. |
| 77 | + - Update types to be competible with the rest of the ecosystem. |
| 78 | + |
3 | 79 | ## 1.2.0 |
4 | 80 |
|
5 | 81 | ### Minor Changes |
|
0 commit comments