@wavyx/pdcli 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/oclif.manifest.json +729 -729
- package/package.json +1 -1
- package/src/base-command.js +22 -3
- package/src/commands/activity/list.js +1 -1
- package/src/commands/deal/list.js +1 -1
- package/src/commands/org/list.js +1 -1
- package/src/commands/person/list.js +1 -1
- package/src/commands/product/list.js +1 -1
- package/src/lib/aliases.js +85 -5
- package/src/lib/client.js +110 -117
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,34 @@ All notable changes to `pdcli` are documented here. Format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/); versions follow
|
|
5
5
|
[SemVer](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [0.9.0] - 2026-06-05
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **BREAKING:** `--jq` now receives single records as the bare object
|
|
12
|
+
instead of a one-element array. `pdcli deal get 1 --jq '.id'` works
|
|
13
|
+
directly; scripts using the old `--jq '.[0].id'` form must drop the
|
|
14
|
+
`.[0]`. List output is unchanged (still an array).
|
|
15
|
+
- `--resolve-fields` now also applies to the core list commands (`deal`,
|
|
16
|
+
`person`, `org`, `activity`, `product`) in json/yaml/csv output — one
|
|
17
|
+
field-definitions fetch covers the whole list. (Supersedes the 0.8.0
|
|
18
|
+
note that scoped the flag to single-record gets.)
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- File uploads, downloads, and form posts now go through the same
|
|
23
|
+
transport pipeline as every other request: 429 backoff honoring
|
|
24
|
+
`x-ratelimit-reset`/`Retry-After`, `--no-retry`, the 429-to-403
|
|
25
|
+
escalation hard stop, 5xx retry, and automatic OAuth token refresh.
|
|
26
|
+
Note: this also means transient 5xx during an upload is retried —
|
|
27
|
+
pass `--no-retry` if duplicate-creation on retry is a concern.
|
|
28
|
+
- Alias mutations take an advisory lock, so concurrent pdcli processes
|
|
29
|
+
no longer overwrite each other's alias changes (last-write-wins data
|
|
30
|
+
loss). Contention exits 75; an unwritable config directory reports a
|
|
31
|
+
clear configuration error (exit 78).
|
|
32
|
+
- A failing command can no longer pass its own happy-path test suite —
|
|
33
|
+
the test harness surfaces command errors instead of swallowing them.
|
|
34
|
+
|
|
7
35
|
## [0.8.0] - 2026-06-05
|
|
8
36
|
|
|
9
37
|
### Added
|