From version 2.6.0, the sections in this file adhere to the keep a changelog specification.
- #2735: Remove theme directory confirmation during tests and make confirmation dialogue respect
SHOPIFY_CLI_TTY
(from cli#1369) - #2737: Do not inject hot-reload code into web-pixels-manager sandbox (from cli#1568)
- #2735: Pass development theme from CLI 3’s to CLI 2’s local storage (from cli#1410)
- #2721: Do not
replace_asset_urls
in font bodies - #2729: Do not inject hot-reload code into web-pixels-manager sandbox (from cli#1370)
- #2731: The CLI should not report IO messages when the
--json
flag is passed
- #2724: Introduce hidden
--overwrite-json
flag - #2729: Introduce hidden
--generate_tmp_theme
flag (from cli#1264)
- #2715: Update theme-check to 1.14.0 (introduce section groups support)
- #2714: Update theme-check to 1.13.0 (introduce section groups support)
- #2706: Delete checksum after file deletion
- #2681: Enable Theme Access passwords for theme serve
- #2701: Update theme-check to 1.12.1 (introduce intelligent code completion)
- #2694: Add sunset warnings
- #2680: Validate on
shopify theme share/pull/push/serve
if users are running the command in a theme/empty directory
- #2683: Fix timeout issue with the
shopify theme push
command and the--json
flag - #2688: Fix
shopify theme push
to report pushes with errors
- #2676: Introduce shorthand
-e
for--theme-editor-sync
inshopify theme serve
- #2668: Introduce
--only/--ignore
in theshopify theme serve
help message - #2667: Fix for "X zip is required for packaging a theme" on Windows
- #2664: Enable Theme Kit Access passwords
- #2646: Demo themes shouldn't appear in the
shopify theme pull/push/list/open
commands - #2650: The
shopify theme push
/shopify theme serve
commands no longer freeze in some scenarios
- #2648: Do not warn users when the CLI 2.x is running as a subprocess
- #2645: Fix issue that prevents the execution of
shopify extension serve
in some scenarios
- #2636: Show store when the CLI prompts users to select a theme
- #2600: Add support to the
SIGTERM
signal - #2602: Add
--only/--ignore
support to thetheme serve
command
- #2607: Fix proxy to redirect to host and port set by cli
- #2572: Breaking Update theme-check to 1.11.0 (dropped support for ruby 2.6)
- #2528: Switch from using absolute file paths to relative paths for ignore filter
- #2520: Add the option to ignore new version warnings by passing the
SHOPIFY_CLI_RUN_AS_SUBPROCESS
environment variable - #2440: Warn when using CLI 2.0 in a CLI 3.0 project
- #2512: Add the
-t/--theme
parameter to theshopify theme serve -h
message - #2505: Show warning messages when
shopify theme push/pull
has errors
- #2453: Fix #2382: Ensure we wait 24 hours to show update message again
- #2463: Fix for "Keep the remote version" deletes files on new development theme
- #2405: Fix
theme serve
to trigger page refresh when a file is deleted - #2489: Fix
theme serve
to hot reload many occurrences of a stylesheet
- #2496: Accept storefront renderer token from ENV variable
- #2458: Fix shop URL in unauthorized error message
- #2459: Fix
.json
file ignore issues withshopify theme push
- #2460: Fix job retries for .json theme file dependencies and support wider range of asset API errors
- #2368: Add performance enhancements to the
theme serve
andtheme push
commands - #2437: Add support to the
warnings
field in the assets API - #2446: Show a friendly message when developers use a browser without SSE support
- #2418: Improve the help message of the
theme open -e/--editor
flag
- #2444: Expose the
-s
option in the help text oflogin
,switch
etc.
- #2336: Add
--theme/-t
flag support to thetheme serve
command - #2325: Add
-e/--editor
flag to open theme editor in thetheme open
command - #2330: Add remote file deleted warning flow to
theme serve --theme-editor-sync
- #2352: Provide better DX when dealing with empty theme selection
- #2347: Fix #2346 Heroku CLI installation for Apple silicon
- #2422: Add Shopify branding and styling to post-authentication browser page
- #2262: Add
capabilities
permissions to checkout extensions config - #2292: Add support for App Bridge create/details URLs for scripts
- #2287: Fix
Encoding::UndefinedConversionError
ontheme serve
andtheme pull
- #2310: Fix live-reload to be resilient and no longer raise an error when a locale file is invalid
- #2297: Only show update message when the new version is higher
- #2270: Use ignore filter regex in watcher class
- #2299: Improve the unauthorized API errors when doing theme development
- #2279: Fix logout when there are theme permission issues
- #2285: Fix extension loading for extension connect
- #2284: Fix version check for Windows
- #2274: Fix broken
shopify extension register
andshopify extension push
- #2189: Retrieve latest CLI version in the background
- #2263: Add
POS UI Extension
to support third party developers to extend POS smart grid functionality using native retail components.
- #2272: Changed interactive apps list scope for extension create|register|connect commands
- #2246: Fix callback urls for app serve
- #2237: Fix Homebrew Wrapper
- #2230: Show an error without ngrok account
- #2235: Update shopify-extensions to v0.3.0 and fix issues with template choosing and missing dependencies
- #2226: Fix liquid file size validation to disclude locales directory
- #2188: Update URLs by default on serve and add --no-update flag to skip it
- #2203: Use javy version 0.3.0
- #2162: Improve encoding error handling for Checkout Extension localization
- #2187: Fix app serve after rails update
- #2191: Directories with the
.json
extension should not be handled as JSON files - #2018: Run theme-check as a code dependency, not a pseudo-CLI invocation
- #2211: Fix the
theme open
command to open the theme in the browser - #2183: Improve error message when suspended users run
theme serve
- #2219: Fix issues when creating Rails apps after the release of
shopify_app
v19
- #2121: Fix the hot-reload to work when the section name is not equal to the type
- #2174: Add optional 2-way sync between the CLI (
theme serve
) and the Theme Editor
- #1934: Block directories in theme assets
- #1880: Recognize attempts to pass a store name and suggest correction
- #2086: Improve check of dependency versions
- #2149: Fix
ThemeAdminAPI
not to handle asset errors - #2122: Fix
--only
/--ignore
flags parser to support multiple occurrences without quotes - #2146: Prevent duplicate locales for Checkout extension localization
- #2126: Use javy version 0.2.1
- #2103: Improve
shopify theme package
to include therelease-notes.md
file
- #2112: Fix intermittent error ("can't add a new key into hash during iteration") in the
theme push
command - #2088: Update theme-check to 1.10.1
- #2130: Fix Homebrew installation.
- #2133: Fix ignore file handling in DevServer::Watcher.
- #2092: Fix
RootHelper
parse logic to support options with an equal (e.g.:option=value
) - #2089: Use javy version 0.2.0
- #2114: Fix
theme
command error messaging withThemeAdminAPI
wrapper
- #2102: Remove AssemblyScript as a supported script language.
- #1866: Enforce git dependency
- #2009: Add localization support for Checkout Extensions
- #2060: Improve CLI error messages for token-based auth (scripts)
- #2076: Release Wasm Script Projects
- #2051: Update
theme serve
to acceptroot
argument - #2025: Improve
theme pull
/push
help messages to indicate multiple--only
/--ignore
flags are allowed.
- #2030: Fix Theme::Syncer handling of file deletions in
download_file!
- #2071: Fix
theme pull
error message when dev theme doesn't exist - #2066: Improve
--only
/--ignore
parameters on Themepull
/push
commands to work without quotes - #2078: Fix errors on section rendering caused by CORS issues
- #2047: Fix the Homebrew installation
- #2019: Provide helpful link when nokogiri fails to load
- #2055: Remove unneeded Node requirements
- #2020: Fix
theme pull
so that correct dev theme is used with-d
option
- #1973: Fix
theme serve
to preview generated files (*.css.liquid
) - #2034: Fix
theme serve
to accept parameters with multiple values - #2033: Pin Homebrew Ruby to 3.0
- #2032: Runtime error checking the Node version if Node is not present in the environment.
- #2005: Fix PHP app serve on Windows environments
- #1998: Add support for Rails 7
- #1945: Check Node and Ruby versions and warn the user if their environment's version might be incompatible with the version the command expects.
- #2011: Adds support for the Spin rewrite
- #2001: Improve Bug Issue Template. Includes autofill of CLI/Ruby/environment information.
- #2004: Template improvements II. Includes autofill of Shell if $SHELL is set.
- #2002: Update
-o
/--only
parameter to allow multiple patterns ontheme push
/theme pull
commands - #2022: Don't warn the user if the Ruby version is in the range 3.0.x.
- #1983: Improve Windows compatibility
- #1928: Ensure script Wasm file sizes don't exceed the limit
- #2006: Fix: More defensive URL generation
- #1985: Revert "Fix CORS (Cross-origin resource sharing) errors (#1952)"
- #1937: Fix
theme pull
to no longer add empty lines on Windows - #1952: Fix CORS (cross-origin resource sharing) errors
- #1965: Revert: Fix partners ability to login to external shops. (#1873)
- #1892: Add
-o
/--only
parameter to filter files ontheme push
/theme pull
commands
- #1922: Respect RUBY_BINDIR from Homebrew for installing gem
- #1906: Fix Ngrok incompatibility with some Apple ARM environments
- #1873: Fix partners ability to login to external shops.
- #1909: Fix
theme serve
on Safari
- #1900: Add
-d
/--development
flag to Shopify theme pull command - #1891: Allow for additional arguments in
shopify push script
on CI. - #1877: Add theme (
-t
/--theme=NAME_OR_ID
) parameter totheme push
/theme pull
commands - #1871: Add a new
--live-reload
parameter to thetheme serve
command
- #1929: Rename
--registration-id
to--extension-id
inshopify extension push
.
- #1879: Disambiguate -s as store option
- #1825: Support passing the connection information through arguments
- #1852: Fix
shopify --help
to includeextension
commands - #1853: Fix javy installation failures from MacOS universal ruby installations
- #1851: Improve
shopify theme push --live
confirmation message to show current live theme - #1850: Fix
shopify extension
commands timeout when organization has too many apps - #1860: Fix
theme serve
hot reload when there are many tabs active
- #1826: Support using
script.config.yml
file for script configuration - #1843: Support using javy on Apple ARM processors
- #1847:
shopify script connect
command.
- #1811: Update theme-check to 1.9.0
- #1831: Ensure correct
ngrok
version is downloaded for Apple M1 - #1823: Indicate git is unavailable; don't error out
- #1807: Fix
--live
parameter, it should not imply--allow-live
in thetheme push
command - #1812: App creation with Rails 7
- #1821: Fix Shopify hosted fonts to load via the local preview URL
- #1830: Fix hot reload when users update many files "simultaneously"
- #1837: Fix
ShopifyCLI::Theme::DevServer::CdnFonts
class to support any font
- #1763: Fix: Tunnel --PORT parameter not working in Node.js app.
- #1769: Fix
theme push --development --json
to output the proper exit code - #1766: Fix
theme serve
failing with the--host
property - #1771: Fix
theme push --development --json
to output errors in the STDERR - #1778: Fix ngrok installation check on Windows
- #1798: Add
--live
option to thetheme pull
and thetheme push
commands - #1788: Improve
theme serve
errors and add logs for successful operations - #1794: Fix bug where hidden subcommands appear in the help menu.
- #1722: Fix
theme serve
failing when the port is already being used - #1751: A bug in the app creation flow that caused the CLI to abort when the form validation failed.
- #1750: Runtime errors in Windows' environments when the
PATHEXT
environment variable is not defined. - #1758: Fix tunnel creation for expired anonymous tunnels
- #1650: Breaking Move app commands under
shopify app
.
- #1714: Fix theme serve not serving assets locally when two URLs are on the same line
- #1729: Update theme-check to 1.8.0
- #1609: Add
--http-bind=HOST
option toshopify theme serve
.
- #1678: Fix migrator's incompatibility with Ruby 2.5.
- #1690: Fix
extension push
command forPRODUCT_SUBSCRIPTION
extensions
- #1678: Change the
@shopify/scripts-checkout-apis-temp
package name to@shopify/scripts-discount-apis
.
- #1664: Remove ruby-locking extension
- #1661: Handle npm list non-zero exit status when pushing scripts
- #1633: Runtime error when the shop passed on login is invalid
- #1625: Fix push bug with post-purchase extensions
- #1542: Add option theme serve --poll to force polling when watching files
- #1635: Command to enable or disable anonymous usage and error reporting.
- #1614: Add ability to set custom ngrok port for all app serve commands.
- #1635: Automatic usage and error reporting configuration has been unified under
analytics.enabled
.
- Enable error-reporting.
- Fix broken installation due to a missing variable in
extconf.rb
- #1608: Fix errors not being reported.
- #1574: Hide LoadError for ${RUBY_MAJOR}/ffi_c.
- #1567: Add ability to set custom port for ngrok tunnel in node serve.
- #1584: Fixed extended help message not showing.
- #1566: Fix bug when running
npm | yarn list
for extension package resolution. - #1524: Add automatic error-reporting.
- #1528: Bump theme-check version to 1.7
- #1566: Fix bug when running
npm | yarn list
for extension package resolution
- #1553: Add support for PHP app projects
- #1386: Update theme-check to 1.2
- #1457: Fix uploading of binary theme files under Windows
- #1480: Fix customers pages not working with
theme serve
- #1479: Add theme push & pull option to ignore files per command v
- 1382: Client side module upload for Scripts
- 1432 New method for determining renderer package name
- #1424: Add
--resourceUrl
flag to extension serve command - #1419: Remove analytics prompt when used in CI
- #1418: Auto configure resource URL for Checkout Extensions
- #1399: Fix error when running
shopify extension serve
in a theme app extension project
- #1357: Update Theme-Check to 1.1
- #1352: Add
shopify extension check
for checking theme app extensions - #1304: Prompt user to run
shopify extension connect
if .env file is missing
- #1305: Fix
Uninitialized constant Net::WriteTimeout
error - #1319: Fix
theme pull
not pulling some files - #1321: Fix error when pulling images with
theme pull
- #1322: Fix error when running
shopify theme language-server --help
- #1324: Fix issue #1308 where a non-English language on Partner Account breaks how CLI determines latest API version.
- #1343: Fix inconsistent use of periods vs ellipsis in messages. This replaces periods with ellipsis.
- #1295: Ignore files at the root of a theme app extension project
- #1296: Fix issue #1294 regarding call to Windows
start
command with URL. - #1298: Fix error in
theme serve
command - #1301: Add
theme init
command
- Adds support or theme development
- Changes to command structure (note that these are breaking changes, see README)
- Checkout the apps and themes sections of the new shopify.dev after Unite 2021 (June 29).
- #1275: Use script.json to specify script metadata
- #1279: Fix bug where a script push still fails after the user answers the force push prompt
- #1288: Fix bug where Scripts SDK was included for projects that don't require it
- #1274: Only print api_key during error if it exists
- #1272: Fix minor bug with extension serve for UI extensions
- #1266: Developer Console release
- #1265: Fix bug where commands hang after an unsuccessful authentication
- #1255: Fix beta flag checks when running
shopify serve
- #1221: Prioritizes returning an HTTPS URL over HTTP from
shopify tunnel status
. - #1223: Running
shopify serve
in an extension project now automatically runsshopify tunnel
. - #1225: Improved handling of "account not found" scenario, plus improvements to related tests and UX messaging
- #1229: Allows Checkout Extensions to specify configuration attributes in their extension.config.yml file.
- #1238: Auto Tunnel Support for Checkout Extension
- #1256: Allow using spaces around the equal sign on .env file.
- Updating internal features in development
- #1201 Determine Argo Renderer Dynamically. This fixes
shopify serve
andshopify push
for extensions.
- #1119: Enable guest serialization for scripts
- Updating internal features in development
- #1109: Abort app generation if name contains disallowed text.
- #1075: Add support for kebab-case flags
- #1049: Add schema versioning support to the script project type
- #1059: Remove the functionality of the
generate
command for node apps, since it will no longer be feasible with the new node library - #1046: Include a vendored copy of Webrick, as it's no longer included in Ruby 3.
- #1041: Remove unnecessary shell call to
spring stop
. We already pass--skip-spring
when creating the app so runningspring stop
would have no effect. - #1034: Abort if a system call fails.
- #965: Remove --no-optional when using npm to create new project
- #958: Split
connect
command into project-specific functionality - #992: Add Theme Kit functionality to CLI
- #917: Ensure analytics for create action includes the same fields as other commands
- Updates to tests, dependencies and internal tooling
- #924: Improve debugging messages on Partner API errors
- Allow any characters in ngrok account names
- Support for new
shopify config analytics
command to enable/disable anonymous usage reporting
- Improvements and new functionality to various internal components
- Fix various minor bugs (check dir before creating Rails project, catch stderr from failed git command)
- Fix a bug where usernames with spaces caused issues on Windows
- Add native Windows 10 support, including variety of stability fixes.
- Fix a bug in out opt-in metrics
- Fix a bug when running the
connect
command with an account with multiple organizations
- Fix a bug which causes an error in the
populate
andgenerate
commands when prompting for the shop name
- Fix missing shop parameter to AdminAPI.query() call (impacting populate and generate commands)
- Fixed an issue with RVM taking over the shell shim fd when it was not in use
- Release the installer-based version of the CLI
- Rebased to master
- Removed auto-generated files from builds directory
- Rebased to master, to pull in 7+ Pull Requests
- Updates to dependencies to package files (updated Ruby version)
- Updated required Ruby version for the CLI
- Minor fixes for the build / release process
- Initial test release of gem-based CLI