postman-cli 1.95.0 → 1.97.1

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.
Files changed (3) hide show
  1. package/README.md +21 -1
  2. package/man/postman.1 +17 -17
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -54,6 +54,26 @@ postman collection run postman/collections/orders
54
54
 
55
55
  Run `postman init --dry-run` to see what it will do first. See [`postman init`](https://learning.postman.com/docs/postman-cli/postman-cli-init/).
56
56
 
57
+ ## Context, simulate, verify
58
+
59
+ Coding agents can't see how the rest of your system behaves, try risky changes safely, or prove a change works. These three steps give them that. Each stands alone, and none changes your workspace, collections or code by itself.
60
+
61
+ ```bash
62
+ # Context: what exists, what changed, and who depends on it
63
+ postman workspace context
64
+ postman workspace context --section activity
65
+ postman context-graph ask "Which services call POST /payments?" --wait
66
+
67
+ # Simulate: run your service against stand-ins for its dependencies
68
+ postman simulation run postman/simulations/checkout.sim.yaml
69
+
70
+ # Verify: run the collection's tests, against the simulation
71
+ postman collection run postman/collections/checkout \
72
+ --simulation postman/simulations/checkout.sim.yaml
73
+ ```
74
+
75
+ See [Context, simulate, and verify](https://learning.postman.com/docs/postman-plugin/context-simulate-verify).
76
+
57
77
  ## Agent skills
58
78
 
59
79
  `postman init` installs Postman's agent skills in `postman/skills/` and adds a pointer to them in `AGENTS.md`. `postman update` updates the CLI and the repo's skills. `postman status` shows the CLI version, skills, account and plugin state.
@@ -158,7 +178,7 @@ postman simulation run checkout.sim.yaml --proxy \
158
178
 
159
179
  A simulation is a `.sim.yaml` file that combines mocks and their routing. With `--proxy`, requests to each mock's `origin` hostname, such as `api.stripe.com`, reach the mock, and all other traffic goes to its real destination, so you only simulate what you choose. `--lift` starts your command with the proxy already configured. Multiple agents can run their own simulations at the same time without interfering with each other.
160
180
 
161
- A context file beside each simulation records the assumptions your code relies on, what was observed and where it came from, including what has and hasn't been verified. The next run, agent or teammate starts from what is already established instead of rediscovering it. Simulations catch problems earlier; they don't replace a final check against the real services.
181
+ A context file beside each simulation records what your code assumes and what has been verified, so the next run, agent or teammate starts from it. Simulations catch problems earlier.
162
182
 
163
183
  Add `--deploy` to `postman simulation create` to share the whole environment as one mock server with the same routing. See [Postman Simulator](https://learning.postman.com/docs/design-apis/simulate-conditions/overview/).
164
184
 
package/man/postman.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH POSTMAN 1 "2026-11-27" "v1.95.0" "Postman CLI Manual"
1
+ .TH POSTMAN 1 "2026-12-03" "v1.97.1" "Postman CLI Manual"
2
2
  .SH NAME
3
3
  postman \- Command\-line companion utility for Postman
4
4
  .SH SYNOPSIS
@@ -1516,7 +1516,7 @@ Type: boolean, Default value: false
1516
1516
  Do not upload response bodies with run data
1517
1517
  .TP
1518
1518
  .B \-\-upload\-headers
1519
- [Optional] Upload request and response headers with run data. The values of authorization, proxy\-authorization, cookie, set\-cookie, x\-api\-key, x\-auth\-token and x\-access\-token are always replaced with [redacted]. Matching is by exact header name, so a vendor\-specific auth header is not covered.
1519
+ [Optional] Upload request and response headers with run data. The values of authorization, proxy\-authorization, cookie, set\-cookie, x\-api\-key, x\-auth\-token and x\-access\-token are always replaced with [redacted], as is any header the request's auth settings add, whatever its name.
1520
1520
  Type: boolean, Default value: false
1521
1521
  .TP
1522
1522
  .B \-\-no\-upload\-headers
@@ -4116,9 +4116,9 @@ Load segments:
4116
4116
  ramp\-up — 2 segments
4117
4117
 
4118
4118
  peak ┤ _________ at peak __________
4119
- │ ramp\-up _____╱
4120
- │ ______╱
4121
- base ┤__ warm\-up ___╱
4119
+ │ ramp\-up _____/
4120
+ │ ______/
4121
+ base ┤__ warm\-up ___/
4122
4122
  └┬─────────────┬─────────────┬───────────────────────────┤ \-\-duration
4123
4123
  1 2 (3)
4124
4124
 
@@ -4130,10 +4130,10 @@ Load segments:
4130
4130
 
4131
4131
  spike — 3 segments · no time at the peak; use \-\-load\-profile peak to hold
4132
4132
 
4133
- peak ┤ ╱╲
4134
- │ ramp\-up _╱ ╲_ ramp\-down
4135
- │ _╱ ╲_
4136
- base ┤______ warm\-up _______╱ ╲______ at base _______
4133
+ peak ┤ /\e
4134
+ │ ramp\-up _/ \e_ ramp\-down
4135
+ │ _/ \e_
4136
+ base ┤______ warm\-up _______/ \e______ at base _______
4137
4137
  └┬─────────────────────┬─────┬─────┬─────────────────────┤ \-\-duration
4138
4138
  1 2 3 (4)
4139
4139
 
@@ -4146,9 +4146,9 @@ Load segments:
4146
4146
  peak — 4 segments
4147
4147
 
4148
4148
  peak ┤ __ hold ___
4149
- │ ramp\-up ____╱ ╲____ ramp\-down
4150
- │ ____╱ ╲____
4151
- base ┤_ warm\-up _╱ ╲_ at base __
4149
+ │ ramp\-up ____/ \e____ ramp\-down
4150
+ │ ____/ \e____
4151
+ base ┤_ warm\-up _/ \e_ at base __
4152
4152
  └┬──────────┬──────────┬──────────┬──────────┬───────────┤ \-\-duration
4153
4153
  1 2 3 4 (5)
4154
4154
 
@@ -5706,7 +5706,7 @@ Create, run, and manage Postman mocks — in your repository or in Postman cloud
5706
5706
  Generate a mock from a Postman collection, an OpenAPI file or a dataset, or a static mock from a built\-in sample shopping cart (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with \-\-workspace. Add \-\-deploy to also make it a live mock server.
5707
5707
  .TP
5708
5708
  .B mock run
5709
- Start a mock using its path if it lives in your repository, or its id or <slug>.mock.<teamDomain> if it lives in Postman cloud (fetched and run locally).
5709
+ Start a mock using its path if it lives in your repository, or its id or name (<team>/<slug>) if it lives in Postman cloud (fetched and run locally).
5710
5710
  .TP
5711
5711
  .B mock stop
5712
5712
  Stop a mock started with `postman mock run` on this machine, and wait until it has exited and released its port.
@@ -5818,7 +5818,7 @@ Paths can be relative (e.g. ./my\-collection.json) or absolute (e.g. /Users/me/m
5818
5818
 
5819
5819
 
5820
5820
  .SS "mock run"
5821
- Start a mock using its path if it lives in your repository, or its id or <slug>.mock.<teamDomain> if it lives in Postman cloud (fetched and run locally).
5821
+ Start a mock using its path if it lives in your repository, or its id or name (<team>/<slug>) if it lives in Postman cloud (fetched and run locally).
5822
5822
 
5823
5823
  .B Usage:
5824
5824
  <mockIdOrPath>
@@ -5855,7 +5855,7 @@ Pass \-\-dataset multiple times to load several .dataset.yaml files (or director
5855
5855
  .TP Examples:
5856
5856
 
5857
5857
  Eg. postman mock run 12345678\-90ab\-cdef\-1234\-567890abcdef # by id, from Postman cloud
5858
- postman mock run stripe.mock.postman # by slug and team domain, from cloud
5858
+ postman mock run postman/stripe\-api # by team and name, from cloud
5859
5859
  postman mock run ./postman/mocks/orders # by path, from your repository
5860
5860
  postman mock run ./postman/mocks/orders \-\-environment ./postman/environments/dev.environment.yaml
5861
5861
  postman mock run ./postman/mocks/orders \-\-port auto # pick any free port
@@ -6307,7 +6307,7 @@ List the simulations in your repository or Postman cloud workspace
6307
6307
  Show a simulation's details using its .sim.yaml path if it lives in your repository, or its id if it lives in Postman cloud.
6308
6308
  .TP
6309
6309
  .B simulation run
6310
- Serve a simulation's mocks on one local port, routing each by its routeKey. Pass a .sim.yaml path (local), a Postman simulation id, or <slug>.mock.<teamDomain> (fetched and run locally).
6310
+ Serve a simulation's mocks on one local port, routing each by its routeKey. Pass a .sim.yaml path (local), a Postman simulation id, or a deployed simulation's name (<team>/<slug>; fetched and run locally).
6311
6311
  .TP
6312
6312
  .B simulation stop
6313
6313
  Stop a simulation started with `postman simulation run` on this machine, and wait until it has exited and released its port.
@@ -6441,7 +6441,7 @@ Paths can be relative (e.g. ./postman/simulations/checkout.sim.yaml) or absolute
6441
6441
 
6442
6442
 
6443
6443
  .SS "simulation run"
6444
- Serve a simulation's mocks on one local port, routing each by its routeKey. Pass a .sim.yaml path (local), a Postman simulation id, or <slug>.mock.<teamDomain> (fetched and run locally).
6444
+ Serve a simulation's mocks on one local port, routing each by its routeKey. Pass a .sim.yaml path (local), a Postman simulation id, or a deployed simulation's name (<team>/<slug>; fetched and run locally).
6445
6445
 
6446
6446
  .B Usage:
6447
6447
  [options] <simIdOrPath>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli",
3
- "version": "1.95.0",
3
+ "version": "1.97.1",
4
4
  "description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
5
5
  "keywords": [
6
6
  "postman",
@@ -57,10 +57,10 @@
57
57
  "scripts/"
58
58
  ],
59
59
  "optionalDependencies": {
60
- "@postman/pm-bin-macos-arm64": "1.95.0",
61
- "@postman/pm-bin-macos-x64": "1.95.0",
62
- "@postman/pm-bin-linux-x64": "1.95.0",
63
- "@postman/pm-bin-linux-arm64": "1.95.0",
64
- "@postman/pm-bin-windows-x64": "1.95.0"
60
+ "@postman/pm-bin-macos-arm64": "1.97.1",
61
+ "@postman/pm-bin-macos-x64": "1.97.1",
62
+ "@postman/pm-bin-linux-x64": "1.97.1",
63
+ "@postman/pm-bin-linux-arm64": "1.97.1",
64
+ "@postman/pm-bin-windows-x64": "1.97.1"
65
65
  }
66
66
  }