Skip to content

Commit

Permalink
Merge 5527052 into bb3e628
Browse files Browse the repository at this point in the history
  • Loading branch information
leifwickland committed Dec 1, 2018
2 parents bb3e628 + 5527052 commit a4ae0dd
Show file tree
Hide file tree
Showing 33 changed files with 40 additions and 32 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,11 @@
### 0.10.1 (Oct 30, 2018)

- New features
- `loadConfigFromFiles` now accepts a `namespace` parameter like the other `loadConfig*` varieties. (#437)

- Bug fixes
- `scala-compiler` and `scala-reflect` dependencies are now `provided`, rather than regular, dependencies. (#434)

### 0.10.0 (Oct 30, 2018)

- Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -37,7 +37,7 @@ To use PureConfig in an existing SBT project with Scala 2.11 or a later version,
`build.sbt`:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.10.1"
```

For a full example of `build.sbt` you can have a look at this [build.sbt](https://github.com/pureconfig/pureconfig/blob/master/example/build.sbt).
Expand Down
2 changes: 1 addition & 1 deletion bundle/src/main/tut/README.md
Expand Up @@ -37,7 +37,7 @@ To use PureConfig in an existing SBT project with Scala 2.11 or a later version,
`build.sbt`:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.10.1"
```

For a full example of `build.sbt` you can have a look at this [build.sbt](https://github.com/pureconfig/pureconfig/blob/master/example/build.sbt).
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/pureconfig/ConfigCursor.scala
Expand Up @@ -190,7 +190,7 @@ sealed trait ConfigCursor {
* @return a `Right` with this cursor as a list or object cursor if the cast can be done, `Left` with a list of
* failures otherwise.
*/
@deprecated("Use `asListCursor` and/or `asObjectCursor` instead", "0.10.0")
@deprecated("Use `asListCursor` and/or `asObjectCursor` instead", "0.10.1")
def asCollectionCursor: Either[ConfigReaderFailures, Either[ConfigListCursor, ConfigObjectCursor]] = {
if (isUndefined) {
failed(KeyNotFound.forKeys(path, Set()))
Expand Down
Expand Up @@ -55,7 +55,7 @@ object ConvertFailure {
/**
* A failure occurred because a list of files to load was empty.
*/
@deprecated("`loadConfigFromFiles` won't return this failure anymore", "0.10.0")
@deprecated("`loadConfigFromFiles` won't return this failure anymore", "0.10.1")
case object NoFilesToRead extends ConfigReaderFailure {
def description = "The config files to load must not be empty."
def location = None
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/tut/docs/index.md
Expand Up @@ -9,7 +9,7 @@ To use PureConfig in an existing SBT project with Scala 2.11 or a later version,
`build.sbt`:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig" % "0.10.1"
```

For a full example of `build.sbt` you can have a look at this [build.sbt](https://github.com/pureconfig/pureconfig/blob/master/example/build.sbt).
Expand Down
2 changes: 1 addition & 1 deletion example/build.sbt
Expand Up @@ -5,7 +5,7 @@ version := "1.0"
scalaVersion := "2.12.7"

libraryDependencies ++= Seq(
"com.github.pureconfig" %% "pureconfig" % "0.10.0")
"com.github.pureconfig" %% "pureconfig" % "0.10.1")

crossScalaVersions := Seq("2.11.12", "2.12.7")

Expand Down
2 changes: 1 addition & 1 deletion modules/akka/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for selected [Akka](http://akka.io/) classes to PureConfig.
In addition to [core PureConfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-akka" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-akka" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/akka/src/main/tut/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for selected [Akka](http://akka.io/) classes to PureConfig.
In addition to [core PureConfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-akka" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-akka" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/cats-effect/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for loading configuration using [cats-effect](https://github.com/ty
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-cats-effect" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-cats-effect" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/cats-effect/src/main/tut/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for loading configuration using [cats-effect](https://github.com/ty
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-cats-effect" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-cats-effect" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/cats/README.md
Expand Up @@ -9,7 +9,7 @@ classes.
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-cats" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-cats" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/cats/src/main/tut/README.md
Expand Up @@ -9,7 +9,7 @@ classes.
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-cats" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-cats" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/enum/README.md
Expand Up @@ -11,7 +11,7 @@ Automatically create a converter to read [enum](https://github.com/julienrf/enum
In addition to [core PureConfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-enum" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-enum" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/enum/src/main/tut/README.md
Expand Up @@ -11,7 +11,7 @@ Automatically create a converter to read [enum](https://github.com/julienrf/enum
In addition to [core PureConfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-enum" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-enum" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/enumeratum/README.md
Expand Up @@ -11,7 +11,7 @@ Automatically create a converters to read [Enumeratum](https://github.com/lloydm
In addition to [core PureConfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-enumeratum" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-enumeratum" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/enumeratum/src/main/tut/README.md
Expand Up @@ -11,7 +11,7 @@ Automatically create a converters to read [Enumeratum](https://github.com/lloydm
In addition to [core PureConfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-enumeratum" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-enumeratum" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/fs2/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for loading and saving configurations from [fs2](https://github.com
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-fs2" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-fs2" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/fs2/src/main/tut/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for loading and saving configurations from [fs2](https://github.com
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-fs2" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-fs2" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/hadoop/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for selected [Hadoop](http://hadoop.apache.org/) classes to PureCon
In addition to [core PureConfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-hadoop" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-hadoop" % "0.10.1"
```

Also, `pureconfig-hadoop` depends on `hadoop-common` with `provided` scope. This means that you should explicitly add a dependency on `hadoop-common` or any other Hadoop library which depends on `hadoop-common`. Usually it would be something like this:
Expand Down
2 changes: 1 addition & 1 deletion modules/hadoop/src/main/tut/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for selected [Hadoop](http://hadoop.apache.org/) classes to PureCon
In addition to [core PureConfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-hadoop" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-hadoop" % "0.10.1"
```

Also, `pureconfig-hadoop` depends on `hadoop-common` with `provided` scope. This means that you should explicitly add a dependency on `hadoop-common` or any other Hadoop library which depends on `hadoop-common`. Usually it would be something like this:
Expand Down
2 changes: 1 addition & 1 deletion modules/http4s/README.md
Expand Up @@ -9,7 +9,7 @@ for other classes are welcome :)
In addition to [core PureConfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-http4s" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-http4s" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/javax/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for selected javax classes to PureConfig.
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-javax" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-javax" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/javax/src/main/tut/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for selected javax classes to PureConfig.
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-javax" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-javax" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/joda/README.md
Expand Up @@ -13,7 +13,7 @@ The converters need to be provided a `org.joda.time.format.DateTimeFormatter` to
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-joda" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-joda" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/joda/src/main/tut/README.md
Expand Up @@ -13,7 +13,7 @@ The converters need to be provided a `org.joda.time.format.DateTimeFormatter` to
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-joda" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-joda" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/scala-xml/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for XML via [Scala XML](https://github.com/scala/scala-xml) to Pure
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-scala-xml" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-scala-xml" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/scala-xml/src/main/tut/README.md
Expand Up @@ -7,7 +7,7 @@ Adds support for XML via [Scala XML](https://github.com/scala/scala-xml) to Pure
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-scala-xml" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-scala-xml" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/squants/README.md
Expand Up @@ -11,7 +11,7 @@ Automatically create a converter to read [Squants](http://www.squants.com/)'s be
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-squants" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-squants" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/squants/src/main/tut/README.md
Expand Up @@ -11,7 +11,7 @@ Automatically create a converter to read [Squants](http://www.squants.com/)'s be
In addition to [core pureconfig](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-squants" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-squants" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/yaml/README.md
Expand Up @@ -8,7 +8,7 @@ of `ConfigReader`s and hints to read configurations to domain objects without bo
In addition to the [PureConfig core](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-yaml" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-yaml" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion modules/yaml/src/main/tut/README.md
Expand Up @@ -8,7 +8,7 @@ of `ConfigReader`s and hints to read configurations to domain objects without bo
In addition to the [PureConfig core](https://github.com/pureconfig/pureconfig), you'll need:

```scala
libraryDependencies += "com.github.pureconfig" %% "pureconfig-yaml" % "0.10.0"
libraryDependencies += "com.github.pureconfig" %% "pureconfig-yaml" % "0.10.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion scripts/try_pureconfig.sh
Expand Up @@ -2,7 +2,7 @@
test -e ~/.coursier/cr || (mkdir -p ~/.coursier && wget -q -O ~/.coursier/cr https://git.io/vgvpD && chmod +x ~/.coursier/cr)
CLASSPATH="$(~/.coursier/cr fetch -q -p \
\
com.github.pureconfig:pureconfig_2.11:0.10.0 \
com.github.pureconfig:pureconfig_2.11:0.10.1 \
com.lihaoyi:ammonite-repl_2.11.7:0.5.2 \
\
)" java ammonite.repl.Main --predef 'import pureconfig._'

0 comments on commit a4ae0dd

Please sign in to comment.