Skip to content

CM-45076 - CLI v3.0.0 #305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
May 14, 2025
Merged

CM-45076 - CLI v3.0.0 #305

merged 20 commits into from
May 14, 2025

Conversation

MarshalX
Copy link
Collaborator

@MarshalX MarshalX commented May 5, 2025

CHANGELOG DRAFT

## Breaking changes

- Support for Python 3.8 has been discontinued due to end-of-life.
- Options:
	- Option `--report` of `cycode scan` was renamed to `--cycode-report`.
	- Option `--commit_range` of `cycode scan commit-history` was renamed to `--commit-range`.
	- Option `--secret` was renamed to `--client-secret`.
	- Options `--client-id` and `--client-secrets` moved from `cycode scan` to `cycode`.
- Output:
	- Deprecated `scan_id` field was deleted from JSON output. Use `scan_ids` instead.
	- The pre-commit hook now uses text output for SCA.
	- Default output type changed from `text` to `rich`. To restore the old behavior provide `cycode -o text` option.
- Commands:
	- Commands `cycode auth check` and `cycode version` were removed. Use `cycode status` instead.
	- Commands with `_` (underscore) now use `-` (hyphen). Affected commands: `commit-history`, `pre-commit`, `pre-receive`. Note: backward compatibility is provided temporarily and will be deleted in the coming releases. 

## What's Changed
* Add CLI output exporting in HTML, SVG, and JSON formats by @MarshalX in https://github.com/cycodehq/cycode-cli/pull/297 
* Add rich output (Violation Cards); improve text output by @MarshalX in https://github.com/cycodehq/cycode-cli/pull/295
* Add rich progress bar with spinner and elapsed time by @MarshalX in https://github.com/cycodehq/cycode-cli/pull/286  
* Add rich tables with more useful information, colorful values, visual separators of row groups, and clickable paths by @MarshalX in https://github.com/cycodehq/cycode-cli/pull/287 and https://github.com/cycodehq/cycode-cli/pull/289  
* Add formatted and colorized text in logs (`--verbose` mode) by @MarshalX in https://github.com/cycodehq/cycode-cli/pull/285
* Add text output support for SCA by @MarshalX in https://github.com/cycodehq/cycode-cli/pull/307
* Add syntax highlight for code snippets in text output by @MarshalX in https://github.com/cycodehq/cycode-cli/pull/290  
* Add retry behavior for HTTP requests by @MarshalX in https://github.com/cycodehq/cycode-cli/pull/291
* Add error message from server responses to the user space by @MarshalX in https://github.com/cycodehq/cycode-cli/pull/294
* Polishing with various bug fixes by @MarshalX in https://github.com/cycodehq/cycode-cli/pull/299, https://github.com/cycodehq/cycode-cli/pull/302, https://github.com/cycodehq/cycode-cli/pull/303, https://github.com/cycodehq/cycode-cli/pull/293, https://github.com/cycodehq/cycode-cli/pull/296, https://github.com/cycodehq/cycode-cli/pull/309

## Showcase

...screenshots are here...

**Full Changelog**: https://github.com/cycodehq/cycode-cli/compare/v2.4.0...v3.0.0

# Conflicts:
#	cycode/cli/apps/scan/code_scanner.py
#	cycode/cli/apps/scan/pre_commit/pre_commit_command.py
#	cycode/cli/apps/scan/repository/repository_command.py
#	cycode/cli/printers/tables/sca_table_printer.py
#	cycode/cli/utils/scan_batch.py
#	tests/test_code_scanner.py
@MarshalX MarshalX changed the title CLI v3.0.0 CM-45076 - CLI v3.0.0 May 5, 2025
@MarshalX MarshalX marked this pull request as ready for review May 14, 2025 14:44
Copy link
Collaborator

@elsapet elsapet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelog draft looks good ✅ 🎉

@MarshalX MarshalX merged commit 7d83fba into main May 14, 2025
25 checks passed
@MarshalX MarshalX deleted the renovation branch May 19, 2025 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants