Skip to content

Releases: yumauri/gotenberg-js-client

v0.7.4

06 Jun 20:17
Compare
Choose a tag to compare

🐛 Fixes

  • Loosen filenames checks even more (fixes issue #60)

v0.7.3

26 Jun 07:13
Compare
Choose a tag to compare

🐛 Fixes

  • Change condition for success response from strict 200 equality to [200; 300) range

Context: Gotenberg 7 uses different headers, and responses with code 204 from Webhook module (see documentation). While changing headers themselves is possible via custom function inside pipe (see this comment for reference), changing bundled HTTP client to recognize response code 204 as successful response is not that easy. Well, it is easy in some cases — you can define your own HTTP client, check this comment, — but I decided it will not break anything, if I change condition to recognize any 2×× code as successful one. So, this shouldn't break compatibility with Gotenberg 6, and it will be a little less painful to use this library with Gotenberg 7.
Check issue #47 for more details.

v0.7.2

27 Dec 10:53
Compare
Choose a tag to compare

🐛 Fixes

  • Allow filenames with dots (fixes issue #38)

v0.7.1

01 Dec 14:24
Compare
Choose a tag to compare

🐛 Fixes

  • TypeScript complains about URL (fixes issue #37)

v0.7.0

07 Feb 17:51
Compare
Choose a tag to compare

➕ New features

  • adjust function for fine granulated Request tuning (idea comes from issue #26)

🐛 Fixes

  • gotenberg function now should merge config without overriding object fields (like headers) (references issue #26 as well)

v0.6.3

26 Jan 16:56
Compare
Choose a tag to compare

Fixed typings for url function, to be able to use with to modifiers (set orientation, margins or/and paper size), due to issue #25

v0.6.2

05 Sep 11:51
Compare
Choose a tag to compare

Added unicode filenames support, thanks to @xiaojian-hong (PR #17)

v0.6.1

30 May 15:07
Compare
Choose a tag to compare

No breaking changes, just add double conversion check, due to issue #14

v0.6.0

05 May 17:33
Compare
Choose a tag to compare

No breaking changes, just add some new sources validation, due to issue #11
Also, some internal rework.
Also, I've added experimental Flow types.

v0.5.0

10 Feb 17:54
Compare
Choose a tag to compare

Support new Gotenberg 6.2.0:

➕New features

Scale for HTML, Markdown and URL conversion

set(scale(0.75))