- #231: GitHub pull request review formatter was not working in some cases without Accept header.
- Poper and some other runners were not working correctly. When using staged/unstaged flags, pass a string instead of Rugged::Commit as commit parameter for runners.
- #206: add Bitbucket Server pull request formatter.
- #204: add ability configure message format for each formatter.
- #111: add
--staged
option forpronto run
to analyze staged changes. - #217: add GitHub pull request review formatter.
- #193: rename
pronto run --index
option to--unstaged
. - #49: handle non-existance of GitHub pull requests gracefully.
- #217: depend on
octokit >= 4.7.0
. - #224: depend on
gitlab >= 4.0.0
. - #222: prefix PULL_REQUEST_ID env variable with
PRONTO_
.
- #215: an exclusion of files for single runner led to those files being excluded for all runners.
- #203: fix unintentional class conversion that led to exclude config option not working.
- Add a default GitLab API endpoint: https://gitlab.com/api/v3.
- #125: check whether message has a line before posting to GitLab.
- Post on commit comments on correct commit: use message.commit_sha to set comment.sha instead of head.
- #201: allow messages without line positions or paths.
- #199: add support for Ruby 2.4.0.
- #181: add ENV variables for all configuration options.
- #184: prefix all ENV variables with
PRONTO_
. - #185: allow excluding files to lint for single runner.
- #179: correctly select branch name for fix Bitbucket pull request formatter.
- #187: correctly handle nil/false with consolidate_comments config option.
- #189: do not post anything when all consolidated comments already exist.
- #195: fix warning for default formatters value.
- Remove support for Ruby 1.9.3.
- #149: use patches to correctly find line position for GitHub pull request formatter.
- #135: add Bitbucket formatter.
- #135: add Bitbucket pull request formatter.
- #134: colorize text formatter.
- #144: add GitHub status formatter.
- #157: ability to run pronto CLI from within subdirectories of a git repository.
- #154: add an option to consolidate pull request comments.
- #162: don't count info messages for error exit code.
- #153: correctly get repo_path.
- Add
-V/--verbose-version
option that displays Ruby version. - #127: ability to specify
max_warnings
via configuration or environment variable. - #18: ability to specify
verbose
via configuration, which can provide more output for debugging purposes. - #83: support multiple formatters as an option to
pronto run
.
--version
only displays the version itself without any additional text.- Replace
Pronto.gem_names
withPronto::GemNames.new.to_a
. - #116: improve GitHub formatter error output.
- #123: add runner attribute to message initialization.
- Runner expects to receive patches/commit via
initialize(patches, commit)
, instead ofrun(patches, commit)
.
- #122: ignore symlink directories.
- Remove pronto.gif from gem, accidently included since
0.5.0
.
- GithubPullRequestFormatter was working incorrectly when
PULL_REQUEST_ID
is not specified. Introduced in0.5.1
.
- Try to retrieve commit sha for GitHub PR via GitHub API instead of trusting local sha.
- #104: configure via .pronto.yml file.
- #86: ability to specify GitHub slug via configuration or environment variable.
- #77: ability to specify GitHub endpoints via configuration or environment variable.
- #108: ability to specify excluded files via configuration.
- #82: treat Rake files as Ruby files.
- #107: use desc: instead of banner: for CLI options descriptions.
- #87: handle github remote urls without .git suffix.
- #91: find position in full diff and fix how commit id is used in GithubPullRequestFormatter.
- #92: ignore failed pull request comments.
- #93: comments didn't have position when outdated.
- #94: duplicate comment detection was failing for large GitHub pull requests.
- poper#4: handle message uniqueness when they're without line numbers.
- #101: make GitLab work with ssh port urls.
- Depend on
rugged ~> 0.23.0
andoctokit ~> 4.1.0
.
- New formatter: NullFormatter. Discards data without writing it anywhere.
- #58: GitlabFormatter uses a high +per_page+ value to avoid pagination (and thus duplicate comments).
- Try to detect pull request id automatically, if
PULL_REQUEST_ID
is not specified. Inspired by @willnet/prid. - #40: add '--index' option for 'pronto run'. Pronto analyzes changes before committing.
- #50: add GitLab formatter
- #52: allow specifying a path for 'pronto run'.
- GitHub and GitHub pull request formatters now filter out duplicate offenses on the same line to avoid spamming with redundant comments.
- GithubPullRequestFormatter was working incorrectly with merge commits.
- GithubPullRequestFormatter had an off-by-one positioning error.
- Git::Patches#repo was always returning nil.
- #27: '--exit-code' option for 'pronto run'. Pronto exits with non-zero code if there were any warnings/errors.
- #16: new formatter: GithubPullRequestFormatter. Writes review comments on GitHub pull requests.
- #29: be compatible and depend on rugged '0.21.0'.
- Performance improvement: use Rugged::Blame instead of one provided by Grit.
- Performance improvement: cache comments retrieved from GitHub.