changelogs.md


studiosity/grover

Repository  -  API  -  Source

0.12.3

July 1, 2020

Fixed

  • #70 Ensure cookies are escaped when passing cookies via middleware ([@braindeaf][])

0.12.2

June 23, 2020

Fixed

  • #66 Fix bug masking NodeJS launch failures

Added

  • #63 Ensure cookies from incoming request are passed to Grover via Middleware ([@braindeaf][])
  • #64 Add waitForSelector support ([@andmcgregor][])

0.12.1

May 12, 2020

Fixed

  • #52 Fix specs to work with ImageMagick 7 ([@inspiredstuffs][])

Changed

  • #53 Remove Schmooze in favour of built in fork

0.11.4

April 25, 2020

Added

  • #49 Add support for passing request cookies ([@Richacinas][])

0.11.3

February 27, 2020

Added

  • #48 Add missing option casting for screenshot and viewport attributes

Refactor

  • #46 Extract option logic from Grover class ([@willkoehler][])

0.11.2

February 17, 2020

Fixed

  • #43 Fix parsing of numeric type viewport options from meta tags ([@willkoehler][])

0.11.1

January 17, 2020

Fixed

  • #41 Fix middleware cover page request env scrubbing

0.10.1

January 13, 2020

Fixed

  • #39 Fix middleware thread safety issue ([@jnimety][])

0.9.2

December 27, 2019

Added

  • #38 Add script execution support

0.9.1

December 9, 2019

Added

  • #34 Add support for custom executable path ([@ryansmith23][])
  • #35 Add support for basic authentication ([@rwtaylor][])

Changed

  • #33 Improve support for Puppeteer 2.0 (emulateMediaType)

0.8.3

October 31, 2019

Added

  • #32 Add support for wait until (puppeteer load state) option

0.8.2

October 31, 2019

Added

  • #31 Add support for launch parameter args ([@joergschiller][])

0.8.1

July 13, 2019

Breaking change

  • #23 Drop support for Ruby 2.2

Added

  • #25 Add support for capturing PNG/JPEG screenshots
  • #27 Add support for PNG/JPEG middleware requests
  • #28 Add support for viewport options (passed in to page.setViewport before the page is rendered)

0.7.4

July 9, 2019

Breaking change

  • #18 Use GROVER_NO_SANDBOX for disabling sandbox ([@koenhandekyn][])

0.7.3

May 23, 2019

Fixed

  • #14 Metadata options not included if source contained any line starting with http
  • #15 Add magic comment for freezing string literals

0.7.2

January 22, 2019

Fixed

  • Better handle null assignment of debug options

0.7.1

January 22, 2019

Added

  • #10 Ability to disable headless mode and open devtools via option parameters

0.6.2

September 20, 2018

Fixed

  • Removed memoization of path variable in middleware (on occasion a previous requests state was present)

0.6.1

September 20, 2018

Fixed

  • Use request interception instead of data URL for middleware/raw HTML conversions

Breaking change

  • The {{display_url}} header/footer hack was removed in favour of passing the URL via display_url option (for middleware/raw HTML only)

0.5.5

September 20, 2018

Fixed

  • Compare optional arguments with undefined instead of default presence check

0.5.4

September 20, 2018

Fixed

  • Moved Puppeteer timeout from launch to page goto

0.5.3

September 20, 2018

Added

  • Control of Puppeteer page timeout

0.5.2

September 20, 2018

Added

  • Control of Puppeteer page caching (default set to false)

0.5.1

September 15, 2018

Added

  • Support for front/back cover pages for middleware (combined with the original request PDF)

0.4.4

September 10, 2018

Fixed

  • Bug with options containing mixed symbol/string keys (and how they merge with the parsed meta options)

0.4.3

September 10, 2018

Added

  • Pass through flag to indicate to upstream middleware/app that Grover has interacted with the environment

0.4.2

September 9, 2018

Fixed

  • Problems parsing meta tag content (with inline html templates). Use Nokogiri instead of basic regexes
  • Bug where boolean/numeric type options were not passed through to PDF processor correctly (type cast)

0.4.1

September 8, 2018

Added

  • Ability to pass through options via meta tags (for use in middleware requests)

Fixed

  • Issue with pdf_reader on TravisCI parsing the headers/footers incorrectly (font size)

0.3.1

August 25, 2018

Added

  • Ability to configure media emulation
  • pdf_reader gem to better parse/test the output from Puppeteer
  • Instructions in README about issues with header/footer template and display of URL

Removed

  • activesupport dependency in favour of implementing strip_heredoc in utils class

0.3.0

August 24, 2018

Added

  • Case insensitive matching for PDF file extension in middleware
  • Spec tests for middleware and HTML preprocessor
  • Use rubocop-rspec to lint spec tests
  • Normalisation of PDF conversion options (so they match the expected format/case of Puppeteer)

Fixed

  • Lint issues raised by rubocop-rpsec

Changed

  • Moved PDF processor into Grover class to reduce unnecessary exposure of inner workings

0.2.2

August 23, 2018

Fixed

  • Bug introduced in middleware refactor

0.2.1

August 23, 2018

Added

  • HTML preprocessor to fix relative paths in source HTML

Fixed

  • Processor support for inline HTML (render via the URI rather than trying to setContent)

Changed

  • Minor refactor of middleware for readability

0.2.0

August 23, 2018

Added

  • Rack middleware for rendering upstream HTML as PDF (based heavily on PDFKit middleware)
  • Allow PDF processor to handle inline HTML

Fixed

  • Use Dir.pwd instead of file path for default root_path so that when loaded as a gem the path is the current pwd

Changed

  • Minor location refactor of Grover interface

0.1.2

August 22, 2018

Added

  • Allow root_path for Puppeteer to be passed through Grover initialiser

0.1.1

August 22, 2018

Fixed

  • Launch browser with sandbox disabled for CI tests

0.1.0

August 22, 2018

Added

  • First pass at PDF processor
  • Console script for expediting development

0.0.1

August 22, 2018

Added

  • Initial gem framework