Skip to content

@react-pdf/pdfkit@6.0.0

Choose a tag to compare

@github-actions github-actions released this 08 Aug 23:01
767840d

Major Changes

  • #3474 4c4e7a1a Thanks @diegomura! - Use generated AFM font data instead of parsing raw font definitions, and split the node and browser entry points, aligning with upstream pdfkit

Minor Changes

Patch Changes

  • #3476 62c97745 Thanks @diegomura! - refactor(pdfkit): align annotations.js, attachments.js and spotcolor.js with upstream

    Spot color names are now escaped as PDF Name objects, so names containing
    spaces or delimiters (e.g. PANTONE 123 C) no longer emit a malformed
    Separation color space.

  • #3453 6098e648 Thanks @afonsojramos! - Declare the pako runtime dependency externalized by the browser build so it resolves with strict package managers.

  • #3431 59aa9aea Thanks @5000164! - fix(pdfkit): deflate decoded PNG pixels as Buffer

  • #3401 d41a8207 Thanks @diegomura! - refactor(pdfkit): replace events import in line_wrapper.js with inline emitter

  • #3470 b2acd72b Thanks @diegomura! - refactor(pdfkit): align page.js and document.js with upstream

  • #3400 c2da5098 Thanks @diegomura! - refactor(pdfkit): use byte-level PNG magic check in image.js

  • #3398 30dc2a47 Thanks @diegomura! - refactor(pdfkit): remove Buffer dependency from EXIF orientation parser

  • #3469 6e0102db Thanks @diegomura! - refactor(pdfkit): align line_wrapper.js with upstream