@@ -15,17 +15,17 @@ All types are immutable and thread-safe.
1515|
1616[ ![ Join the chat at https://gitter.im/typelevel/squants ] ( https://badges.gitter.im/typelevel/squants.svg )] ( https://gitter.im/typelevel/squants?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge )
1717|
18- [ ![ Scaladocs] ( https://www.javadoc.io/badge/org.typelevel/squants_2.12.svg?label=scaladoc )] ( https://static.javadoc.io/org.typelevel/squants_2.12/1.4 .0/squants/index.html )
18+ [ ![ Scaladocs] ( https://www.javadoc.io/badge/org.typelevel/squants_2.12.svg?label=scaladoc )] ( https://static.javadoc.io/org.typelevel/squants_2.12/1.5 .0/squants/index.html )
1919|
2020[ ![ Build Status] ( https://travis-ci.org/typelevel/squants.png?branch=master )] ( https://travis-ci.org/typelevel/squants )
2121
2222
2323### Current Versions
24- Current Release: ** 1.4 .0**
25- ([ API Docs] ( https://oss.sonatype.org/service/local/repositories/releases/archive/org/typelevel/squants_2.12/1.4 .0/squants_2.12-1.4 .0-javadoc.jar/!/index.html#squants.package ) )
24+ Current Release: ** 1.5 .0**
25+ ([ API Docs] ( https://oss.sonatype.org/service/local/repositories/releases/archive/org/typelevel/squants_2.12/1.5 .0/squants_2.12-1.5 .0-javadoc.jar/!/index.html#squants.package ) )
2626
27- Development Build: ** 1.5 .0-SNAPSHOT**
28- ([ API Docs] ( https://oss.sonatype.org/service/local/repositories/snapshots/archive/org/typelevel/squants_2.12/1.5 .0-SNAPSHOT/squants_2.12-1.5 .0-SNAPSHOT-javadoc.jar/!/index.html#squants.package ) )
27+ Development Build: ** 1.6 .0-SNAPSHOT**
28+ ([ API Docs] ( https://oss.sonatype.org/service/local/repositories/snapshots/archive/org/typelevel/squants_2.12/1.6 .0-SNAPSHOT/squants_2.12-1.6 .0-SNAPSHOT-javadoc.jar/!/index.html#squants.package ) )
2929
3030[ Release History] ( https://github.com/typelevel/squants/wiki/Release-History )
3131
@@ -38,10 +38,10 @@ For more information on feature availability of a specific version see the Relea
3838Repository hosting for Squants is provided by [ Sonatype] ( https://oss.sonatype.org/ ) .
3939To use Squants in your SBT project add the following dependency to your build.
4040
41- "org.typelevel" %% "squants" % "1.4 .0"
41+ "org.typelevel" %% "squants" % "1.5 .0"
4242or
4343
44- "org.typelevel" %% "squants" % "1.5 .0-SNAPSHOT"
44+ "org.typelevel" %% "squants" % "1.6 .0-SNAPSHOT"
4545
4646
4747To use Squants in your Maven project add the following dependency
@@ -50,13 +50,13 @@ To use Squants in your Maven project add the following dependency
5050<dependency >
5151 <groupId >org.typelevel</groupId >
5252 <artifactId >squants_2.11</artifactId >
53- <version >1.4 .0</version >
53+ <version >1.5 .0</version >
5454</dependency >
5555```
5656
5757Beginning with Squants 0.4.x series, both Scala 2.10 and 2.11 builds are available.
5858Beginning with Squants 1.x series, Scala 2.10, 2.11 and 2.12 builds are available.
59- Scala.js is supported on version 0.6.25 and 1.0.0-M6
59+ Scala.js is supported on version 0.6.28 and 1.0.0-M8
6060
6161To use Squants interactively in the Scala REPL, clone the git repo and run ` sbt squantsJVM/console `
6262
@@ -963,7 +963,7 @@ import squants.experimental.unitgroups.si.strict.implicits._
963963// import squants.experimental.unitgroups.si.strict.implicits._
964964
965965val siLengths : UnitGroup [Length ] = implicitly[UnitGroup [Length ]]
966- // siLengths: squants.experimental.unitgroups.UnitGroup[squants.space.Length] = squants.experimental.unitgroups.si.strict.package$implicits$$anon$1@71f1bb6
966+ // siLengths: squants.experimental.unitgroups.UnitGroup[squants.space.Length] = squants.experimental.unitgroups.si.strict.package$implicits$$anon$1@3bd46477
967967```
968968
969969To print out units and their conversion factors to the primary SI unit, you could use this code:
@@ -1020,16 +1020,16 @@ val usCookingUnitGroup = new UnitGroup[Volume] {
10201020 // units don't have to be specified in-order.
10211021 val units : Set [UnitOfMeasure [Volume ]] = Set (UsPints , UsGallons , Teaspoons , Tablespoons , UsQuarts , FluidOunces )
10221022}
1023- // usCookingUnitGroup: squants.experimental.unitgroups.UnitGroup[squants.space.Volume]{val units: Set[squants.UnitOfMeasure[squants.space.Volume]]} = $anon$1@608b512
1023+ // usCookingUnitGroup: squants.experimental.unitgroups.UnitGroup[squants.space.Volume]{val units: Set[squants.UnitOfMeasure[squants.space.Volume]]} = $anon$1@13cf78bc
10241024
10251025// squants automatically sorts units
10261026usCookingUnitGroup.sortedUnits.foreach(println)
1027- // squants.space.Teaspoons$@6c8ced06
1028- // squants.space.Tablespoons$@34fbe7f5
1029- // squants.space.FluidOunces$@d678d65
1030- // squants.space.UsPints$@71e9406b
1031- // squants.space.UsQuarts$@f2a1319
1032- // squants.space.UsGallons$@6e8d9849
1027+ // squants.space.Teaspoons$@754c402e
1028+ // squants.space.Tablespoons$@41f51dac
1029+ // squants.space.FluidOunces$@4151520
1030+ // squants.space.UsPints$@297ee46f
1031+ // squants.space.UsQuarts$@1f76d461
1032+ // squants.space.UsGallons$@5f688205
10331033```
10341034
10351035The ` UnitGroup ` values provided with Squants are only samples and aren't intended to be exhaustive.
@@ -1065,7 +1065,7 @@ import squants.experimental.unitgroups.misc.AstronomicalLengthUnitGroup
10651065Then create the formatter by passing in a unit group:
10661066``` scala
10671067val astroFormatter = new DefaultFormatter (AstronomicalLengthUnitGroup )
1068- // astroFormatter: squants.experimental.formatter.DefaultFormatter[squants.space.Length] = squants.experimental.formatter.DefaultFormatter@36136e90
1068+ // astroFormatter: squants.experimental.formatter.DefaultFormatter[squants.space.Length] = squants.experimental.formatter.DefaultFormatter@4a75b2e0
10691069```
10701070
10711071Now, we create some values using human-unfriendly numbers:
@@ -1117,7 +1117,7 @@ import squants.experimental.unitgroups.misc.AstronomicalLengthUnitGroup
11171117
11181118``` scala
11191119implicit val astroFormatter = new DefaultFormatter (AstronomicalLengthUnitGroup )
1120- // astroFormatter: squants.experimental.formatter.DefaultFormatter[squants.space.Length] = squants.experimental.formatter.DefaultFormatter@5866ca54
1120+ // astroFormatter: squants.experimental.formatter.DefaultFormatter[squants.space.Length] = squants.experimental.formatter.DefaultFormatter@679fbbc2
11211121
11221122val earthToJupiter = 588000000 .km
11231123// earthToJupiter: squants.space.Length = 588000000.0 km
@@ -1552,9 +1552,9 @@ To make a release do the following:
15521552 sbt squantsNative/publishSigned
15531553```
15541554
1555- * Repeat for scala.js 1.0.0-M6
1555+ * Repeat for scala.js 1.0.0-M8
15561556```
1557- SCALAJS_VERSION=1.0.0-M6 sbt +squantsJS/publishSigned
1557+ SCALAJS_VERSION=1.0.0-M8 sbt +squantsJS/publishSigned
15581558```
15591559
15601560* Then make a release (Note: after this step the release cannot be replaced)
0 commit comments