CLI Changelog
- Allow .md and .htm file extensions
Bug Fixes
Logs
- Fix a crash on logs when a specific deprecation warning is shown
Bug Fixes
Export/Pull
- Extend wait time to 2 minutes to lessen "Pull Failed" issue
Bug Fixes
GraphiQL
- Fix missing error/warning linting in editor
Features
Sync
- Show which file is failing if a sync error occurs
Misc
- Update dependencies
Bug Fixes
Pull
- Improve pull support on Windows for page redirects with special characters
Misc
- Improve log loading performance
- Remove unused code
- Update dependencies and remove unused dependencies
Features
Pull
- You can now pull modules that are placed in the modules folder alongside marketplace_builder To do this pass in the name of the module to the pull command, for example siteglide-cli pull production --module my_great_module
Modules
- A new command that will display a list of modules installed on the site. These names can then be used in the pull command to download the content of those modules. Example: siteglide-cli modules production
Bug Fixes
Migrate
- Ignore BannerProcess.aspx pages when migration from Adobe BC
Bug Fixes
Sync
- Fix Studio sass not compiling when either custom.scss or custom_variables.scss was synced
Bug Fixes
Migrate
- Fix CSS not converting to asset urls for Muse sites
- Fix muse data-hidpi-src not migrating correctly
Bug Fixes
Migrate
- Ignore converting BC search forms when migrating
Bug Fixes
Migrate
- Fix migrate command failing to run
Bug Fixes
Deploy
- Fix a sites homepage not updating during a deploy
Misc
- Improved messaging of some logs
Features
Export
- Allow export of .heic images
Sync
- Add the following file types to the sync watcher:
- heic
- key
- mov
- mp3
- numbers
- ttf
- pages
- pptx
Features
Migrate
- The size of your assets and codebase will now be displayed when the migrate command has finished
Fixes
Migrate
- Ignore OrderRetrieve pages from Business Catalyst
Fixes Deploy
- Block deploy and show an error if assets are over 5GB
Migrate
- Improve compatibility with images using Fill Proportional within Business Catalyst websites
Fixes Migrate
- Improved compatibility with Siteglide forms and CLI Migrated pages
Fixes Migrate
- Fixed a bug where migrate would fail if a site had no assets
- Fixed a bug where migrate would fail if an asset did not have a valid link/href/src
Misc
- Improved error messages throughout
Features Migrate
- Full Adobe Muse Support: When migrating Adobe Muse sites, CLI migrate will not correctly download all assets and configuration files. Please append the flag --muse to your migrate command when migrating a Muse site.
Fixes Migrate
- Add support for finding images within a data-orig-src attribute. These are commonly used with Muse websites
- Improved the "Something went wrong" error during form conversionFixes
Fixes Migrate
- Fix ModuleStyleSheet.css missing from migrated Business Catalyst sites
Fixes Migrate
- Fix migrate command not running
GUI
- Fix open command not working
- Fix open command opening browser before GraphiQL was ready
Misc GraphQL
- Removed the deprecated graphql command, please use gui instead
GraphQL - Removed the deprecated graphql command, please use `gui` instead
Fixes
Deploy
- Fix for deploying with images reporting an internal server error
Fixes
Deploy
- Fix deploy potentially not working correctly
Logs
- Fix filter flag potentially not working correctly
Fixes Sync
- Improvement to fix for syncing assets after sync had been running for more than 1 hour
- Improved sync messaging
Fixes Add
- The Add command will now detect if you are trying to run the it within your computers home folder and stop you continuing
Sync
- On macOS, sync will no longer report errors about .DS_Store files
- Fixed an issue trying to sync assets after sync had been running for more than 1 hour General
- Improved error messaging
Fixes
Migrate
- Improve image compression process
- Fix deploy too large error when image compression fails
Features
List
- A new command of siteglide-cli list which will show an output the current environments setup for the site. These will display in the format of - [environment name] [url]
Migrate
- New flag of -m or --max-recursive-depth that will allow you to define how many html links deep the scraper should follow. As an example: - Your homepage links to page /B - Page /B links to page /C Setting -m 1 will only download the homepage and page /B. Page /C will not be downloaded as it is more than 1 link deep away from the entry point of the migration. Any assets of the pages are downloaded as normal.
- New flag of -i or --ignore to ignore certain URLs. This is a string that gets passed into a if(currentURL.includes(ignore)) function. For example if you do not want your blog to be migrated and the URL of your blog posts are site.com/post/post-name then you can pass in /post/ for them to be ignored. These can be stacked with multiple ignores, for example to ignore both your about and contact page you would do siteglide-cli migrate <env> --url <url> -i /about -i /contact.
Bug Fixes
Migrate
- Fix migrate not completing on Windows due to invalid characters in folder paths and file names
Global
- Fixed the progress spinner icon missing in certain environments
Features
Migrate
- Images within a data-src element are now found, migrated and the URL converted. For example the following image: <img data-src="/img/image.jpg" /> would be correctly migrated to: <img data-src="{{ 'img/image.jpg' | asset_url}}" />
Bug Fixes
Sync
- Assets with an uppercase file extension can now be synced correctly
Migrate
- Improved support for Adobe Muse sites
- Asset file name casing is preserved instead of being automatically converted to lowercase
Misc
- Show Changelog in update message
- Updated minimum NodeJS version to 12
Bug Fixes
Sync
- Fix syncing assets
Deploy
- Fix deploying assets
General
- Fix incorrect message within update prompt
Bug Fixes
Sync
- Temporarily revert to the non-direct to S3 version
Features
Sync
- Syncing direct to S3 has now become the default. This removed the -d flag as it is no longer needed
Features
Sync
- New flag of -l on sync for live reload functionality. When you save an item within your IDE, your browser will automatically reload to show you the changes. Please make sure you have the relevant browser extension installed for this to work
Export
- New flag of -a for asset export only. This will export code based assets within the sites /assets folder, but not the sites codebase (pages, headers, footers etc). You can mix this with -w to download only assets and include files like images, video etc
Bug Fixes
Deploy
- Fixed a misleading error message if a deploy failed with a 5xx error
Bug Fixes
Migrate
- Fixed a bug that caused some Javascript files to have the contents `undefined` after being migrated
Features
Pull
- A new flag for ignoring assets that Pull would usually download such as JS, CSS and JSON files. The default is that Pull will download developer assets, but the new -i flag will ignore that folder completely. This is useful if you want to pull the updates to pages, but know that no developer files such as CSS or JS have changed
Features
Liquid Evaluator - Alongside our GraphiQL editor, we now have a new Liquid Evaluator tool. This will let you quickly test Liquid from the CLI, without having to create and save a page in Siteglide Admin. To use this new tool, we have moved it and GraphiQL to siteglide-cli gui <env> command. The siteglide-cli graphql <env> command will continue to work, but is now deprecated and will be removed in a future update
Sync
- Sync now watches for and syncs .map files which are commonly used alongside minified CSS or JS files.
Export
- Export has a new optional flag of --csv, this will export the data files as a zip of multiple CSV files instead of JSON.
Migrate:
- Migrate will now no longer automatically deploy the site when it has finished. This gives you time to remove and folders/pages that you may not want to be migrated. You can then use the siteglide-cli deploy <env> -w command as normal to deploy the site. You can use automatic deploy within a migration by including the -a flag
Bug Fixes
Deploy
- Fixed an issue where the homepage would not update properly when the site is deployed
Pull
- Pull will now automatically stop and exit if it fails
Migrate
- Fixed an issue where migrate would not run under certain environments
- Fixed an issue where after a migration the sites homepage would not save correctly in Siteglide Admin
Bug Fixes
Fixed a bug when running the add command with sites on the Sydney Datacenter
Bug Fixes
Fixed a bug where the add command would not correctly write the configuration file to disk. In previous versions this would case a “permission or site locked” error. To fix any sites with this issue, simply update and then re-run the add command for that site.
Features
Pull now also downloads the following file types:
- Less
- txt
- html
- svg
- map
- json
- htm
Bug Fixes
General
- Improved logging throughout if a URL is invalid
- CLI will let you know of an update straight away, not after you have finished running your command
Migrate:
- Ignore Literature retrieve pages for Business Catalyst Sites
Bug Fixes
General
- Fix instructions within update notifier
Bug Fixes
Pull/Export
- Fix warnings related to modules folder for some instances
Bug Fixes
Migrate
- Fix “Last edited” date in Admin for pages that have been migrated via CLI
- Improve performance by updating the core page conversion library
- Fixed incorrect download of some Business Catalyst pages
Bug Fixes
Migrate
- Allow .aspx pages, fixes pagination within Business Catalyst WebApps
- Slow down the concurrency of downloads to improve stability
- Fix “type error” log that sometimes appeared
- Added a user agent to help with any potential site blocks
- Fixed "Undefined error" that sometimes appeared
Deploy
- Fixed error logging when a deploy fails because of invalid syntax
Misc
GraphQL
- Update dependencies
Features
Pull/Export/Sync/Deploy
- Support for Modules folder
Bug Fixes
Migrate
- Fix migrated forms not working correctly
Bug Fixes
Migrate
- Fixed an out of memory error when trying to migrate large sites
Deploy
- Improved error messaging if the codebase of a site is larger than the allowed limit
Features
Migrate
- Add a certification command to migration
Help
- The --help flag on all commands will now show the correct usage and a brief description of the command
Bug Fixes
Migrate
- While downloading a site, the CLI will now ignore any files that return a response header outside of the 2xx range.
- Links to asset files that had the word assets within the URL will now be linked correctly
- Home page will be set visually within Siteglide Admin
- Fix form detection/conversion for certain sites
- Improved logging during migration
- Upgraded core packages for image compression
Features
Migrate
- A brand new tool to migrate your existing websites from anywhere on the web. After adding your instance simply run siteglide-cli migrate <env> --url <existing site>. For more information see here
Deploy
- Deploy to S3: When deploying assets using the -w flag, assets will now get directly sent to S3, improving the performance of the deploy command. This also means that your assets can be up to 5gb in size, up from the existing 50mb limit.
Bug Fixes
Sync
- The “Enabled Sync” message has been updated to be clearer
Pull
- Fixed a warning related to modules that sometimes was shown
- Improved speed and reliability of assets
Deploy
- The deploying logs have been updated to be clearer
Misc
- Support for upcoming version of NodeJS
Features
Sync
- Supports syncing of video files with extensions of .mp4, .ogg and .webm
Bug Fixes
Sync
- Improve error messaging for files that are not allowed
Misc
- Support for upcoming v14 of NodeJS
Bug Fixes
Pull
- Fix certain files not pulling correctly
Export
- Fix certain files not exporting correctly
- Improve error messaging
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 -w that acts the same as --with-assets
Init
- Improved CLI Init download method
Bug Fixes
- Export - Excludes some automatically generated Siteglide files from export
Features
- Export - A new optional flag of --with-assets that will allow export to download non-developer assets (such as: pdfs, images, videos etc). Note: This is currently limited to sites with less than 1,000 total assets. A future update will remove this limit
Features
- 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.
Features
- Pull will find and download and Sass (.scss, .sass) and LESS (.less) files
Bug Fixes
- Fix a bug that caused unknown command error on new installs of CLI.
Features
- GraphiQL support! Now with the siteglide-cli graphql <env> command
- Logs support! Now with the siteglide-cli logs <env> command
- Version command has been moved to -v and not -V to better align with other tools
Bug Fixes
- Better error handling when no API Key has been generated in Siteglide Admin Portal (instead of just silently failing)
Misc
- Minimum version of NodeJS 10 now (up from NodeJS 8)
Misc
- Update dependencies
Features
- Error reporting within sync command for incorrect liquid
- Allow syncing of zip files
Misc
- Up to 4x increase in syncing speed
- Initial release