- Init success message now outputs correct authType (#461)
- Moving hubspot-cli-tests repo into hubspot-cli repo (#466)
- Adding initial support for project deploys (#454)
- Ignore package-lock.json to simplify custom package function uploads (#477)
- Added endpoint and method to function context to match production context (#478)
- Added badges for official release and current version (#480)
- Implement new approach for custom object schemas behind a flag (#475)
- Add error messaging for if a file fails to download (#481)
- Alert user of Theme Preview path after they’ve updated a file within a theme (#483)
- Added validation error for non-lowercased authType values (#482)
- Fixed prettier scripts on Windows (#485)
- Improved error messaging when running hs auth with no config (#486)
- Increased accepted body size for serverless dev runtime POSTs (#487)
- Allow .EOT files (#484)
- Fix typos (#489)
- Change console error message to reflect correct property “defaultAccount” to “defaultPortal” (#488)
- Fix typo in check (#492)
- Upload .JSON files last (#479)
- Clarify the purpose of 123 in the README (#496)
- Bump the app deploy timeout since the build is synchronous (#493)
- Bump lodash from 4.17.20 to 4.17.21 (#498)
- Add marketplace asset validation (#449)
- Add ability to retrieve and tail app function logs (#490)
- Updated endpoint for deploying serverless functions (#494)
- Provide more context when an app deploy fails (#501)
- resolves #502 by providing better error messaging. (#503)
- Fail jasmine ontest fail (#505)
- add module icon theme validator (#506)
- Initial README (#500)
- Move wiki back into the repo (#508)
- Adding module count, module label, and theme screenshot marketplace validators (#504)
- Add undocumented commands for prototyping apps
- Add
.graphql
as an allowed extension (#470) - Improve output when using the
hs create
command to create a project (#457) - Improve handling of
.env.template
when creating a project usinghs create
(#458) - Add messaging that outputs URL to personal access key screen (#465)
- Fixed issue with oauth flow not working (#460)
- Updated help text for hs logs (#448)
- Updated watch text to be more explicit about what it does (#446)
- Added endpoint for VSCode usage tracking (#443)
- International characters are handled in remote HS paths (#442)
- Misc local serverless testing bugfixes (#435 #436 #437 #438 #439 #440 #441)
- Webpack autoupload plugin is now compatible with webpack 5 (#434)
- Fixed bug with uploading files to root (#433)
- Adjust
hs create
so that the betaapi-sample
asset type works. (#431)
- Fix runtime issue due to missing dependencies. (#428)
The HubSpot CMS CLI is now the HubSpot CLI!
- Bump minimum Node.js version to 10.x. (#427)
- Rename
@hubspot/cms-cli
to@hubspot/cli
and@hubspot/cms-lib
to@hubspot/cli-lib
. - New command: Add beta
hs functions test
command to make it easier to develop serverless API endpoints locally. (#389) - Add ability to create API sample apps to
hs create
. (#421) - Fix issue with
undefined
lines inhs logs
output. (#419) - Endpoints for serverless deploys have been updated and polling for status added. (#411)
- Log output for serverless deploy is now displayed for errors and success. (#417)
- Notify of new
@hubspot/cli
package. (#420) - Add new blog template types to
hs create template
flow. (#414) - Fix module label when running
hs create module
. (#413) - Updated hs functions deploy command to use the new API endpoints and poll for status
- To align with preferred terminology, we replaced instances of the word
portal
with the wordaccount
. This was done in a non-breaking way, and any flag that currently acceptsaccount
will still acceptportal
. The one exception to this migration is thehubspot.config.yml
file. We excluded this from the migration since it could potentially break backwards compatibility. Theportals
,portal
, anddefaultPortal
nomenclature will remain forhubspot.config.yml
(HubSpot#394 and HubSpot#397) - Fixed an issue preventing serverless function log tailing from displaying properly (HubSpot#379)
- Fixed a bug where large HubDB tables would not download correctly (HubSpot#384)
- Fixed a bug where fetching filemanager files failed (HubSpot#387)
- Fixed to prevent fetching filemanager files to
.
from failing (HubSpot#392) - Fixed a bug that prevented accounts using APIKEY auth from fetching filemanager files (HubSpot#390)
- Adjust output of Webpack Auto Upload Plugin to include account ID (HubSpot#383)
- Added command to build and deploy custom
package.json
dependencies (HubSpot#377)
- New Command:
hs completion
. Generate abash
orzsh
completion script and be able to install it for command completion capabilities (HubSpot#342) - New Command:
hs open
. Open a shortcut specific to your HubSpot account. Tryhs open --list
to see all available shortcuts (HubSpot#344) - New Command:
hs functions list
. Output information about currently deployed serverless functions (HubSpot#352) - New Command:
hs list
. List contents of a remote path (HubSpot#354) - New command:
hs mv
. Move a remote file or folder (HubSpot#363) - Fully migrated to
yargs
fromcommander
, removed oldcommander
code (HubSpot#320) - Prompt for values when adding or updating a secret (HubSpot#345)
- Fix to prevent
hs fetch
failures from writing to disk (HubSpot#339) - Support loading the
hubspot.config.yml
file relative to a specified directory (HubSpot#362) hs logs
now has--limit=<num>
option to limit the amount of logs displayed in output (HubSpot#323)- Fixed bug where certain hubdb command used the wrong endpoint
- Initial version for custom object CLI functionality. Check out CRM Custom Objects and type
hs custom-object
to get started - Improve scope error handling and messaging (#257)
- Make using environment variable based config explicit when running commands
--use-env
(#257) - Fix for
hs function create
(#329) - Circular dependency fixes
hs watch
no longer does an initial upload when the command first runs. You can opt into the old behavior by passing the--enable-initial=true
flag. (#273)- Changed underlying option parser from commander.js to yargs (#308)
- Added
hs create vue-app
for creating boilerplate vue app via CLI (#286)
- Expand
hs create template
to support more options (#253) - Allow create of functions in the current directory (#256)
- Add
hs secrets update
(#258) - Add usage tracking for
hs secrets
subcommands (#276) - Begin process of migrating from
commander.js
toyargs
- Fix default
host_template_types
inhs create module
(#274) - Fix handling of
--debug
option when running commands with subcommands (#284)
- Fix to allow
hs filemanager fetch
to fetch all files - Release
hs hubdb
commands into BETA and add them to CLI documentation hs hubdb
now supports referencing tables by name or ID- Add
hs create webpack-serverless
- Improve how CWD is determined when running
hs watch
- Add
hs filemanager fetch
- Fix for
hs auth personalaccesskey
- Add
hs create react-app
- Add
hs hubdb clear
andhs hubdb delete
- Add
madge
to check for circular dependencies
- Fix issues with
hs init
andhs auth
caused by hiding--qa
option
- Option
--qa
is hidden from help text
- Prompt for name only if not set when running hs auth and hs init
- Constants to replace PROD and QA environment strings and helper methods for getting environment specific data
- Addition of
--qa
flag for creating a portal for use with QA environment when runninghs init
orhs auth
- Improved logging for serverless functions, adding
--compact
flag for less output
- Fix uploading a folder of files to the file manager root
- Add utility functions to manage HubDB tables in other scripts
- Improve
hs fetch
help and parsing of arguments - Improve tracking of
hs create
- Fix uploading a file to file manager root
- Adjust messaging to make it clear where files are uploaded
- Address
minimist
security advisory - Add
hs create function
- Improve help for
hs create
- Improve error handling in
hs init
flow - Fix
--debug
flag
- Fix issues with the config file in git security warning
- Document
hs secrets
andhs logs
- Improve
hs auth
help
- Improve feedback when subcommand arguments are missing
- Improve usage tracking when authenticating the CLI with a portal
- Switch back to using
$CWD
as the default location for config file - Improve when security warning about risk of commit a config file to git
- Add support for using environment variables for configuration
- Fix fetching of files in
@hubspot
- Add
hs secrets list
command - Add
logger.info
andlogger.success
- Add ability to tail logs
- Add
portalId
to refresh
- Improve error messaging when a personal access key is invalid
- Warn when there is a risk of committing the config file to a git repos
- Guard against empty paths when fetching v1 modules
- Improve usage tracking
- Remove sortable property from fields in the skeleton module
- Fix refreshing of access tokens when using personal access key
- Remove project BETA designation
- Add default config file names to ignore rules to prevent accidental uploads
- Add ability to create global partials to
hs create
- Renamed user tokens to personal access keys
- Updated
hs init
to use personal access keys - Added support for
hs auth personalaccesskey
- Added
--notify
support tohs watch
- Updated
hs watch --remove
to also remove folders - Track major node version
- Fixed issue with duplicated folders when uploading to the Design Manager
- Added support for authentication using a user token
- Added
hs create website-theme
to support creating a new project using the HubSpot CMS Theme Boilerplate - Improved error messaging
- Improved reliability when uploading a folder of files through making sure that templates and css/js files are uploaded after modules and other files
- Added better error messaging when the config file is malformed or unable to be read
- Added modes to specify if read/write commands should use either the
draft
orpublish
mode - Added the
--mode
option for use with commandsupload
,watch
, andfetch
- Added the
defaultMode
field for use inhubspot.config.yml
files - Set the fallback mode to
publish
- Removed the
--portalId
option. The--portal
option accepts both portal ids and config names - Consolidated uploading of files and folders into the
upload
command. Thesync
command is no longer supported, useupload
instead - Limit number of concurrent requests when uploading and downloading files
- Added a
HubSpotAutoUploadPlugin
to make using Webpack straightforward
- Adjust
create
command and add ability to create templates - Improve fetching of files
- Refine built-in help
- Fix path handling in older versions of
node
- Fix OAuth2 authentication flow when the config file is empty
- Better handle paths when running
sync
andupload
sub-commands
- Fix issues with using the tools on Windows when uploading files
- Add
fetch
command to download assets from HubSpot - Add Apache 2.0 license
- Add ability to name portals in config and set a default portal
Initial version