Releases: klippa-app/go-pdfium
Releases · klippa-app/go-pdfium
v1.13.0
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
(nowFPDFFont_GetBaseFontName
andFPDFFont_GetFamilyName
)FPDFText_GetTextRenderMode
(useFPDFText_GetTextObject
andFPDFTextObj_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 aFPDF_STRUCTELEMENT_ATTR_VALUE
(fetched usingFPDF_StructElement_Attr_GetValue
)FPDF_StructElement_Attr_GetBooleanValue
now expects aFPDF_STRUCTELEMENT_ATTR_VALUE
(fetched usingFPDF_StructElement_Attr_GetValue
)FPDF_StructElement_Attr_GetNumberValue
now expects aFPDF_STRUCTELEMENT_ATTR_VALUE
(fetched usingFPDF_StructElement_Attr_GetValue
)FPDF_StructElement_Attr_GetStringValue
now expects aFPDF_STRUCTELEMENT_ATTR_VALUE
(fetched usingFPDF_StructElement_Attr_GetValue
)FPDF_StructElement_Attr_GetBlobValue
now expects aFPDF_STRUCTELEMENT_ATTR_VALUE
(fetched usingFPDF_StructElement_Attr_GetValue
)
- Removed experimental methods:
Full Changelog: v1.12.4...v1.13.0
v1.12.4
What's Changed
- Bump golang.org/x/text from 0.17.0 to 0.18.0 by @dependabot in #190
- Bump golang.org/x/net from 0.28.0 to 0.29.0 by @dependabot in #191
- Fix concurrent map writes by @jerbob92 in #195
Full Changelog: v1.12.3...v1.12.4
v1.12.3
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
What's Changed
- Bump github.com/tetratelabs/wazero from 1.7.1 to 1.7.2 by @dependabot in #172
- Bump github.com/onsi/ginkgo/v2 from 2.18.0 to 2.19.0 by @dependabot in #173
- Bump golang.org/x/net from 0.25.0 to 0.26.0 by @dependabot in #174
- Bump github.com/tetratelabs/wazero from 1.7.2 to 1.7.3 by @dependabot in #176
Full Changelog: v1.12.1...v1.12.2
v1.12.1
What's Changed
- Add leak test, fix leak on multithreaded by @jerbob92 in #158
- Bump github.com/onsi/gomega from 1.32.0 to 1.33.0 by @dependabot in #160
- Bump github.com/onsi/gomega from 1.33.0 to 1.33.1 by @dependabot in #162
- Bump golang.org/x/net from 0.24.0 to 0.25.0 by @dependabot in #164
- Bump github.com/hashicorp/go-plugin from 1.6.0 to 1.6.1 by @dependabot in #167
- Bump github.com/onsi/ginkgo/v2 from 2.17.1 to 2.18.0 by @dependabot in #168
- Fix the WebAssembly build by @jerbob92 in #170
- Try to fix MacOS build by @jerbob92 in #171
Full Changelog: v1.12.0...v1.12.1
v1.12.0
What's Changed
- Bump golang.org/x/net from 0.20.0 to 0.21.0 by @dependabot in #140
- Update GH actions by @jerbob92 in #141
- Bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.16.0 by @dependabot in #143
- Bump golang.org/x/net from 0.21.0 to 0.22.0 by @dependabot in #144
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #142
- Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 by @dependabot in #146
- Bump github.com/onsi/gomega from 1.31.1 to 1.32.0 by @dependabot in #149
- Bump github.com/onsi/ginkgo/v2 from 2.16.0 to 2.17.0 by @dependabot in #148
- Bump github.com/onsi/ginkgo/v2 from 2.17.0 to 2.17.1 by @dependabot in #150
- Update pdfium to 6392, implement new methods by @jerbob92 in #152
- Bump golang.org/x/net from 0.22.0 to 0.24.0 by @dependabot in #155
- Bump github.com/hashicorp/go-hclog from 1.6.2 to 1.6.3 by @dependabot in #153
- Bump github.com/tetratelabs/wazero from 1.6.0 to 1.7.1 by @dependabot in #157
Full Changelog: v1.11.0...v1.12.0
v1.11.0
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
What's Changed
- Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 by @dependabot in #123
- Bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0 by @dependabot in #131
- Bump github.com/google/uuid from 1.4.0 to 1.5.0 by @dependabot in #126
- add option to set wazero RuntimeConfig by @thorpelawrence-yoti in #125
- Bump golang.org/x/net from 0.19.0 to 0.20.0 by @dependabot in #130
- Bump github.com/tetratelabs/wazero from 1.5.0 to 1.6.0 by @dependabot in #128
- Bump github.com/hashicorp/go-hclog from 1.5.0 to 1.6.2 by @dependabot in #127
- Update to pdfium 6248 by @jerbob92 in #132
New Contributors
- @thorpelawrence-yoti made their first contribution in #125
Full Changelog: v1.9.0...v1.10.0
v1.9.0
What's Changed
- Bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in #110
- Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 by @dependabot in #109
- Bump github.com/onsi/gomega from 1.28.0 to 1.30.0 by @dependabot in #117
- Bump golang.org/x/net from 0.17.0 to 0.18.0 by @dependabot in #116
- Bump github.com/google/uuid from 1.3.1 to 1.4.0 by @dependabot in #114
- Bump google.golang.org/grpc from 1.53.0 to 1.56.3 by @dependabot in #113
- Bump github.com/hashicorp/go-plugin from 1.5.2 to 1.6.0 by @dependabot in #119
- Bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.1 by @dependabot in #118
- Fix README samples by @matiasinsaurralde in #120
- Bump golang.org/x/net from 0.18.0 to 0.19.0 by @dependabot in #121
- Update to pdfium 6150 by @jerbob92 in #122
- Implemented FPDF_GetDocUserPermissions by @jerbob92 in #122
- Implemented FPDF_MovePages by @jerbob92 in #122
- Implemented FPDF_StructElement_GetChildMarkedContentID by @jerbob92 in #122
New Contributors
- @matiasinsaurralde made their first contribution in #120
Full Changelog: v1.8.2...v1.9.0
v1.8.2
What's Changed
- Update pdfium to 6029 by @jerbob92 in #105
- Bump github.com/hashicorp/go-plugin from 1.5.1 to 1.5.2 by @dependabot in #104
- Bump github.com/onsi/gomega from 1.27.10 to 1.28.0 by @dependabot in #106
- Improve libjpegturbo by @jerbob92 in #107
- 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 thepdfium_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