Skip to content

Commit

Permalink
0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Feb 1, 2017
1 parent e03d047 commit f4a59c8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ session data that is sent to the client, and verified when the session token is
* support for [JWT](http://jwt.io/)
* refresh token support (e.g. to implement "remember me")
* CSRF tokens support
* Java & Scala APIs

## Example

Expand Down Expand Up @@ -79,6 +80,8 @@ You can try out a simple example by running `com.softwaremill.example.Example` i
opening [http://localhost:8080](http://localhost:8080), or you can just take a look
[at the source](https://github.com/softwaremill/akka-http-session/blob/master/example/src/main/scala/com/softwaremill/example/Example.scala).

There's also a [Java version available](https://github.com/softwaremill/akka-http-session/blob/master/example/src/main/java/com/softwaremill/example/JavaExample.java).

## `SessionManager` & configuration

All directives require an implicit instance of a `SessionManager[T]`, which can be created by providing a server
Expand Down Expand Up @@ -350,9 +353,9 @@ stored in Rails

## Using from SBT

For `akka` version `2.4.11`, `akka-http` version `10.0.0`:
For `akka-http` version `10.0.3`:

````scala
libraryDependencies += "com.softwaremill.akka-http-session" %% "core" % "0.3.0"
libraryDependencies += "com.softwaremill.akka-http-session" %% "jwt" % "0.3.0" // optional
libraryDependencies += "com.softwaremill.akka-http-session" %% "core" % "0.4.0"
libraryDependencies += "com.softwaremill.akka-http-session" %% "jwt" % "0.4.0" // optional
````
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import scalariform.formatter.preferences._

lazy val commonSettings = scalariformSettings ++ Seq(
organization := "com.softwaremill.akka-http-session",
version := "0.3.0",
version := "0.4.0",
scalaVersion := "2.11.8",
crossScalaVersions := Seq(scalaVersion.value, "2.12.0"),
crossScalaVersions := Seq(scalaVersion.value, "2.12.1"),
scalacOptions ++= Seq("-unchecked", "-deprecation"),
ScalariformKeys.preferences := ScalariformKeys.preferences.value
.setPreference(DoubleIndentClassDeclaration, true)
Expand Down Expand Up @@ -39,7 +39,7 @@ lazy val commonSettings = scalariformSettings ++ Seq(
homepage := Some(new java.net.URL("http://softwaremill.com"))
)

val akkaHttpVersion = "10.0.0"
val akkaHttpVersion = "10.0.3"

val scalaTest = "org.scalatest" %% "scalatest" % "3.0.1" % "test"

Expand Down

0 comments on commit f4a59c8

Please sign in to comment.