diff --git a/.changeset/cache-flow-tags-at-pull-time.md b/.changeset/cache-flow-tags-at-pull-time.md deleted file mode 100644 index 1f476e257..000000000 --- a/.changeset/cache-flow-tags-at-pull-time.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@qawolf/cli": minor ---- - -`flows list` now shows the tags of each flow. - -`flows pull` gets the tags of an environment and writes them to the manifest. A failed tag request does not stop the pull, and it does not erase tags from an earlier pull. - -Local `flows list` no longer sends `tags: []` for a flow it did not pull. The `tags` key is absent when the tags are unknown, and `[]` only when the flow has none. diff --git a/.changeset/offline-fallback-when-unreachable.md b/.changeset/offline-fallback-when-unreachable.md deleted file mode 100644 index 7beb9d48f..000000000 --- a/.changeset/offline-fallback-when-unreachable.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@qawolf/cli": minor ---- - -`flows run --env` can now run from the pulled copy when the platform is not reachable. The fallback applies only when the platform did not answer — a connection failure or a timeout. An answer from the platform, for example an unknown environment or a rejected key, stops the run and shows that answer. - -A pulled environment resolves by its id, its slug, or its display name — every form the CLI can show. diff --git a/.changeset/record-environment-identity-in-manifest.md b/.changeset/record-environment-identity-in-manifest.md deleted file mode 100644 index fb196d4be..000000000 --- a/.changeset/record-environment-identity-in-manifest.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@qawolf/cli": patch ---- - -`flows pull` now records the alias and the display name of an environment in the manifest. - -This makes a pulled directory recognisable without the platform. The id stays the source of truth, because an alias can change. diff --git a/.changeset/run-tags-across-environments.md b/.changeset/run-tags-across-environments.md deleted file mode 100644 index 6faabc56e..000000000 --- a/.changeset/run-tags-across-environments.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@qawolf/cli": minor ---- - -`flows run --tag` and `flows list` now handle flows from more than one pulled environment. When a tag matches flows in several environments, an interactive run asks which environment to use, and `--all-envs` runs every match. The CLI warns when `--all-envs` has no effect: with `--env`, or without `--tag`. - -`flows list` shows the environment of each flow, and `flows list --env` filters to one pulled environment without a platform call. An unknown `--env` value lists the environments that are on disk. diff --git a/.changeset/select-flows-by-tag.md b/.changeset/select-flows-by-tag.md deleted file mode 100644 index d03889146..000000000 --- a/.changeset/select-flows-by-tag.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@qawolf/cli": minor ---- - -`flows run` and `flows list` accept `--tag ` to select only the flows that carry that tag. Give the flag more than one time to select more than one tag. - -With `--env`, the CLI reads the tags from the platform. If the platform is not reachable, the CLI uses the tags from the last pull and shows a warning. Without `--env`, the CLI always uses the tags from the last pull. - -A tag that matches no flows stops the command with an error. If the tag does not exist on the team, the error names the closest known tag. diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c002ef33..846b74e0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # @qawolf/cli +## 1.20.0 + +### Minor Changes + +- 0dbf27d: `flows list` now shows the tags of each flow. + + `flows pull` gets the tags of an environment and writes them to the manifest. A failed tag request does not stop the pull, and it does not erase tags from an earlier pull. + + Local `flows list` no longer sends `tags: []` for a flow it did not pull. The `tags` key is absent when the tags are unknown, and `[]` only when the flow has none. + +- 33ebe2f: `flows run --env` can now run from the pulled copy when the platform is not reachable. The fallback applies only when the platform did not answer — a connection failure or a timeout. An answer from the platform, for example an unknown environment or a rejected key, stops the run and shows that answer. + + A pulled environment resolves by its id, its slug, or its display name — every form the CLI can show. + +- 8f5d2cf: `flows run --tag` and `flows list` now handle flows from more than one pulled environment. When a tag matches flows in several environments, an interactive run asks which environment to use, and `--all-envs` runs every match. The CLI warns when `--all-envs` has no effect: with `--env`, or without `--tag`. + + `flows list` shows the environment of each flow, and `flows list --env` filters to one pulled environment without a platform call. An unknown `--env` value lists the environments that are on disk. + +- 337a4cc: `flows run` and `flows list` accept `--tag ` to select only the flows that carry that tag. Give the flag more than one time to select more than one tag. + + With `--env`, the CLI reads the tags from the platform. If the platform is not reachable, the CLI uses the tags from the last pull and shows a warning. Without `--env`, the CLI always uses the tags from the last pull. + + A tag that matches no flows stops the command with an error. If the tag does not exist on the team, the error names the closest known tag. + +### Patch Changes + +- 1776b65: `flows pull` now records the alias and the display name of an environment in the manifest. + + This makes a pulled directory recognisable without the platform. The id stays the source of truth, because an alias can change. + ## 1.19.2 ### Patch Changes diff --git a/package.json b/package.json index 6b29ef74e..e522ee7f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@qawolf/cli", - "version": "1.19.2", + "version": "1.20.0", "description": "Run and manage QA Wolf flows from the terminal, CI, or an AI agent", "keywords": [ "automation",