Skip to content

Releases: stumpylog/gotenberg-client

0.11.0

28 Aug 15:34
0.11.0
Compare
Choose a tag to compare

Added

  • zizmor is now enabled to audit the workflows
  • yamlfmt is now used to format all YAML files
  • Fixes examples around route.index

Changed

  • Drops testing against pypy, as pikepdf no longer provides wheels for it
  • Updates CI testing to use Gotenberg 8.22.0
  • Updates development dependencies
  • Updates GitHub Action versions

Fixed

  • Fixes an issue with the actions lockdown preventing documentation deployment

0.10.0

21 Apr 16:41
Compare
Choose a tag to compare

Changed

  • Reworked Codecov integration (#50)
  • Update CI to use astral-sh/setup-uv instead of pip (#51)
  • Test in CI using Gotenberg 8.17.3 (#52)
  • Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 by @dependabot (#49)

Added

  • Asynchronous support for all implemented routes (#53)
    • Also implemented split and flatten routes
    • Also added support for cookies, and other new fields as of Gotenberg 8.19
    • Be sure to check the documentation for more!
  • Add automatic API documentation as well (#54)

0.9.0

09 Jan 18:45
0.9.0
Compare
Choose a tag to compare

Breaking Change

  • Drop testing on PyPy3.9 (#45)
    • The library should still work, but required wheels for testing are no longer built against pypy3.9. Flagging this as breaking just for an FYI

Added

  • Allow setting user agent string and provide a default (#46)
  • Allow providing an instance of httpx.BasicAuth when creating the client (#47)
  • Documentation and project management updates (#48)
    • Enabled discussions for Q&A and Feature Requests
    • Created a bug report template
    • Created a contributing guide

0.8.2

17 Dec 19:43
Compare
Choose a tag to compare

Fixed

  • Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3, fixing core metadata publishing issue

0.8.1

17 Dec 19:30
Compare
Choose a tag to compare

Fixed

  • Relaxed version restriction on httpx

Changed

  • Test in CI using Gotenberg 8.14.1

0.8.0

11 Dec 21:49
0.8.0
Compare
Choose a tag to compare

Breaking Change

  • Dropped support for Python 3.8 (#43)

Added

  • Official support and testing for Python 3.13 (#25)
  • Support for setting PDF metadata (#42)
  • Integrated Codecov test analytics (#44)

Changed

  • Use pytest-docker to manage Docker image services (#36)
  • Bump Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.12.2 by @dependabot (#41)
  • Bump codecov/codecov-action from 4 to 5 by @dependabot (#41)

0.7.0

08 Oct 21:37
Compare
Choose a tag to compare

Fixed

  • mike deployment mis-ordered the version and alias, this has been corrected
  • mypy wasn't running correctly in CI
  • Wrong paper size preset for A4 by @mannerydhe (#24)

Added

  • All routes now return a stronger typed response than just an httpx.Response (#23)
  • All public methods now include docstrings (#33)
  • The Chromium based HTML and Markdown to PDF routes can now accept accept a str, containing either HTML text, Markdown or other text based resources for conversion (#30)
    • See string_index, string_resource and string_resources for those routes

Changed

  • Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 by @dependabot (#25)
  • Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.2 by @dependabot (#31)
  • CI testing now runs against Gotenberg 8.11 (#32)
  • Development tool updates in pyproject.toml and pre-commit hook updates
  • Properly use pytest fixtures in all testing (#34)
  • Upgrade pre-commit to 4.0.1 (#35)

0.6.0

13 Jun 17:35
0.6.0
Compare
Choose a tag to compare

Breaking Change

  • Only Gotenberg 8 is now supported

Fixed

  • The documentation site's changelog was not updating with the changes

Added

  • codespell pre-commit hook
  • Link to the full documentation from the README
  • Documentation of all implemented routes (#16)
  • Page margins may now specify the units of the margin (#21)

Changed

  • Bump codecov/codecov-action from 3 to 4 by @dependabot (#11)
  • Bump release-flow/keep-a-changelog-action from 2 to 3 by @dependabot (#12)
  • Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 by @dependabot (#13)
  • Bump pre-commit/action from 3.0.0 to 3.0.1 by @dependabot (#14)
  • Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 by @dependabot (#15)
  • Use hatch commands for testing and linting (#17)
  • Update testing Docker image to Gotenberg 8.5.0 (#18)
  • chore: Formats JSON files with prettier (#19)
  • chore: Updates Gotenberg test image to 8.5.1 (#20)
  • chore: Updates mike to ~2.1.1 (#22)

0.5.0

11 Jan 16:57
0.5.0
Compare
Choose a tag to compare

Added

  • Documentation site built with Github Pages and Material for MkDocs
  • New method .run_with_retry for routes, which allows the route to be rerun as configured, with progressive backoff if the server returns a server error
  • Support for Gotenberg Webhooks

Deprecated

  • Support for Gotenberg 7.x. This will likely be the last release to support 7.x, as the options for PDF/A have been changed

0.4.1

11 Dec 23:12
0.4.1
Compare
Choose a tag to compare

Fixed

  • Implemented an internal workaround for older Gotenberg versions and their handling of non-latin filenames.
    • When detected, the files will be copied into a temporary directory and the filename cleaned
    • Gotenberg 8.0.0 will start implementing something similar once released
  • The pulled Gotenberg image is now inspected, allowing local re-creation of failures against specific digests
  • The :edge tag testing is now allowed to fail