Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Upcoming changes...

## [1.35.0] - 2025-10-07
### Modified
- Use gRPC instead of REST for API calls

## [1.34.0] - 2025-10-06
### Added
- Add REST API support for decoration commands
Expand Down
2 changes: 1 addition & 1 deletion src/scanoss/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
THE SOFTWARE.
"""

__version__ = '1.34.0'
__version__ = '1.35.0'
9 changes: 8 additions & 1 deletion src/scanoss/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,8 @@ def setup_args() -> None: # noqa: PLR0912, PLR0915
c_versions,
c_licenses,
]:
p.add_argument('--grpc', action='store_true', help='Enable gRPC support')
p.add_argument('--grpc', action='store_true', default=True, help='Use gRPC (default)')
p.add_argument('--rest', action='store_true', dest='rest', help='Use REST instead of gRPC')

# Help/Trace command options
for p in [
Expand Down Expand Up @@ -1111,6 +1112,12 @@ def setup_args() -> None: # noqa: PLR0912, PLR0915
p.add_argument('--quiet', '-q', action='store_true', help='Enable quiet mode')

args = parser.parse_args()

# TODO: Remove this hack once we go back to using REST as default
# Handle --rest overriding --grpc default
if hasattr(args, 'rest') and args.rest:
args.grpc = False

if args.version:
ver(parser, args)
sys.exit(0)
Expand Down