Skip to content

Latest commit

 

History

History
407 lines (300 loc) · 25.1 KB

CHANGELOG.md

File metadata and controls

407 lines (300 loc) · 25.1 KB

Changelog

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.

✨ Release Note

🚀 Enhancements

🐛 Fixes

  • #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=rdjsonl input instead of failing to parse.
  • Cut input lines longer than 64 KiB for -efm, -f=<errorformat name> and runners with errorformat, instead of silently dropping every diagnostic after such a line.

🚨 Breaking changes

v0.21.3 - 2026-11-07

🚀 Enhancements

  • #2059 Add support for range suggestions to gitlab-mr-discussion reporter

🐛 Fixes

  • #2944 Make SARIF file:// paths with a Windows drive letter relative, instead of leaving a leading slash in front of C:.
  • #2931 Allow GitHub annotation reporters to run with -filter-mode=nofilter without a GitHub token or repository metadata.
  • #2917 Include git's stderr in the error when git merge-base or git diff fails for GitLab and Gerrit, instead of only reporting exit status 128.
  • #2910 Keep git diff warnings 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 kind is pass or notApplicable instead 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=diff suggestions 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 note when emitting SARIF.
  • #2850 Send an encoded absolute OAuth redirect_uri targeting 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 git diff 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.artifacts by index.

v0.21.2 - 2026-09-19

🚀 Enhancements

  • #2153 Log diagnostic filtering counts at debug level so fully filtered input is visible

🐛 Fixes

  • #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

✨ Release Note

The Homebrew package has migrated from a formula to a cask. Install it with brew install --cask reviewdog/tap/reviewdog.

🚀 Enhancements

  • #2257 Use -trimpath flag for reproducible build
  • #2513 Drop support of windows/arm
  • #2543 Update gitlab-mr-discussion reporter 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-review reporter to be on par with github-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 -level flag.

🐛 Fixes

  • #2586 Honor SARIF result.suppressions in 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.

🚨 Breaking changes

  • doghouse: the /check endpoint (used by -reporter=github-pr-check via reviewdog.app) now always requires REVIEWDOG_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 set REVIEWDOG_TOKEN explicitly. Tokens can be obtained from https://reviewdog.app/gh/<owner>/<repo-name>.

v0.21.0 - 2025-09-03

✨ Release Note

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>

🚀 Enhancements

  • #2026 Add reporter for GitHub annotations github-annotations. Same as github-pr-annotations but 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 --relative flag to git diff commands for consistent relative path handling.

🐛 Fixes

  • #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

🐛 Fixes

  • #1977 Include stderr in the error message if we run git command

v0.20.2 - 2024-09-16

🚀 Enhancements

  • #1845 Normalize file path in related_locations too.

🐛 Fixes

  • #1846 Unexpected error exit code when using -reporter=github-[pr-]check with -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

🚨 Breaking changes

  • #1858 Remove original_output from rdjson/rdjsonl reporters' output

🚨 Deprecation Warnings

  • #1854 (Actually No Breaking changes) -fail-on-error flag is deprecated. Use -fail-level=[none,any,error,warning,info] flag instead. You can reproduce the same behavior with -fail-level=any for most reporters (reviewdog will exit with 1 if it find any severity level). As for github-[pr-]check reporter you can reproduce the same behavior with -fail-level=error (#1846).

    -fail-on-error is just deprecated and it's not removed yet. Please update the flag while it's working.

v0.20.1 - 2024-07-14

🐛 Fixes

  • #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

🚀 Enhancements

  • #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

🚨 Breaking changes

  • #1846 the behavior of -fail-on-error changed 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=error flag with the upcoming release.

v0.18.1 - 2024-06-22

🐛 Fixes

  • #1792 Introduce __reviewdog__ HTML comment metadata and fingerprint for identifying existing posted comments for github-pr-review reporter. This resolve duplicated comments issue with related location feature.

v0.18.0 - 2024-06-17

✨ Release Note

This release supports related locations forgithub-pr-review reporter. You can pass related_locations with rdjson / rdjsonl and sarif format.

related locations support

🚀 Enhancements

  • #1770 Add related locations support for github-pr-review reporter

v0.17.5 - 2024-06-01

🐛 Fixes

  • #1722 Add a fallback to git diff command to get diff for github-check / github-pr-check reporters with GitHub Actions (in other words, when not in DogHouse server).

v0.17.4 - 2024-04-19

🐛 Fixes

  • #1714 Use GitHub API to get a merge base commit and add git fetch command to get merge base and head commits

v0.17.3 - 2024-04-14

🐛 Fixes

  • #1697 Add a fallback to git diff command to get diff of a GitHub pull request

v0.17.2 - 2024-03-11

🐛 Fixes

  • #933 Fix go vet errorformat

v0.17.1 - 2024-02-08

🐛 Fixes

  • #1651 Revert #1576: Support --filter-mode=file in github-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

🚀 Enhancements

  • #1623 Add reporter for GitHub PR annotations github-pr-annotations

v0.16.0 - 2023-12-17

🚀 Enhancements

  • #1573 Add filter tests for file/nofilter mode
  • #1576 Support --filter-mode=file in github-pr-review
  • #1596 Use CI_MERGE_REQUEST_DIFF_BASE_SHA envvar if available in gitlab-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

🚀 Enhancements

  • #1554 Add SARIF format input support.

v0.14.2 - 2023-06-17

🚀 Enhancements

  • #1170 Calculate check conclusion from annotations
  • #1433 Add path link support for GitHub Enterprise
  • #1447 Support determining build info on more GitHub Actions events

🐛 Fixes

  • #967 Fix parsing long lines in diffs #967
  • #1426 Remove default error level

v0.14.1 - 2022-04-21

🚀 Enhancements

  • #1160 Remove needless git command dependency by GitRelWorkdir func

🐛 Fixes

  • #1125 Allow BITBUCKET_SERVER_URL to have subpath

v0.14.0 - 2022-02-11

🚀 Enhancements

  • #1118 Support end_lnum (%e) and end_col (%k) errorformat

v0.13.1 - 2021-12-28

🚀 Enhancements

  • #1012 Use GitLab suggestions in merge request comments

🐛 Fixes

  • #1014 Fix incorrect detection of the GITHUB_TOKEN permissions. fixes #1010
  • #1017 Fix suggestions that include fenced code blocks. fixes #999
  • #1084 Fix DEPRECATED to Deprecated

v0.13.0 - 2021-07-22

🚀 Enhancements

  • #996 Added support for Bitbucket Pipes executed within Pipelines.
  • #997 Added support for Bitbucket Server to bitbucket-code-report reporter

v0.12.0 - 2021-06-26

🚀 Enhancements

  • #888 Allow GitHub PR reporting for a forked repository iff it's triggered by pull_request_target
  • #976 Treat GITHUB_API_URL environment variable as same as GITHUB_API, so users can use reviewdog in GitHub Actions in Enterprise Server without setting GITHUB_API

v0.11.0 - 2020-10-25

✨ Release Note

reviewdog v0.11 introduced Reviewdog Diagnostic Format (RDFormat) as generic machine-readable diagnostic format and it unlocks new rich features like code suggestions.

🚀 Enhancements


v0.10.2 - 2020-08-04

🐛 Fixes

  • #709 Check for GITHUB_ACTIONS instead of GITHUB_ACTION

v0.10.1 - 2020-06-30

🚀 Enhancements

  • #563 Use CI_API_V4_URL environment variable when present.

🐛 Fixes

  • #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

✨ Release Note

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

🚀 Enhancements

🐛 Fixes

🚨 Breaking changes

  • github-check reporter won't report results outside diff by default now. You need to use -filter-mode=nofilter to keep the same behavior.

See https://github.com/reviewdog/reviewdog/releases for older release note.