Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: bump typst to 0.12.0 #593

Merged
merged 27 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c2dda94
fix: remove extra meta
ParaN3xus Aug 25, 2024
0d9ce41
archive changes
Myriad-Dreamin Oct 2, 2024
41bd8e0
fix: utils, lazyhash, frameitem
ParaN3xus Aug 25, 2024
ec5f8ee
fix: use sink instead of traced
ParaN3xus Aug 25, 2024
acc05ad
fix: Warned.output
ParaN3xus Aug 25, 2024
3cbd2cb
fix: convert err to EcoString
ParaN3xus Aug 25, 2024
7ce8557
fix: source
ParaN3xus Aug 25, 2024
2edcb85
fix: .ok()
ParaN3xus Aug 25, 2024
418f3c1
dev: update compat layer
Myriad-Dreamin Oct 2, 2024
9266d03
fix: compile error
Myriad-Dreamin Oct 2, 2024
846f2ca
build: update typst version
Myriad-Dreamin Oct 2, 2024
5b1f586
build: update cargo.lock
Myriad-Dreamin Oct 2, 2024
3493638
fix: lazy hash
Myriad-Dreamin Oct 10, 2024
d976628
fix: pdf options
Myriad-Dreamin Oct 10, 2024
753d5d5
build: update cargo.toml
Myriad-Dreamin Oct 10, 2024
3f2d432
build: update cargo.lock
Myriad-Dreamin Oct 10, 2024
ff59d3e
dev: respect page fill
Myriad-Dreamin Oct 10, 2024
3d765af
dev: support fill rule
Myriad-Dreamin Oct 10, 2024
330fe54
build: bump version to 0.5.0-rc7-2
Myriad-Dreamin Oct 10, 2024
d56eb1d
test: update snapshot
Myriad-Dreamin Oct 10, 2024
0a1a618
build: bump typst version to 0.12.0
Myriad-Dreamin Oct 19, 2024
cb697a9
fix: warnings
Myriad-Dreamin Oct 19, 2024
5348307
test: update snapshot
Myriad-Dreamin Oct 19, 2024
93efd4a
build: update docs a bit
Myriad-Dreamin Oct 19, 2024
91fd4ff
build: draft changelog
Myriad-Dreamin Oct 19, 2024
e5b7fd8
build: update shim
Myriad-Dreamin Oct 19, 2024
c3a0dbc
build: update shim
Myriad-Dreamin Oct 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 151 additions & 0 deletions CHANGELOG/CHANGELOG-0.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
# v0.5.0 (Unreleased)

## Changelog since v0.5.0

**Full Changelog**: https://github.com/Myriad-Dreamin/typst.ts/compare/v0.4.1...v0.5.0

## New Contributors

- @sinchang made their first contribution in https://github.com/Myriad-Dreamin/typst.ts/pull/438
- @winstonewert made their first contribution in https://github.com/Myriad-Dreamin/typst.ts/pull/482
- @quank123wip made their first contribution in https://github.com/Myriad-Dreamin/typst.ts/pull/555
- @Loosetooth made their first contribution in https://github.com/Myriad-Dreamin/typst.ts/pull/560
- @oluceps made their first contribution in https://github.com/Myriad-Dreamin/typst.ts/pull/584

### Security Notes

No new security note.

### Package: @myriaddreamin/typst.node (New)

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

### Package: rehype-typst (New)

- feat: add rehype-typst by @Enter-tainer in https://github.com/Myriad-Dreamin/typst.ts/pull/435, https://github.com/Myriad-Dreamin/typst.ts/pull/436, and https://github.com/Myriad-Dreamin/typst.ts/pull/437
- feat: use typst.node in rehype-typst in https://github.com/Myriad-Dreamin/typst.ts/pull/549
- docs: add links to rehype-typst readme by @Loosetooth in https://github.com/Myriad-Dreamin/typst.ts/pull/560

### Package: @myriaddreamin/typst.react (New)

- feat(pkg::react): support react 18 by @sinchang in https://github.com/Myriad-Dreamin/typst.ts/pull/438
- chore(pkg::react): update to React 18 client rendering APIs by @sinchang in https://github.com/Myriad-Dreamin/typst.ts/pull/442

### Package: @myriaddreamin/typst.vue3 (New)

- feat: create typst-vue3 (simplified component) by @quank123wip in https://github.com/Myriad-Dreamin/typst.ts/pull/555

### Package: @myriaddreamin/typst.solid (New)

- dev(pkg::solid): init by @oluceps in https://github.com/Myriad-Dreamin/typst.ts/pull/584

### Package: hexo-renderer-typst

- feat: hexo-renderer-typst use typst.node in https://github.com/Myriad-Dreamin/typst.ts/pull/471
- fix(hexo): delete unused variables in processor in https://github.com/Myriad-Dreamin/typst.ts/pull/592

### CLI

- feat(cli): support reading input from stdin in https://github.com/Myriad-Dreamin/typst.ts/pull/495

### Compiler API

- feat: use random main file path for svg by mainContent in https://github.com/Myriad-Dreamin/typst.ts/pull/491
- feat(pkg::compiler): expose incremental api in https://github.com/Myriad-Dreamin/typst.ts/pull/445

### Renderer API

- fix(pkg::core): unify inconsistent pixel per pt in https://github.com/Myriad-Dreamin/typst.ts/pull/450
- dev: break change: use sys.args to control layout in https://github.com/Myriad-Dreamin/typst.ts/pull/540
- dev: replace inline svg with html command in https://github.com/Myriad-Dreamin/typst.ts/pull/541
- feat: add query interface and export customize points for scripts in https://github.com/Myriad-Dreamin/typst.ts/pull/576
- feat(pkg::compiler): expose incremental api in https://github.com/Myriad-Dreamin/typst.ts/pull/445

### Compiler, Rust Part

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

### Dom Renderer (new)

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

### Renderer Common

- dev: improve performance on text selection in https://github.com/Myriad-Dreamin/typst.ts/pull/439
- dev(svg): use span based text selection in https://github.com/Myriad-Dreamin/typst.ts/pull/447
- Removed ` ` escapes in svg export by @winstonewert in https://github.com/Myriad-Dreamin/typst.ts/pull/482
- fix: render zero-sized text elements correctly in https://github.com/Myriad-Dreamin/typst.ts/pull/556
- feat: add span rules to avoid user overriden by simply `span` selector. in https://github.com/Myriad-Dreamin/typst.ts/pull/575
- docs: add guide to use rendering techniques in https://github.com/Myriad-Dreamin/typst.ts/pull/579

### Incremental Rendering

- fix(pkg::core): reset render state on `reset` call in https://github.com/Myriad-Dreamin/typst.ts/pull/452

### Svg Renderer

- fix(export::svg): reuse reference in a transformed item in https://github.com/Myriad-Dreamin/typst.ts/pull/443
- dev(export::svg): localize clip path definitions in https://github.com/Myriad-Dreamin/typst.ts/pull/444
- fix(exporter::svg): set width to zero if data is not available in https://github.com/Myriad-Dreamin/typst.ts/pull/449
- dev(exporter::svg): memorize glyph hash builder in https://github.com/Myriad-Dreamin/typst.ts/pull/457

### Canvas Renderer

- fix: incorrect value reference in canvas rendering in https://github.com/Myriad-Dreamin/typst.ts/pull/441

- feat: compute bbox of canvas elements in https://github.com/Myriad-Dreamin/typst.ts/pull/532
- feat: compute tight bbox of canvas path elements in https://github.com/Myriad-Dreamin/typst.ts/pull/533
- feat: render canvas with damage tracking in https://github.com/Myriad-Dreamin/typst.ts/pull/534
- feat: clip-based canvas rerendering in https://github.com/Myriad-Dreamin/typst.ts/pull/535

### Misc

- dev(exporter::svg): aggressive browser rasterization in https://github.com/Myriad-Dreamin/typst.ts/pull/448
- dev: add watch renderer script in https://github.com/Myriad-Dreamin/typst.ts/pull/472
- dev: reimplement safe QueryRef in https://github.com/Myriad-Dreamin/typst.ts/pull/507
- dev: remove excessive newline in logging in https://github.com/Myriad-Dreamin/typst.ts/pull/521
- refactor: refactor crates in https://github.com/Myriad-Dreamin/typst.ts/pull/566, https://github.com/Myriad-Dreamin/typst.ts/pull/569, https://github.com/Myriad-Dreamin/typst.ts/pull/570, https://github.com/Myriad-Dreamin/typst.ts/pull/571, https://github.com/Myriad-Dreamin/typst.ts/pull/572, and https://github.com/Myriad-Dreamin/typst.ts/pull/573
- dev: switch default release profile to best performance in https://github.com/Myriad-Dreamin/typst.ts/pull/581
- feat: use vite instead of esbuild and webpack in https://github.com/Myriad-Dreamin/typst.ts/pull/587
2 changes: 2 additions & 0 deletions CHANGELOG/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
- [CHANGELOG-0.3.md](./CHANGELOG-0.3.md)

- [CHANGELOG-0.4.md](./CHANGELOG-0.4.md)

- [CHANGELOG-0.4.md](./CHANGELOG-0.5.md)
Loading
Loading