Update version in README

This commit is contained in:
Alexandre Archambault 2018-05-25 12:08:30 +02:00
parent 7bae4d4728
commit 6de589ac9b
2 changed files with 20 additions and 20 deletions

View File

@ -76,7 +76,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [
Enable the SBT plugin by adding Enable the SBT plugin by adding
```scala ```scala
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.1") addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.3")
``` ```
to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file
of an SBT project. Tested with SBT 0.13.8 / 0.13.9 / 0.13.11 / 0.13.12 / 0.13.13 / 0.13.15 / 0.13.16-M1 / 1.0.1-M5. of an SBT project. Tested with SBT 0.13.8 / 0.13.9 / 0.13.11 / 0.13.12 / 0.13.13 / 0.13.15 / 0.13.16-M1 / 1.0.1-M5.
@ -129,8 +129,8 @@ echo 'autoload -Uz compinit ; compinit' >> ~/.zshrc
Add to your `build.sbt` Add to your `build.sbt`
```scala ```scala
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
"io.get-coursier" %% "coursier" % "1.0.1", "io.get-coursier" %% "coursier" % "1.0.3",
"io.get-coursier" %% "coursier-cache" % "1.0.1" "io.get-coursier" %% "coursier-cache" % "1.0.3"
) )
``` ```
@ -238,7 +238,7 @@ of the cache used by a particular project, in case you have any doubt about what
Enable the SBT plugin globally by adding Enable the SBT plugin globally by adding
```scala ```scala
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.1") addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.3")
``` ```
to `~/.sbt/0.13/plugins/build.sbt` to `~/.sbt/0.13/plugins/build.sbt`
@ -413,7 +413,7 @@ The `bootstrap` command generates tiny bootstrap launchers, able to pull their d
repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/coursier/coursier/blob/master/scripts/generate-launcher.sh) with a command like repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/coursier/coursier/blob/master/scripts/generate-launcher.sh) with a command like
``` ```
$ ./coursier bootstrap \ $ ./coursier bootstrap \
io.get-coursier:coursier-cli_2.11:1.0.1 \ io.get-coursier:coursier-cli_2.11:1.0.3 \
-f -o coursier -f -o coursier
``` ```
@ -425,7 +425,7 @@ The `bootstrap` command can also generate [scala-native](http://scala-native.org
``` ```
$ ./coursier bootstrap \ $ ./coursier bootstrap \
--native \ --native \
io.get-coursier:echo_native0.3_2.11:1.0.1 \ io.get-coursier:echo_native0.3_2.11:1.0.3 \
-o echo-native -o echo-native
[info] Linking (2354 ms) [info] Linking (2354 ms)
[info] Discovered 1291 classes and 9538 methods [info] Discovered 1291 classes and 9538 methods
@ -439,14 +439,14 @@ hey
Add to your `build.sbt` Add to your `build.sbt`
```scala ```scala
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
"io.get-coursier" %% "coursier" % "1.0.1", "io.get-coursier" %% "coursier" % "1.0.3",
"io.get-coursier" %% "coursier-cache" % "1.0.1" "io.get-coursier" %% "coursier-cache" % "1.0.3"
) )
``` ```
Note that the examples below are validated against the current sources of coursier. You may want to read the [documentation of the latest release](https://github.com/coursier/coursier/blob/v1.1.0-M4/README.md#api-1) of coursier instead. Note that the examples below are validated against the current sources of coursier. You may want to read the [documentation of the latest release](https://github.com/coursier/coursier/blob/v1.1.0-M4/README.md#api-1) of coursier instead.
The first module, `"io.get-coursier" %% "coursier" % "1.0.1"`, mainly depends on The first module, `"io.get-coursier" %% "coursier" % "1.0.3"`, mainly depends on
`scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others, `scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others,
definitions, definitions,
mainly in [`Definitions.scala`](https://github.com/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala), mainly in [`Definitions.scala`](https://github.com/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala),
@ -456,7 +456,7 @@ that expects to be given metadata, wrapped in any `Monad`, then feeds these to `
you the final `Resolution`, wrapped in the same `Monad` it was given input. This final `Resolution` has all the dependencies, you the final `Resolution`, wrapped in the same `Monad` it was given input. This final `Resolution` has all the dependencies,
including the transitive ones. including the transitive ones.
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.1"`, is precisely in charge of fetching The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.3"`, is precisely in charge of fetching
these input metadata. It uses `scalaz.concurrent.Task` as a `Monad` to wrap them. It also fetches artifacts (JARs, etc.). these input metadata. It uses `scalaz.concurrent.Task` as a `Monad` to wrap them. It also fetches artifacts (JARs, etc.).
It caches all of these (metadata and artifacts) on disk, and validates checksums too. It caches all of these (metadata and artifacts) on disk, and validates checksums too.

View File

@ -76,7 +76,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [
Enable the SBT plugin by adding Enable the SBT plugin by adding
```scala ```scala
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.1") addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.3")
``` ```
to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file
of an SBT project. Tested with SBT 0.13.8 / 0.13.9 / 0.13.11 / 0.13.12 / 0.13.13 / 0.13.15 / 0.13.16-M1 / 1.0.1-M5. of an SBT project. Tested with SBT 0.13.8 / 0.13.9 / 0.13.11 / 0.13.12 / 0.13.13 / 0.13.15 / 0.13.16-M1 / 1.0.1-M5.
@ -129,8 +129,8 @@ echo 'autoload -Uz compinit ; compinit' >> ~/.zshrc
Add to your `build.sbt` Add to your `build.sbt`
```scala ```scala
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
"io.get-coursier" %% "coursier" % "1.0.1", "io.get-coursier" %% "coursier" % "1.0.3",
"io.get-coursier" %% "coursier-cache" % "1.0.1" "io.get-coursier" %% "coursier-cache" % "1.0.3"
) )
``` ```
@ -265,7 +265,7 @@ of the cache used by a particular project, in case you have any doubt about what
Enable the SBT plugin globally by adding Enable the SBT plugin globally by adding
```scala ```scala
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.1") addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.3")
``` ```
to `~/.sbt/0.13/plugins/build.sbt` to `~/.sbt/0.13/plugins/build.sbt`
@ -442,7 +442,7 @@ The `bootstrap` command generates tiny bootstrap launchers, able to pull their d
repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/coursier/coursier/blob/master/scripts/generate-launcher.sh) with a command like repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/coursier/coursier/blob/master/scripts/generate-launcher.sh) with a command like
``` ```
$ ./coursier bootstrap \ $ ./coursier bootstrap \
io.get-coursier:coursier-cli_2.11:1.0.1 \ io.get-coursier:coursier-cli_2.11:1.0.3 \
-f -o coursier -f -o coursier
``` ```
@ -454,7 +454,7 @@ The `bootstrap` command can also generate [scala-native](http://scala-native.org
``` ```
$ ./coursier bootstrap \ $ ./coursier bootstrap \
--native \ --native \
io.get-coursier:echo_native0.3_2.11:1.0.1 \ io.get-coursier:echo_native0.3_2.11:1.0.3 \
-o echo-native -o echo-native
[info] Linking (2354 ms) [info] Linking (2354 ms)
[info] Discovered 1291 classes and 9538 methods [info] Discovered 1291 classes and 9538 methods
@ -468,14 +468,14 @@ hey
Add to your `build.sbt` Add to your `build.sbt`
```scala ```scala
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
"io.get-coursier" %% "coursier" % "1.0.1", "io.get-coursier" %% "coursier" % "1.0.3",
"io.get-coursier" %% "coursier-cache" % "1.0.1" "io.get-coursier" %% "coursier-cache" % "1.0.3"
) )
``` ```
Note that the examples below are validated against the current sources of coursier. You may want to read the [documentation of the latest release](https://github.com/coursier/coursier/blob/v1.1.0-M4/README.md#api-1) of coursier instead. Note that the examples below are validated against the current sources of coursier. You may want to read the [documentation of the latest release](https://github.com/coursier/coursier/blob/v1.1.0-M4/README.md#api-1) of coursier instead.
The first module, `"io.get-coursier" %% "coursier" % "1.0.1"`, mainly depends on The first module, `"io.get-coursier" %% "coursier" % "1.0.3"`, mainly depends on
`scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others, `scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others,
definitions, definitions,
mainly in [`Definitions.scala`](https://github.com/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala), mainly in [`Definitions.scala`](https://github.com/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala),
@ -485,7 +485,7 @@ that expects to be given metadata, wrapped in any `Monad`, then feeds these to `
you the final `Resolution`, wrapped in the same `Monad` it was given input. This final `Resolution` has all the dependencies, you the final `Resolution`, wrapped in the same `Monad` it was given input. This final `Resolution` has all the dependencies,
including the transitive ones. including the transitive ones.
The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.1"`, is precisely in charge of fetching The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.3"`, is precisely in charge of fetching
these input metadata. It uses `scalaz.concurrent.Task` as a `Monad` to wrap them. It also fetches artifacts (JARs, etc.). these input metadata. It uses `scalaz.concurrent.Task` as a `Monad` to wrap them. It also fetches artifacts (JARs, etc.).
It caches all of these (metadata and artifacts) on disk, and validates checksums too. It caches all of these (metadata and artifacts) on disk, and validates checksums too.