Releases: Siteglide/siteglide-cli
Releases · Siteglide/siteglide-cli
1.5.0
Features
GraphiQL
- Add “Explorer”! This new functionality will allow you to explore and build your Graph Queries using a simple dropdown and checkbox method
- Add an
—open(shorthand:-o) flag that will automatically open a window to the GraphiQL editor in your default web browser
Sync
- Sync delete: If you have sync running and delete a file locally on your computer, it will also remove that file from your website.
- Sync Direct to S3: Add an optional flag of
--direct-assets-upload(shorthand-d) that syncs asset files directly from your machine to your sites Asset URL which improves speed of syncing. This will become default in the future
Export
- Remove the limit when downloading assets via
export —with-assets
Logs
- You can now filter the type of logs you would like to see with the flag
—filter(shorthand:-f). This is useful if you would only like to see error message from your liquid logs - More context data will now log under each line showing information such as the path the error occurred on, the users email address if they were logged in and the Liquid partial the error originated from.
- Add a
—quiet(shorthand:-q) flag which will suppress the above extra context data
Bug Fixes
Sync
- When using a pre-processor (e.g. Sass), there were cases where the CLI would sync the outputted CSS file before it had finished being compiled, resulting in an empty CSS file on your site. The Sync command will now wait for the compiled file to finish being written to your local disk before attempting to sync it.
Pull/Export
- Pull/Export: Improved downloading of code files to improve reliability and also speed
- Export: Allow shorthand flag of
-wthat acts the same as—with-assets
Init
- Improved CLI Init download method
Export Assets
Adds a flag of --with-assets to export so that you can download images/videos/pdfs etc.
Deploy and Export
Adds the following functionality:
Deploy - If you have made a lot of changes in your codebase, then you can use deploy to re-send all files to your site at once.
Export - Export is very similar to Pull, but it will also grab all data.
https://siteglide.support/en/articles/3499853-introducing-siteglide-cli
Allow Sass and LESS
CLI Pull will down find and download and Sass (.scss, .sass) and LESS (.less) files
Unknown Command Fix
Fix a bug that caused unknown command error on new installs of CLI.
GraphiQL and Logs
- GraphiQL support! Now with the
siteglide-cli graphql <env> command - Logs support! Now with the
siteglide-cli logs <env> command - Better error handling when no API Key has been generated in Siteglide Admin Portal (instead of just silently failing)
- Version command has been moved to
-vand not-Vto better align with everything else - Minimum version of NodeJS 10 now (up from NodeJS 8)
Fix Security Vulnerability
Update Lodash nested package
Errors report and performance!
Init command
Allow the creation of the default folder structure using the siteglide-cli init command
Security Fix and watcher updates
- Small security fix for Axios dependency
- Allow watching for Sass and LESS files