- added support for repo creation #38
- upgrade syntex build dependency to 0.35
- upgrade to hyper 0.8
- upgrade syntex build dependency to 0.33
- Added support for listing organization repositories via @carols10cents
- Fixed deserialization issue related to error response in release api calls issue #31
Many changes were made to transition into using serde as a serialization backend and to focus on making interfaces more consistent across the board. A more flexible interface for authenticating requests was added as well as a new interface for requesting organization repository listings. Relevant itemized changes are listed below.
- port serialization from
rustc-serialize
toserde
! - as a result of the serde port,
Error::{Decoding, Encoding}
which were wrappers around rustc-serialize error types, were removed and replaced with a unifiedError::Codec
which wraps serde's error type - renamed
hubcaps::statuses::State
tohubcaps::StatusState
- added
payload
field tohubcaps::Deployment
represented as aserde_json::Value
- added
content_type
field tohubcaps::GistFile
represented asString
- added
truncated
field tohubcaps::Gist
represented as anbool
and updatedtruncated
field ofhubcaps::GistFile
to beOption<bool>
(this field is omitted in gist listing responses) - introduces
hubcaps::Credentials
as the means of authenticating with the Github api. ACredentials
value is needed to instantiate aGithub
instance. This is a breaking change from the previousOption<String>
token api, with a more flexible set options.hubcaps::Credentials::{None, Token, Client}
.hubcaps::Credentials
implementsDefault
returninghubcaps::Credentials::None
hubcaps::Error
enum now implementsstd::error::Error
- pull request and issue listing fn's now both take options structs. This is a breaking change.
- repo listing fn's now take option structs. This is a breaking change.
- gist listing fn's now take option structs. This is a breaking change.
- added support for fetching organization repoistory listings via @carols10cents
- DeploymentStatusOptions now have an optional field for
target_url
anddescription
- initial release