Releases: sazardev/go-pretty-pdf
Releases · sazardev/go-pretty-pdf
Release list
v0.11.0
Changelog
- 90ae15c chore(deps): bump actions/checkout from 4 to 7 (#3)
- 558811a chore(deps): bump actions/setup-go from 5 to 6 (#5)
- c9a7fb9 chore(deps): bump actions/upload-pages-artifact from 3 to 5 (#4)
- bd26818 chore(deps): bump github.com/chromedp/chromedp from 0.15.1 to 0.16.0 (#9)
- 289a549 chore(deps): bump github.com/yuin/goldmark from 1.8.2 to 1.8.5 (#6)
- 4f99afe chore(deps): bump golang.org/x/net from 0.55.0 to 0.57.0 (#8)
- a084505 chore(deps): bump golangci/golangci-lint-action from 7 to 9 (#1)
- f22a880 chore(deps): bump goreleaser/goreleaser-action from 6 to 7 (#2)
- e7a7457 docs(changelog): release 0.11.0
- cdf8893 feat(audit): add 10 quality checks, WCAG contrast, SeverityError
- 74f85c9 feat(bench): automated performance verification script
- 3bccd95 feat(docs,cli): redesign docs site, enrich CLI help, harden SEO and versioning
- 4a82594 feat(docsgen): expand exports and add performance reporting
- 265584b feat(docsgen): maximize SEO, agents, and PWA across the site
- 6751de8 feat: accept .md/.txt sources with auto-frontmatter, add Chroma syntax highlighting
- 682d13a feat: move theme switcher to the navbar, swap fonts per theme
- 36d6c21 feat: redesign GitHub Pages as a product marketing landing page
- deb9129 fix: apply epub theming, align validation and CLI defaults
- f254b78 fix: center theme swatches with their label text
- f4397f7 fix: resolve CI lint findings and x/text vulnerability
- fa18f9a perf(docsgen): parallelize renders, add verbose and summary
- 018cb81 perf(render): speed up large-document rendering
v0.10.0
What's new
Multi-format build (--format pdf,epub)
buildnow accepts--format(pdf, epub, or pdf,epub) to produce one or both outputs in a single run- Chrome only required when PDF is in the format list — EPUB-only builds skip Chrome entirely
- Output paths are inferred from
--outextension when a single format is used, or derived as a base name for multi-format
EPUB theming (same theme system, reflowable output)
- Themes now produce EPUB-ready CSS via a new reflowable base stylesheet (relative units, no @page/print-only rules)
- Every built-in and custom theme works for EPUB without modification
- The
epubcommand now accepts--theme,--css,--color-*,--font-*,--density,--allow-network-fonts - EPUB CSS uses the same
--pdf-*custom property contract as PDF output
Cover image expansion
- SVG cover images: dimensions extracted from width/height attributes or viewBox (supports px, in, cm, mm, pt, pc)
- WebP cover images: decoded via golang.org/x/image/webp
- EPUB also accepts SVG covers
Custom paper sizes
- Parse custom dimensions like
6x9in,152.4mm x 228.6mm,6x9(inches default) - Enables trade-paperback and non-standard trim sizes without manual CSS overrides
Changelog
- chore: relocate caveman skills to .agents and lock skill versions
- feat: parse custom paper dimensions (6x9in, 152.4mm x 228.6mm)
- feat: support SVG and WebP cover images
- feat: add multi-format build with EPUB output and theme support
- docs: update CLI reference and bump version to v0.10.0
v0.9.0
Changelog
- 5d072da fix: harden config warnings, var substitution, CSS injection, and EPUB atomicity (v0.9.0)
v0.8.0
Changelog
- 01b84ce ci: force setup-go to fetch the latest 1.26.x patch
- deee42c feat: custom cover image support + EPUB export command
- 56d2395 fix: correct defer ordering in downloadFile's error-cleanup path
- ad50b18 fix: full-bleed margins, header-clip bug, gruvbox theme + PDF quality audit (v0.7.0)
- 0927d6a fix: harden security, fix data races, and propagate context cancellation (v0.8.0)
- df261a9 fix: render large books by navigating file:// instead of a data URI
v0.6.0
Changelog
- cdb6150 feat: theme automation + 8 new builtin themes (v0.6.0)
v0.5.0
v0.4.0
Changelog
- 7481713 feat(theme): overhaul theme engine with 8 builtin themes, custom .theme.yml system, and CLI subcommand
v0.3.0
Changelog
- 2ab0805 feat: add WithFullConfig, WithNetworkAccess, concurrent-safe components, and comprehensive test suite
v0.2.1
Changelog
- 0a94dc2 fix: use base64 encoding for data URI to prevent space corruption in PDF output
v0.2.0
Changelog
- 3191dd6 cleanup: remove dead code and fix unused imports
- 63832b0 docs(github-pages): auto-generate docs site from source
- 1d93b6d feat: add ValidateAll API for batch document validation
- 6335cc5 feat: add serve and completion subcommands
- 9475998 feat: register serve command and add --bare, --port flags
- 9db7a65 feat: support h4 and h5 heading levels
- 32e1bcd fix(ci): install Chrome for Docs, upgrade .golangci.yml to v2, use bash shell for Windows test
- 369aa78 fix(ci): resolve lint errors in docsgen
- 925a5fd fix(docs): add --batch --no-tty to gpg in Chrome install
- 98693a1 fix(lint): goimports.local-prefixes must be array in v2
- 0d97502 fix(lint): remove gosimple/tenv (v2 removed); fix(docs): use browser-actions/setup-chrome
- a49232f fix(lint): replace remaining raw 'title' and '[1.0.0]' strings with constants
- a484001 fix(lint): resolve all 54 golangci-lint v2 issues
- b6130b6 fix(lint): resolve remaining goconst issues in mdx package
- 1bdd9af fix(render): add disable-dev-shm-usage flag for CI; switch to direct Chrome deb install
- 6a99c9d fix(render): use QueryEscape and filepath.Dir
- afef384 fix: add warning-title CSS class and use stdlib HTML escaping
- 8b1c2e4 lint: preallocate slices in buildHTML
- 016b4cf refactor(config): simplify lint config, use render defaults
- f974763 refactor(init): add --bare flag, template placeholders
- b66ce95 refactor(mdx): simplify AnchorID, remove AnchorIDRaw
- b273152 refactor(output): improve validation summary with per-file breakdown
- 0d69d26 style(github-pages): redesign docs site with ASCII hero, light theme, animations