Releases: HubSpot/hubspot-cli
Releases · HubSpot/hubspot-cli
v7.11.2
What's Changed
- Sync from internal - version 7.11.2 by @brandenrodgers in #1574
Full Changelog: 7.11.1...v7.11.2\
Breaking Changes
- None
New Features
- None
Bug Fixes
- Fixed bin file extension issue on Node.js 20.9 by adding .js extension to
hsandhscmsbin files
Fixed issue with the--use-envflag that was causing commands to fail
Improvements and Refactoring
- Bumped @hubspot/local-dev-lib dependency from 4.0.3 to 4.0.4
- Refactored environment variable usage to use constants from @hubspot/local-dev-lib/constants/config instead of hardcoded strings for better maintainability
- Updated git middleware to skip git inclusion checks when using environment config
v7.11.1
What's Changed
- Sync from internal - version 7.11.1 by @brandenrodgers in #1571
Full Changelog: v7.10.0...7.11.1
Breaking Changes
- None - This release maintains backward compatibility with existing workflows and configurations.
New Features
- Added
hs project lintcommand to lint HubSpot projects with ESLint, including automatic dependency installation and configuration setup - Added MCP tool GetBuildStatusTool to retrieve build status and error messages for HubSpot projects
- Added MCP tool GetBuildLogsTool to fetch build logs from Blazar build server
- Improved
hs project createandhs project addUX with loading indicators and enhanced visual feedback - Added account ID display in
hs account listoutput - Automatically set newly authenticated accounts as default when no other accounts are configured.
Bug Fixes
- Fixed update notification to correctly detect globally installed CLI instances
- Fixed debug output for HTTP error causes
- Fixed bug with 2025.1 platform version in
hs project deploy - Fixed legacy add command to use project name correctly
- Fixed error handling in port manager server during
hs project devto prevent crashes from unhandled exceptions - Bug fix for
hs project migratefor projects that use “.” as the “srcDir” - Adding the missing
hs cms module marketplace-validatecommand
Improvements and Refactoring
- Replaced Boxen with React Ink boxes for improved terminal UI rendering in project migrate, fire alarms, auto-update, and project - create/add flows
- Refactored config system to support new config format with migration tooling (
hs config migrate) - Bumped UI Extensions dev server to version 1.0.1
- Updated CMS dev server packages to latest versions
- Bumped Local Dev Library (LDL) to latest version
- Added centered text support in status message UI boxes
- Improved MCP tool handling for absolute current working directory paths
- Enhanced error handling and logging throughout the codebase
- Improved local config file handling in MCP tools
- Bump MCP SDK version to 1.25.0 to remove vulnerability issues
v7.10.0
What's Changed
- Sync from internal - version 7.10.0 by @brandenrodgers in #1568
Full Changelog: v7.9.0...v7.10.0
Breaking Changes
- None - This release maintains backward compatibility with existing workflows and configurations.
New Features
- Add
hs project update-depscommand: New command that operates similarly tohs project install-depsbut runs npm update instead of npm install to update existing dependencies in project components - Add codex to
hs mcp setup: Enhanced MCP setup with codex integration for improved developer experience - Add profile and message support to project upload MCP tool: MCP project upload tool now supports profile selection and custom upload messages for better workflow integration
- Add create-test-account MCP tool: New MCP tool that enables AI assistants to create HubSpot developer test accounts programmatically, supporting both configuration file-based and flag-based account creation with customizable hub tier levels
- Add network request context to debug: Enhanced debugging output includes network request context for better troubleshooting of API interactions
- Allow installation of dev dependencies: Dependency management utilities now support installing dev dependencies with the --save-dev flag
- Update feature highlight in get-started for non-uploaded projects: Improved onboarding experience with better feature highlighting for new users
hs account renamewill now sanitize the new account name
Bug Fixes
- Fix require.resolve() error in CMS theme preview: Resolved ES module compatibility issue that caused ReferenceError: require is not defined when using CMS theme preview with type:module in package.json
- Fix installPackagesInDirectory flag usage: Install flags are now only used when there are specified packages to install, preventing incorrect flag application
- Fix dependency management error messages: Correct error messages are now shown for installDeps vs updateDeps operations, improving user feedback
- Update validateProjectConfig to throw instead of exiting: Improved error handling by throwing errors instead of exiting the process, allowing better error recovery
- Update no features added copy: Improved messaging when no features are added to a project for clearer user communication
Improvements and Refactoring
- Remove references to install-deps: Cleaned up references to deprecated install-deps step from get-started workflow. This is no longer necessary now that local dev will automatically install deps.
- Update
hs test-account createhelp text: Improved help text for test account creation command with clearer instructions - Add annotations to MCP tools: All MCP tools now include annotation metadata (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to help AI assistants better understand tool behavior and make safer, more informed tool selections
v7.9.0
What's Changed
- Sync from internal - version 7.9.0 by @brandenrodgers in #1565
Full Changelog: v7.8.0...v7.9.0
v7.8.0
What's Changed
- Sync from internal - version 7.8.0 by @brandenrodgers in #1561
Full Changelog: v7.7.0...v7.8.0
v7.7.0
What's Changed
- Sync from internal - version 7.7.0 by @brandenrodgers in #1558
Full Changelog: v7.5.4...v7.7.0
v7.5.4
What's Changed
- fix: Fix platform version logs by @joe-yeager in #1482
- Setup hs create asset TS + convert api-sample by @camden11 in #1489
- Port feedback to TS by @brandenrodgers in #1488
- chore: Port lang/en.ts by @joe-yeager in #1493
- Port lint to TS by @brandenrodgers in #1491
- Port more
hs createasset types by @camden11 in #1492 - chore: Port the module commands by @joe-yeager in #1490
- Convert all hs create asset types to ts by @camden11 in #1497
- chore: Port the fetch command to ts by @joe-yeager in #1495
- Update ts patterns for hubdb commands by @brandenrodgers in #1500
- Update ts pattern for secret commands by @brandenrodgers in #1499
- Convert hs create command bucket to TS by @camden11 in #1503
- chore: Convert function ls command to TS by @kemmerle in #1487
- chore: Convert
hs function deployto TS by @kemmerle in #1494 - chore: Convert
hs function serverto TS by @kemmerle in #1496 - Update TS pattern for custom object commands by @brandenrodgers in #1498
- chore: Port
hs logsby @joe-yeager in #1501 - port cms lighthouse-score to TS (waiting for LDL release) by @brandenrodgers in #1485
- Port cms convert-fields to TS (waiting for LDL release) by @brandenrodgers in #1484
- Port cms get-react-module to TS (waiting for LDL release) by @brandenrodgers in #1486
- chore: Convert
hs uploadto TS (Relies on upcoming LDL release) by @kemmerle in #1502 - fix: Remove unnecessary
@ts-expect-errorby @kemmerle in #1506 - porting cms command bucket to ts by @brandenrodgers in #1507
- port feedback tests to ts by @brandenrodgers in #1505
- port completion command to ts by @brandenrodgers in #1508
- final two tests to TS! by @brandenrodgers in #1509
- chore: Port watch by @joe-yeager in #1504
- update ts pattern for sandbox commands by @brandenrodgers in #1510
- Revamp local dev to support websocket server for UI by @camden11 in #1479
- Fix: Bugs in
accountcommands by @kemmerle in #1511 - Fix TS build errors with local dev logging by @camden11 in #1515
- Setup local dev websocket server by @camden11 in #1513
- feat: Onboard app-functions by @joe-yeager in #1476
- fix: Incorrect translation keys by @joe-yeager in #1516
- Refactor: Improve migration flow by @kemmerle in #1512
- Fix duplicate local dev watcher calls by @camden11 in #1517
- Improved local dev state by @camden11 in #1518
- Better errors for hs create by @brandenrodgers in #1519
- chore: Add tests for the migration flow by @joe-yeager in #1472
- Support project profiles by @brandenrodgers in #1520
- Support private oauth apps in hs project dev by @camden11 in #1521
- Fixing some type issues in deploy tests by @brandenrodgers in #1522
- Fixing the typing for some commands by @brandenrodgers in #1523
- TS updates for the account commands by @brandenrodgers in #1524
- Update hs feedback destination by @brandenrodgers in #1525
- Finish command ts pattern updates by @brandenrodgers in #1526
- chore: Create script to help with linking by @joe-yeager in #1527
- chore: Update codeowners by @joe-yeager in #1530
- Support auto updates (opt-in) by @brandenrodgers in #1514
- Support static auth apps by @camden11 in #1531
- Show warning in profiles if there are duplicate ids in use by @brandenrodgers in #1534
- Use delete instead of remove for profile command by @brandenrodgers in #1536
- Support dev on dev sandbox accounts if the portal has access by @brandenrodgers in #1535
- Support app secrets by @brandenrodgers in #1537
- Some copy updates for app secrets by @brandenrodgers in #1538
- Don't prompt for static apps that are already installed by @camden11 in #1540
- feat: Improve error message when project with 2025.2 components is uploaded with lower platform version by @joe-yeager in #1539
- Update unified account check to allow all ungated accounts by @camden11 in #1541
- Support projectAccount and testingAccount flags + clean up unified app account logic by @camden11 in #1542
Full Changelog: v7.4.8...v7.5.4
v7.4.8
What's Changed
- fix: The auth command is failing when token.hubName is null by @joe-yeager in #1481
Full Changelog: v7.4.7...v7.4.8
v7.4.7
What's Changed
- feat: Migrations polish by @joe-yeager in #1455
- chore: inline i18nkeys part 3 by @joe-yeager in #1429
- chore: inline i18n pt5 by @joe-yeager in #1431
- Hide sandbox prompt for accounts with no sandbox access by @camden11 in #1458
- Support legacy public app development in combined accounts by @camden11 in #1461
- Add type checking to lang objects by @camden11 in #1462
- feat: Incorporate UX feedback by @joe-yeager in #1459
- feat: Add more detailed error messages for migration failures by @joe-yeager in #1464
- Fix dev test account creation by @brandenrodgers in #1457
- Organize lib/projects and use lang objects by @camden11 in #1465
- chore: Add error message for projects linked to GH Repo by @joe-yeager in #1463
- Fix: UX improvement for migration/merge prompt behavior in
hs account authby @kemmerle in #1460 - fix: Correct the formatting of the migration errors by @joe-yeager in #1467
- chore: Add --network-debug flag to log all http requests from LDL by @joe-yeager in #1468
- Finishing the project commands TS port by @brandenrodgers in #1449
- fix: Add polling error handling after begin migration by @joe-yeager in #1469
- chore: Split the tracking for app migrate and project migrate-app by @joe-yeager in #1466
- fix: Fix project creation happening when there is a validation error by @joe-yeager in #1444
- Fix hs project dev copy bug by @camden11 in #1471
- chore: Inline the remaining files by @joe-yeager in #1470
- fix: Fix typo in lang file by @joe-yeager in #1474
- Safer copy logging POC by @camden11 in #1473
- chore: Add AI rulesets by @joe-yeager in #1475
- chore: Add migration warning by @joe-yeager in #1477
- Fix local dev logger bug by @camden11 in #1478
Full Changelog: v7.4.2...v7.4.7
v7.4.2
What's Changed
- feat: Add migration for existing project by @joe-yeager in #1424
- chore: Exit the app migrate or project migrateApp commands if they are ran within a project by @joe-yeager in #1452
- Fix process exit by @brandenrodgers in #1454
- chore: Add gate check to migration commands by @joe-yeager in #1453
Full Changelog: v7.4.1...v7.4.2