Restpack Changelog logo

Changelog

Relase notes, product updates and improvement to Restpack

Subscribe to Updates
English
  • English (en-GB)
  • Deutsch
  • Français
  • Hebrew

Labels

  • All Posts
  • Announcement
  • new
  • Improvement
  • html to pdf api
  • screenshot api
  • Fix

Jump to Month

  • March 2021
  • July 2020
  • November 2019
  • June 2019
  • May 2019
  • January 2019
  • September 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • December 2017
  • September 2017
  • July 2017
Changelog byAnnounceKit

Create yours, for free!

newhtml to pdf apiscreenshot api
4 years ago

API Version 4

We have released the new major version of our rendering engine for HTML to PDF API and Screenshot API.

V4 is completely backwards compatible and can be used by just changing the API call url to https://restpack.io/api/html2pdf/v4/convert

HTML to PDF API

Features

  • Page Headers and Footers
    One of the most requested features. We now support automatically injecting header and footer templates to generated PDF documents. You can create these segments in full HTML and customize as you wish. It is also possible to insert dynamic data such as page number, document title etc into the headers and footers.
  • Custom Page Sizes
    In addition to pdf_page parameter, now it’s possible to send pdf_width and pdf_height parameters to set up a custom page size.

Changes

  • We used to generate PDFs on CSS media. However, the API now defaults to
    media in order to generate documents as close as to how they look on a browser. You can switch to using setting

Screenshot API

Features

  • Ad / Cookie Warning Blocking
    We have two new options, block_ads and block_cookie_warnings in order to apply blocking rules to the page before conversion.
Avatar of authorEkin