Skip to content

v0.5.0

Compare
Choose a tag to compare
@Myriad-Dreamin Myriad-Dreamin released this 29 Nov 02:53
· 31 commits to main since this release

Full Changelog: v0.4.1...v0.5.0

New Contributors

Security Notes

No new security note.

  • Bumped typst to 0.12.0 in #593

Package: @myriaddreamin/typst.node (New)

  • Initialized typst.node in #460, #463, and #464
  • (Fix) Mutating entry state correctly by @seven-mile in #550
  • Added pdf options to typst.node in #552
  • Simplifying node api in #558

Package: rehype-typst (New)

Package: @myriaddreamin/typst.react (New)

Package: @myriaddreamin/typst.vue3 (New)

Package: @myriaddreamin/typst.solid (New)

Package: hexo-renderer-typst

  • Using typst.node in hexo-renderer-typst in #471
  • Added typst query and export customize points for scripts in #576 and #588
  • (Fix) Deleted unused variables in processor in #592

CLI

  • Supported reading input from stdin in #495

Compiler API

  • Using random main file path for svg by mainContent in #491
  • Exposing experimental incremental api in #445
  • Supporting sys.inputs in #595

Renderer API

  • (Fix) Unified inconsistent pixelPerPt across packages in #450
  • (BreakChange) Using sys.args to control layout in #540
  • Replacing inline svg with html command calls in #541
    • To improve security.

Compiler, Rust Part

  • Using span based text selection in #447
  • (Fix) Ensuring Send + Sync for using comemo macros in #451
  • (Fix) Resetting diff group state in #454
  • Added debug loc definitions in #456
  • Reworked vector IR and created passes in #459
  • (Fix) consider text elements which doesn't have source location in #461
  • Resolving spans in granularity of char in #468
  • Added api for mapping src to element positions in #469
  • Removed last use of unsafe spans in #476
  • Supported wasm32-unknown target in #484
  • Exporting diagnostics objects in #492
  • Supported sys.input in #494
  • Pulling list of packages for world in #499
  • (Fix) Detecting not found packages correctly in #465, #467, and #499
  • (Fix) Blocking receiving http requests on another thread in #500
  • Generalizing and improving font resolver in #506 and #508
  • (Fix) Converting colors from different color spaces to rgb in #501
  • Added debug information on fonts in #510
  • Using naive reparsing in #520
  • Making file watching power friendly in #522
  • (Fix) Restoring from "file not found" error after restoring deleted file in #523
  • Calculating color transforms at compile time in #528
  • Allowing world snapshot in #545
    • To help concurrent typst tasks.
  • Synchronized compile actor implementation from tinymist in #546
  • Made World parameterized by both root and entry in #509 and #557
  • Updated compiler docs in #559 and #564
  • Added targets or layout widths argument for dynamic layout exporter in #562
  • (Fix) Accounted for edge cases when lowering stroke in #578
  • Adjusted new sink api (typst v0.12.0) in #594

Dom Renderer (new)

  • Initialized DOM export in #470
  • Made render priority on visible pages higher in #474
  • (Fix) Calculating dom viewport width correctly by @seven-mile in #504
  • Improved text selection fallback by @seven-mile in #480
  • Replacing legacy pdf.js usages with Sema Export in #531
  • Improved the rerendering performance on multiple-page documents in #536

Renderer Common

  • Improved performance on text selection in #439
  • Using span based text selection in #447
  • (Fix) reset render state on reset call in #452
  • Removed   escapes in svg export by @winstonewert in #482
  • Updated all css for   escaping in #489
  • (Fix) Rendering zero-sized text elements correctly in #556
  • Added span css rules to avoid users' occasional overrides in #575
  • Added guidance docs to use rendering techniques in #579
  • (Fix) Using Abs::pt instead of Abs::raw for typst v0.12.0 in #597

Svg Renderer

  • (Fix) Reusing reference in a transformed item in #443
  • Inlined clip path definitions in #444
  • (Fix) Setting width to zero if data is not available in #449
  • Memorizing glyph hash builder in #457

Canvas Renderer

  • (Fix) Corrected value reference in canvas rendering in #441
  • Computing bbox of canvas elements in #532 and #533
  • Rendering canvas with damage tracking in #534
  • Using clip-based canvas rerendering in #535

Misc

  • Added watch renderer script in #472
  • Reimplemented safe QueryRef in #507
  • Removed excessive newline in logging in #521
  • Refactored crates in #566, #569, #570, #571, #572, and #573
  • Switched default release profile to best performance in #581
  • Using vite instead of esbuild and webpack in #587