Skip to content

Releases: Myriad-Dreamin/typst.ts

v0.5.4

30 Dec 09:31
Compare
Choose a tag to compare

Package: @myriaddreamin/typst.node

  • (Fix) artifacts built by CI were broken.

v0.5.3

29 Dec 12:36
Compare
Choose a tag to compare

Package: @myriaddreamin/typst.node

  • (Fix) both build script and CI script were broken.

v0.5.2

29 Dec 05:59
Compare
Choose a tag to compare

Package: rehype-typst

  • (Fix) Updated inline math template, which is broken since typst v0.12.0, by @Enter-tainer in #615

Package: @myriaddreamin/typst.node

Compiler, Rust Part

Misc

  • Removed native-tls crate dependency in #617
  • (Fix) Corrected output path to bundle files in vite.config in #623

v0.5.1

04 Dec 06:21
Compare
Choose a tag to compare

The release script failed because of following reasons:

  • (Fix) font assets is not managed by typst.ts anymore
  • (Fix) broken package.json of typst.node

v0.5.0

29 Nov 02:53
Compare
Choose a tag to compare

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

Read more

v0.5.0-rc9

15 Nov 05:49
Compare
Choose a tag to compare
v0.5.0-rc9 Pre-release
Pre-release

This is a pre-release finally testing the release script.

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

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

Read more

v0.5.0-rc8

21 Oct 15:57
Compare
Choose a tag to compare
v0.5.0-rc8 Pre-release
Pre-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

Read more

v0.5.0-rc7

25 Aug 08:39
Compare
Choose a tag to compare
v0.5.0-rc7 Pre-release
Pre-release
fix(ci): chromedriver 404 not found

v0.5.0-rc6

15 Jul 22:39
Compare
Choose a tag to compare
v0.5.0-rc6 Pre-release
Pre-release

Prerelease testing.

v0.4.1

05 Dec 02:41
58f88e9
Compare
Choose a tag to compare

See the CHANGELOG for more details.

v0.4.1

Changelog since v0.4.1

Full Changelog: v0.4.0...v0.4.1

Security Notes

No new security note.

Bug fix

  • compiler: compile race condition in browser in #393

  • pkg::core: add a missing await in #394

Changes

  • cli: improve TYPST_FONT_PATHS (typst#2746) in #432

  • compiler: use fontdb to load system fonts in #403

  • compiler: compile with env on stack in #409

  • compiler: replace diag features by CompileReporter in #413

External Feature

  • build: build: upgrade to typst v0.10.0 in #432

  • pkg::parser: init in #401

  • pkg::core: expose render canvas api in #404 and #405

  • cli: manual generation in #408

  • cli: export pdf with timestamp in #423

  • compiler: add query, getSemanticTokens api in #398

  • compiler: add offset encoding option for getSemanticTokens in #400

  • compiler: compile with env on stack in #409

  • compiler: post process handler for dyn layout in #428

  • exporter::text: add text exporter in #422

  • exporter::svg: layout and shape text in browser in #416 and #420

  • exporter::svg: basic left-to-right text flow detection in #421

  • exporter::svg: pull better location handler from preview in #419

  • exporter::svg: update location handler for semantic labels in #426

Internal Feature

  • proj: add cetz-editor in #395

  • proj: init highlighter in #402

  • core: add DynGenericExporter and DynPolymorphicExporter in #411

  • core: implement ligature handling in #414

  • core: add PageMetadata::Custom in #425

  • core: add getCustomV1 api in #427

  • compiler: export destination path to module in #430

  • compiler: add intern support in #429