Mdiep Tentacle Versions Save

A Swift framework for the GitHub API

0.7.0

7 years ago

This release has a significant reworking of the API. Instead of calling methods directly on Client, methods and properties are exposed on the different types to return a Request<Value>. These are then used with one of the Client.execute methods to actual perform the request.

Added

  • Ability to get a tree from a repo (#70). Thanks @dcaunt!
  • Ability to create a tree in a repo (#71). Thanks @dcaunt!

Fixed

  • UserProfile.websiteURL is now a String because it can contain any string

0.6.0

7 years ago

Added

  • Client.branches(in: Repository) to retrieve branches in a repository (#61). Thanks @Palleas!

Fixed

  • Crash when a response returns invalid JSON (#67). Thanks @ikesyo!
  • Work around a Swift 3.1 compiler crash in the Release configuration (#69). Thanks @ikesyo!

Thank you to @ikesyo and @dduan for improvements to the codebase! ✨

0.5.1

7 years ago

Added

  • Support for Swift Package Manager (#59). Thanks @ikesyo!
  • atRef parameter to Client.content to get content at a specific ref (#58). Thanks @Palleas!

Thank you to @ikesyo for improvements to the codebase and for reviewing pull requests!

0.5.0

7 years ago

Added

  • Support for Swift 3 (#43). Thanks @ikesyo!
  • Client.content(atPath: String, in: Repository) to retrieve files from the API (#51). Thanks @Palleas!
  • Client.create(file: File, atPath: String, in: Repository) to create files with the API (#55). Thanks @Palleas!

Improved

  • Boolean properties now use is prefix (#49). Thanks @ikesyo!
  • The URLSession is now configurable (#45). Thanks @ikesyo!

Thank you also to @ikesyo and @pixyzehn for improvements to the codebase!

0.4.1

7 years ago

Added

  • Client.commentsOnIssue for fetching comments on issues and PRs (#38, #40). Thanks @Palleas!
  • Methods for fetching repositories on users and organizations (#41). Thanks @Palleas!

Fixed

  • GitHub Enterprise clients on Swift 2.3 (#42). Thanks @jasonboyle!

0.4

7 years ago

Added

  • Support for Xcode 8 / Swift 2.3 (#37). Thanks @ikesyo!
  • Client.assignedIssues() for getting the issues assigned to the authenticated user (#28). Thanks @Palleas!
  • Client.issuesInRepository() for getting the issues in a repository (#28). Thanks @Palleas!
  • Client.authenticatedUser() for getting information about the authenticated user (#35). Thanks @Palleas!

Improved

  • Client.userWithLogin() now returns a UserInfo and User is used for things like an issue’s author (#31).

0.3

8 years ago

Added

  • A method to fetch a user by login (#27).

Fixed

  • Compatibility with GitHub Enterprise instances (#26).

0.2

8 years ago

This release drops support for Swift 2.1.

Added

  • Support for Swift 2.2 (#23). Thanks @ikesyo!

0.1.1

8 years ago

Fixed

  • Servers and Repositorys now use case-insensitive comparisons (#22).

0.1

8 years ago

This is the first release of Tentacle, built to support the needs of Carthage. :tada: