Skip to content

Releases: Shopify/screenshot-glb

Fixed files not deploying to NPM

20 May 16:29
Compare
Choose a tag to compare

This release reverted a PR which was causing Typescript to build inconsistently. 1.8.3 and 1.8.4 were not distributing files to NPM correctly.

Fix PNG

20 May 15:01
Compare
Choose a tag to compare

This release fixes png creation

Stability improvements

18 May 15:26
Compare
Choose a tag to compare

This release added some flags that make screenshot-glb work better on cloud infrastructure.

Specifically the following flags:

'--no-sandbox',
'--disable-gpu',
'--disable-dev-shm-usage',
'--disable-setuid-sandbox',
'--no-zygote',

model_viewer_attributes

26 Jan 19:25
c789a16
Compare
Choose a tag to compare

This release adds the ability to pass a URL Search string through the model_viewer_attributes argument.

Keys and values of the URL search string will be passed to <model-viewer> to modify the output render.

Updates to 1.9.1 ModelViewer

24 Nov 16:49
Compare
Choose a tag to compare

This minor version increase updates model-viewer to version 1.9.1 which brings a number of fixes and improvements including driver issues with Chrome and losing glContext objects causing objects to sometimes be rendered without textures/black.

Upgraded <model-viewer> to 1.7.1

19 May 18:42
b72f1b5
Compare
Choose a tag to compare

This release upgrades the model-viewer component to 1.7.1 and resolves a race condition issue when running the tool on slower CPU machines.

v1.3.3: Merge pull request #25 from Shopify/fix-quality-flag

26 Feb 20:43
7bd14d7
Compare
Choose a tag to compare
Fixed an issue where image quality was not being set

Version 1.3.1

14 Oct 14:01
Compare
Choose a tag to compare
  • Fixes bug where screenshot is taken before page is loaded
  • Adds debug argument to disable headless chrome

Version 1.3.0

05 Oct 19:27
Compare
Choose a tag to compare

This release updates model viewer to 1.2.1 as well as bumps the puppeteer and node packages.

  • Validations have been added to the output and image_format arguments. If they are conflicting it will throw an error. If only one is provided it will assign the other to match.
  • A new argument has been added named color. A color argument can now be provided to define the background color of the image. For outputs of png filetype this will default to transparent. For jpg filetypes this will default to white.

Version 1.2.3

07 May 15:50
Compare
Choose a tag to compare

This release includes 1 bug fix where we were exiting with zero status code even when we failed to capture the screenshot. It also adds additional logging for failed scenarios.

#20