fix(deps): update rust crate pdf-writer to 0.14.0 #9

Merged
kernald merged 1 commit from renovate/pdf-writer-0.x into main 2025-10-09 19:20:16 +11:00
Collaborator

This PR contains the following updates:

Package Type Update Change
pdf-writer dependencies minor 0.12.0 -> 0.14.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

typst/pdf-writer (pdf-writer)

v0.14.0: Version 0.14.0

Compare Source

  • Added PDF 2.0 Tagged PDF and document structure features
    • Added capability to use structure namespaces
    • Added PDF 2.0 structure roles with their relations to PDF 1.7 structure roles
    • Added capability to specify the pronunciation for structure tree elements
    • Added StructElement::refs to write the /Ref key, specifying structure elements this element refers to
    • Added PDF 2.0 attribute owners Artifact, HTML-5.00, CSS-3, RDFa-1.10, ARIA-1.1, NSO
    • Allowed writing PDF 2.0 form of the CSS 1 and 2 attribute owners by adding a parameter to Attributes::owner (Breaking change)
    • Added ArtifactAttributes writer
    • Added LayoutAttributes::text_position to write the /TextPosition attribute
    • Added ListAttributes::continued_list and ListAttributes::continued_from to write the /ContinuedList and /ContinuedFrom attributes
    • Added TableAttributes::short to write the /Short attribute
    • Added PDF 2.0 variants to ListNumbering enum (Breaking change)
    • Added boolean parameter to FieldAttributes::checked to use the PDF 2.0 serialization
    • Added variant ListBox to FieldRole enum (Breaking change)
    • Added capability to associate a file with the structure tree root
  • Added the PDF/UA-2 attribute owner FENote and the FENoteAttributes writer
  • Added the missing H structure role from PDF 1.7 (Breaking change)
  • Added default values based on the spec to applicable enums
  • Added the capability to write Auto as a value of LayoutAttributes::glyph_orientation_vertical. The signature of the function changed to accommodate the new data type (Breaking change)
  • Added the capability to write text strings with language escape sequences using TextStrWithLang. For this purpose, many writer methods that previously accepted TextStr as an argument now accept an implementor of the TextStrLike trait (TextStr and TextStrWithLang, Breaking change)
  • Added a mechanism to retrieve the category of a structure role
  • Added PDF 2.0 variants to AssociationKind enum (Breaking change)
  • Fixed a bug where the BlockAlign enum contained the variant Begin instead of Before (Breaking change)
  • Fixed a bug where AttributeOwner::User was serialized to UserDefined instead of the correct UserProperties
  • Fixed an inconsistency where attributes allowing either one or multiple values for each side of a rectangle only exposed one of the APIs. Affected attributes are BorderColor and TPadding (allowed only one side) as well as BorderStyle, BorderThickness, Padding, and TBorderStyle (forced writing all four sides) (Breaking change)
  • Fixed a typo in the API: AppearanceCharacteristics::alterante_caption has been renamed to alternate_caption (Breaking change)
  • Fixed an inconsistency where attributes allowing either one or multiple values for each track in a column container only exposed the latter API. Affected attributes are ColumnWidths and ColumnGap (Breaking change)
  • Fixed a bug where LayoutAttributes::line_height could not be used because the LineHeight struct was not exported

v0.13.0: Version 0.13.0

Compare Source

  • Added infrastructure for tracking PDF implementation limits
    • Added Buf type
    • Added Limits type
    • Added Chunk::{limits, merge_limits}
    • Content::finish, UnicodeCmap::finish, and PostScriptOp::encode now return a Buf (Breaking change)
  • The GlyphId trait is now properly public

v0.12.1: Version 0.12.1

Compare Source

  • PostScript operations are now space- instead of newline-delimited
  • Added StructElement::id
  • Added ViewerPreferences::display_doc_title
  • Fixed DecodeParms::colors writing the wrong name
  • Fixed DeveloperExtension writing the wrong /Type

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pdf-writer](https://github.com/typst/pdf-writer) | dependencies | minor | `0.12.0` -> `0.14.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>typst/pdf-writer (pdf-writer)</summary> ### [`v0.14.0`](https://github.com/typst/pdf-writer/releases/tag/v0.14.0): Version 0.14.0 [Compare Source](https://github.com/typst/pdf-writer/compare/v0.13.0...v0.14.0) - Added PDF 2.0 Tagged PDF and document structure features - Added capability to use structure namespaces - Added PDF 2.0 structure roles with their relations to PDF 1.7 structure roles - Added capability to specify the pronunciation for structure tree elements - Added `StructElement::refs` to write the `/Ref` key, specifying structure elements this element refers to - Added PDF 2.0 attribute owners `Artifact`, `HTML-5.00`, `CSS-3`, `RDFa-1.10`, `ARIA-1.1`, `NSO` - Allowed writing PDF 2.0 form of the CSS 1 and 2 attribute owners by adding a parameter to `Attributes::owner` **(Breaking change)** - Added `ArtifactAttributes` writer - Added `LayoutAttributes::text_position` to write the `/TextPosition` attribute - Added `ListAttributes::continued_list` and `ListAttributes::continued_from` to write the `/ContinuedList` and `/ContinuedFrom` attributes - Added `TableAttributes::short` to write the `/Short` attribute - Added PDF 2.0 variants to `ListNumbering` enum **(Breaking change)** - Added boolean parameter to `FieldAttributes::checked` to use the PDF 2.0 serialization - Added variant `ListBox` to `FieldRole` enum **(Breaking change)** - Added capability to associate a file with the structure tree root - Added the PDF/UA-2 attribute owner `FENote` and the `FENoteAttributes` writer - Added the missing `H` structure role from PDF 1.7 **(Breaking change)** - Added default values based on the spec to applicable enums - Added the capability to write `Auto` as a value of `LayoutAttributes::glyph_orientation_vertical`. The signature of the function changed to accommodate the new data type **(Breaking change)** - Added the capability to write text strings with language escape sequences using `TextStrWithLang`. For this purpose, many writer methods that previously accepted `TextStr` as an argument now accept an implementor of the `TextStrLike` trait (`TextStr` and `TextStrWithLang`, **Breaking change**) - Added a mechanism to retrieve the category of a structure role - Added PDF 2.0 variants to `AssociationKind` enum **(Breaking change)** - Fixed a bug where the `BlockAlign` enum contained the variant `Begin` instead of `Before` **(Breaking change)** - Fixed a bug where `AttributeOwner::User` was serialized to `UserDefined` instead of the correct `UserProperties` - Fixed an inconsistency where attributes allowing either one or multiple values for each side of a rectangle only exposed one of the APIs. Affected attributes are `BorderColor` and `TPadding` (allowed only one side) as well as `BorderStyle`, `BorderThickness`, `Padding`, and `TBorderStyle` (forced writing all four sides) **(Breaking change)** - Fixed a typo in the API: `AppearanceCharacteristics::alterante_caption` has been renamed to `alternate_caption` **(Breaking change)** - Fixed an inconsistency where attributes allowing either one or multiple values for each track in a column container only exposed the latter API. Affected attributes are `ColumnWidths` and `ColumnGap` **(Breaking change)** - Fixed a bug where `LayoutAttributes::line_height` could not be used because the `LineHeight` struct was not exported ### [`v0.13.0`](https://github.com/typst/pdf-writer/releases/tag/v0.13.0): Version 0.13.0 [Compare Source](https://github.com/typst/pdf-writer/compare/v0.12.1...v0.13.0) - Added infrastructure for tracking PDF implementation limits - Added `Buf` type - Added `Limits` type - Added `Chunk::{limits, merge_limits}` - `Content::finish`, `UnicodeCmap::finish`, and `PostScriptOp::encode` now return a `Buf` **(Breaking change)** - The `GlyphId` trait is now properly public ### [`v0.12.1`](https://github.com/typst/pdf-writer/releases/tag/v0.12.1): Version 0.12.1 [Compare Source](https://github.com/typst/pdf-writer/compare/v0.12.0...v0.12.1) - PostScript operations are now space- instead of newline-delimited - Added `StructElement::id` - Added `ViewerPreferences::display_doc_title` - Fixed `DecodeParms::colors` writing the wrong name - Fixed `DeveloperExtension` writing the wrong `/Type` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==-->
renovate added 1 commit 2025-10-09 19:05:58 +11:00
fix(deps): update rust crate pdf-writer to 0.14.0
All checks were successful
Checking yaml / Run yamllint (pull_request) Successful in 4s
Checking Renovate configuration / validate (pull_request) Successful in 1m14s
Build and test / Build AMD64 (pull_request) Successful in 48s
Build and test / Tests (pull_request) Successful in 32s
Build and test / Clippy (pull_request) Successful in 23s
Build and test / Generate Documentation (pull_request) Successful in 53s
930879524d
kernald was assigned by renovate 2025-10-09 19:06:00 +11:00
renovate force-pushed renovate/pdf-writer-0.x from 930879524d to 7e1781e111 2025-10-09 19:17:43 +11:00 Compare
kernald merged commit 7e1781e111 into main 2025-10-09 19:20:16 +11:00
kernald deleted branch renovate/pdf-writer-0.x 2025-10-09 19:20:16 +11:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kernald/cbz2pdf#9
No description provided.