Breaking Change introduced by removing `--output-format` flag in `glab issue list`
Checklist
-
I'm using the latest version of the extension (Run glab --version)- Extension version: glab version 1.37.0 (2024-03-11)
-
Operating system and version: / # cat /etc/os-release NAME="Alpine Linux" ID=alpine VERSION_ID=3.20.0_alpha20240315 PRETTY_NAME="Alpine Linux edge" -
Gitlab.com or self-managed instance? gitlab.com -
I have performed glab auth statusto check for authentication issues: NOPE, because this ran in a pipeline job.
Summary
It seems that the flag --output-format was just removed between minor versions.
I would have expected some deprecation time so that I can react before the final removal, which I would expect to be scheduled at the earliest for the next major version.
Environment
- OS: Linux 6.5.11-linuxkit aarch64
- SHELL: /bin/sh
- TERM: xterm
- GLAB: glab version 1.37.0 (2024-03-11)
Other:
Steps to reproduce
Just try running glab issue list --output-format ids.
What is the current bug behavior?
The cli exits with this error: unknown flag: --output-format
What is the expected correct behavior?
Some deprecation notice, and that --output-format still works as to not break existing behavior
Relevant logs and/or screenshots
Possible fixes
Might be the pipelineGetCmd.Flags().MarkHidden("output-format").
See: 49832255
