Releases: Shopify/screenshot-glb
Fixed files not deploying to NPM
Fix PNG
Stability improvements
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
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
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
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
Fixed an issue where image quality was not being set
Version 1.3.1
- Fixes bug where screenshot is taken before page is loaded
- Adds debug argument to disable headless chrome
Version 1.3.0
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
andimage_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 ofpng
filetype this will default to transparent. Forjpg
filetypes this will default to white.
Version 1.2.3
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.