v0.6.8

mayswind/ezbookkeepingv0.6.8Nov 7, 2024by alixander

AI Summary

This release addresses rendering compatibility and stability, specifically improving SVG rendering in non-browser environments, resolving installation issues by removing external dependencies, and ensuring consistent PPTX exports.

Key Highlights

  • SVG files now render correctly in non-browser contexts like Inkscape and LaTeX.
  • Removed external 'slog' dependency to resolve installation troubles.
  • PPTX exports now produce consistent results by removing 'created at' metadata.
  • CLI attempts atomic file writing to prevent data corruption.

New Features

  • SVG rendering support in non-browser contexts (Inkscape, LaTeX).
  • Atomic file writing for CLI operations.
  • Removal of 'created at' metadata from PPTX exports for consistency.
  • Removal of empty board keywords (e.g., 'layers') to clean up output.
  • Fixes for edge cases involving 3D shapes and tooltips not expanding shape width.

Full Release Notes

#### Features ๐Ÿš€

- Render: SVG files render in non-browser contexts (e.g. Inkscape, LaTeX) [#2147](https://github.com/terrastruct/d2/pull/2147)

#### Improvements ๐Ÿงน

- Lib: removes a dependency on external slog that was causing troubles with installation [#2137](https://github.com/terrastruct/d2/pull/2137)
- CLI: attempts writing to path atomically, falling back to non-atomic if failed [#2141](https://github.com/terrastruct/d2/pull/2141)
- Export: pptx has "created at" metadata removed, so successive runs yield the same result [#2169](https://github.com/terrastruct/d2/pull/2160)
- Formatter: empty board keywords (e.g. `layers`) are removed [#2178](https://github.com/terrastruct/d2/pull/2178)
- Render: a tooltip or link by itself will not expand width of shape [#2183](https://github.com/terrastruct/d2/pull/2183)

#### Bugfixes โ›‘๏ธ

- Render: fixes edge case of a 3d shape with outside label being cut off [#2132](https://github.com/terrastruct/d2/pull/2132)
- Composition: labels for boards set with shorthand `x: y` was not applied [#2182](https://github.com/terrastruct/d2/pull/2182)
- Globs: double globs (`**`) were erroring when used with multiple scenario boards [#2195](https://github.com/terrastruct/d2/pull/2195)