KEMBAR78
Release v2025.2.1 Β· JetBrains/qodana-cli Β· GitHub
Skip to content

v2025.2.1

Latest

Choose a tag to compare

@qodana-bot qodana-bot released this 12 Aug 14:03
· 44 commits to main since this release

Changelog

  • 02ac294 ⬆️ Bump go to 1.22.8
  • 48a4c87 ⬆️ Bump go to 1.24.0
  • ffe2c94 ⬆️ Bump actions/setup-java from 3 to 4 in the dependencies group
  • 7a372c8 ⬆️ Bump config loader – better output on invalid yaml
  • e81ef35 ⬆️ Bump config-loader-cli.jar to 0.0.16
  • 8614b45 ⬆️ Bump github.com/boyter/scc/v3
  • 088b285 ⬆️ Bump github.com/go-enry/go-enry/v2
  • 85e648f ⬆️ Bump github.com/go-enry/go-enry/v2
  • f521171 ⬆️ Bump github.com/pterm/pterm
  • c0d8e6e ⬆️ Bump github.com/stretchr/testify
  • 1edb638 ⬆️ Bump github.com/stretchr/testify
  • bff4c22 ⬆️ Bump github.com/zalando/go-keyring
  • 90b4dc3 ⬆️ Bump golang.org/x/crypto from 0.24.0 to 0.31.0 in /cli
  • f5c232d ⬆️ Bump golang.org/x/crypto from 0.24.0 to 0.31.0 in /core
  • 2a16298 ⬆️ Bump golang.org/x/crypto from 0.24.0 to 0.31.0 in /platform
  • 150f126 ⬆️ Bump golang.org/x/crypto from 0.26.0 to 0.31.0 in /cmd
  • ab4d559 ⬆️ Bump golang.org/x/net from 0.30.0 to 0.33.0 in /cmd
  • 11ae2ee ⬆️ Bump golang.org/x/net from 0.33.0 to 0.36.0 in /cmd
  • 737b4df ⬆️ Bump the dependencies group across 1 directory with 2 updates
  • e6e23fa ⬆️ Bump the dependencies group across 4 directories with 1 update
  • 9e44ed7 ⬆️ Bump the dependencies group across 4 directories with 2 updates
  • bd7e75f ⬆️ QD-11257 Fixed empty yaml reading, bump config-loader-cli.jar to 0.0.17
  • 8e51fe8 ⬆️ QD-11903 Upgrade config-loader-cli.jar
  • e82027b ⬆️ QD-11903 Upgrade config-loader-cli.jar
  • db8ea3d ⬆️ Update publisher to 3.0.7
  • dec419d :brics: Add native run configuration
  • 4ae526b :brics: QD-10741 Add --linter and --within-container parameters for scan command
  • 48a7217 :brics: QD-10741 Fix qodana-clang
  • 377fa80 :brics: QD-12003 Cleanup. Split GuessAnalyzer method.
  • a3c414a :brics: QD-12003 Tests fixes
  • 2333267 :brics: QD-12003 Handle review. Add test for choosing NativePathAnalyzer.
  • a49f82c :brics: QD-12003 Refactor selection of linter parameters and datastructures
  • 84e1878 :brics: QD-12017 Add optional auth for downloading linter distribution
  • 5ec6c62 :brics: QD-12017 Add status check on HEAD request
  • cff2d22 :brics: QD-12093 Add detailed output on tar failure
  • c53280e πŸ› Escape special Windows characters (QD-11070)
  • ae538d7 πŸ› Fix CLI completion generation (QD-9907)
  • dac77a9 πŸ› Fix GitLab/BitBucket reports with baseline and no new problems (QD-10038)
  • b1409ee πŸ› Fix contributors log options
  • 06393bd πŸ› Fix view command options
  • 9b825da πŸ› Fix custom plugin setup for darwin (QD-9921)
  • 84ff2f6 πŸ› Fix custom plugins container location (QD-9921)
  • 6c2d6c5 πŸ› Fix forwarding testing endpoint to containers (QD-10281)
  • f58a0bf πŸ› Fix qodana-clang build on master
  • 762669d πŸ› Fix setting --report-dir for container runs (QD-10890)
  • c794264 πŸ› Handle errors for .idea cache and add logging (QD-9927)
  • cb78e5a πŸ› QD-10572 qodana-clang should respect arguments property
  • 4f36307 πŸ› QD-10573 qodana-clang should work for master and release branches
  • 2d09e71 πŸ› QD-10590 Plugins must be installed only inside native mode (inside docker is native)
  • 28e9c20 πŸ› QD-10627 Don't fail analysis step if changeset is empty in case of scoped analysis. (#507)
  • 0351582 πŸ› QD-10662: qodana-cli incorrectly retrieves current branch name (#549)
  • de0a8a2 πŸ› QD-10767 Update submodules when checkout performed in full history and scoped script (#519)
  • fad8dca πŸ› QD-10955 Add QODANA_TOKEN to docker env, QODANA_LICENSE_ONLY_TOKEN accessed only by os.Getenv
  • 98dc5cd πŸ› QD-10984 introduce whitelist for quick-fixes support and include QDNET in it (#548)
  • b38906c πŸ› QD-11241 Converter no longer needed for sending reports to cloud
  • 3451c74 πŸ› QD-11241 Create final results dir in third-party linters
  • 0c4e0ea πŸ› QD-11255 Handle absolute custom yaml config path
  • cba6ab2 πŸ› QD-11263 qodana-cdnet supports partialFingerprints
  • 6182065 πŸ› QD-11266 Add report saving for third party linters
  • 009852f πŸ› QD-11266 Pass corrected ResultsDir for permissions correction
  • 2662809 πŸ› QD-11276: qodana-cli tests fail on Windows when java exe has spaces in path (#552)
  • edb15a7 πŸ› QD-11375 Python: sync jdk.table.xml with python environment
  • 2558ef1 πŸ› QD-11458: 3rd party linters should update their binary in cache (#567)
  • 68454e3 πŸ› QD-11464: clang subproject's tests do not work (#568)
  • ef75a1a πŸ› QD-11482 Support user defined protocol
  • 8dcff9f πŸ› QD-11516: Ensure subprocess termination on Windows (#589)
  • 38a6b1f πŸ› QD-11538: qodana-clang fails to send report (#574)
  • cb80558 πŸ› QD-11584 if cloud is http, use host network for docker. Env variables used both by CLI and docker are stored and accessed separately in global variable
  • 17c7f7a πŸ› QD-11753 Ruby is eap only for now. Same for QDCPP.
  • 5cccc68 πŸ› QD-12099 Add test. Replace %s with %w on error creation.
  • 6c3e6c7 πŸ› QD-12099 Always try to clean up the temp folder
  • 67a7e4a πŸ› QD-12099 Replace extracting dist to target with extracting to temp and move.
  • a8f3b54 πŸ› QD-12099 Use 0755 permission for dist dir, use 0700 for download dir
  • f0e13a4 πŸ› QD-12099 Use MkdirTemp instead MkdirAll
  • 0a0943d πŸ› QD-12139: Fix inter-module dependency managment (#623)
  • 0da0b9b πŸ› QD-12168 Fix messages for errors of linter's downloading
  • c48b72d πŸ› QD-12252 Add copying as a fallback after linter unpack
  • 92659ec πŸ› QD-12252 Fix wrong condition on returning error
  • adc18cf πŸ› QD-12266: Fix qodana-cdnet build process (#629)
  • c9f1bac πŸ› QD-12327: Fix multiple problems with 'go generate' (#641) (#642)
  • a7e9e26 πŸ› QD-12352 Change exec.Command to functions from utils (#648)
  • 9ab04a9 πŸ› QD-9921 Fix linux and windows custom-plugin path
  • e97a627 πŸ› QD-9921 Remove quotes on passing disabled_plugins. Parameters passed through file should not be quoted.
  • c5a49cc πŸ› Scoped script should keep baseline for the second run and track coverage feature usage.
  • 5a7ab37 πŸ› When falling back to default scenario, reset options that lead to changes analysis
  • 161a96a πŸ› When launching docker linter, log folder does not exist for CLI
  • 89d0b44 πŸ› respect environment when creating a docker client in pull command (#532)
  • ee25a08 πŸ›QD-10274 Stop modifying unnecessary files in native mode
  • 8e899ca πŸ›QD-10360 Fix an order of setting variables custom JVM properties
  • cb8d279 πŸ›QD-10360 Force installPlugins to use qodana attributes of EAP and version
  • 780c39d πŸ›QD-10360 Refactor passing options to installPlugins, add necessary options to common part with scan options
  • 4ce0f92 πŸ›QD-10419 Set up plugins once even in scoped script
  • 96b36d6 🚸 Check args length before comparing
  • 5a9660b 🚸 Fallback to default execution scenario when revision is missing in history
  • d3275c0 🚸 Fix output for CI, add simple tests
  • 527679f 🚸 Format CI messages for more visibility
  • 9d5db8b 🚸 Make non-CI warning similar to other warnings
  • 6510798 🚸 Produce warnings if the linter version is incompatible
  • e342dd1 πŸ”Š Remove incorrect "See log above for details", the placement of exception in stdout(err) is not guaranteed
  • 54dbb1c βͺ (reverting for rebasing, commit is brought back later) Revert "QD-10767 Update submodules when checkout performed in full history and scoped script (#519)"
  • 3d1cf31 ✨ QD-10856 Address review #527
  • 08a2a37 ✨ QD-10856 Create effective configuration in qodana cli
  • 6e3e6c8 ✨ QD-10955 Now in qodana init we require token if it's needed
  • 08a55a3 ✨ QD-11220: Support jetbrains/qodana-cpp as the docker image for QDCPP in CLI (#537)
  • 1a497bd ✨ QD-11228 Provide effective qodana yaml to frontend as qodana yaml
  • 1e6a491 πŸ”§ QD-10955 Codestyle
  • e7f6795 ⚑ Bump linters versions
  • 5e336b8 ⚑ QD-10306 Add logging for native configuration
  • 9989b14 ⚑ QD-11553 Bump Qodana CLI to 2025.1 linters, 251 is released
  • e8937a4 ⚑ QD-11553 Mute test which verify existense of 2025 linters in feed, because it's not yet released
  • c16694e ⚑ QD-11553 in feed eap is 2024.3, no 2025.1 eap in feed
  • 677ea17 ⚑ Switch from 2024.3 EAP to Release
  • 8cf7f90 ⚑ Switch to released 2024.2 images
  • 8ef354a ⚑ Unset Ruby-related variables for QDRUBY (RUBY-29231)
  • 41024f2 If a GitHub Actions job or workflow has no explicit permissions set, then the repository permissions are used. Repositories created under organizations inherit the organization permissions. The organizations or repositories created before February 2023 have the default permissions set to read-write. Often these permissions do not adhere to the principle of least privilege and can be reduced to read-only, leaving the write permission only to a specific types as issues: write or pull-requests: write.
  • 4c19e42 Merge QDCL and QDCLC into a single linter (#566)
  • a6d4bf8 Merge pull request #627 from JetBrains/bump-version-to-252
  • 7d078c5 Merge pull request #644 from JetBrains/252-cherrypick-release
  • 1a106ab QD-10767 Update submodules when checkout performed in full history and scoped script (#519)
  • 832ae55 QD-11753 Add Ruby project recognition
  • b8bf946 QD-12076 bump publisher-cli version
  • 122eb71 QD-12099 Compilation fix
  • 0c2b5a8 QD-12104 Fix tests
  • f0a196d QD-12104 bump eap version to 252
  • 7a706e6 QD-12104 set 252 as release (#640)
  • 6206e09 QD-12168 Replace backticks in error messages
  • 0a3949b Revert ":zap: QD-11553 Mute test which verify existense of 2025 linters in feed, because it's not yet released"
  • a2c8de1 πŸ› QD-11565: Revert "Use canonical paths for ComputeChangedFiles (#584)" (#587)
  • a15743d πŸ› QD-11565: Use canonical paths for ComputeChangedFiles (#584)

Install

πŸ’‘ The Qodana CLI is distributed and run as a binary. The Qodana linters with inspections are Docker Images or, starting from version 2023.2, your local/downloaded by CLI IDE installations (experimental support).

macOS and Linux

Install with Homebrew (recommended)
brew install jetbrains/utils/qodana
Install with our installer
curl -fsSL https://jb.gg/qodana-cli/install | bash

Also, you can install nightly or any other version (e.g. v2023.2.9) the following way:

curl -fsSL https://jb.gg/qodana-cli/install | bash -s -- nightly

Windows

Install with Windows Package Manager (recommended)
winget install -e --id JetBrains.QodanaCLI
Install with Chocolatey
choco install qodana
Install with Scoop
scoop bucket add jetbrains https://github.com/JetBrains/scoop-utils
scoop install qodana

Anywhere else

Alternatively, you can install the latest binary (or the apt/rpm/deb/archlinux package) from this page.

Update

Update to the latest version depends on how you choose to install qodana on your machine.

Update with Homebrew

brew upgrade qodana

Update with Scoop

scoop update qodana

Update with Chocolatey

choco upgrade qodana

Update on Linux and macOS with the installer script

curl -fsSL https://jb.gg/qodana-cli/install | bash

Alternatively, you can grab the latest binary (or the apt/rpm/deb package) from this page.