Releases: temporalio/cli
v0.14.0-nexus.0
What's Changed
- Supported flattened event detail view on workflow show/execute by @cretz in #615
- Tweak server start-up text by @dandavison in #624
- Fix nil deref if the env file can't be parsed by @josh-berry in #625
- Nexus by @bergundy in #577
Full Changelog: v0.13.2...v0.14.0-nexus.0
v0.13.2
What's Changed
workflow show: Add blank line aboveResults:by @josh-berry in #603- Fix commit rule confirmation message by @antlai-temporal in #610
- dev-server: Properly deal with IPv6 by @mjameswh in #611
- Update UI module for versioning pre-release by @antlai-temporal in #614
- Fix marshaling of payloads with null values by @dandavison in #617
Full Changelog: v0.13.1...v0.13.2
v0.13.1
Highlights
This is a minor release that introduces support for worker versioning using a new API provided by Temporal Servers with version 1.24.0+.
Worker versioning is an experimental feature, currently in pre-release, which associates Build IDs to worklfows and activities using rules, and then guarantees that only workers running compatible code will process their tasks. Rules are scoped by a task queue, and can be manipulated or listed with the CLI. For example:
temporal task-queue versioning -t my-queue get-rules
Known Incompatibilities
task-queue describe is now returning task reachability information in addition to pollers info, to safely retire old workers using worker versioning. It uses an enhanced API that is not supported by a server with version <1.24.0. To access pollers information in older servers set the --legacy-mode flag, and select the task queue type using the --task-queue-type-legacy argument (if different from workflow).
What's Changed
- Accept search attributes for dev server and disable cache by default by @cretz in #593
- Trigger goreleaser on published release by @antlai-temporal in #598
- Support worker versioning with new API by @antlai-temporal in #596
Full Changelog: v0.13.0...v0.13.1
v0.13.0
Highlights
This release upgrades Temporal Server to version 1.24.1. It builds on the CLI refresh work of 0.12.0, which introduced many changes, please read the 0.12.0 release notes if upgrading from 0.11.X or older.
Known Incompatibilities
The --data option on temporal operator namespace create now provides multiple key-value pairs by repeating the --data flag. The former syntax of a single --data option with key-value pairs separated by commas is no longer supported. See #583 for details.
What's Changed
- Resurrect install.sh by @josh-berry in #540
- Tweak server start text by @dandavison in #554
- New flag:
workflow show --event-detailsby @dandavison in #555 - Fix panic when started without a stdout by @mjameswh in #549
- Specify go compiler minor version by @dandavison in #563
- get-free-port: prevent duplicate ports on Linux by @mjameswh in #564
- Use server's timestamp.ParseDuration for all durations by @dnr in #572
- Add test to verify that Schedule memo can be updated by @antlai-temporal in #569
- Update the docker-builds repo when releases are published by @tdeebswihart in #570
- Setting host level mutable state cache size to 8k by @prathyushpv in #574
- Use "uses" instead of curl by @tdeebswihart in #575
- Fix setting env name with a property by @antlai-temporal in #568
- Revert "Use "uses" instead of curl (#575)" by @tdeebswihart in #576
- Fail on unknown environments by @Sushisource in #578
- Print encoding of workflow results by @Sushisource in #579
- Normalize semantic of --data args by @mjameswh in #583
- Normalize --name and --type flags on workflow commands by @cretz in #580
- Prepare dependencies and tests for CLI 0.13-rc.1 release (server v1.24.1) by @josh-berry in #584
- Update server & add --reapply-exclude flag to reset by @Sushisource in #588
- Pin goreleaser version by @antlai-temporal in #591
- Fix trigger-publish.yml to quote the commit hash by @antlai-temporal in #592
- Publish only non-RC releases by @antlai-temporal in #594
New Contributors
Full Changelog: v0.12.0...v0.13.0
v0.13.0-rc.2
This release fixes some CI issues blocking the publishing of docker images. It also adds support for excluding some event types in workflow reset.
What's Changed
- Update server & add --reapply-exclude flag to reset by @Sushisource in #588
- Pin goreleaser version by @antlai-temporal in #591
- Fix trigger-publish.yml to quote the commit hash by @antlai-temporal in #592
Full Changelog: v0.13.0-rc.1...v0.13.0-rc.2
v0.13.0-rc.1
Highlights
This release upgrades Temporal Server to version 1.24.1. It builds on the CLI refresh work of 0.12.0, which introduced many changes, please read the 0.12.0 release notes if upgrading from 0.11.X or older.
Known Incompatibilities
- The
--dataoption ontemporal operator namespace createnow provides multiple key-value pairs by repeating the--dataflag. The former syntax of a single--dataoption with key-value pairs separated by commas is no longer supported. See #583 for details.
What's Changed
- Resurrect install.sh by @josh-berry in #540
- Tweak server start text by @dandavison in #554
- New flag:
workflow show --event-detailsby @dandavison in #555 - Fix panic when started without a stdout by @mjameswh in #549
- Specify go compiler minor version by @dandavison in #563
- get-free-port: prevent duplicate ports on Linux by @mjameswh in #564
- Use server's timestamp.ParseDuration for all durations by @dnr in #572
- Add test to verify that Schedule memo can be updated by @antlai-temporal in #569
- Update the docker-builds repo when releases are published by @tdeebswihart in #570
- Setting host level mutable state cache size to 8k by @prathyushpv in #574
- Use "uses" instead of curl by @tdeebswihart in #575
- Fix setting env name with a property by @antlai-temporal in #568
- Revert "Use "uses" instead of curl (#575)" by @tdeebswihart in #576
- Fail on unknown environments by @Sushisource in #578
- Print encoding of workflow results by @Sushisource in #579
- Normalize semantic of --data args by @mjameswh in #583
- Normalize --name and --type flags on workflow commands by @cretz in #580
- Prepare dependencies and tests for CLI 0.13-rc.1 release (server v1.24.1) by @josh-berry in #584
New Contributors
Full Changelog: v0.12.0...v0.13.0-rc.1
v0.12.0
CLI Refresh
Temporal CLI has had its internals rewritten to be more consistent and more maintainable. This includes many improvements, but also some known backwards incompatibilities from the previous 0.11.0 release.
💥 WARNING: There are known compatibility breaks with this release, see the sections below 💥
Known Improvements
- The position of flags is no longer significant; flags can be placed anywhere in the command invocation
--output jsonnow makes sure to only output JSON to stdout (instances of invalid JSON output have been fixed)--output jsonlnow exists which disables indention/newline and, in some commands, streams lines of JSON instead of producing a single array--input-metais now supported so different encodings can be specified (e.g. Protobuf JSON)- Log level customization added
envfile path can be customized- Payload shorthand support added, meaning most JSON base64 payloads are decoded to just show their contents
- Exit codes are now non-zero in proper failing situations
--api-keycan now be used to set anAuthorizationheader withBearerprefixed token--tls-certand--tls-keydata now accepted in addition to just filesserver start-devnow uses common log framework so log level can be more easily customized- Logs now go to stderr instead of stdout
server start-devhas reduced output noise (with more reduction to come)workflow describenow has a text form instead of always JSONworkflow executenow streams event table instead of waiting on completionworkflow executeproperly shows non-zero exit code on failureworkflow executefollows continue-as-new by default
💥 Known Incompatibilities
All Commands
- The shell-script-based install is no longer supported
- Outputs in both JSON and plain text have been changed across most commands—notably, JSON keys are now camelCase
- Duration flags need trailing unit suffix (i.e. e.g.
--workflow-timeout 5becomes--workflow-timeout 5s) --output tableand--output cardremoved and merged into--output text- Pager removed
TEMPORAL_CLI_SHOW_STACKSenvironment variable no longer supported--tls-ca-pathcan no longer be a URL--fieldscommand removed, commands now decide which fields should be present or not--context-timeoutremoved (but it may get added back in a different form later)
Specific Commands
envcommands now expect--env,-kand-vflags rather than positional arguments (positional arguments will continue to work, but are now deprecated and a warning is emitted)operator namespacecommands now expect a-nflag to specify the namespace rather than a positional argument (the positional argument will continue to work, but is now deprecated and a warning is emitted)operator namespace updateno longer supports--verboseschedule createchanged--workflow-typeto be--typeserver start-devwith--db-filenameno longer auto-creates directory path of 0777 dirs if not presentserver start-devno longer supportsfatalas a--log-levelbecause it shares the level now with the rest of the CLIworkflowand its subcommands no longer support--memo-fileworkflow executedoes not dump history by default when JSON is enabledworkflow executewhen using--event-details(née--fields long) shows full JSON attributes instead of wrapped partial tableworkflow executeno longer succeeds if workflow exists, but--allow-existingis presentworkflow reset-batchremoved in favor ofworkflow reset --querywith reset options (some previous reset types may not be supported)workflow showdoes not allow-fas an alias for--followworkflow startno longer succeeds if workflow exists, but--allow-existingis presentworkflow traceremoved while being repaired (inadvertently broken in last release)
What's Changed
- Initial CLI rewrite by @cretz in #412
- CLI Refresh:
workflow signalcommand by @cretz in #432 - Implement
workflow terminatecommand by @tdeebswihart in #436 - CLI Refresh: Output improvements on start-dev by @cretz in #441
- Change log-level from "off" to "never" and show enums in options help by @cretz in #442
- Implement
workflow cancelcommand by @tdeebswihart in #435 - Implement activity commands by @dandavison in #445
- Override SDK-set headers for client name and others by @cretz in #450
- Workflow start delay on CLI refresh by @cretz in #452
- More env tests by @cretz in #454
- Embed tzdata on CLI refresh by @cretz in #453
- Add query command by @Sushisource in #455
- CLI Refresh: Implement
workflow resetby @tdeebswihart in #443 - Don't run tests in verbose mode in CI by @tdeebswihart in #444
- CLI Refresh:
workflow updatecommand by @pdoerner in #462 - Add
workflow stackcommand by @Sushisource in #457 - Add operator cluster commands by @Quinn-With-Two-Ns in #460
- Add goreleaser and Dockerfile by @cretz in #463
- Implement
workflow showby @Sushisource in #458 - Exit nonzero on unknown commands by @Sushisource in #466
- Enhance Task Queue Describe by @Sushisource in #467
- Add more operator cluster commands by @Quinn-With-Two-Ns in #465
- Add operator search-attribute commands by @yiminc in #470
- Add more tests by @Sushisource in #472
- [CLI Refresh] Add build id commands by @antlai-temporal in #469
- CLI Refresh:
batchcommands by @stephanos in #464 - Add support for batch resets. by @ast2023 in #473
- Log env vars which override the env file by @Sushisource in #483
- TLS Data flags by @Sushisource in #484
- Log metrics port by @Sushisource in #482
- fix
batch terminatetest by @stephanos in #488 - JSONL support by @cretz in #487
- Adding namespace commands to cli by @prathyushpv in #476
- Adding task-queue list-partition command by @prathyushpv in #491
- CLI Refresh:
workflow deletecommand by @carlydf in #496 - Add --api-key and update dependencies by @cretz in #500
- Add ARM targets for CI by @Quinn-With-Two-Ns in #497
- Add
temporal workflow fix-history-jsonsubcommand. by @chronos-tachyon in #504 - Implement
schedulecommands by @dnr in #459 - Do not use payload shorthand on workflow show by @cretz in #505
- Implement workflow count, temporarily remove workflow trace by @cretz in #506
- Replace release workflow with goreleaser from main by @cretz in #510
- Fixes typos in the commands Markdown source by @fairlydurable in #512
- Make argument and flag use consistent across commands by @josh-berry in #511
- Allow insecure CSRF cookies by @josh-berry in #515
- Add update-id option by @Quinn-With-Two-Ns in #517
- Fix racy batch test by @josh-berry in #516
- Exit zero if help/version is explicitly requested by @josh-berry in #525
- Add workflow trace by @sebneira in #520
- Update server and UI server by @cretz in #536
- Dev server compat issues in CLI rewrite by @cretz in #535
Full Changelog: v0.11.0...v0.12.0
v0.12.0-rc.3
CLI Refresh
This is another release in the 0.12.0 RC series. See release notes on v0.12.0-rc.2 for more overall 0.12.0 information.
What's Changed
- Fixes typos in the commands Markdown source by @fairlydurable in #512
- Make argument and flag use consistent across commands by @josh-berry in #511
- Allow insecure CSRF cookies by @josh-berry in #515
- Add update-id option by @Quinn-With-Two-Ns in #517
- Fix racy batch test by @josh-berry in #516
- Exit zero if help/version is explicitly requested by @josh-berry in #525
- Add workflow trace by @sebneira in #520
- Update server and UI server by @cretz in #536
- Dev server compat issues in CLI rewrite by @cretz in #535
Full Changelog: v0.12.0-rc.2...v0.12.0-rc.3
v0.12.0-rc.2
CLI Refresh
Temporal CLI has had its internals rewritten to be more consistent and more maintainable. This includes many improvements, but also some known backwards incompatibilities from the previous 0.11.0 release.
Known Improvements
- Any flag and command name can be in any order
--output jsonnow makes sure to only output JSON to stdout--output jsonlnow exists which disables indention/newline and, in some commands, streams lines of JSON--input-metais now supported so different encodings can be specified (e.g. Protobuf JSON)- Log level customization added
envfile path can be customized- Payload shorthand support added, meaning most JSON base64 payloads are decoded to just show their contents
- Exit codes are now non-zero in proper failing situations
--api-keynow available to set anAuthorizationheader withBearerprefixed token--tls-cert/key data now accepted in addition to just filesserver start-devnow uses common log framework so log level can be customized easier and logs go to stderr instead of stdoutserver start-devhas reduced output noise (with more reduction to come)workflow describenow has a text form instead of always JSONworkflow executenow streams event table instead of waiting on completionworkflow executeproperly shows non-zero exit code on failureworkflow executefollows continue-as-new by default
💥 Known Incompatibilities
All Commands
- Outputs in both JSON and plain text have been changed across most commands including JSON keys becoming camelCase
- Duration flags need trailing unit suffix (i.e. e.g.
--workflow-timeout 5becomes--workflow-timeout 5s) --output tableand--output cardremoved and merged into--output text- Pager removed
TEMPORAL_CLI_SHOW_STACKSenvironment variable no longer supported--tls-ca-pathcan no longer be a URL--fieldscommand removed, commands now decide which fields should be present or not
Specific Commands
operator namespace updateno longer supports--verboseschedule createchanged--workflow-typeto be--typeserver start-devwith--db-filenameno longer auto-creates directory path of 0777 dirs if not presentworkflowand its subcommands no longer support--memo-fileworkflow executedoes not dump history by default when JSON is enabledworkflow executewhen using--event-details(née--fields long) shows full JSON attributes instead of wrapped partial tableworkflow executeno longer succeeds if workflow exists, but--allow-existingis presentworkflow reset-batchremoved in favor ofworkflow reset --querywith reset options (some previous reset types may not be supported)workflow showdoes not allow-fas an alias for--followworkflow startno longer succeeds if workflow exists, but--allow-existingis presentworkflow traceremoved while being repaired (inadvertently broken in last release)
What's Changed
- Initial CLI rewrite by @cretz in #412
- CLI Refresh:
workflow signalcommand by @cretz in #432 - Implement
workflow terminatecommand by @tdeebswihart in #436 - CLI Refresh: Output improvements on start-dev by @cretz in #441
- Change log-level from "off" to "never" and show enums in options help by @cretz in #442
- Implement
workflow cancelcommand by @tdeebswihart in #435 - Implement activity commands by @dandavison in #445
- Override SDK-set headers for client name and others by @cretz in #450
- Workflow start delay on CLI refresh by @cretz in #452
- More env tests by @cretz in #454
- Embed tzdata on CLI refresh by @cretz in #453
- Add query command by @Sushisource in #455
- CLI Refresh: Implement
workflow resetby @tdeebswihart in #443 - Don't run tests in verbose mode in CI by @tdeebswihart in #444
- CLI Refresh:
workflow updatecommand by @pdoerner in #462 - Add
workflow stackcommand by @Sushisource in #457 - Add operator cluster commands by @Quinn-With-Two-Ns in #460
- Add goreleaser and Dockerfile by @cretz in #463
- Implement
workflow showby @Sushisource in #458 - Exit nonzero on unknown commands by @Sushisource in #466
- Enhance Task Queue Describe by @Sushisource in #467
- Add more operator cluster commands by @Quinn-With-Two-Ns in #465
- Add operator search-attribute commands by @yiminc in #470
- Add more tests by @Sushisource in #472
- [CLI Refresh] Add build id commands by @antlai-temporal in #469
- CLI Refresh:
batchcommands by @stephanos in #464 - Add support for batch resets. by @ast2023 in #473
- Log env vars which override the env file by @Sushisource in #483
- TLS Data flags by @Sushisource in #484
- Log metrics port by @Sushisource in #482
- fix
batch terminatetest by @stephanos in #488 - JSONL support by @cretz in #487
- Adding namespace commands to cli by @prathyushpv in #476
- Adding task-queue list-partition command by @prathyushpv in #491
- CLI Refresh:
workflow deletecommand by @carlydf in #496 - Add --api-key and update dependencies by @cretz in #500
- Add ARM targets for CI by @Quinn-With-Two-Ns in #497
- Add
temporal workflow fix-history-jsonsubcommand. by @chronos-tachyon in #504 - Implement
schedulecommands by @dnr in #459 - Do not use payload shorthand on workflow show by @cretz in #505
- Implement workflow count, temporarily remove workflow trace by @cretz in #506
Full Changelog: v0.11.0...v0.12.0-rc.2
v0.11.0
What's Changed
- Bump go.temporal.io/api from 1.25.0 to 1.26.0 by @dependabot in #394
- Enhance task-queue describe by @dnr in #399
- Add start delay to workflow start by @Sushisource in #402
- When adding search attributes, do not remove already existing ones by @rodrigozhou in #401
- Add summary to worklow watch by @sebneira in #251
- Insecure CSRF cookie by @ndtretyak in #408
- Embed fallback tzdata by @dnr in #415
- Remote codec-endpoint cherry-pick (#420) by @dandavison in #421
- Bump go.temporal.io/server from 1.22.2 to 1.22.4 by @dependabot in #413
- Properly-parse inputs for commands that take a single
--inputonly by @josh-berry in #423 - Fix the "delete namespace" prompt by @josh-berry in #406
New Contributors
- @ndtretyak made their first contribution in #408
Full Changelog: v0.10.7...v0.11.0