Skip to content

Releases: klippa-app/go-pdfium

v1.13.0

19 Nov 14:34
dad2417
Compare
Choose a tag to compare

What's Changed

  • Upgrade minimum Go version to 1.21 by @jerbob92 in #196
  • Update Wazero (Webassembly runtime) to v1.8.1 by @jerbob92 in #198
  • Update PDFium to 6721 (including new WASM build using Emscripten 3.1.72) by @jerbob92 in #198
    • Removed experimental methods:
      • FPDFFont_GetFontName (now FPDFFont_GetBaseFontName and FPDFFont_GetFamilyName)
      • FPDFText_GetTextRenderMode (use FPDFText_GetTextObject and FPDFTextObj_GetTextRenderMode now)
    • Implemented new experimental methods:
      • FPDFAnnot_GetFontColor
      • FPDF_StructElement_Attr_GetValue
      • FPDF_StructElement_Attr_GetChildAtIndex
      • FPDF_StructElement_Attr_CountChildren
      • FPDFText_GetTextObject
      • FPDFFont_GetBaseFontName
      • FPDFFont_GetFamilyName
      • FPDFCatalog_SetLanguage
      • FPDFPageObj_TransformF
      • FPDFPageObj_GetMarkedContentID
    • Change working of structtree functions:
      • FPDF_StructElement_Attr_GetType now expects a FPDF_STRUCTELEMENT_ATTR_VALUE (fetched using FPDF_StructElement_Attr_GetValue)
      • FPDF_StructElement_Attr_GetBooleanValue now expects a FPDF_STRUCTELEMENT_ATTR_VALUE (fetched using FPDF_StructElement_Attr_GetValue)
      • FPDF_StructElement_Attr_GetNumberValue now expects a FPDF_STRUCTELEMENT_ATTR_VALUE (fetched using FPDF_StructElement_Attr_GetValue)
      • FPDF_StructElement_Attr_GetStringValue now expects a FPDF_STRUCTELEMENT_ATTR_VALUE (fetched using FPDF_StructElement_Attr_GetValue)
      • FPDF_StructElement_Attr_GetBlobValue now expects a FPDF_STRUCTELEMENT_ATTR_VALUE (fetched using FPDF_StructElement_Attr_GetValue)

Full Changelog: v1.12.4...v1.13.0

v1.12.4

19 Nov 09:30
5590015
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.12.3...v1.12.4

v1.12.3

23 Sep 06:51
Compare
Choose a tag to compare

What's Changed

  • Bump golang.org/x/net from 0.26.0 to 0.27.0 by @dependabot in #179
  • Bump github.com/onsi/gomega from 1.33.1 to 1.34.1 by @dependabot in #182
  • Bump golang.org/x/text from 0.16.0 to 0.17.0 by @dependabot in #184
  • Bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.20.0 by @dependabot in #185
  • Fix experimental FPDFText_HasUnicodeMapError implement. by @xuges in #192

New Contributors

Full Changelog: v1.12.2...v1.12.3

v1.12.2

19 Jun 08:34
4396366
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.12.1...v1.12.2

v1.12.1

24 May 12:51
c1cf5d8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.12.0...v1.12.1

v1.12.0

17 Apr 13:08
af961b3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.11.0...v1.12.0

v1.11.0

08 Feb 11:28
d0b975a
Compare
Choose a tag to compare

What's Changed

  • Bump github.com/google/uuid from 1.5.0 to 1.6.0 by @dependabot in #136
  • Add Go 1.22 to tests, drop 1.19 support by @jerbob92 in #139
  • Bump github.com/onsi/ginkgo/v2 from 2.14.0 to 2.15.0 by @dependabot in #134
  • Bump github.com/onsi/gomega from 1.30.0 to 1.31.1 by @dependabot in #135
  • Update to pdfium 6281 and implement FPDFText_LoadCidType2Font by @jerbob92 in #138

Full Changelog: v1.10.0...v1.11.0

v1.10.0

16 Jan 15:01
ba87a60
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.9.0...v1.10.0

v1.9.0

28 Nov 19:22
b2eb1db
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.8.2...v1.9.0

v1.8.2

28 Sep 21:53
b688478
Compare
Choose a tag to compare

What's Changed

  • libjpegturbo now includes using pkg-config, which makes it easier to use the pdfium_use_turbojpeg build tag.
  • The RenderToFile method now has an Progressive option that can be used when rendering to jpeg and when the pdfium_use_turbojpeg build tag is used. A progressive JPEG image is encoded differently than a standard or baseline JPEG image. It loads in successive waves until a clear picture is formed. This can improve a website's performance as the images seems to be loading faster.

Full Changelog: v1.8.1...v1.8.2