Zum Inhalt springen

Postman CLI Updates & Release Notes

Einträge
126
Quellen
1
Zuletzt aktualisiert

Folge Postman CLI, um die Release Notes in deinen Feed zu holen.

Postman CLI von Postman

Postman CLI v1.56.0: Agent-Skills und Mock-Unterstützung

Neue Befehle prüfen und aktualisieren Agent-Skills, Performance-Tests unterstützen Mocks, und Vault-Geheimnisse lassen sich per Umgebungsvariable bereitstellen.

What’s New

Check and update agent skills

The agent skills that postman init installs can fall behind the latest published version over time. The new postman skills status and postman skills update commands check for newer versions and fetch them, without re-running postman init. When you work with an AI agent, the installed SKILL.md instructs the agent to keep the skills current for you, updating them with your approval.

Improvements

Redirect requests to a mock in performance tests

The postman performance run command now supports --use-mock, which redirects a variable or host to a local code mock or a cloud mock server during a run.

Supply Postman Local Vault secrets through environment variables

When you run postman collection run and a secret from your local vault can’t be resolved (for example, in CI), the CLI now reads that secret from a POSTMAN_VAULT_<key> environment variable, if you’ve set one.

Initialize your Native Git API project with the latest agent skills

The postman init command now fetches the agent skills it installs from the Postman skills repository instead of using copies built into the CLI.

Have your AI agent build your API specification

The postman init command no longer generates an API specification from your source code. Instead, the installed SKILL.md guides your AI agent to build the specification from your code.

Connect a workspace during application test setup …

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.55.0: Flows-Sync und SSRF-Schutz

Workspace-Push synchronisiert nun Flows, der Monitoring-Runner hat stärkeren SSRF-Schutz, und mehrere Fehler bei Mock-Deployments wurden behoben.

What’s New

Sync flows with postman workspace push

The postman workspace push command now syncs flows to the linked Postman workspace, alongside your other workspace elements.

Improvements

Stronger SSRF protections in the monitoring runner

The postman runner start command now has stronger protections against server-side request forgery (SSRF). Addresses on your own internal network remain reachable.

Flat environment files for postman mock run

Thepostman mock run command now accepts flat key: value environment files (with -e), in addition to the Postman environment format.

Bug Fixes

  • Fixed silent failures when loading an environment file with postman mock run -e. Loading a missing file, a parse error, or an unexpected shape now returns a clear, specific error.
  • Fixed postman mock deploy resetting a redeployed mock server’s visibility and auto-deploy settings. If you didn’t pass --public, it would set visibility to private. If you didn’t pass --auto-deploy, it would set auto-deploy to off. It now keeps the existing settings and shows the current values and what changed.
  • Fixed a newly created cloud mock showing a "source not available" placeholder in the editor. It now includes a default scenario and handler.
  • Fixed API key validation for deployments that set POSTMAN_API_BASE_URL, so the CLI validates your key against your deployment’s base URL instead of the public region URLs.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.54.0: KI-Projekte und Workspace-Erstellung

Mit neuen Befehlen lassen sich KI-bereite API-Projekte initialisieren, Workspaces erstellen und GraphQL- sowie gRPC-Request-Blöcke in Flows ausführen.

What’s New

Set up an AI-ready API project with postman init

The new postman init command sets up a Postman Native Git API project on your machine in one step. It can generate a starting API specification from your code and adds a SKILL.md that teaches agents how to build and test APIs with the Postman CLI. If you’re signed in, postman init offers to create a new Postman workspace and connect your project to it so you can collaborate with your team.

Create a Postman workspace with postman workspace create

The new postman workspace create command creates a Postman workspace and connects your local Git repository to it. You can then push your project to the workspace and pull updates back, so your team can collaborate on it in Postman. By default, it names the workspace after your Git remote and connects the current directory.

Run GraphQL and gRPC request blocks in Postman Flows

Available on Enterprise plans

The postman flows run command now runs GraphQL and gRPC request blocks, in addition to HTTP, using your existing authentication and environment settings. GraphQL request blocks support queries and mutations, but not subscriptions. gRPC request blocks support unary methods, but not streaming methods.

Improvements

Sync code mocks and simulations with postman workspace push

The postman workspace push command now syncs code mocks and simulations to the linked Postman workspace, matching the app’s Git sync.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.53.0

Postman CLI unterstützt jetzt AsyncAPI-Linting, Cloud-Mocks, das Bereitstellen von Mocks auf Mock-Servern, das Anzeigen der Anfragehistorie und Setup/Teardown-Collections in Cloud-Performance-Tests.

What’s New

Lint AsyncAPI specifications

The postman spec lint command now supports AsyncAPI specifications (versions 2.x and 3.x), in addition to OpenAPI. Provide an AsyncAPI document to validate it and identify any issues.

Manage cloud mocks

The postman mock commands now work with cloud mocks as well as local ones. Pass a mock’s ID to the get, run, or delete command to act on a cloud mock (a file path still targets a local mock). The list and generate commands accept a new --workspace option to list and create mocks in a Postman workspace.

Deploy a cloud mock to a mock server

Available on Solo, Team, and Enterprise plans

The new postman mock deploy <mockId> command publishes a cloud mock to a mock server. Run it interactively to set the mock server’s name, slug, and visibility, or pass those as options to deploy from a script.

Browse a mock server’s request history

Available on Solo, Team, and Enterprise plans

The new postman mock log <mockServerId> command shows a deployed mock server’s request and response history, newest first. Filter the entries by method, status, path, or time window with --method, --status, --path, --since, and --until. Use --limit to cap how many entries appear, or --json for machine-readable output. You can find the mock server ID with postman mock get.

Run setup and teardown collections in cloud performance tests

Available on Solo and Team plans …

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.52.0

Die Ereignisberichterstattung ist standardmäßig aktiviert und der Befehl 'postman spec lint' liefert Syntaxergebnisse auch dann, wenn Governance-Regeln nicht angewendet werden können.

Improvements

Event reporting is on by default

The Postman CLI now reports events to Postman by default across the commands that emit them, from run, test, and lint results to usage analytics. To opt out, pass --report-events=false.

Get syntax results even when governance rules can’t be applied

The postman spec lint command now returns syntax results even when it can’t apply governance rules, such as when you’re not signed in or the governance rulesets can’t be retrieved.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.51.1

Mit neuen 'postman dataset'-Befehlen können Datensätze verwaltet und mit 'postman collection run' Anfragen über die Option '--use-mock' an Mocks umgeleitet werden.

What’s New

Work with datasets in the Postman CLI

Available on Solo, Team, and Enterprise plans

With the postman dataset commands, you can manage reusable test data, from static files to live databases, and use it to drive data-driven collection and performance runs from the Postman CLI, including in CI/CD.

Redirect requests to a mock during a collection run

The postman collection run command now supports a --use-mock option that redirects requests to a mock while the collection runs. Each mapping points a URL to a local mock (mock:<path or id>) or a deployed mock server (mock-server:<id>), and you can pass --use-mock more than once to redirect multiple URLs. When a mapping points to a local mock, the Postman CLI starts it for you.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.51.0

Ein in v1.50.0 eingeführter Fehler wurde behoben, der 'postman spec lint' für API-Governance-Benutzer fehlschlagen ließ.

Bug Fixes

Fixed a regression in v1.50.0 that caused postman spec lint to fail for API Governance users migrated to the new experience.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.50.0

Neue Optionen für Performance-Tests in der Cloud, Datensätze als Testdatenquelle, Verbindung eines Workspace mit einem Git-Repository und Abrufen eines Workspace per Pull-Befehl.

What’s New

Run performance tests in the Postman Cloud

Available on Solo and Team plans

The postman performance run command now supports a --runner option that selects where a performance test’s load originates. By default, load originates from the machine that invokes the command. Use --runner postman-cloud to generate load from Postman’s managed cloud infrastructure instead.

Use datasets in performance tests

Available on Solo, Team, and Enterprise plans

The postman performance run command now supports datasets as a test data source. Use --dataset-id and --dataset-view-id to select a dataset and view, and --dataset-distribution to control how rows are assigned to virtual users (round-robin, fixed, or random).

Connect a workspace to a Git repository

The new postman workspace connect-git command binds a Postman workspace to a Git repository on your machine. Connect the repository first, then use postman workspace push and postman workspace pull.

Pull a workspace to your local folder

The new postman workspace pull command pulls a workspace’s collections, environments, specifications, and other elements into your local Git repository. It is the counterpart to postman workspace push. If the Git repository isn’t already connected to the workspace, Postman creates the connection before pulling.

More ways to work with local mocks …

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.49.0

Der Befehl 'postman workspace push' führt vor dem Pushen eine Lint-Prüfung durch, interaktive Einrichtung für 'postman app test', Webhook-Skriptverwaltung und installationsabhängige Update-Anweisungen.

What’s New

Lint your workspace before pushing

The postman workspace push command now runs a lint check before pushing. It blocks the push if your workspace configuration has lint errors, and skips any entity that has lint errors while still pushing the clean ones.

Set up application tests interactively

If you run postman app test without a configuration file or collections, the command now guides you through an interactive setup instead of exiting. You can select existing collections or generate a new collection from your test traffic, complete with auto-generated test scripts.

Author scripts and inspect script outcomes for webhooks

You can now author and update a webhook’s scripts with the new postman webhook scripts set command. The postman webhook requests describe command now includes a test report, and adding the --verbose option streams the script execution logs.

Improvements

Install-aware update instructions

When an update is available, the Postman CLI now detects whether it was installed with npm or as a direct download, and shows the matching update instructions.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.48.0

Neuer Befehl 'postman workspace lint' für das Linting des gesamten lokalen Workspace, 'postman app test' kann bereitgestellte Versionen verfolgen, und mehrere Fehlerbehebungen für Performance-Runs und Private-API-Monitoring.

What’s New

Lint your entire local workspace

The postman workspace lint command lints your whole local workspace in one report: the workspace configuration plus every collection, spec, environment, and globals file. Use --meta to lint only the workspace configuration.

Track the deployed version in application tests

The postman app test command can now record which deployed version of your application each test run exercised, so you can correlate results with specific deployments. Provide the version with the --deployed-version option, or from your Playwright report metadata.

Bug Fixes

  • Fixed an unclear error when a cloud performance run requested fewer virtual users than the minimum allowed. The postman performance run command now explains the minimum virtual-user requirement.
  • Fixed an issue where a worker crash could stop a Private API Monitoring runner from processing runs. The runner now recovers automatically.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.47.2

Mocks können aus Native-Git-Verzeichnissen generiert werden, Dokumente werden mit 'push' synchronisiert, Installer sind sicherer und schneller, und ein Port kann für Mock-Server festgelegt werden.

What’s New

Generate API mocks from a Native Git collection directory

The postman mock generate command now accepts a directory containing a Native Git v3 collection, not just a single collection file. You can generate example-rich mocks straight from a Git-synced workspace.

Improvements

Push documents to your workspace

The postman workspace push command now syncs documents (Markdown files under postman/documents/), in addition to the collections, environments, specifications, and globals it already supported.

Faster, more secure installs

The macOS and Linux installers now prompt for your password once instead of several times. All three installers (macOS, Linux, and Windows) now verify the downloaded binary’s signature before installing.

Control the port for mock servers

The postman mock run command now supports a --port option. Pass a specific port, or use --port auto for a port assigned automatically. If you don’t set a port, the mock uses its configured port and falls back to an available one if that port is busy.

Bug Fixes

Fixed an issue where the postman mock run command served v3 example bodies as a raw { type, content } object instead of the example’s actual payload.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.47.0

Neuer Befehl 'postman mock generate' erstellt lokale Mocks aus Sammlungen oder OpenAPI-Spezifikationen, verbesserte Mock-Antworten entsprechen der Postman-App, und Runner unterstützen erweiterte Sammlungstypen und Vault-Secrets.

What’s New

Generate a local code mock from a collection or spec

You can now generate a local code mock from a Postman collection or an OpenAPI spec with the new postman mock generate command. It needs no Postman account or network access to generate or run, so you can use it in CI/CD. Run the generated mock with postman mock run.

Improvements

Code mock responses now match the Postman app

Code mock examples now serve their actual response headers and content types instead of always using application/json. Simulated fault responses, such as chaos and error conditions, also return the same status code and body as the app.

Expanded Private API Monitoring runner support for collections

Private API Monitoring runners can now monitor collections that contain not just HTTP requests, but gRPC and GraphQL requests as well. Runners now also prefetch vault secrets in bulk at the start of a run for faster execution.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.46.1

Swift-SDKs können generiert werden, neue Lint-Befehle für Umgebungs- und Globals-Dateien, globale Variablen werden mit 'push' synchronisiert, und TypeScript-Code in Flow-Blöcken wird korrekt ausgeführt.

What’s New

Generate Swift SDKs

You can now generate Swift SDKs with the Postman CLI, using postman sdk generate.

Lint local environment and globals files

You can now validate your environment and globals files with the new postman environment lint and postman globals lint commands.

Improvements

Push global variables to your workspace

Thepostman workspace push command now pushes your workspace’s global variables, in addition to the collections, environments, and specifications it already supported.

Bug Fixes

Fixed an issue where TypeScript code in flow Evaluate, If, and Condition blocks failed to run from the CLI. Scripts authored in TypeScript are now transpiled to JavaScript before they run, so type annotations no longer cause errors.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.46.0

Performance-Run-Links zeigen nun auf die regionale Web-App, die Live-Ansicht öffnet keinen Browser mehr, YAML wird für Mock-Konfigurationsdateien unterstützt und der neue Befehl postman search durchsucht Workspace-Dokumente. Zwei Fehler bei Webhook-Authentifizierung und Workspace-Push wurden behoben.

Improvements

Better performance run links and output

Performance run links now point to the correct regional web host, so users in the EU are taken to the EU app instead of the US app. The CLI no longer opens a browser automatically for the live view. It prints the link instead, so you stay in the terminal. Performance runs now default to a one-minute duration, and the output includes hints for the default options.

YAML support for code mock configuration files

Support for writing code mock configuration files in YAML (.yaml or .yml) has been added to the CLI. Existing JSON configuration files continue to work without changes.

Search workspace documents

You can now search workspace documents from the CLI with the postman search command.

Bug Fixes

  • Fixed an issue where webhook commands did not recognize API key authentication.
  • Fixed an issue where postman workspace push could not resolve a spec’s path to its cloud ID and skipped the spec-to-collection link.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.45.0

Die CLI kann jetzt SDKs aus AsyncAPI-Spezifikationen generieren, Workspaces mit postman workspace list auflisten und führt Flows auch bei umorganisierten Kollektionen zuverlässig aus. Ein Fehler mit verworfenen Stream-Antworten wurde behoben.

What’s New

AsyncAPI SDK generation from the CLI

You can now generate SDKs from AsyncAPI specifications directly using the Postman CLI. You can only generate SDKs in languages that support AsyncAPI, helping you avoid errors when selecting an output language.

List your workspaces from the CLI

You can now use the postman workspace list command to list all the Postman workspaces you have access to, showing each workspace’s ID, visibility type, and name. Use --filter <name> to narrow results by name. You can add --json to return the results in JSON format.

Improvements

More reliable flow execution when collections are reorganized

The Postman CLI now runs flows correctly even when the requests they reference have been moved or renamed in a collection. Previously these runs failed with an error that the collection items could not be found, which blocked CLI automation and CI/CD workflows. This brings CLI flow runs in line with how the same flows already run in the Postman app. If a flow still reports this error, re-save it in the Postman app to update it to the current format.

Bug Fixes

Fixed an issue where streamed response bodies were dropped during flow capture preloading, which could cause incomplete data to be recorded during flow execution.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.44.0

Der Befehl postman workspace push bietet nun eine --push-strategy-Option für die Synchronisierung, und die filters-Konfiguration unterstützt gezielte Regeln für bestimmte Tests. Die Optionen --collections-dir und --environments-dir sind veraltet.

Improvements

Control how workspace elements sync to the cloud

The postman workspace push​ command now supports a --push-strategy option that gives you more control over how your local Git repository syncs to the Postman cloud. Use the --push-strategy force-sync option to mirror your local Git repository. This creates and updates elements in the Postman cloud, and also deletes elements from the cloud that have no local counterpart. When running in a CI/CD pipeline, you can pair force-sync with --yes to skip the interactive confirmation.

Scoped traffic filters for application test runs

Available on Solo, Team, and Enterprise plans

The filters configuration in postman.config.cjs now supports scoped array entries. Each entry in the array can target specific tests by file path or Playwright tag. This enables you to exclude different URLs, methods, and headers depending on which tests are running. Filters with no target or tags field apply to all tests.

The filters configuration still supports a single object that's applied to all tests.

Deprecated Features

Path options deprecated for workspace commands

The --collections-dir and --environments-dir options are deprecated for the postman workspace prepare and postman workspace push commands.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.43.0

Neue Beta-Funktion streamt Rohdaten von Collection-Runs in YAML-Dateien, der Befehl postman webhook requests verwaltet Webhook-Anfragen, und --report-events meldet Run-Ergebnisse an Postman.

What’s New

Raw run data streaming for v3 collections

Available as a beta feature on Enterprise plans

You can now use the postman collection run command with the --output option to stream raw run data to YAML files on disk as each request finishes.

Manage webhook requests with the Postman CLI

The postman webhook requests command is now available to help you manage requests received by a webhook. You can list requests, inspect request details, and replay requests for testing and debugging.

Report CLI events to Postman

The postman collection run and postman spec lint commands now support a --report-events option that uploads run results and governance rule violations to Postman, where you can view them in the API Catalog.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.41.2

Die Fehlerausgabe des Befehls postman app test wurde verbessert, um Probleme schneller zu identifizieren und zu beheben.

Improvements

Improved CLI error output for application test runs

The postman app test command now displays clearer, more informative error messages in the CLI output to help you identify and resolve issues more quickly.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.41.1

Der Befehl postman app test erfasst nun automatisch umfangreiche Git-Metadaten für jede Testausführung, einschließlich Commit-Informationen, Tags und Änderungsstatus, ohne zusätzliche Konfiguration.

Improvements

Richer Git metadata for application test runs

The postman app test command now automatically captures Git metadata for each test run, including commit information, tags, parent commits, git describe output, Git notes, and whether the working tree has uncommitted changes. This information is included with the run's analytics without requiring any extra configuration.

The captured metadata makes it easier to associate test runs with specific commits and releases. For example, you can identify release builds by tagged commits or use your own tag naming convention to determine which runs correspond to a release. In CI environments, the command also captures Git metadata from supported CI providers when available.

Originalquelle(öffnet in neuem Tab)Problem melden

Postman CLI von Postman

Postman CLI v1.41.0

Die Option --auto-update-pull-requests steuert automatische Pull Requests bei SDK-Erstellung, Duplikate beim Workspace-Push werden abgefragt, und generierte SDKs enthalten standardmäßig einen npm-Publishing-Workflow.

What’s New

Control automatic pull request creation

The postman sdk connect command now supports the --auto-update-pull-requests option to control whether pull requests are created automatically when the source changes or a new version of the SDK Generator is released. When this option is set to false, pull requests are created only when SDK regeneration is triggered manually.

If you don't specify the option, the default behavior depends on your Postman plan. It defaults to true for Enterprise plans and false for Team plans.

Prevent duplicate elements when pushing to a workspace

The postman workspace push command now helps prevent accidental duplicate Postman elements. If an element with the same name already exists in the Postman cloud, you're prompted to update the existing element, keep both, or skip it.

Improvements

Automatic npm publishing for generated SDKs

The postman sdk connect command no longer needs the --enable-publishing option. Generated SDKs now include the npm publishing workflow by default. To publish packages automatically, configure the required GitHub Actions secrets in the connected repository.

Improved logging for workspace commands …

Originalquelle(öffnet in neuem Tab)Problem melden