Snowplow Scala Tracker 0.7.0 released

Paul Boocock

We are pleased to announce a new release of the Snowplow Scala Tracker.

Version 0.7.0 introduces support for Scala 2.13 and switches the build process from travis-ci to GitHub Actions.

Read on below for more details on:

  1. Scala 2.13 support
  2. Installation and upgrading
  3. Documentation and help

1. Scala 2.13 support

The Snowplow Scala Tracker now supports Scala 2.13. Support for Scala 2.11 has been dropped in this release.

You can install the Scala Tracker in Scala 2.12 and 2.13 applications using sbt:

	resolvers += "JCenter" at "https://jcenter.bintray.com/" // you can omit if you're planning to use Maven Central

	libraryDependencies += "com.snowplowanalytics" %% "snowplow-scala-tracker-core" % "0.7.0"
	libraryDependencies += "com.snowplowanalytics" %% "snowplow-scala-tracker-emitter-id" % "0.7.0"

or using Maven:

	<dependency>
	    <groupId>com.snowplowanalytics</groupId>
	    <artifactId>snowplow-scala-tracker_2.13</artifactId>
	    <version>0.7.0</version>
	</dependency>

or Gradle:

	dependencies {
	    ...
	    // Snowplow Scala Tracker
	    compile 'com.snowplowanalytics:snowplow-scala-tracker-core_2.13:0.7.0'
	    compile 'com.snowplowanalytics:snowplow-scala-tracker-emitter-id_2.13:0.7.0'
	}

2. Installation and upgrading

You can install the Snowplow Scala Tracker as described above. Switching the 0.7.0 will add support for Scala 2.13 and drop support for Scala 2.11:

	libraryDependencies += "com.snowplowanalytics" %% "snowplow-scala-tracker-core" % "0.7.0"
	libraryDependencies += "com.snowplowanalytics" %% "snowplow-scala-tracker-emitter-id" % "0.7.0"

It can then be imported into your applications:

	import scala.concurrent.ExecutionContext.Implicits.global

	import com.snowplowanalytics.snowplow.scalatracker._
	import com.snowplowanalytics.snowplow.scalatracker.emitters._

	val emitter = AsyncEmitter.createAndStart("mycollector.com")
	val tracker = new Tracker(List(emitter), "mytrackername", "myapplicationid")

3. Documentation and help

For help on integrating the tracker please have a look at the setup guide. Information about how to use the tracker can be found in the Scala Tracker documentation. If you have any questions or run into any problems, please visit our Discourse forum.

You can find the full release notes on GitHub as Snowplow Scala Tracker v0.7.0 release.

Please raise any bugs in the Scala Tracker’s issues on GitHub.

Related articles