Skip to content

Do you want to make --json obsolete or not? #1024

@Whathecode

Description

@Whathecode

In release 5.3.1 it was announced that --json will be deprecated eventually:

New --output-format Parameter (Replaces --json) – A new --output-format parameter has been added, allowing explicit selection of output format (json, xml, unsafejson, or auto).
⚠️ The previously used --json flag is now deprecated and will be removed in a future release. Use --format json instead for the same behavior—with more flexibility.

In the release notes of 6.0.0 it is announced as a breaking change:

Removed --json/-j flag (replaced by --output-format json)

But, the release includes a GitHub Copilot Agent commit rolling back that decision:

Restore --json parameter for backward compatibility

  • Reintroduced --json flag as deprecated alias for --output-format json
  • Maintains compatibility with existing GitHub Actions and CI/CD pipelines
  • Updated CHANGELOG.md to document the restoration

... adding it as a "fix" the the CHANGELOG, without removing the claim that removing it is a breaking change. The "fix" documentation didn't make it into the final release notes (only the breaking change announcement), so I guess somebody removed it.

Please don't let Copilot make architectural decision without thorough oversight. 😮‍💨 My two cents: I think deprecating it was a good decision, and it was announced up front and well-documented. Get rid of the tech debt. 🙌

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions