Releases: 47degrees/github4s
v0.12.1
v0.12.0
This release:
- Makes the library compatible with Scala 2.12.
- It also integrates sbt-org-policies plugin to make easier its maintainability.
- Upgrades the dependencies (through sbt-org-policies plugin).
v0.11.1
Adds these new fields to the User
model:
company
: Option[String]blog
: Option[String]location
: Option[String]bio
: Option[String]
Thanks @fedefernandez for your time!
v0.11.0
This release brings:
- Migrates to new group id
com.47deg
, so now you can usegithub4s
in this way:
libraryDependencies += "com.47deg" %% "github4s" % "0.11.0"
- This new version also upgrades some of the used libraries, such as
cats
,circe
andscalaz
.
Version 0.10.0
This release adds two main changes:
On one hand, it adds support for Scala 2.10. For this, the RepoUrls
model has been changed by replacing all optional URL fields with a Map, avoiding the limit of 22 fields in case classes. Because of that, this release breaks the compatibility with all projects that are currently using the Github Repository model.
On the other hand, it adds some operations related to GitHub Issues:
Great work @fedefernandez ! Thanks!
Version 0.9.0
This version introduces compatibility with scala-js. This means that the project has been split into several modules:
- github4sJVM (containing the code compatible with the JVM environment)
- github4sJS (containing the code compatible with scala-js)
- github4s (containing all the shared code compatible with both the JVM and JS environments)
Based on FREE, github4s allows its users to be executed in different monadic contexts (i.e.: Monix Task, Id...). Please note that in order to use github4s in a scala-js compatible application, you'll be restricted to using Future. To accommodate these different options, several exec
methods have been added to the Github
class, in order to make it easier to use:
exec[M[_], C]
: takes a monad M and an Http Client, also takes an optional parameter to include custom headers for the API requests. Instances forscalaj.http
androshttp
clients are included through implicits in both the JS and JVM-compatible modules. Please take a look at the documentation for details on this.execFuture[C]
: easier to use version if usingFuture
s. Please useroshttp
as your http client (SimpleHttpResponse
type) if you're usinggithub4s
in an scala-js project.execK[M[_], Map[String, String], C]
: exposes the inner Kleisli behind the curtain of theexec
methods.
Awesome work @jdesiloniz!
v0.7-SNAPSHOT
Merge pull request #32 from 47deg/jp-upgrade-latest-cats-version JP - Upgrades Libraries
Version 0.1
This first approach includes several functions related to Users, Repositories and Authentication process.