Skip to content

Commit

Permalink
Merge pull request #167 from danger/zero-twelve
Browse files Browse the repository at this point in the history
Prepare for v0.12.0
  • Loading branch information
orta committed Mar 14, 2017
2 parents ea74b18 + 4d2ed17 commit 4a3d263
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// Add your own contribution below

### 0.12.0

* Added support for handling async code in a Dangerfile - deecewan

This is still a bit of a work in progress, however, there is a new function added to the DSL: `schedule`.
Expand Down Expand Up @@ -29,9 +31,17 @@
})
```

* Adds new GitHub DSL elements - deecewan

- `danger.github.issue` - As a PR is an issue in GitHub terminology, the issue contains a bit more metadata. Mainly labels, so if you want to know what labels are applied to a PR, use `danger.github.issue.labels`
- `danger.github.reviews` - Find out about your reviews in the new GitHub Reviewer systems,
- `danger.github.requested_reviewers` - Find out who has been requested to review a PR.

* Updated TypeScript and Jest dependencies - orta
* Add support for Github Enterprise via DANGER_GITHUB_API_BASE_URL env var - mashbourne



### 0.11.3 - 0.11.5

* Internal changes for usage with Peril - orta
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "danger",
"version": "0.11.5",
"version": "0.12.0",
"description": "Unit tests for Team Culture",
"main": "distribution/danger.js",
"typings": "distribution/danger.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions source/dsl/GitHubDSL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface GitHubDSL {
/** The reviews left on this pull request */
reviews: Array<GitHubReview>
/** The people requested to review this PR */
requestedReviewers: Array<GitHubUser>
requested_reviewers: Array<GitHubUser>
}

/**
Expand Down Expand Up @@ -296,7 +296,7 @@ export interface GitHubRepo {

export interface GitHubMergeRef {
/**
* The human di 0 . 0splay name for the merge reference, e.g. "artsy:master"
* The human display name for the merge reference, e.g. "artsy:master"
* @type {string}
*/
label: string
Expand Down
2 changes: 1 addition & 1 deletion source/platforms/GitHub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class GitHub {
pr,
commits,
reviews,
requestedReviewers
requested_reviewers: requestedReviewers
}
}

Expand Down

0 comments on commit 4a3d263

Please sign in to comment.