Changelog for github-0.21
Changes for next
Changes for 0.21
- Refactor
Request
type. #349 - Allow
http-client-0.6
#344 - Change to use
cryptohash-sha1
(cryptohash
was used before) - Add Create milestone endponts #337
- Make fileBlobUrl and fileRawUrl are optional #339 #340
- Add organizationsR to request user organizations #345
- Add updateMilestoneR, deleteMilestoneR #338
- Allow multiple assignees in NewIssue and EditIssue #336
- Add
pullRequestPatchR
andpullRequestDiffR
#325
Changes for 0.20
- Add ratelimit endpoint #315
- Add some deployment endoints #330
- Add webhook installation events #329
- Tigthen lower bounds (also remove aeson-compat dep) #332
Changes for 0.19
- Fix issue event type enumeration #301
- Include label info in
IssseEvent
#302 - Fix
ShowRepo
example #306 - Add "Get archive link" API #307
- Make "repo" in PullRequestCommit nullable (repository can be gone) #311
- Add read-only emails endpoint #313
- Organisation membership API #312
- Fix isPullRequestMerged and other boolean responses #312
- Add
behind
pull request mergeable state #308 - Add list organisation invitations endpoint
Changes for 0.18
- Endpoints for deleting issue comments. #294
- Endpoints for (un)starring gists. #296
- Add
archived
field toRepo
. #298 - Update dependencies. #295
- Add Statuses endpoints. #268
- Add requested reviewers field to pull request records. #292
Changes for 0.17.0
- Add
Ord Request
instance - Repository contents
- Repository starring endpoints
- Pull Request review endpoints
Changes for 0.16.0
- Add support for
mergeable_state = "blocked".
- Fix HTTP status code of merge PR
- Supports newest versions of dependencies
- user events
- release endpoints
- forkExistingRepo
Changes for 0.15.0
- Reworked
PullRequest
(notablypullRequestsFor
) - Reworked PR and Issue filtering
- GHC-8.0.1 support
- Change
repoMasterBranch
torepoDefaultBranch
inRepo
- Add
listTeamReposR
- Add
myStarredAcceptStarR
- Add
HeaderQuery
toRequest
- Add
Hashable Auth
instance - Add
mkUserId
,mkUserName
,fromUserId
,fromOrganizationId
- Add 'userIssuesR'
- Add 'organizationIssuesR'
- Make
teamName :: Text
amndteamSlug :: Name Team
in both:Team
andSimpleTeam
- Refactor 'Request' structure
- Added multiple issue assignees
- Preliminary support for repository events:
repositoryEventsR
- Support for adding repository permissions to the team
- Remove 'simpleUserType', it was always the same.
Changes for 0.14.1
- Add
membersOfWithR
,listTeamMembersR
- Add related enums:
OrgMemberFilter
,OrgMemberRole
,TeamMemberRole
- Add
Enum
andBounded
instances toPrivacy
,Permission
,RepoPublicity
- Don't require network access for search tests
Changes for 0.14.0
Large API changes:
- Use
Text
andVector
in place ofString
and[]
. - Use
Name
andId
tagged types for names and identifiers. - Make detailed structures un-prefixed, simple ones prefixed with
Simple
. Example:Team
andSimpleTeam
. - Decouple request creation from execution (
*R
andexecuteRequest*
functions). - Add
Binary
instances for all data GithubOwner
is anewtype
ofEither User Organization
. There's stillSimpleOwner
.
Changes for 0.5.0:
- OAuth.
- New function:
Github.Repos.organizationRepo
, to get the repo for a specific organization. - Introduce a new
newRepoAutoInit
flag toNewRepo
, for whether to initialize a repo while creating it. - Relax the attoparsec version requirements.
- The above by John Wiegley.
Changes for 0.4.1:
- Stop using the uri package.
- Use aeson version 0.6.1.0.
- Use attoparsec version 0.10.3.0.
- Use http-conduit over 1.8.
- Use unordered-containers between 0.2 and 0.3.
Changes for 0.4.0:
- Use http-conduit version 1.4.1.10.
Changes for 0.3.0:
- Re-instantiate the Blobs API.
repoDescription1
andrepoPushedAt
are aMaybe GithubDate
.- Add
deleteRepo
,editRepo
, andcreateRepo
. - Private gists, issues, organizations, pull requests, and users.
- Lock down
tls
andtls-extra
instead of keeping up with the ever-changinghttp-conduit
package. - Features by Pavel Ryzhov and Simon Hengel.
Changes for 0.2.1:
- Expand the unordered-containers dependency to anything in 0.1.x .
Changes for 0.2.0:
milestoneDueOn
andrepoLanguage
are nowMaybe
types.- Introduce
GithubOwner
as the sum type for aGithubUser
orGithubOrganization
. Everything that once produced aGithubUser
now produces aGithubOwner
. All record accessors have changed their names - Similar to
GithubOwner
, introduceDetailedOwner
, which can be aDetailedUser
or aDetailedOrganization
. All record accessors have changed their names - An
HTTPConnectionError
now composesSomeException
instead ofIOException
. All exceptions raised by the underlying http-conduit library are encapulated there. - The
githubIssueClosedBy
function now produces aMaybe GithubOwner
. - Remove the Blobs API, as it is broken upstream.
- Bugs found and squashed thanks to Joey Hess and Simon Hengel.