From edb278f6685e4b2d48ec485e0541cac7c0c42160 Mon Sep 17 00:00:00 2001 From: leemour Date: Tue, 17 Nov 2026 19:54:33 +0100 Subject: [PATCH] chore(release): 0.2.0 bin/release: 0.1.0 is already on npm. Only the number changes: package.json, src/version.ts, the CHANGELOG heading, and the changes/ fragments collected under it. ## Conformance The release pull request of 0.1.0 recorded the checks; this one changes only its number. --- CHANGELOG.md | 24 ++++++++++++++++++++++++ changes/feat-writes.md | 21 --------------------- package.json | 2 +- src/version.ts | 2 +- 4 files changed, 26 insertions(+), 23 deletions(-) delete mode 100644 changes/feat-writes.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d688af..69f76d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,30 @@ Notable changes to `@wirecat/hubspot-cli`. One section per version, newest first. +## 0.2.0 — 17.11.2026 + +### Added + +- **`deals create`, `update`, `move`, `close` and `delete` change deals in HubSpot, and the copy takes each answer.** + `close` moves a deal to its pipeline's closed won or lost stage and keeps `--reason` as HubSpot's closed reason. + `delete` archives the deal and asks first. See [usage](docs/usage.md). +- **`people create|update` and `organizations create|update` change contacts and companies.** A contact keeps one + e-mail and two numbers, a company one number and no e-mail; a longer list is refused before anything is sent. +- **`api` offers HubSpot's writes and deletes too: 66 writes and 33 deletes of the CRM API, version 2026-03.** Each + write checks `api.` and its group's `.write`, each delete its `.delete`, and both ask by + default. A write that does what a command does checks that command's key too (`deals.update`), a body that sets a + deal's stage checks `deals.move` and `deals.close`, and one that sets an owner checks `crm.assign-others`, `deny` by + default. `api contacts-gdpr-delete` also checks `people.erase`, to deny erasing alone. `--dry-run` names every key. + See [settings](docs/configuration.md#permissions). +- **Write scopes are optional.** The setup and [installation](docs/installation.md#make-a-key) list + `crm.objects.{deals,contacts,companies}.write`; without them the key only reads. + +### Fixed + +- **`api` sends the key with every operation.** HubSpot's object specs mark 115 operations as needing no sign-in, so + in 0.1.0 `api deals-get`, `api contacts-list` and the other record operations went out without the key and HubSpot + answered 401. The pipelines, properties, owners and account operations were not affected. + ## 0.1.0 — 17.11.2026 ### Added diff --git a/changes/feat-writes.md b/changes/feat-writes.md deleted file mode 100644 index 253eeaf..0000000 --- a/changes/feat-writes.md +++ /dev/null @@ -1,21 +0,0 @@ -### Added - -- **`deals create`, `update`, `move`, `close` and `delete` change deals in HubSpot, and the copy takes each answer.** - `close` moves a deal to its pipeline's closed won or lost stage and keeps `--reason` as HubSpot's closed reason. - `delete` archives the deal and asks first. See [usage](../docs/usage.md). -- **`people create|update` and `organizations create|update` change contacts and companies.** A contact keeps one - e-mail and two numbers, a company one number and no e-mail; a longer list is refused before anything is sent. -- **`api` offers HubSpot's writes and deletes too: 66 writes and 33 deletes of the CRM API, version 2026-03.** Each - write checks `api.` and its group's `.write`, each delete its `.delete`, and both ask by - default. A write that does what a command does checks that command's key too (`deals.update`), a body that sets a - deal's stage checks `deals.move` and `deals.close`, and one that sets an owner checks `crm.assign-others`, `deny` by - default. `api contacts-gdpr-delete` also checks `people.erase`, to deny erasing alone. `--dry-run` names every key. - See [settings](../docs/configuration.md#permissions). -- **Write scopes are optional.** The setup and [installation](../docs/installation.md#make-a-key) list - `crm.objects.{deals,contacts,companies}.write`; without them the key only reads. - -### Fixed - -- **`api` sends the key with every operation.** HubSpot's object specs mark 115 operations as needing no sign-in, so - in 0.1.0 `api deals-get`, `api contacts-list` and the other record operations went out without the key and HubSpot - answered 401. The pipelines, properties, owners and account operations were not affected. diff --git a/package.json b/package.json index abec01d..25f9301 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/hubspot-cli", - "version": "0.1.0", + "version": "0.2.0", "description": "HubSpot CRM CLI for AI agents: a local copy of deals, contacts and companies, an MCP server, deal and contact writes, and every operation of HubSpot's CRM API", "keywords": [ "hubspot", diff --git a/src/version.ts b/src/version.ts index 8500465..78dbb32 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.1.0" +export const VERSION = "0.2.0"