Skip to content

v0.5.0-rc8

Pre-release
Pre-release
Compare
Choose a tag to compare
@Myriad-Dreamin Myriad-Dreamin released this 21 Oct 15:57
· 3 commits to main since this release

Full Changelog: v0.4.1...v0.5.0-rc8

This is the final rc version before v0.5.0.

New Contributors

Security Notes

No new security note.

Package: @myriaddreamin/typst.node (New)

  • feat: add typst.node in #460
  • dev(pkg::node): add more api and comments in #463
  • fix(pkg::node): remove additional fields added by napi prepublish in #464
  • fix: entry state mutation in node compiler by @seven-mile in #550
  • feat: add pdf options to typst.node in #552
  • dev: simplify node api in #558

Package: rehype-typst (New)

Package: @myriaddreamin/typst.react (New)

  • feat(pkg::react): support react 18 by @sinchang in #438
  • chore(pkg::react): update to React 18 client rendering APIs by @sinchang in #442

Package: @myriaddreamin/typst.vue3 (New)

Package: @myriaddreamin/typst.solid (New)

Package: hexo-renderer-typst

  • feat: hexo-renderer-typst use typst.node in #471
  • fix(hexo): delete unused variables in processor in #592

CLI

  • feat(cli): support reading input from stdin in #495

Compiler API

  • feat: use random main file path for svg by mainContent in #491
  • feat(pkg::compiler): expose incremental api in #445

Renderer API

  • fix(pkg::core): unify inconsistent pixel per pt in #450
  • dev: break change: use sys.args to control layout in #540
  • dev: replace inline svg with html command in #541
  • feat: add query interface and export customize points for scripts in #576
  • feat(pkg::compiler): expose incremental api in #445

Compiler, Rust Part

  • dev(svg): use span based text selection in #447
  • fix(upstream): ensure thread-safe when using comemo macros in #451
  • dev: add debug loc definitions in #456
  • feat(core): rework vector IR and create passes in #459
  • fix(core): consider text elements which doesn't have source location in #461
  • fix(compiler): correctly detect not found packages in #465
  • revert: "fix(compiler): correctly detect not found packages" in #467
  • feat(compiler): resolve spans in granularity of char in #468
  • feat(compiler): api for mapping src to element positions in #469
  • dev: remove last use of unsafe spans in #476
  • feat(compiler): run in wasm32 unknown in #484
  • feat: export diagnostics objects in #492
  • feat(compiler): allow specifying input arguments in #494
  • feat: pull list of packages for world in #499
  • fix: blocking receiving http requests on another thread in #500
  • dev: generialze font resolver in #506
  • dev: shrink options for font resolver in #508
  • feat: let world take entry into consideration in #509
  • dev(compiler): add debug information on fonts in #510
  • dev: update benchmark and use naive reparsing in #520
  • dev: make file watching friendly in #522
  • fix: restore from "file not found" error after restoring deleted file in #523
  • feat: calculate color transforms at compile time in #528
  • feat: full support to world snapshot in #545
  • dev: improve impl of EntryState in #557
  • dev: update compiler docs in #559
  • docs: update get-started and revise compilers in #564
  • feat: allow setting targets or layout widths in #562
  • fix(core): reset diff group state in #454
  • fix(core): convert colors from different color spaces to rgb in #501
  • fix: edge cases for strokes in #578

Dom Renderer (new)

  • feat(exporter::dom): init in #470
  • dev(dom): make higher render priority on visible pages in #474
  • dev: update dom export and all css for   escaping in #489
  • fix: dom viewport width calculation by @seven-mile in #504
  • feat: better fallback emit by @seven-mile in #480
  • dev: replace legacy pdf js usages by sema export in #531
  • feat: improve the rerendering performance on multiple-page documents in #536
  • dev: sync compile actor implementation in #546

Renderer Common

  • dev: improve performance on text selection in #439
  • dev(svg): use span based text selection in #447
  • Removed   escapes in svg export by @winstonewert in #482
  • fix: render zero-sized text elements correctly in #556
  • feat: add span rules to avoid user overriden by simply span selector. in #575
  • docs: add guide to use rendering techniques in #579

Incremental Rendering

  • fix(pkg::core): reset render state on reset call in #452

Svg Renderer

  • fix(export::svg): reuse reference in a transformed item in #443
  • dev(export::svg): localize clip path definitions in #444
  • fix(exporter::svg): set width to zero if data is not available in #449
  • dev(exporter::svg): memorize glyph hash builder in #457

Canvas Renderer

  • fix: incorrect value reference in canvas rendering in #441

  • feat: compute bbox of canvas elements in #532

  • feat: compute tight bbox of canvas path elements in #533

  • feat: render canvas with damage tracking in #534

  • feat: clip-based canvas rerendering in #535

Misc

  • dev(exporter::svg): aggressive browser rasterization in #448
  • dev: add watch renderer script in #472
  • dev: reimplement safe QueryRef in #507
  • dev: remove excessive newline in logging in #521
  • refactor: refactor crates in #566, #569, #570, #571, #572, and #573
  • dev: switch default release profile to best performance in #581
  • feat: use vite instead of esbuild and webpack in #587