Skip to content

Releases: go-pdfkit/pdfkit

v0.21.0

Choose a tag to compare

@tannevaled tannevaled released this 31 Oct 20:57
9ca6538

What's Changed

Full Changelog: v0.20.0...v0.21.0

v0.20.0

Choose a tag to compare

@tannevaled tannevaled released this 26 Oct 20:15
85d4b67

go-pdfkit/pdfkit v0.20.0

Changed (breaking for users of the widget bridge)

The go-widgets/toolkit bridge moves to the subpackage github.com/go-pdfkit/pdfkit/widget. Importing pdfkit no longer links the toolkit, and with it collab, richdoc, JPEG 2000 and JBIG2.

v0.19.0 v0.20.0
packages linked by import "github.com/go-pdfkit/pdfkit" 403 196
go-llmflow gateway binary (darwin/arm64, CGO_ENABLED=0 -trimpath) 42,110,114 bytes 39,790,834 bytes

deps_test.go fails if the root package's import graph reaches go-widgets/toolkit again.

Upgrading

v0.19 (pdfkit) v0.20 (pdfkit/widget)
p.AddWidget(root, rect, opts) widget.Add(p, root, rect, opts)
p.AddWidgetVector(root, rect, opts) widget.AddVector(p, root, rect, opts)
pdfkit.WidgetOptions widget.Options
pdfkit.DefaultWidgetScale widget.DefaultScale

The errors are exported as widget.ErrEmptyRect and widget.ErrNoFont. Nothing else changed.

No repository of the fleet calls the bridge. gorequires finds 8 repositories that require pdfkit, and their clones have no call.

v0.19.0

Choose a tag to compare

@tannevaled tannevaled released this 26 Oct 12:46
f748ac8

Release backfilled on 2026-10-26; tag created 2026-10-25.

Commits since v0.18.0:

  • f748ac8 feat: standard structure attributes (StructElem.Attributes) (#53)

v0.18.0

Choose a tag to compare

@tannevaled tannevaled released this 26 Oct 12:46
f009f74

Release backfilled on 2026-10-26; tag created 2026-10-25.

Commits since v0.17.0:

  • e33860f fix(deps): update dependencies (#47)
  • f009f74 feat: tagged PDF — structure tree, artifacts, tagged links, PDF/UA metadata (#52)

v0.17.0

Choose a tag to compare

@tannevaled tannevaled released this 26 Oct 12:46
239c264

Release backfilled on 2026-10-26; tag created 2026-10-22.

Commits since v0.16.0:

  • 239c264 Replacement text: BeginActualText / EndMarkedContent (#51)

v0.16.0

Choose a tag to compare

@tannevaled tannevaled released this 26 Oct 12:46
87316d2

Release backfilled on 2026-10-26; tag created 2026-10-20.

Commits since v0.15.0:

  • 87316d2 Text annotations, and styled and positioned bookmarks (#49)

v0.15.0

Choose a tag to compare

@tannevaled tannevaled released this 26 Oct 12:46
5c3686b

Release backfilled on 2026-10-26; tag created 2026-10-19.

Commits since v0.14.1:

  • 5c3686b Draw glyphs a layout placed; radial shadings; straight colour under a soft mask (#48)

v0.14.1 — DrawImage without a per-pixel allocation

Choose a tag to compare

@tannevaled tannevaled released this 18 Oct 14:08
ec52df6

Page.DrawImage copies an *image.RGBA's samples directly instead of reading every pixel through At (#46): a 1280×720 page goes from 72.8 ms and 921,772 allocations to 29.4 ms and 171 allocations, with byte-identical output.

Also carries the dependency updates merged since v0.14.0 (#42, #44, #45).

v0.14.0

Choose a tag to compare

@tannevaled tannevaled released this 31 Oct 20:57
3574f51

Release backfilled on 2026-10-31; tag created 2026-10-04.

Commits since v0.13.0:

  • 3574f51 go.mod: require 1.27.1, and add the gofmt check this lane never had (#38)

v0.13.0

Choose a tag to compare

@tannevaled tannevaled released this 31 Oct 20:57
a8ef7fb

Release backfilled on 2026-10-31; tag created 2026-10-02.

Commits since v0.12.0:

  • f7d4217 test: install qpdf so the independent oracle actually runs (#33)
  • abd60dd fix(deps): update module github.com/go-widgets/toolkit to v0.320.0 (#34)
  • e7afcf7 Annotations ARE implemented here, and three absences are somewhere else (#35)
  • 3ac1e88 fix(deps): update dependencies (#36)
  • a8ef7fb fix(deps): update module github.com/go-widgets/toolkit to v0.321.2 (#37)