Recent Releases of https://github.com/danger/danger
https://github.com/danger/danger - 9.5.3
- Revert "Add GitLab Merge Request support with a new
mrcommand" - @manicmaniac #1521
- Ruby
Published by manicmaniac 8 months ago
https://github.com/danger/danger - 9.5.2
- Add GitLab Merge Request support with a new
mrcommand - @jtslear #1516 - Support v4 of colored2 gem to make danger work with --enable-frozen-string-literal RUBYOPT of newer Ruby versions - @eiskrenkov #1513
- Support ruby-git 2.x - @manicmaniac #1511
- Allow terminal-table versions through 4.x - @murilooon #1508
- Bump kramdown to 2.5.1 - @manicmaniac #1514
- Ruby
Published by manicmaniac 8 months ago
https://github.com/danger/danger - 9.5.1
- Update ruby version in Dockerfile to 3.2 - @okatatuki #1472 #1473
- Fix: git diff called by methods like
git.modified_filesmay fail with error[!] Invalid `Dangerfile` file: git ... 'diff' '-p' 'true' '{head}' 2>&1- @nagataaaas #1498 - Add gems ejected from future stdlib - @manicmaniac #1499
- Ruby
Published by manicmaniac over 1 year ago
https://github.com/danger/danger - 9.5.0
- Always use
LocalOnlyGitReposource withdry_runcommand - @imaginaris #1452 - Support repository access token on Bitbucket Cloud - @manicmaniac #1481
- Update "What is Danger?" in README - @manicmaniac #1482
- Fix broken YARD documents - @manicmaniac #1484
- Add Ruby 3.3 to test matrix - @ydah #1486
- Bump rubocop version and fix new offenses - @ydah #1487
- Use GitHub files API with pagination for PR diff - @timbaev #1491
- Ruby
Published by manicmaniac over 1 year ago
https://github.com/danger/danger - 9.4.3
- Add keyword arguments to MessageAggregator.aggregate for Ruby 3.X compatibility - @dirtyhabits97 #1466
- Fix: remove stale violations when there are no new violations to report - @iangmaia #1477
- Fix compatibility issue with Octokit >= 8 - @manicmaniac #1479
- Ruby
Published by manicmaniac about 2 years ago
https://github.com/danger/danger - 9.4.2
- Reduce the minimum required Octokit version - @mattr- #1471
- Ruby
Published by manicmaniac about 2 years ago
https://github.com/danger/danger - 9.3.2
- Release to GitHub Container Registry - @unlobito #1445
- Update README badges - @manicmaniac #1442
- Ruby
Published by mathroule over 2 years ago
https://github.com/danger/danger - 9.3.1
- Update Octokit dependency to version 6.0 - @spencertransier https://github.com/danger/danger/pull/1437
- Fixes dependency constraint issue on ruby-git - @ainame https://github.com/danger/danger/pull/1436
- Ruby
Published by manicmaniac over 2 years ago
https://github.com/danger/danger - 9.3.0
- Add CI Source of CustomCiWithGithub - @jmeridth https://github.com/danger/danger/pull/1435
- Fixes issue where a comment is posted to Bitbucket Cloud even when everything is green. @SalvatoreT https://github.com/danger/danger/issues/1299
Internals:
- Make specs independent from default branch setting in git config - @manicmaniac https://github.com/danger/danger/pull/1420
- Add missing error types to raise_error matcher - @manicmaniac https://github.com/danger/danger/pull/1421
- Cannot specify danger_id testing locally - @manicmaniac https://github.com/danger/danger/issues/1362
- Update ruby-git gem @manicmaniac - https://github.com/danger/danger/pull/1419
- Make specs independent from default branch setting in git config @manicmaniac https://github.com/danger/danger/pull/1420
- Add missing error types to raise_error matcher @manicmaniac https://github.com/danger/danger/pull/1421
- Add /github/workspace to git safe.directory @hiro-flank https://github.com/danger/danger/pull/1427
- Add Ruby 3.2 to test matrix @mataku https://github.com/danger/danger/pull/1434
- Ruby
Published by manicmaniac over 2 years ago
https://github.com/danger/danger - 9.2.0
- Merge AzurePipelines and VSTS CI sources, and add support for VSTS as request source for local PR execution @sphanley
- Allow up to v3 of Faraday @vilmantas
- Fix offenses for RuboCop that can be fixed automatically. @ydah
- Add
refoption toimport_dangerfilemethod as an alias ofbranchoption. @manicmaniac #1394 - Fixed incorrect help messages for
danger plugins lintanddanger plugins readme. @manicmaniac #1397
- Ruby
Published by manicmaniac about 3 years ago
https://github.com/danger/danger - 9.0.0
Breaking - Drop support for Ruby 2.4, support Ruby 2.7+ - @mathroule #1378
- Update Octokit dependency to version 5.0. - @mathroule #1377
- Check pull request to Danger repo on macOS, Ubuntu and Windows. - @mathroule #1365
- Support batch builds in AWS CodeBuild @ihatov08
- Add option to post file specific comments outside of the PR diff to Bitbucket Server, when using Code Insights API. @pahnev
- Allow
import_dangerfile(path: '...')to accept full path. - @jkmathew #1380 - VSTS / Azure DevOps: Fix submission of inline comments with recent Ruby versions. - @yanniks
- Ruby
Published by mathroule over 3 years ago
https://github.com/danger/danger - 8.6.1
- Fix for
danger prposting results to provider. - @bobbymcwho #1365
- Ruby
Published by mathroule over 3 years ago
https://github.com/danger/danger - 8.6.0
- Fix for branch names being able to trigger git commands - @kyoshidajp #1357
- Fix
diff_for_filefor deleted files - @alexevanczuk #1357
- Ruby
Published by mathroule over 3 years ago
https://github.com/danger/danger - 8.5.0
- New feature on VSTS/Azure DevOps: inline comment - @damien-danglard #1356
- Ruby
Published by mathroule over 3 years ago
https://github.com/danger/danger - 8.4.4
- Don't post Dangerfile errors as comment on PR when the
DANGER_DO_NOT_POST_INVALID_DANGERFILE_ERRORenv var is set - @rymai #1354
- Ruby
Published by mathroule over 3 years ago
https://github.com/danger/danger - 8.4.3
- Fix issue in GitHub
pr_draft?method which was returning false for draft Pull Requests - @rogerluan - Fix arguments length of
ArraySubclass#respond_to_missing?- @manicmaniac - Don't save environment as an instance variable in
GitLabCI- @rymai #1353
- Ruby
Published by mathroule over 3 years ago
https://github.com/danger/danger - 8.4.2
Adds support for using GitHub auth via the ENV var DANGER_GITHUB_BEARER_TOKEN
- Ruby
Published by orta over 4 years ago
https://github.com/danger/danger - 8.4.1
- Add a "
:" separation between file_name + line_number and message for gitlab inline comments - Add support to pass in
DANGER_BITBUCKETSERVER_VERIFY_SSLto toggle SSL Verification for Bitbucket Server - Add Bitbucket Server support for Buildkite CI. @pahnev
- Fixes issue where a comment is posted to Bitbucket Server even when everything is green. @pahnev
- Ruby
Published by orta over 4 years ago
https://github.com/danger/danger - 8.3.1
- Handle GitLab URL containing /-/ scope on Jenkins - @adamprice
- Add
pr_draft?method to GitHub DSL. - @connorshea - Expose
DangerfileGitLabPlugin#mr_changes. - @rymai #1309
- Ruby
Published by orta over 4 years ago
https://github.com/danger/danger - 8.2.3
- Fix a test for Ruby 3.0 keyword arguments. - @mataku
- Allow teriminal-table versions through 3.x - @benasher44
- Comment on open gitlab MRs only for Gitlab>=13.8.0 - @asifmohd
- Namespace the
Commitsclass properly underDanger. @rymai #1294
- Ruby
Published by orta almost 5 years ago
https://github.com/danger/danger - 8.2.2
- Silence the ObjectifiedHash warnings when iterating over GitLab notes. - @dstull
- Replace
URI.escapewhich is obsolete in Ruby 3. - @mataku - Fix run with Azure Pipelines as CI Source and Azure Repos Git as Request Source - @damien-danglard
- Delegate explicitly keyword arguments for Ruby 3. - @mataku
- Ruby
Published by orta about 5 years ago
https://github.com/danger/danger - 8.2.1
- Add
danger.import_dangerfile(url:)to import Dangerfile from custom URL - @dstranz - Fixes issue with not being able to update comments, and instead always posting new comments regardless of settings for Bitbucket Cloud @tskulbru
- Fix incorrect command in error message @revolter
- Ruby
Published by orta over 5 years ago
https://github.com/danger/danger - 8.2.0
- Add support for Concourse-CI @matthewellis
- Add support for
pull_request_targetin GitHub actions. - @chesire
- Ruby
Published by orta over 5 years ago
https://github.com/danger/danger - 8.1.0
- correct the usage of double splat to fix Ruby 2.7 warning
- Adds support for Code Insights for Bitbucket Server. To use Code Insights, please ensure
DANGER_BITBUCKETSERVER_CODE_INSIGHTS_REPORT_KEY,DANGER_BITBUCKETSERVER_CODE_INSIGHTS_REPORT_TITLEandDANGER_BITBUCKETSERVER_CODE_INSIGHTS_REPORT_DESCRIPTIONoptional environment variables are set. @qbeorama
- Ruby
Published by orta over 5 years ago
https://github.com/danger/danger - 8.0.6
- Add ability to set dismiss_out_of_range_messages for gitlab. - @fahmisdk6
- Preserve single and double quotes @caalberts
- Add support for multiple patterns
{a,b}in FileList#include? - @l15 #1258
- Ruby
Published by orta over 5 years ago
https://github.com/danger/danger - 8.0.0
Breaking - Drop support for Ruby 2.3, support Ruby 2.4+ [@Kaspik] #1225
- Fix github inline-comments always being struck-through. This was caused by a regression in PR #1182, fixed in PR #1208 for 6.3.2 but didn't make it to 7.0.0 [@Kaspik] #1225
- Ruby
Published by orta almost 6 years ago
https://github.com/danger/danger - 7.0.1
- Fixed import Dangerfile in directory from GitLab
- Fixes warnings when using GitHub with Ruby 2.7
- Improves messaging specific to GitLab
- Updates Git dependency to 1.7 with Ruby 2.7 support without warnings
- Ruby
Published by orta almost 6 years ago
https://github.com/danger/danger - 7.0.0
Breaking for BitBucket Cloud users only - with changes in their API, see below, then Danger has a new env var
requirement in order to support editing existing comments. You add DANGER_BITBUCKETCLOUD_UUID which is the UUID of
the account which Danger should be using for commenting.
- Added support to git.info_for_file for added and deleted files. @ethan-riback #1216
- Allow danger to run with Faraday 1.0.0.
- Add message aggregation in a non-request-source-specific way:
When the DANGER_MESSAGE_AGGREGATION environment variable is set (to anything
that isn't an empty string) and the PR source supports it, this new
message-aggregation method is used. Otherwise, the old way is used.
@telyn #1201 - Allow github repository redirects to be followed. @telyn #1209
- Fix 404 on Bitbucket Cloud fetching
/users/$DANGER_BITBUCKETCLOUD_USERNAME.
This fix requires that everyone using Bitbucket Cloud now provides the
DANGER_BITBUCKETCLOUD_UUIDenvironment variable containing the UUID of
danger's user on bitbucket (with or without the{}braces). See
this blog post from Atlassian
for details on the change Atlassian made which broke Danger. @telyn #1217
- Ruby
Published by orta almost 6 years ago
https://github.com/danger/danger - 6.3.2
- Fix gitlab & github inline-comments always being struck-through. This
was caused by a regression in PR #1182.
@telyn #1208 - Update RegEx pattern used for URL matching for bitrise projects. @RonaldPrithiv
- Refactor shared code from Violation and Markdown into a base class @telyn #1186
- Add <=> methods to Violation and Markdown @telyn #1186
- Add sketch of MessageGroup and a totally unimplemented MessageAggregator, for the coming PR-host-agnostic
inline-comment grouping support @telyn #1186 - Fix typo from environemnt -> environment @yohix #1199
- Ruby
Published by orta almost 6 years ago
https://github.com/danger/danger - 6.3.1
- Remove ".git" at the end of project URL for bitrise projects. @RonaldPrithiv
- Ruby
Published by orta about 6 years ago
https://github.com/danger/danger - 6.3.0
- Adds
stagingcommand to run locally against local master @olbrichj - Fix RegEx pattern used to match URL.
- Fix for GitLab Pipelines for Merge Results. @rymai #1194
- Show correct error when GitLab Gem can't be loaded @glensc, #1191, #1192
- Ruby
Published by orta about 6 years ago
https://github.com/danger/danger - v6.2.0
- Enable Danger to be run from a subfolder of a git repository @scranen #1177
- Add github enterprise support to CodeBuild
- Fix CodeBuild to allow repo url which not ended
.git - Add an example for gitlab.api on reference
- Fix
html_linksofdangerfile_gitlab_pluginfor nongitlab/jenkinsci @mfiebig #1157 - Adds support for Atlassian Bamboo CI #985 @qbeorama
- Updated Semaphore to also work with Semaphore 2.0. @gabrielrinaldi #1165
- adding documentation in bitrise.rb with respect to #1164
- Fix GitHub Pull Request identifier in Azure Pipelines @Dahlgren
- Ruby
Published by Kaspik about 6 years ago
https://github.com/danger/danger - v6.1.0
- Fix CircleCI integration for builds without associated Pull Request @mvandervelden #1135
- Fix a crash in FileList include @chemouna
- Fix typos across danger repository @kittenking #1144
- Add support for Azure Pipelines @jonasbark
- Ruby
Published by Kaspik about 6 years ago
https://github.com/danger/danger - v6.0.11
- Add extra check in fetching Circle CI pull request url
- Exposes danger_id via
EnvironmentManager
- Ruby
Published by rpassis over 6 years ago
https://github.com/danger/danger - 5.5.5
- Fix handling of Github repos slugs with dots in them (for BuildKite CI). @orj
- Ruby
Published by JuanitoFatas over 8 years ago
https://github.com/danger/danger - 5.5.4
- Fix handling of filenames that contain square brackets (and possibly other characters) - @allewun
- Ruby
Published by JuanitoFatas over 8 years ago
https://github.com/danger/danger - 5.5.1
- Update documentation for BitRise CI now that it supports Secret Env Vars - @AliSoftware
- Improves Circle CI reliablilty - @sean-clayton / @orta
- Ruby
Published by orta over 8 years ago
https://github.com/danger/danger - 5.5.0
- Fix bug with gitlab v4 API- @marocchino
- Fix issue where a single branch git clone on the PR head never fetched the base branch - @daveallie
- Fix removing comments when one danger_id is a substring of another - @marcelofabri
- Fix possible invalid binding.pry statement when Dangerfile does not have an empty new line at the end (
danger pr --pry) - @pedrovieira
- Ruby
Published by orta over 8 years ago
https://github.com/danger/danger - 5.4.3
- Add support for Codeship - @ghiculescu
- Ruby
Published by JuanitoFatas over 8 years ago
https://github.com/danger/danger - 5.3.3
- Add to documentation for TeamCity CI setup - @atelic
- Show more error detail for UnprocessableEntity - @litmon
- Use latest octokit pr reviews functionality - @antondomashnev
- Ruby
Published by orta over 8 years ago
https://github.com/danger/danger - 5.3.2
- Fix plugins search list to gitlab - @leonhartX
- Explicitly encode the results of
gitexecutions in UTF-8 - @nikhilmat - Adds BitbucketServer to XcodeServer's supported_request_sources
@anreitersimon
- Ruby
Published by orta over 8 years ago
https://github.com/danger/danger - 5.3.1
- Fixes for duplicated GitHub inline comments - @litmon
- Fix wrong commits count for PR's that have more than 30 commits - @sleekybadger
- Fix markdown links to files in messages - @ffittschen
- Ruby
Published by orta over 8 years ago
https://github.com/danger/danger - 5.3.0
- Improve remotes parsing for init command - @sleekybadger
- Adds ability to get the whole diff object at
git.diff- This lets you do
more fine grained checks on the raw changes. - @sleekybadger - Add ability to set dismiss_out_of_range_messages per each message kinds. - @giginet
- Ruby
Published by orta over 8 years ago
https://github.com/danger/danger - 5.2.2
- Fix FileList returning arrays - @sleekybadger
- Fix broken violations order for github - @sleekybadger
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 5.2.1
- Add ability to get list of renamed files - @sleekybadger
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 5.2.0
- Add support for DotCi - Daniel Beard
- Send Dangerfile eval exceptions to PR - @sleekybadger
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 5.1.1
- Consider all comments when looking for existing danger comments in Gitlab MRs.
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 5.1.0
- Improved DroneCI support for versions 0.4+ - @fmartingr
- Made DroneCI still work with older version - @k0nserv
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 5.0.3
- Automates the add GitHub release notes when we release via chandler - orta
- Updates Danger's tests to use the gitlab 4.0 gem - orta
- #790 Fixes issue with BitbucketServer crashing when
DANGER_BITBUCKETSERVER_HOSTis not set - orta
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 5.0.2
- #787 Fixes issue with
use_sslfor bitbucket server integration. - RishabhTayal - #788 Fix
diff_for_filefor added files - allewun
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 4.3.4
- Fix danger init - Kohki Miki
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 5.0.1
- #785 Added support for
http://for bitbucket server integration. - RishabhTayal
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 5.0.0
-
#681, #498 - Fixes handling of files moved across directories by using diff to get list of modified files. Please note that the fix is not backward-compatible due to moved files names being the original file names - nikolaykasyanov
This is very likely not break any Dangerfiles out there, but it's better to be safe. So we're bumping the version number to let everyone know there could be a risk. - orta
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 4.3.1
- Fix find inline comment position at the last line of diff - leonhartX
- Add inline comments to changed lines only when
dismiss_out_of_range_messageis enabled - leonhartX - Add documentation for buddybuild - sunshinejr
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 4.3.3
danger.import_dangerfile(github:)now supports private repositories and GitHub Enterprise - hotbott
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 4.3.2
- Change from
git fetch --unshallowtogit fetch --depth=1000000- Juanito Fatas
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 4.3.0
- Minor changes to the danger Gemfile - orta
- Make danger pr & local commands recognize -h to print help - Juanito Fatas
- Fix inline comment url when using github enterprise - leonhartX
- Fix repo slug
nilwhen using a GitHub repo that contains dot in name - johnlinvc - Fix find wrong diff position for inline comment - leonhartX
- Add
dismiss_out_of_range_messagesoption togithubplugin to support inline comments only, instead of moving them into the main comment - leonhartX - Fix inline comment url when using github enterprise - leonhartX
- Fix repo slug
nilwhen using a GitHub repo that contains dot in name - johnlinvc - Fix find wrong diff position for inline comment - leonhartX
- gitlab project names dont need to be urlencoded anymore - hanneskaeufler
- Fix inline comment failed to fall back when there is only inline comments - leonhartX
- Fix only inline markdown comments will fall back to main comment even in diff's range - leonhartX
- Ruby
Published by orta almost 9 years ago
https://github.com/danger/danger - 4.2.2
- Improved support for Bitbucket Branch Source Plugin - bartoszj
- Refactoring of
danger localanddanger prcommands - hanneskaeufler - Fixes crash of
danger localwith github enterprise hosts - hanneskaeufler
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 4.2.1
- Fixed an issue that broke markdown rendering in Github comments - turekj
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 4.2.0
- Use the colored2 gem instead of colored - orta
- Add summary to dangers comment to show in e.g. slack - hanneskaeufler
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 4.1.1
- Minor docs formatting change - orta
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 4.1.0
- PR Review in Beta. Provides access to creating a GitHub Review instead of a typical GitHub comment - antondomashnev
To use you announce the start of your review, and the end via the start and submit` functions,
for example:
github.review.start
github.review.fail("Please add a CHANGELOG entry") if has_no_changelog
github.review.warn("Highway to the Danger Zone") if pr_includes_word_danger
github.review.message("You might want to read #{url}") if may_require_docs
github.review.markdown("Please update your changelog entry according an #{\example}") if changelog_format_not_valid
github.review.submit
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 4.0.5
- Transform
lineinto an int before comparing it with ranges when posting inline comments to GitHub - barbosa - Fix danger pr command cannot specify API host - Juanito Fatas
- Better handling of long comments - Juanito Fatas
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 4.0.4
- Test on Ruby 2.4.0 - Connor Shea
- Don't rely on regular expressions to determine whether or not a file will register a plugin. - Ray Zane
- Fixes parsing Gems for pulling in their plugin JSON metadata - orta/barbosa
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 4.0.3
- Print out an error when posting a comment to BitBucket Server fails - Buju77
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 4.0.2
- Refactor plugin_support/plugin_file_resolver.rb - Juanito Fatas
- Extend BitBucket Server request source support - Alexandr Chaplyuk
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 2.1.6
- Crash fix for
danger init- marcelofabri
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 2.1.5
- Lols, more Circle CI stuff, and importantly - more documentation - orta
- Ruby
Published by orta about 9 years ago
https://github.com/danger/danger - 4.0.1
- Fixed --new-comment not working with Bitbucket - Bruno Rocha
- Adjust GitHub comment output for new Markdown parser - Yuki Izumi
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 4.0.0
Welcome to 4.0. This one comes with only breaking changes. There are two of them.
They both change pretty fundamental behavior in Danger:
- Switch messaging's sticky to default to
false- Bogren - Move the
gitlabgem intodanger-gitlab- Orta
Sticky
The sticky one affects every Dangerfile. When we first introduced the feature, we wanted
to experiment with how people used it. Looks like in general, people are writing sticky: false
a lot in their Dangerfiles. Enough that it is worth going through the pain of migrating the change.
If you prefer the old behavior, you need to add sticky: true to the end of every call to
warn, fail and message. E.g. message("Let's show something", sticky: true).
Otherwise, you can just remove sticky: false from the Dangerfile.
GitLab
We want to keep the dependency tree for Danger as small as possible for the majority of our users.
What this means is that we are moving the gitlab dependencies out into a separate gem. danger-gitlab.
This reduces the number of dependencies we have for the majority of Danger's users. We love GitLab, I've
been super happy with their work, and we use GitLab for Danger.Systems. This is not a slight on the project.
However, as of 4.0. Anyone using Danger with GitLab will need to use danger-gitlab instead of danger. It will stay
in lock-step with the same major SemVer releases with Danger. That should be your only change.
./orta
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.6.0
- Support for Jenkins pipelines - fwal
- Implemented '--new-comment' support for GitLab - Nikolay Kasyanov
- Improves Danger: Ignore "[warning/error text]" parsing - Juanito Fatas
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.5.5
- Show warning when Danger is missing permissions to update PR status, even on successful build - hanneskaeufler
- Fixed '--new-comment' creating multiple GitHub status checks, and removing the argument on a subsequent build will now make Danger correctly edit it's last comment - Bruno Rocha
- Fix crash in git_repo.rb (#636) - Kyle McAlpine & Viktor Benei & orta & Juanito Fatas
- Ruby
Published by JuanitoFatas over 9 years ago
https://github.com/danger/danger - 3.5.4
-
fail fast if still cannot find the commit after fetch - Juanito Fatas
-
Adds the
--new-commentargument todangercommand - Bruno RochaMakes Danger post a brand new comment by ignoring other Danger instances.
-
Fixed an issue where EnvironmentManager's output UI could be
nil, and would blackhole error messages - @notjosh -
danger prnow accepts--dangerfileargument - Juanito Fatasdanger pr https://github.com/danger/danger/pull/518 --dangerfile ~/Dangerfile
- Ruby
Published by JuanitoFatas over 9 years ago
https://github.com/danger/danger - 3.5.3
- Removes the mr/pr diff from the tabled output during
danger pr,danger localanddanger --verbose. This is because it can be a very large output that's not too useful, and can occasionally cause errors. - orta
- Ruby
Published by JuanitoFatas over 9 years ago
https://github.com/danger/danger - 3.5.2
-
danger prtakes an argument as PR URL instead of--use-proption - Juanito FatasWork with Open PR:
danger pr https://github.com/danger/danger/pull/615Work with Merged PR:
danger pr https://github.com/danger/danger/pull/613Works with forks, too:
danger pr https://github.com/JuanitoFatas/danger/pull/3
- Ruby
Published by JuanitoFatas over 9 years ago
https://github.com/danger/danger - 3.5.1
-
Adds
danger prcommand to run against Pull Requests - Juanito FatasWork with Open PR:
danger pr --use-pr=https://github.com/danger/danger/pull/615Work with Merged PR:
danger pr --use-pr=https://github.com/danger/danger/pull/613Works with forks, too:
danger pr --use-pr=https://github.com/JuanitoFatas/danger/pull/3
- Ruby
Published by JuanitoFatas over 9 years ago
https://github.com/danger/danger - 3.5.0
-
Adds a template for for creating a gem-based Dangerfile - dblock (+ orta)
Adding two new commands:
danger dangerfile initwhich creates the same Dangerfile generated indanger initbut without all the talking.danger dangerfile gem [gemname]which uses the dangerfile-gem-template repo to create a Gem based on our current best practices.
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.4.2
- Adds backwards compatibility for plugin testing API - sorry - @orta
- Multiple remotes support for Jenkins - Juanito Fatas
- Fixed a problem when checking if the latest PR commit have been fetched - @fwal
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.4.1
- Added option to run a Dangerfile from a
branchand/orpathwhen using a remote repo - felipesabino - Add specs for
Danger::EnvironmentManager- Juanito Fatas - Fixes plugin that inherits from
Danger::Pluginshould not raise error - Juanito Fatas
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.4.0
- Simplify initialization of Octokit client in request_sources/github.rb - Juanito Fatas
- Ensure commits exist inside the local git repo before using them for diffs - orta
- Big improvements to the warning around no API tokens being found - orta
- Support for failing on errors - orta/Juanito Fatas (the PR was pretty shared)
- Improves
danger localmerged Pull Request finding logic - Juanito Fatas - Adds some tests for Danger::Runner - Juanito Fatas
- Remove unused CLI options from
danger local- Juanito Fatas - Raises error if plugin file doesn't contain any class inherits from Plugin - Juanito Fatas
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.3.2
- Use danger_id as context for GitHub status - Thiago Felix
- Increase the number of commits
danger localto search for merged PR - Juanito Fatas - Fix rubocop offenses in plugin_linter.rb - Juanito Fatas
- Add missing require statements in bitbucket cloud and server - Juanito Fatas
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.3.1
- "danger local" can find squash-and-merge-type Pull Request - Juanito Fatas
- Fix request_sources files and specs location - Juanito Fatas
- Fix request_sources references in CI subclasses - Juanito Fatas
- trying to fix danger bugs - Juanito Fatas
- Fix Danger breaks when files are moved - Juanito Fatas
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.3.0
-
Add support for Bitbucket Cloud - Wolfgang Damm
This adds a new object to the DSL,
bitbucket_cloudwhich offers the same API as Bitbucket Server!
To use it, ensureDANGER_BITBUCKETCLOUD_USERNAMEandDANGER_BITBUCKETCLOUD_PASSWORDare in your
Jenkins environment, and you should be good to go. -
Add
git.info_for_file("some/file.txt"): line counts and before/after file contents - tikitu -
Remove
String#danger_class- Juanito Fatas -
Set defaults for file and line args of Violation#new & Markdown#new - Juanito Fatas
-
Add docs to
String#danger_pluralize&String#danger_underscore- Juanito Fatas -
Refactor Comment class out of CommentsHelper - Juanito Fatas
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.2.2
- Link to https://danger.systems/ in Bitbucket Server comments - HeEAaD
- Add
markdown_linkfor the Bitbucket Server plugin - HeEAaD - Updated Bitrise documentation about env vars - kylejm
- Fix
html_linkfor gitlab - hanneskaeufler
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.2.1
- Fix for markdown accidentally crashing Danger when sending a message #520 - orta
- Improved the width handling for the output of the
danger localtable - orta - Added a check for the merge inflection point inside the diff, and will fetch it if needed - orta
- Improved the width handling for the output of the
danger localtable - orta - Update comment & remove unused regexp name in request_source.rb - JuanitoFatas
- Mask password on BitbucketServerAPI object - JuanitoFatas
- Add
scm_providerto the DSL allowing users and plugins ot check which scm provider is being used when running danger - K0nserv - Deprecated
branch_for_mergefor GitLab. Usebranch_for_baseinstead. - K0nserv - Added
branch_for_baseandbranch_for_headfor GitLab. - K0nserv
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.2.0
- Added
fileandlineoptional parameters to methods on the messaging plugin - champo
This means that if you'd like to comment specifically on a line in a file inside the diff, you
can use an API like:
message("Please add your name to the CHANGELOG", file: "CHANGELOG.md", line: 4)
If you are using GitHub (who are the only ones with an API that supports line comments) you
will have the comments added inline. This makes changes to a lot of the logic inside the github
API, so we'd love bug reports (or PRs! :D) on things like "I expected this comment to be deleted."
On other platforms, it will ignore the file and line parameters.
-
Add Bitbucket Server aka. Stash integration - heeaad
This adds a new object to the DSL,
bitbucket_serverwhich offers the following API:bitbucket_server.pr_title # The title of the Pull Request bitbucket_server.mr_body # The body text of the Pull Request bitbucket_server.mr_author # The username of the author of the Pull Request bitbucket_server.mr_labels # The labels assigned to the Pull Request bitbucket_server.branch_for_merge # The branch to which the PR is going to be merged into bitbucket_server.base_commit # The base commit to which the PR is going to be merged as a parent bitbucket_server.head_commit # The head commit to which the PR is requesting to be merged from bitbucket_server.mr_json # The hash that represents the PR's JSON bitbucket_server.html_link (paths: String or Array, full_path=true: Bool) # Returns a list of HTML anchors for a file, or files in the head repository. -
Deprecated
import_dangerfile(String)in favor ofimport_dangerfile(Hash)- dblockThe new
import_dangerfilemethod supports loading Dangerfile from Github.danger.import_dangerfile github: 'ruby-grape/danger'You can package a Dangerfile in a gem, add it to Gemfile and import it.
danger.import_dangerfile gem: 'ruby-grape-danger'Use a local path for testing Dangerfile changes.
danger.import_dangerfile path: '/Users/me/source/ruby-grape/danger'See #504 for details.
-
Prints updated danger message when installed danger is outdated - JuanitoFatas
-
Remove a variable assignment in comments_helper.rb - JuanitoFatas
-
Minor improvement to Danger.gem_path - JuanitoFatas
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.1.1
- Fixes for
danger.import_dangerfile "org/repo"- orta re:#487
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.1.0
- Show appropriate error message when GitHub repo was moved - KrauseFx
danger plugins json [gem]will now give gem metadata too - orta- Crash fix for
bundle exec danger- hanneskaeufler - Fix Buildkite repo slug URL generation - phillfarrugia
- Added support for Bitrise - kylejm
- Set LANG variable to en_US.UTF-8 before running git commands - bogren
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.0.3
- Add
mr_diff/pr_diffforDanger::DangerfileGitLabPlugin- K0nserv - Fixes a bug where
dangerwouldn't work on Jenkins when setup with the GitHub Pull Request Builder plugin - vittoriom
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.0.2
- Spelling and grammar fixes. - connorshea
- More crash fixes for
danger local, maybe we need more tests here - orta
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.0.1
- Crash fix for
danger local- hanneskaeufler
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 3.0.0
-
GitLab support - k0nserv / deanpcmad / hjanuschka
This started back in February, and is now shipping.
Documentation has been updated on the Getting Started for those interested in the setup.This adds a new object to the DSL,
gitlabwhich offers the following API:gitlab.mr_title # The title of the Merge Request gitlab.mr_body # The body text of the Merge Request gitlab.mr_author # The username of the author of the Merge Request gitlab.mr_labels # The labels assigned to the Merge Request gitlab.branch_for_merge # The branch to which the MR is going to be merged into gitlab.base_commit # The base commit to which the MR is going to be merged as a parent gitlab.head_commit # The head commit to which the MR is requesting to be merged from gitlab.mr_json # The hash that represents the MR's JSON gitlab.api # Provides access to the GitLab API client used inside Danger gitlab.html_link (paths: String or Array, full_path=true: Bool) # Returns a list of HTML anchors for a file, or files in the head repository.A lot of thanks for the GitLab team also, who helped handle updates for one of our dependencies.
-
Adapt CI Sources that support GitLab - k0nserv
-
BREAKING Removes the implicit Dangerfile support. - orta
The implicit support was a feature that would check for an
[org]/danger
repo, and automatically parse that Dangerfile. Think it was a bit too magic,
and the only person who I know is using it, said they think it should have
been this way from the start. I'm cool with this.To handle the replacement, we've added a new object to the DSL.
This is thedangerAPI. It has two responsibilities at the moment,
downloading a Dangerfile:danger.import_dangerfile = "artsy/danger"and importing local plugins:
danger.import_plugin [path_or_url]Which the astute may have remembered used to be the purview of
plugin.import.
Which is now removed, in favour of thedanger.import_plugin. Think there's more
space for improvement inside the context ofdangerthanplugin.I also removed
plugin.download- couldn't see a use for it inside a Dangerfile. Happy
to change that, if it's being used it. -
Rename
DANGER_GITHUB_API_HOSTtoDANGER_GITHUB_API_BASE_URL. - k0nserv
UsingDANGER_GITHUB_API_HOSTis still supported to preserve backwards
comaptibility, but usingDANGER_GITHUB_API_BASE_URLis encouraged.
- Ruby
Published by DangerReleases over 9 years ago
https://github.com/danger/danger - 2.1.4
- Improve detection of PR content on CircleCI. - jamtur01
- Ruby
Published by DangerReleases over 9 years ago