Releases: go-pdf/fpdf
Releases · go-pdf/fpdf
Release v0.9.0
What's Changed
- ci: update codecov/codecov-action@v3 by @sbinet in #39
- all: add Go-1.21, drop Go-1.19 by @sbinet in #45
- fpdf: update LICENSE by @sbinet in #46
- fpdf: use an integer-based representation for PDF-versions by @sbinet in #48
- fpdf: handle 16-bit depth PNG files by @sbinet in #50
Full Changelog: v0.8.0...v0.9.0
Release v0.8.0
Release v0.7.0
What's Changed
- all: bump to Go-1.18 by @sbinet in #24
- Staticcheck by @sbinet in #25
- all: move examples to their own example_test file by @sbinet in #26
- bump: Go-1.20 by @sbinet in #35
- Set default barcode quality to 100 by @ingfdoaguirre in #34
New Contributors
- @ingfdoaguirre made their first contribution in #34
Full Changelog: v0.6.0...v0.7.0
Release v0.6.0
What's Changed
- fpdf: discard CellFormat commands when height is zero by @sbinet in #15
- embed font files with //go:embed by @flibustenet in #14
- all: properly acknowledge original fork by @sbinet in #18
New Contributors
- @flibustenet made their first contribution in #14
Full Changelog: v0.5.0...v0.6.0
Release v0.5.0
Release v0.4.1
retract invalid v1.4.2
tag.
Release v0.4.0
improving PNG+GIF performances:
name old time/op new time/op delta
ParsePNG_rgb-8 22.8ms ± 1% 16.0ms ± 3% -29.81% (p=0.000 n=25+30)
ParsePNG_gray-8 660µs ± 3% 624µs ± 4% -5.54% (p=0.000 n=28+30)
ParsePNG_small-8 2.49µs ± 2% 2.12µs ± 3% -14.83% (p=0.000 n=30+30)
ParseJPG-8 36.3µs ± 4% 36.8µs ± 5% ~ (p=0.070 n=30+30)
ParseGIF-8 410µs ± 3% 409µs ± 4% ~ (p=0.562 n=30+29)
name old alloc/op new alloc/op delta
ParsePNG_rgb-8 26.4MB ± 0% 4.2MB ±10% -84.04% (p=0.000 n=29+30)
ParsePNG_gray-8 2.56MB ± 0% 2.49MB ± 0% -2.73% (p=0.000 n=30+30)
ParsePNG_small-8 8.96kB ± 0% 9.84kB ± 0% +9.73% (p=0.000 n=30+30)
ParseJPG-8 274kB ± 0% 274kB ± 0% -0.00% (p=0.002 n=30+30)
ParseGIF-8 897kB ± 0% 898kB ± 0% +0.10% (p=0.000 n=30+30)
name old allocs/op new allocs/op delta
ParsePNG_rgb-8 400 ± 0% 292 ± 0% -27.00% (p=0.000 n=30+28)
ParsePNG_gray-8 164 ± 0% 114 ± 0% -30.49% (p=0.000 n=30+30)
ParsePNG_small-8 35.0 ± 0% 10.0 ± 0% -71.43% (p=0.000 n=30+30)
ParseJPG-8 12.0 ± 0% 12.0 ± 0% ~ (all equal)
ParseGIF-8 214 ± 0% 191 ± 0% -10.75% (p=0.000 n=30+30)
Release v0.3.1
all: use raw endpoint from github
Release v0.3.0
Improve PDF-writing performances.
name old time/op new time/op delta
LineTo-8 500ns ± 1% 343ns ± 1% -31.47% (p=0.000 n=19+18)
CurveTo-8 1.00µs ± 2% 0.74µs ± 0% -25.86% (p=0.000 n=20+18)
name old alloc/op new alloc/op delta
LineTo-8 77.0B ± 0% 47.5B ± 1% -38.38% (p=0.000 n=17+20)
CurveTo-8 228B ± 7% 118B ± 1% -48.33% (p=0.000 n=20+20)
name old allocs/op new allocs/op delta
LineTo-8 3.00 ± 0% 0.00 -100.00% (p=0.000 n=20+20)
CurveTo-8 5.00 ± 0% 0.00 -100.00% (p=0.000 n=20+20)
name old time/op new time/op delta
RGB_grg-8 808ns ± 0% 576ns ± 0% -28.66% (p=0.000 n=17+18)
RGB_gray-8 779ns ± 0% 584ns ± 0% -25.01% (p=0.000 n=18+18)
RGB_full-8 746ns ± 1% 568ns ± 1% -23.89% (p=0.000 n=19+19)
name old alloc/op new alloc/op delta
RGB_grg-8 64.0B ± 0% 24.0B ± 0% -62.50% (p=0.000 n=20+20)
RGB_gray-8 48.0B ± 0% 24.0B ± 0% -50.00% (p=0.000 n=20+20)
RGB_full-8 48.0B ± 0% 24.0B ± 0% -50.00% (p=0.000 n=20+20)
name old allocs/op new allocs/op delta
RGB_grg-8 5.00 ± 0% 1.00 ± 0% -80.00% (p=0.000 n=20+20)
RGB_gray-8 4.00 ± 0% 1.00 ± 0% -75.00% (p=0.000 n=20+20)
RGB_full-8 4.00 ± 0% 1.00 ± 0% -75.00% (p=0.000 n=20+20)
Release v0.2.0
Release with import paths adapted for go-pdf/fpdf
+ cleanups from golangci-lint
.