Releases: yumauri/gotenberg-js-client
Releases · yumauri/gotenberg-js-client
v0.4.1
v0.4.0
Support new Gotenberg 6.1.0:
➕New features
Custom HTTP headers
// for url conversion
add(header('A-Header', 'Foo'))
// or object
add(headers({ 'A-Header': 'Foo' }))
// for webhook
add(webhookHeader('A-Header', 'Foo'))
// or object
add(webhookHeaders({ 'A-Header': 'Foo' }))
Page ranges
set(range('1-1'))
Add some automation && Change packaging
Breaking changes for TypeScript users:
If you were importing gotenberg-js-client/lib/_types
for types, this will not work.
Now types should be imported from the package itself, import { ... } from 'gotenberg-js-client'
Completely new functional API
API completely rewritten, zero OOP, just FP
First naive implementation
First public release.
It is almost complete copy from gotenberg-php-client, rewritten with TypeScript. With similar API.
But I think API is subject to change in future versions.