Changelog for github-0.30
Changes for 0.30
2025-05-09, Andreas Abel, Peace edition
- Organization membership endpoint (Domen Kožar, PR #487).
- Allow JWT as an authentication method (Tom Sydney Kerckhove, PR #497).
- Support pagination (Tom McLaughlin, PR #503).
- Initial subset of Reactions endpoints (Dan Rijks, PR #509).
- Fix
getNotifications(maralorn, PR #511). - Add missing
namefield toWorkflowJobsJobtype (Hugh Davidson, PR #518). - Add
StateReasonDuplicatetoIssueStateReason(PR #523). - Drop support for GHC 8.0 and below.
- Drop dependency
time-compat.
Tested with GHC 8.2 - 9.12.2.
Changes for 0.29
2023-06-24, Andreas Abel, Midsommar edition
-
Support for the GitHub Actions API (PR #459):
- New endpoint modules
GitHub.EndPoints.Actions.Artifacts,.Cache,.Secrets,.Workflows,.WorkflowRuns,.WorkflowJobs. - Matching data structure modules
GitHub.Data.Actions.*.
- New endpoint modules
-
Add field
issueStateReasonof typeMaybe IssueStateReasontoIssuewith possible valuescompleted,not_plannedandreopened(PR #496).
Tested with GHC 7.8 - 9.6.2
Changes for 0.28.0.1
2022-07-23, Andreas Abel
Tested with GHC 7.8 - 9.4.1 alpha3
- Drop unused dependency
vector-instances. - Allow latest:
aeson-2.1,mtl-2.3,vector-0.13,transformers-0.6.
Changes for 0.28
2022-04-30, Andreas Abel, Valborg edition
Tested with GHC 7.8 - 9.2.2
-
Add constructors to
IssueRepoModthat allow filtering issues by milestone, assignee, creator, mentioned user:GitHub.Data.Options.options{Milestone,Assignee,Creator,Mentioned}(PR #470) -
Add permissions field to
Repo. This adds recordRepoPermissionsand fieldRepo.repoPermissionsin moduleGitHub.Data.Repos. (PR #476) -
Add unwatch request
GitHub.Endpoints.Activity.Watching.unwatchRepoR(PR #473)
Breaking change:
- Make searches paginated
(PR #474):
- Adds record
GitHub.Data.Repos.CodeSearchRepo. - Adds argument
FetchCounttoGitHub.Endpoints.Search.search{Repos,Code,Issues,Users}R.
- Adds record
Changes for 0.27
2021-10-10, Oleg Grenrus
- Add vector of
SimpleTeamin "requested_teams" field ofPullRequest#453 - Add endpoint to create gist #455
- Update
RepoWebhookEvent#461 PullRequestReviews may not have submitted_at field #450
Changes for 0.26
2020-05-26, Oleg Grenrus
- Generalize
PagedQueryto allow its reuse by preview github APIs #439 - Add endpoint for listing organizations outside collaborators #445
- Add endpoint for users search #444
- Make
repoWebhookResponseStatusoptional #436 - Teams improvements #417
- Add
deleteReferenceendpoint #388
Changes for 0.25
2020-02-18, Oleg Grenrus
- Add
executeRequestWithMgrAndRes#421 - Add
limitsFromHttpResponse#421 - Add label descriptions #418
- Add "draft" option to mergeable state #431
- Use
IssueNumberineditIssueRandissueR#429 - Manage orgs in GitHub Enterprise #420
- Add support for collaborator permission endpoint #425
- Add support for the comment reply endpoint #424
- Organise exports in
GitHub#430
Changes for 0.24
2019-11-27, Oleg Grenrus
Major change:
Introduce github n-ary combinator to hoist ... -> Request rw res
into ... -> IO (Either Error res) (i.e. n-ary executeRequest).
With that in place drop .. -> IO (Either Error res) functions.
This reduces symbol bloat in the library. #415
- Remove double
withOpenSSL#414 - Pull requests reviews API uses issue number #409
- Update
Repo,NewRepoandEditRepodata types #407
Changes for 0.23
2019-10-01, Oleg Grenrus
- Escape URI paths #404
- Add
OwnerBottoOwnerType#399 - Make
File.fileShaoptional #392 - Update User-Agent to contain up to date version #403 #394
Changes for 0.22
2019-05-31, Oleg Grenrus
- Type-class for various auth methods #365
- Throw on non-200 responses #350
- Add extension point for (preview) media types #370
- Add missing webhook event types #359
- Add invitation endpoint #360
- Add notifications endpoints #324
- Add ssh keys endpoints #363
- Case insensitive enum parsing #373
- Don't try parse unitary responses #377
- Update dependencies #364 #368 #369
- Documentation improvements #357
Changes for 0.21
2019-02-18, Oleg Grenrus
- Refactor
Requesttype. #349 - Allow
http-client-0.6#344 - Change to use
cryptohash-sha1(cryptohashwas used before) - Add Create milestone endpoints #337
- Make
fileBlobUrlandfileRawUrloptional #339 #340 - Add
organizationsRto request user organizations #345 - Add
updateMilestoneR,deleteMilestoneR#338 - Allow multiple assignees in
NewIssueandEditIssue#336 - Add
pullRequestPatchRandpullRequestDiffR#325
Changes for 0.20
2018-09-26, Oleg Grenrus
- Add ratelimit endpoint #315
- Add some deployment endoints #330
- Add webhook installation events #329
- Tighten lower bounds (also remove
aeson-compatdep) #332
Changes for 0.19
2018-02-19, Oleg Grenrus
- Fix issue event type enumeration #301
- Include label info in
IssueEvent#302 - Fix
ShowRepoexample #306 - Add "Get archive link" API #307
- Make "repo" in
PullRequestCommitnullable (repository can be gone) #311 - Add read-only emails endpoint #313
- Organisation membership API #312
- Fix
isPullRequestMergedand other boolean responses #312 - Add
behindpull request mergeable state #308 - Add list organisation invitations endpoint
Changes for 0.18
2017-11-10, Oleg Grenrus
- Endpoints for deleting issue comments. #294
- Endpoints for (un)starring gists. #296
- Add
archivedfield toRepo. #298 - Update dependencies. #295
- Add Statuses endpoints. #268
- Add requested reviewers field to pull request records. #292
Changes for 0.17.0
2017-09-26, Oleg Grenrus
- Add
Ord Requestinstance - Repository contents
- Repository starring endpoints
- Pull Request review endpoints
Changes for 0.16.0
2017-07-24, Oleg Grenrus
- 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
2016-11-04, Oleg Grenrus
- Reworked
PullRequest(notablypullRequestsFor) - Reworked PR and Issue filtering
- GHC-8.0.1 support
- Change
repoMasterBranchtorepoDefaultBranchinRepo - Add
listTeamReposR - Add
myStarredAcceptStarR - Add
HeaderQuerytoRequest - Add
Hashable Authinstance - Add
mkUserId,mkUserName,fromUserId,fromOrganizationId - Add
userIssuesR - Add
organizationIssuesR - Make
teamName :: TextamndteamSlug :: Name Teamin both:TeamandSimpleTeam - Refactor
Requeststructure - 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
2016-02-02, Oleg Grenrus
- Add
membersOfWithR,listTeamMembersR - Add related enums:
OrgMemberFilter,OrgMemberRole,TeamMemberRole - Add
EnumandBoundedinstances toPrivacy,Permission,RepoPublicity - Don't require network access for search tests
Changes for 0.14.0
2016-01-25, Oleg Grenrus
Large API changes:
- Use
TextandVectorin place ofStringand[]. - Use
NameandIdtagged types for names and identifiers. - Make detailed structures un-prefixed, simple ones prefixed with
Simple. Example:TeamandSimpleTeam. - Decouple request creation from execution (
*RandexecuteRequest*functions). - Add
Binaryinstances for all data GithubOwneris anewtypeofEither User Organization. There's stillSimpleOwner.
Releases without changelog
| Version | Date | Uploader |
|---|---|---|
| 0.13.2 | 2015-04-26 | John Wiegley |
| 0.13.1 | 2014-12-01 | César López-Natarén |
| 0.13 | 2014-11-09 | César López-Natarén |
| 0.12 | 2014-11-09 | César López-Natarén |
| 0.11.1 | 2014-09-07 | César López-Natarén |
| 0.11.0 | 2014-08-25 | César López-Natarén |
| 0.10.0 | 2014-08-18 | César López-Natarén |
| 0.9 | 2014-07-31 | John Wiegley |
| 0.8 | 2014-05-02 | John Wiegley |
| 0.7.4 | 2014-01-22 | John Wiegley |
| 0.7.3 | 2013-12-21 | John Wiegley |
| 0.7.2 | 2013-12-02 | John Wiegley |
| 0.7.1 | 2013-08-08 | John Wiegley |
| 0.7.0 | 2013-04-26 | John Wiegley |
| 0.6.0 | 2013-04-12 | John Wiegley |
Changes for 0.5.0:
2013-02-05, Mike Burns
OAuth.- New function:
Github.Repos.organizationRepo, to get the repo for a specific organization. - Introduce a new
newRepoAutoInitflag toNewRepo, for whether to initialize a repo while creating it. - Relax the
attoparsecversion requirements. - The above by John Wiegley.
Changes for 0.4.1:
2013-01-14, Mike Burns
- Stop using the
uripackage. - Use
aesonversion 0.6.1.0. - Use
attoparsecversion 0.10.3.0. - Use
http-conduitover 1.8. - Use
unordered-containersbetween 0.2 and 0.3.
Changes for 0.4.0:
2012-06-26, Mike Burns
- Use
http-conduitversion 1.4.1.10.
Changes for 0.3.0:
2012-06-10, Mike Burns
- Re-instantiate the Blobs API.
repoDescription1andrepoPushedAtare aMaybe GithubDate.- Add
deleteRepo,editRepo, andcreateRepo. - Private gists, issues, organizations, pull requests, and users.
- Lock down
tlsandtls-extrainstead of keeping up with the ever-changinghttp-conduitpackage. - Features by Pavel Ryzhov and Simon Hengel.
Changes for 0.2.1:
2012-02-16, Mike Burns
- Expand the
unordered-containersdependency to anything in 0.1.x .
Changes for 0.2.0:
2012-02-15, Mike Burns
milestoneDueOnandrepoLanguageare nowMaybetypes.- Introduce
GithubOwneras the sum type for aGithubUserorGithubOrganization. Everything that once produced aGithubUsernow produces aGithubOwner. All record accessors have changed their names. - Similar to
GithubOwner, introduceDetailedOwner, which can be aDetailedUseror aDetailedOrganization. All record accessors have changed their names. - An
HTTPConnectionErrornow composesSomeExceptioninstead ofIOException. All exceptions raised by the underlying http-conduit library are encapulated there. - The
githubIssueClosedByfunction now produces aMaybe GithubOwner. - Remove the Blobs API, as it is broken upstream.
- Bugs found and squashed thanks to Joey Hess and Simon Hengel.