Skip to content

Update pdf-writer requirement from 0.12 to 0.14#123

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/pdf-writer-0.14
Closed

Update pdf-writer requirement from 0.12 to 0.14#123
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/pdf-writer-0.14

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on pdf-writer to permit the latest version.

Release notes

Sourced from pdf-writer's releases.

Version 0.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
Commits
  • 1d2ed46 Version bump
  • 8fc8394 Fix case of RoleMapOpts
  • e99004d Add language escaping for text strings (#65)
  • 2bd7f43 Fix typo in AppearanceCharacteristics::alternate_caption (#67)
  • 61e0920 Add Cargo.lock (#66)
  • 143a1c3 fix: write /NS instead of /Name for namespaces
  • 0811ebf fix: RoleMapNs entries should be arrays instead of dicts
  • f9cde6a feat: allow writing /GlyphOrientationVertical Auto (#63)
  • bbfe936 Also offer public StructRole2::to_name
  • 4684e60 Make StructRole::to_name public
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 13, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/pdf-writer-0.14 branch from f229ae1 to 158969b Compare April 13, 2026 03:51
Updates the requirements on [pdf-writer](https://github.com/typst/pdf-writer) to permit the latest version.
- [Release notes](https://github.com/typst/pdf-writer/releases)
- [Commits](typst/pdf-writer@v0.12.0...v0.14.0)

---
updated-dependencies:
- dependency-name: pdf-writer
  dependency-version: 0.14.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@edwardkim

Copy link
Copy Markdown
Owner

svg2pdf 0.13이 pdf-writer 0.12를 내부 고정 사용하므로, pdf-writer 0.14로 업그레이드 시 Chunk/Ref 타입 불일치 발생. svg2pdf upstream에서 pdf-writer 0.14를 지원하는 버전이 출시될 때까지 보류합니다. Issue #127에서 추적 중입니다.

@edwardkim edwardkim closed this Apr 13, 2026
@dependabot @github

dependabot Bot commented on behalf of github Apr 13, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/cargo/pdf-writer-0.14 branch April 13, 2026 04:37
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.

1 participant