Skip to content

Commit

Permalink
chore(deps): update module github.com/spf13/viper to v1.12.0 (#1101)
Browse files Browse the repository at this point in the history
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/spf13/viper](https://togithub.com/spf13/viper) | require | minor | `v1.11.0` -> `v1.12.0` |

---

### Release Notes

<details>
<summary>spf13/viper</summary>

### [`v1.12.0`](https://togithub.com/spf13/viper/releases/tag/v1.12.0)

[Compare Source](https://togithub.com/spf13/viper/compare/v1.11.0...v1.12.0)

This release makes YAML v3 and TOML v2 the default versions used for encoding.

You can switch back to the old versions by adding `viper_yaml2` and `viper_toml1` to the build tags.

Please note that YAML v2 and TOML v1 are considered deprecated from this release and may be removed in a future release.

Please provide feedback in discussions and report bugs on the issue tracker. Thanks!

<!-- Release notes generated using configuration in .github/release.yml at v1.12.0 -->

#### What's Changed

##### Exciting New Features 🎉

-   Add etcd3 support to remote by [@&#8203;sagikazarmark](https://togithub.com/sagikazarmark) in [https://github.com/spf13/viper/pull/1356](https://togithub.com/spf13/viper/pull/1356)
-   Make YAML 3 the default by [@&#8203;sagikazarmark](https://togithub.com/sagikazarmark) in [https://github.com/spf13/viper/pull/1357](https://togithub.com/spf13/viper/pull/1357)
-   Make TOML 2 the default by [@&#8203;sagikazarmark](https://togithub.com/sagikazarmark) in [https://github.com/spf13/viper/pull/1358](https://togithub.com/spf13/viper/pull/1358)

##### Enhancements 🚀

-   chore: fix Error log calls in mergeMaps by [@&#8203;wwade](https://togithub.com/wwade) in [https://github.com/spf13/viper/pull/1341](https://togithub.com/spf13/viper/pull/1341)
-   Add MustBindEnv by [@&#8203;meowfaceman](https://togithub.com/meowfaceman) in [https://github.com/spf13/viper/pull/1301](https://togithub.com/spf13/viper/pull/1301)

##### Dependency Updates ⬆️

-   build(deps): bump github/codeql-action from 1 to 2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/viper/pull/1336](https://togithub.com/spf13/viper/pull/1336)
-   build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.0-beta.8 to 2.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/viper/pull/1339](https://togithub.com/spf13/viper/pull/1339)
-   build(deps): bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/viper/pull/1332](https://togithub.com/spf13/viper/pull/1332)
-   build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/viper/pull/1335](https://togithub.com/spf13/viper/pull/1335)
-   build(deps): bump github.com/fsnotify/fsnotify from 1.5.1 to 1.5.4 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/viper/pull/1338](https://togithub.com/spf13/viper/pull/1338)
-   build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/viper/pull/1344](https://togithub.com/spf13/viper/pull/1344)
-   build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.0 to 2.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/viper/pull/1343](https://togithub.com/spf13/viper/pull/1343)
-   build(deps): bump github.com/subosito/gotenv from 1.2.0 to 1.3.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/viper/pull/1349](https://togithub.com/spf13/viper/pull/1349)

#### New Contributors

-   [@&#8203;meowfaceman](https://togithub.com/meowfaceman) made their first contribution in [https://github.com/spf13/viper/pull/1301](https://togithub.com/spf13/viper/pull/1301)
-   [@&#8203;wwade](https://togithub.com/wwade) made their first contribution in [https://github.com/spf13/viper/pull/1341](https://togithub.com/spf13/viper/pull/1341)

**Full Changelog**: spf13/viper@v1.11.0...v1.12.0

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/gapic-showcase).
  • Loading branch information
renovate-bot authored May 26, 2022
1 parent 32ea29c commit ef95407
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 21 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/iancoleman/strcase v0.2.0
github.com/soheilhy/cmux v0.1.5
github.com/spf13/cobra v1.4.0
github.com/spf13/viper v1.11.0
github.com/spf13/viper v1.12.0
golang.org/x/oauth2 v0.0.0-20220524215830-622c5d57e401
golang.org/x/sync v0.0.0-20220513210516-0976fa681c29
google.golang.org/api v0.81.0
Expand Down
Loading

0 comments on commit ef95407

Please sign in to comment.