All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- #3006 Accept input that starts with a UTF-8 or UTF-16 byte order mark (e.g. Windows PowerShell's
>/Out-File) for every input format instead of failing or dropping the first diagnostic. - #2994 Avoid a panic when SARIF primary or related locations contain only logical location information.
- #3001 Parse checkstyle XML that declares a non-UTF-8 encoding such as ISO-8859-1, windows-1252, Shift_JIS or
UTF8. - Resolve chained SARIF URI base IDs for diagnostic paths, related locations, and suggestions.
- Match SARIF suggestions across native and slash-separated paths on Windows.
- #2927 Skip blank and whitespace-only lines in
-f=rdjsonlinput instead of failing to parse. - Cut input lines longer than 64 KiB for
-efm,-f=<errorformat name>and runners witherrorformat, instead of silently dropping every diagnostic after such a line.
v0.21.3 - 2026-11-07
- #2059 Add support for range suggestions to
gitlab-mr-discussionreporter
- #2944 Make SARIF
file://paths with a Windows drive letter relative, instead of leaving a leading slash in front ofC:. - #2931 Allow GitHub annotation reporters to run with
-filter-mode=nofilterwithout a GitHub token or repository metadata. - #2917 Include git's stderr in the error when
git merge-baseorgit difffails for GitLab and Gerrit, instead of only reportingexit status 128. - #2910 Keep
git diffwarnings on stderr out of the diff when GitHub and Gitea fall back to the git command, so the diff still parses. - #2891 Skip SARIF results whose
kindispassornotApplicableinstead of reporting them as diagnostics. - #2865 Retry a GitHub Checks update that gets 404 right after the check run is created, instead of leaving it in_progress.
- #2857 Place
-f=diffsuggestions that insert lines at the top of a file on line 1, instead of shifting that hunk's suggestions one line down. - #2856 Normalize Windows diagnostic paths when the tool reports a different path casing.
- #2849 Preserve informational diagnostic severity as
notewhen emitting SARIF. - #2850 Send an encoded absolute OAuth
redirect_uritargeting the registered Doghouse callback route. - #2851 Allow the installation-store transaction to insert an account's first installation record.
- #2848 Preserve diagnostic annotations when GitHub review publication falls back to Actions logging after a permission error.
- #2847 Reject null runner definitions with a configuration error and avoid a panic for a single-word
gitdiff command. - #2823 Fall back to the paginated "list pull request files" API when GitHub's diff API rejects pull requests with more than 300 changed files (fixes #2150).
- #2826 Bitbucket: keep an annotation that another runner already reported for the same diagnostic, instead of leaving that runner's report without it.
- #2833 Resolve SARIF artifact locations that refer to entries in
run.artifactsby index.
v0.21.2 - 2026-09-19
- #2153 Log diagnostic filtering counts at debug level so fully filtered input is visible
- #2801 Report GitHub Checks even when there are no findings (regression since v0.21.1).
- #2477 Prevent deadlock when a runner outputs large
stderr. - #2809 Prevent crash when SARIF replacement inserted content is
mil(fixes #2808). - #950 Report diff parse errors instead of silently returning the file diffs parsed so far.
- #951 Parse a diff that carries blank lines around it, and a context line that lost its leading space to trailing-whitespace stripping.
v0.21.1 - 2026-06-12
The Homebrew package has migrated from a formula to a cask. Install it with brew install --cask reviewdog/tap/reviewdog.
- #2257 Use -trimpath flag for reproducible build
- #2513 Drop support of windows/arm
- #2543 Update
gitlab-mr-discussionreporter to embed a fingerprint meta-comment in each posted note and automatically resolve previously-posted discussions whose diagnostic is no longer reported (fixes #1150). - #2747 Update
gitea-pr-reviewreporter to be on par withgithub-pr-review: report results outside the diff context as pull request comments, fallback to Actions logging commands for results outside the diff file and honor the-levelflag.
- #2586 Honor SARIF
result.suppressionsin SARIF parser — suppressed results (per SARIF 2.1.0 §3.27.23 / §3.35) no longer emit diagnostics - #2481 Use CWD instead of git root in SARIF parser to prevent path doubling
- #2663 Fix deadlock when parsing too-long RDJSONL lines.
- doghouse: the
/checkendpoint (used by-reporter=github-pr-checkvia reviewdog.app) now always requiresREVIEWDOG_TOKEN. The previous shortcut that accepted requests from certain CI providers without a token has been removed. Users who relied on the token-less path (e.g. AppVeyor) must now setREVIEWDOG_TOKENexplicitly. Tokens can be obtained fromhttps://reviewdog.app/gh/<owner>/<repo-name>.
v0.21.0 - 2025-09-03
Starting from this release, reviewdog enables immutable releases to ensure the integrity of released assets. Released assets and the release itself are now immutable and can be verified using:
gh release verify <tag>
gh release verify-asset <tag> <asset>- #2026 Add reporter for GitHub annotations
github-annotations. Same asgithub-pr-annotationsbut not restricted to pull requests. - #2131 Fetch GitHub git based diffs using the base pull request repo to allow fetching from private forks in GitHub Actions.
- #2210 Update Gitea PR reporter to detect comments for already reported issues and report suggestions.
- #1931 Refactor handling of Git relative path - Centralized path normalization logic and added automatic
--relativeflag to git diff commands for consistent relative path handling.
- #967 Fix parsing long lines in diffs #967
- #1344 Bitbucket Cloud Fixes
- #1983 Improve error message for diff command failure by including stderr output
- #1975 Fix for suggestions not including an inserted EOF newline
- #2026 Never filter diffs when running
github-[pr-][check|annotate]on non-PRs - #2214 #2231 Migrate install.sh from godownloader to binstaller to prevent future failures when .sbom.json files are added to release artifacts. While reviewdog releases don't currently include SBOM files, this preemptively fixes the grep pattern bug that would cause installation failures when they are added in the near future.
v0.20.3 - 2024-12-04
- #1977 Include stderr in the error message if we run git command
v0.20.2 - 2024-09-16
- #1845 Normalize file path in
related_locationstoo.
- #1846 Unexpected error
exit code when using
-reporter=github-[pr-]checkwith-fail-on-error=true. See the below breaking changes section for more details. - #1867 Tool name was incorrect for github-[pr-]check reporters and check API does not work correctly for project config based run
- #1867 Deletion of outdated comment didn't work properly with github-pr-review reporter since tool name isn't correctly configured for project config based run
- #1894 fix error when repository uses multiselect custom-properties #1881
- #1903 Adjust result paths for github-[pr-]check and github-pr-annotaions reporters relative to the git directory
- #1858 Remove original_output from rdjson/rdjsonl reporters' output
-
#1854 (Actually No Breaking changes)
-fail-on-errorflag is deprecated. Use-fail-level=[none,any,error,warning,info]flag instead. You can reproduce the same behavior with-fail-level=anyfor most reporters (reviewdog will exit with 1 if it find any severity level). As forgithub-[pr-]checkreporter you can reproduce the same behavior with-fail-level=error(#1846).-fail-on-erroris just deprecated and it's not removed yet. Please update the flag while it's working.
v0.20.1 - 2024-07-14
- #1835 Fix -filter-mode didn't work with github-[pr-]check reporter for graceful degradation cases. i.e. GitHub token doesn't have write permission (e.g. PR from forked repo).
v0.20.0 - 2024-07-07
This version is created by mistake and is the same as v0.19.0. We left both versions as-is so that it won't break existing clients who already use v0.20.0.
v0.19.0 - 2024-07-07
- #1804 Support deleting outdated comments in github-pr-review reporter. Note that it won't delete comments if there is a reply considering there can be a meaningful discussion.
- #1806 Add -reporter=rdjson/rdjsonl which outputs rdjson/rdjsonl format to stdout. It also changes the default behavior of -diff and -filter-mode for local reporters. If -filter-mode is not provided (-filter-mode=default) and -diff flag is not provided, reviewdog automatically set -filter-mode=nofilter.
- #1807 Add -reporter=sarif which outputs SARIF format to stdout. You can upload the output SARIF to GitHub and see code scanning alerts.
- #1809 Support posting comments outside diff context as a file comment in github-pr-review reporter
- #1846 the behavior of
-fail-on-errorchanged with-github-[pr-]check. Previously, reviewdog didn't exit with 1 if it find issues with warning and info level. Now reviewdog will exit with 1 with any level. The previous behavior can be restored with-fail-level=errorflag with the upcoming release.
v0.18.1 - 2024-06-22
- #1792 Introduce
__reviewdog__HTML comment metadata and fingerprint for identifying existing posted comments forgithub-pr-reviewreporter. This resolve duplicated comments issue with related location feature.
v0.18.0 - 2024-06-17
This release supports related locations forgithub-pr-review reporter.
You can pass related_locations with rdjson / rdjsonl and sarif format.
- #1770 Add related locations support for
github-pr-reviewreporter
v0.17.5 - 2024-06-01
- #1722 Add a fallback to
git diffcommand to get diff forgithub-check/github-pr-checkreporters with GitHub Actions (in other words, when not in DogHouse server).
v0.17.4 - 2024-04-19
- #1714 Use GitHub API to get a merge base commit and add
git fetchcommand to get merge base and head commits
v0.17.3 - 2024-04-14
- #1697 Add a fallback to
git diffcommand to get diff of a GitHub pull request
v0.17.2 - 2024-03-11
- #933 Fix go vet errorformat
v0.17.1 - 2024-02-08
- #1651 Revert #1576: Support
--filter-mode=fileingithub-pr-review. Reasons: #1645 - #1653 fix: SARIF parser: parse with no region result. fix originalOutput field
- #1657 Fix sending incorrect line numbers to BitBucket Server Code Insight API. (fixes #1652)
v0.17.0 - 2024-01-22
- #1623 Add reporter for GitHub PR annotations
github-pr-annotations
v0.16.0 - 2023-12-17
- #1573 Add filter tests for file/nofilter mode
- #1576 Support
--filter-mode=fileingithub-pr-review - #1596 Use
CI_MERGE_REQUEST_DIFF_BASE_SHAenvvar if available ingitlab-mr-discussion - #1521 strict check of pr-review write permission
- #1617 Add reporter to Gitea PR review comments
gitea-pr-review
v0.15.0 - 2023-09-02
- #1554 Add SARIF format input support.
v0.14.2 - 2023-06-17
- #1170 Calculate check conclusion from annotations
- #1433 Add path link support for GitHub Enterprise
- #1447 Support determining build info on more GitHub Actions events
v0.14.1 - 2022-04-21
- #1160 Remove needless git command dependency by GitRelWorkdir func
- #1125 Allow BITBUCKET_SERVER_URL to have subpath
v0.14.0 - 2022-02-11
- #1118 Support end_lnum (%e) and end_col (%k) errorformat
v0.13.1 - 2021-12-28
- #1012 Use GitLab suggestions in merge request comments
- #1014 Fix incorrect detection of the
GITHUB_TOKENpermissions. fixes #1010 - #1017 Fix suggestions that include fenced code blocks. fixes #999
- #1084 Fix DEPRECATED to Deprecated
v0.13.0 - 2021-07-22
- #996 Added support for Bitbucket Pipes executed within Pipelines.
- #997 Added support for Bitbucket Server to
bitbucket-code-reportreporter
v0.12.0 - 2021-06-26
- #888 Allow GitHub PR reporting for a forked repository iff it's triggered by
pull_request_target - #976 Treat
GITHUB_API_URLenvironment variable as same asGITHUB_API, so users can use reviewdog in GitHub Actions in Enterprise Server without settingGITHUB_API
v0.11.0 - 2020-10-25
reviewdog v0.11 introduced Reviewdog Diagnostic Format (RDFormat) as generic machine-readable diagnostic format and it unlocks new rich features like code suggestions.
- #629 Introduced Reviewdog Diagnostic Format.
- #674 #703 Support rdjsonl/rdjson as input format
- #680 github-pr-review: Support multiline comments
- #675 #698 github-pr-review: Support suggested changes
- #699 Support diff input format (
-f=diff). Useful for suggested changes. - #700 Support to show code(rule), code URL and severity in GitHub and GitLab reporters.
- #678 github-pr-review: Support Code Suggestions
- Introduced reviewdog/action-suggester action.
- Introduced reviewdog/action-setup GitHub Action which installs reviewdog easily including nightly release.
- #769 Integration with Bitbucket Code Insights and Bitbucket Pipelines
v0.10.2 - 2020-08-04
- #709 Check for GITHUB_ACTIONS instead of GITHUB_ACTION
v0.10.1 - 2020-06-30
- #563 Use
CI_API_V4_URLenvironment variable when present.
- #609 reviewdog command will fail with unexpected tool's error for github-check/github-pr-check reporters as well. (@haya14busa)
- #603 Fixed detection of Pull Requests from forked repo. (@haya14busa)
v0.10.0 - 2020-05-07
With v0.10.0 release, now reviewdog can find issues outside diff by controlling
filtering behavior with -filter-mode. Also, you can ensure to check reported
results by exit 1 with -fail-on-error.
Example
$ cd subdir/ && reviewdog -filter-mode=file -fail-on-error -reporter=github-pr-review- #446
Added
-fail-on-errorflag (document) and improved exit code handling. (@DmitryLanda, @haya14busa) - #187
Added
-filter-modeflag [added,diff_context,file,nofilter] (document) which controls how reviewdog filter results. (@Le6ow5k1, @haya14busa) - #69 Support gerrit! (@staticmukesh)
- #548 Introduced nightly release (reviewdog/nightly). (@haya14busa)
- #461 All reporters now supports sub-directory run. (@haya14busa)
github-checkreporter won't report results outside diff by default now. You need to use-filter-mode=nofilterto keep the same behavior.
See https://github.com/reviewdog/reviewdog/releases for older release note.