Skip to content

Commit b574ca2

Browse files
committed
Bump to 0.2.0.
1 parent 573a634 commit b574ca2

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

NEWS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
API Changes for 0.2.0:
2+
3+
* `milestoneDueOn` and `repoLanguage` are now `Maybe` types.
4+
* Introduce `GithubOwner` as the sum type for a `GithubUser` or `GithubOrganization`. Everything that once produced a `GithubUser` now produces a `GithubOwner`. All record accessors have changed their names
5+
* Similar to `GithubOwner`, introduce `DetailedOwner`, which can be a `DetailedUser` or a `DetailedOrganization`. All record accessors have changed their names
6+
* An `HTTPConnectionError` now composes `SomeException` instead of `IOException`. All exceptions raised by the underlying http-conduit library are encapulated there.
7+
* The `githubIssueClosedBy` function now produces a `Maybe GithubOwner`.
8+
* Remove the Blobs API, as it is broken upstream.
9+
10+
Bugs found and squashed thanks to [Joey Hess](https://github.com/joeyh) and [Simon Hengel](https://github.com/sol).

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ Github
33

44
The Github API v3 for Haskell.
55

6-
**This is currently a read-only API.** There is a `read-write` branch with
7-
ideas on how this can work for writing to Github, but I need ideas on how
8-
authentication should work. *You can help* if you [let me
9-
know](mailto:mike@mike-burns.com) how you are using this library or how you
10-
would like to use it, and which authentication method is best for you (HTTP
11-
basic, OAuth).
6+
**This is currently a read-only API.**
127

138
Some functions which do not require authentication are also missing; these are functions where the Github API did not work as expected. The full Github API is in beta and constantly improving.
149

@@ -52,6 +47,6 @@ All functions produce an `IO (Either Error a)`, where `a` is the actual thing yo
5247
Copyright
5348
=========
5449

55-
Copyright 2011 Mike Burns.
50+
Copyright 2011, 2012 Mike Burns.
5651

5752
Available under the BSD 3-clause license.

github.cabal

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name: github
77
-- The package version. See the Haskell package versioning policy
88
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
99
-- standards guiding when and how versions should be incremented.
10-
Version: 0.1.2
10+
Version: 0.2.0
1111

1212
-- A short (one-line) description of the package.
1313
Synopsis: Access to the Github API, v3.
@@ -51,7 +51,6 @@ Extra-source-files: README.md
5151
,samples/Gists/Comments/ShowComments.hs
5252
,samples/Gists/ListGists.hs
5353
,samples/Gists/ShowGist.hs
54-
,samples/GitData/Blobs/GitHashObject.hs
5554
,samples/GitData/Commits/GitShow.hs
5655
,samples/GitData/References/GitLsRemote.hs
5756
,samples/GitData/References/GitLsRemoteTags.hs
@@ -120,7 +119,6 @@ Library
120119

121120
Github.Gists,
122121
Github.Gists.Comments,
123-
Github.GitData.Blobs,
124122
Github.GitData.Commits,
125123
Github.GitData.References,
126124
Github.GitData.Trees,
@@ -152,7 +150,7 @@ Library
152150
old-locale,
153151
HTTP,
154152
network,
155-
http-conduit == 1.1.2.2,
153+
http-conduit == 1.2.6,
156154
uri,
157155
failure,
158156
http-types,

0 commit comments

Comments
 (0)