github razvandimescu/gopdf v0.3.1

latest releases: v0.11.2, v0.11.1, v0.11.0...
6 months ago

Bug fix

  • Fix Adobe Acrobat's false "save changes?" prompt by adding /ID and /Info to PDF trailer

Improvements

  • Add Makefile with full lint pipeline (gofmt, vet, gocyclo, ineffassign, misspell, staticcheck, govulncheck)
  • Reduce extractTablePage cyclomatic complexity from 45 → 29
  • Reduce findTableColumns from 41 → 17
  • Fix error handling in Finish (check WriteObject/writeValue returns)
  • Content-derived document ID (MD5 of full buffer per PDF spec)
  • Remove dead code (asString, unused nums sort)
  • Fix all gofmt, staticcheck findings

Don't miss a new gopdf release

NewReleases is sending notifications on new releases.