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(deps): bump typst-syntax from 0.12.0 to 0.13.0 #757

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2025

Bumps typst-syntax from 0.12.0 to 0.13.0.

Release notes

Sourced from typst-syntax's releases.

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)
    • Outline entries are now blocks and are thus affected by block spacing
    • The auto indentation mode now aligns numberings and titles outline-wide for a grid-like look
    • Automatic indentation now also indents entries without a numbering
    • Titles wrapping over multiple lines now have hanging indent
    • The page number won't appear alone on its own line anymore
    • The link now spans the full entry instead of just the title and page number
    • The default spacing between outline leader dots was increased
    • The fill parameter was moved from outline to outline.entry and can thus be configured through show-set rules
    • Removed body and page fields from outline entry
    • Added indented, prefix, inner, body, and page methods on outline entries to simplify writing of show rules
  • Added configuration to par.first-line-indent for indenting all paragraphs instead of just consecutive ones
  • Added form parameter to ref function. Setting the form to "page" will produce a page reference instead of a textual one.
  • Added document.description field, which results in corresponding PDF and HTML metadata
  • Added enum.reversed parameter
  • Added support for Greek numbering
  • When the link function wraps around a container like a block, it will now generate only one link for the whole block instead of individual links for all the visible leaf elements. This significantly reduces PDF file sizes when combining link and repeat.
  • The link function will now only strip one prefix (like mailto: or tel:) instead of multiple
  • The link function now suppresses hyphenation via a built-in show-set rule rather than through its default show rule
  • Displaying the page counter without a specified numbering will now take the page numbering into account

Visualization

  • Added new curve function that supersedes the path function and provides a simpler and more flexible interface. The path function is now deprecated.
  • The image function now supports raw pixel raster formats. This can be used to generate images from within Typst without the need for encoding in an image exchange format.

... (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.0.
- [Release notes](https://github.com/typst/typst/releases)
- [Commits](typst/typst@v0.12.0...v0.13.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 24, 2025
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 Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants