Skip to content

chore(deps): bump typst-syntax from 0.12.0 to 0.13.1 #158

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

Merged
merged 2 commits into from
Jun 3, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 3, 2025

Bumps typst-syntax from 0.12.0 to 0.13.1.

Release notes

Sourced from typst-syntax's releases.

Version 0.13.1 (March 7, 2025)

View changelog with links into the documentation on typst.app/docs

Command Line Interface

  • Fixed high CPU usage for typst watch on Linux. Depending on the project size, CPU usage would spike for varying amounts of time. This bug appeared with 0.13.0 due to a behavioral change in the inotify file watching backend.

HTML export

  • Fixed export of tables with gutters
  • Fixed usage of <html> and <body> element within context
  • Fixed querying of metadata next to <html> and <body> element

Visualization

  • Fixed curves with multiple non-closed components

Introspection

  • Fixed a regression where labelled symbols could not be queried by label

Deprecations

  • Fixed false positives in deprecation warnings for type/str comparisons

Contributors

Thanks to everyone who contributed to this release: @​7ijme, @​Andrew15-5, @​Emm54321, @​F2011, @​MDLC01, @​PgBiel, @​SharzyL, @​aodenis.

Version 0.13.0 (February 19, 2025)

Read the announcement blog post

View changelog with links into the documentation on typst.app/docs

Highlights

  • There is now a distinction between proper paragraphs and just inline-level content. This is important for future work on accessibility and means that first line indent can now be enabled for all paragraphs instead of just consecutive ones.
  • The outline has a better out-of-the-box look and is more customizable
  • The new curve function (that supersedes the path function) provides a simpler and more flexible interface for creating Bézier curves
  • The image function now supports raw pixel raster formats for generating images from within Typst
  • Functions that accept file paths now also accept raw bytes, for full flexibility
  • WebAssembly plugins are more flexible and automatically run multi-threaded
  • Fixed a long-standing bug where single-letter strings in math ($"a"$) would be displayed in italics
  • You can now specify which charset should be covered by which font family
  • The pdf.embed function lets you embed arbitrary files in the exported PDF
  • HTML export is currently under active development. The feature is still very incomplete, but already available for experimentation behind a feature flag.

Model

  • There is now a distinction between proper paragraphs and just inline-level content (Breaking change)
    • All text at the root of a document is wrapped in paragraphs. Meanwhile, text in a container (like a block) is only wrapped in a paragraph if the container holds any block-level content. If all of the content is inline-level, no paragraph is created.
    • In the laid-out document, it's not immediately visible whether text became part of a paragraph. However, it is still important for accessibility, HTML export, and for properties like first-line-indent.
    • Show rules on par now only affect proper paragraphs
    • The first-line-indent and hanging-indent properties also only affect proper paragraphs
    • Creating a par[..] with body content that is not fully inline-level will result in a warning
    • The default show rules of various built-in elements like lists, quotes, etc. were adjusted to ensure they produce/don't produce paragraphs as appropriate
    • Removed support for booleans and content in outline.indent
  • The outline function was fully reworked to improve its out-of-the-box behavior (Breaking change)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [typst-syntax](https://github.com/typst/typst) from 0.12.0 to 0.13.1.
- [Release notes](https://github.com/typst/typst/releases)
- [Commits](typst/typst@v0.12.0...v0.13.1)

---
updated-dependencies:
- dependency-name: typst-syntax
  dependency-version: 0.13.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Related to Rust code labels Jun 3, 2025
Copy link

codspeed-hq bot commented Jun 3, 2025

CodSpeed Performance Report

Merging #158 will not alter performance

Comparing dependabot/cargo/typst-syntax-0.13.1 (558b2d0) with main (234a569)

Summary

✅ 6 untouched benchmarks

@jeertmans jeertmans merged commit 44e6319 into main Jun 3, 2025
24 of 25 checks passed
@jeertmans jeertmans deleted the dependabot/cargo/typst-syntax-0.13.1 branch June 3, 2025 08:12
Copy link

codecov bot commented Jun 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 31.43%. Comparing base (c1db424) to head (558b2d0).
Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #158   +/-   ##
=======================================
  Coverage   31.43%   31.43%           
=======================================
  Files          19       19           
  Lines         824      824           
=======================================
  Hits          259      259           
  Misses        565      565           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Related to Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant