fix(deps): update all non-major dependencies
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
git.psu.edu/swe-golang/groupservice | require | patch |
v0.3.1-0.20200129213224-b9f428912a6c -> v0.3.5
|
git.psu.edu/swe-golang/oauth2 | require | minor |
v0.8.0 -> v0.11.3
|
github.com/Songmu/prompter | require | minor |
v0.2.0 -> v0.5.1
|
github.com/chromedp/chromedp | require | minor |
v0.6.8 -> v0.9.5
|
github.com/spf13/cobra | require | patch |
v0.0.5 -> v0.0.7
|
github.com/spf13/viper | require | minor |
v1.3.2 -> v1.19.0
|
github.com/stretchr/testify | require | minor |
v1.4.0 -> v1.9.0
|
golang.org/x/oauth2 | require | minor |
v0.0.0-20200107190931-bf48bf16ab8d -> v0.21.0
|
gopkg.in/yaml.v2 | require | minor |
v2.2.2 -> v2.4.0
|
Release Notes
swe-golang/groupservice (git.psu.edu/swe-golang/groupservice)
<code data-sourcepos="22:7-22:12">v0.3.5</code>
<code data-sourcepos="26:7-26:12">v0.3.4</code>
<code data-sourcepos="30:7-30:12">v0.3.3</code>
<code data-sourcepos="34:7-34:12">v0.3.2</code>
swe-golang/oauth2 (git.psu.edu/swe-golang/oauth2)
<code data-sourcepos="43:7-43:13">v0.11.3</code>
<code data-sourcepos="47:7-47:13">v0.11.2</code>
<code data-sourcepos="51:7-51:13">v0.11.1</code>
<code data-sourcepos="55:7-55:13">v0.11.0</code>
<code data-sourcepos="59:7-59:13">v0.10.0</code>
<code data-sourcepos="63:7-63:12">v0.9.0</code>
Songmu/prompter (github.com/Songmu/prompter)
v0.5.1
- update deps #13 (Songmu)
- [maintenance] dynamic go versions in testing #12 (Songmu)
- maint README.md and Makefile. and migrate to codecov from coveralls #11 (Songmu)
v0.5.0
v0.4.0
- Added support for using pipes with GO_PROMPTER_USE_PIPE #8 (pyama86)
- Make yes no prompts clearer #9 (scallister)
v0.3.0
chromedp/chromedp (github.com/chromedp/chromedp)
v0.9.5
v0.9.4
v0.9.3
v0.9.2
: chromedp v0.9.2
What's Changed
- Simplify TestFileUpload by using T.TempDir and os.WriteFile by @alexandear in https://github.com/chromedp/chromedp/pull/1280
- refactor: increment, unlambda, unslice by @alexandear in https://github.com/chromedp/chromedp/pull/1298
- Improve test GitHub workflow by @alexandear in https://github.com/chromedp/chromedp/pull/1279
- Updating ws dependency by @alexandear in https://github.com/chromedp/chromedp/pull/1312
- deflake TestRemoteAllocator by @ZekeLu in https://github.com/chromedp/chromedp/pull/1287
- Fixed nil pointer exception when cancelling a context with chromedp.Cancel() by @Valentin-Kaiser in https://github.com/chromedp/chromedp/pull/1295
- Guard access to Target.{frames,cur} globally by @WalkerGriggs in https://github.com/chromedp/chromedp/pull/1111
- Fixing typo in allocate test by @ynori7 in https://github.com/chromedp/chromedp/pull/1343
- Discard search results by @bno1 in https://github.com/chromedp/chromedp/pull/1311
- upgrade to latest cdproto to address the responseTime issue by @ZekeLu in https://github.com/chromedp/chromedp/pull/1320
- stop retrying for invalid selectors (such as "#a:b") by @ZekeLu in https://github.com/chromedp/chromedp/pull/1303
New Contributors
- @Valentin-Kaiser made their first contribution in https://github.com/chromedp/chromedp/pull/1295
- @WalkerGriggs made their first contribution in https://github.com/chromedp/chromedp/pull/1111
- @ynori7 made their first contribution in https://github.com/chromedp/chromedp/pull/1343
- @bno1 made their first contribution in https://github.com/chromedp/chromedp/pull/1311
Full Changelog: https://github.com/chromedp/chromedp/compare/v0.9.1...v0.9.2
v0.9.1
: chromedp v0.9.1
This is a quick fix of v0.9.0
.
v0.9.0
: chromedp v0.9.0
Reenables support for Go 1.16.
v0.8.8
: chromedp v0.8.8
- introduce BrowserContext support (#1269, Thank you @onsi)
- make parseRemoteObject handle undefined/null reasonably (#1260, #1261, #1264, Thank you @xueyc1f)
-
Note: it does not support go < 1.18 any more because it uses
reflect.Pointer
.
-
Note: it does not support go < 1.18 any more because it uses
- Updating to latest cdproto 112.0.5608.1_11.2.178 dependency
- Other improvements (Thank you @alexandear)
v0.8.7
: chromedp v0.8.7
- introduce a remote allocator option: NoModifyURL (#1184) (Thank you @andyMrtnzP and @AlexLoyola)
- Remove ioutil because it is deprecated since go1.16 (#1205) (Thank you @alexandear)
- update the screenshot funcs to match the behavior of chrome commands (#1221) (Thank you @tavsec for reporting the issue)
- improve TestDownloadIntoDir (#1227) (Thank you @dithmer)
- update to latest cdproto (111.0.5528.1_11.1.134 definitions) . Remarkable changes:
- remove
page.SetDownloadBehavior
(https://github.com/chromedp/pdlgen/pull/19). - add pre-cleanup fixup for the
runtime.executionContextDestroyed
event (https://github.com/chromedp/pdlgen/pull/20).
- remove
v0.8.6
: chromedp v0.8.6
- add RetryInterval option to query actions (#1159) (Thank you @taylorchu)
- Update to latest cdproto (108.0.5320.1_10.8.51 definitions)
v0.8.5
: chromedp v0.8.5
- Update to latest cdproto (107.0.5263.1_10.7.36 definitions)
v0.8.4
: chromedp v0.8.4
- Update to latest cdproto (106.0.5236.1_10.6.152 definitions)
- refactor MatchedStyle to resist change of css.GetMatchedStylesForNode #1127
- Allow to set custom WS URL waiting time #1036
- fix example in readme #1135
- ensure the user data directory is removed #1136
v0.8.3
: chromedp v0.8.3
- Update to latest cdproto (106.0.5201.1_10.6.8 definitions)
- Bug fixes related to cdproto changes
- Fix issues with Poll() #1087
- Fix hang issues #1076
- Deflake TestNagivateWhileLoading #1080
- Fix issue with TestGracefulBrowserShutdown with headless-shell #1078
v0.8.2
: chromedp v0.8.2
- Update to latest cdproto (104.0.5064.1_10.4.3 definitions)
- Bring back support for Go 1.16 (which is dropped in
v0.8.1
)
Note: Go <= 1.15 is not supported due to the use of go:embed
v0.8.1
: chromedp v0.8.1
- Update to latest cdproto (103.0.5029.1_10.3.67 definitions)
- Code generator cleanup
Note: It drops support for Go 1.16 (due to the use of go:build
).
v0.8.0
: chromedp v0.8.0
Minor updates for cdproto, go1.18
Updates to latest cdproto which includes minor API revisions, and updates GitHub workflows and go.mod for go1.18.
v0.7.8
: chromedp v0.7.8
Updating device list and cdproto (100.0.4895.2_10.0.139 definitions)
v0.7.7
: chromedp v0.7.7
- Update to latest cdproto (100.0.4862.2_10.0.51 definitions)
- Avoid the unnecessary wait in the first iteration of a loop (#929)
v0.7.6
: chromedp v0.7.6
Point release; updates device profiles. See v0.7.5 for more information.
v0.7.5
: chromedp v0.7.5
Point release; minor bug fixes and dependency updates. Updates to 98.0.4731.1_9.8.101 browser protocol definitions.
v0.7.4
: chromedp v0.7.4
- Update to latest cdproto (93.0.4574.1_9.3.334 definitions)
- Add command line option: IgnoreCertErrors (#809)
- Upgrade
github.com/gobwas/ws
tov1.1.0
- Use
CallFunctionOn
to execute js on node (#852) Note: This change usesDOM.scrollIntoViewIfNeeded
which was introduced inChromium 82.0.4056.0
. So this could be a breaking change for older browsers (see https://github.com/chromedp/chromedp/issues/881#issuecomment-881925149 for more information). Thank you @FournyP for reporting the issue. - Make the screenshot actions act the same as Chrome commands (#863)
- Minor refactoring and source code clean up.
v0.7.3
: chromedp v0.7.3
- Update to latest cdproto (93.0.4522.3_9.3.2 definitions)
- And always emit
deltaX
anddeltaY
forInput.dispatchMouseEvent
(https://github.com/chromedp/pdlgen/pull/11)
- And always emit
- Dispatch input and change events at the
chromedp.SetValue()
target (#819) - Make NewRemoteAllocator accept url without
devtools/browser/...
(#817) - Allow passing nil as res to
chromedp.Evaluate()
(#816) - Add a ModifyCmdFunc ExecAllocatorOption (#674)
v0.7.2
: chromedp v0.7.2
- Update cdproto to
92.0.4501.1_9.2.173
definitions - Search chrome binary in different locations on different OS systems. (#811)
- Expose process of the Browser (#737)
- Wrap errors with go 1.13
%w
verb (#743) - Fix comment about websocket timeout in allocate.go (#727)
v0.7.1
: chromedp v0.7.1
- Fix typo in the example
v0.7.0
: chromedp v0.7.0
- Add
crhomedp.FullScreenshot
action - Minor cleanup to CI
- Update the list of ignored page events (#780)
- Rename
TranslateUI
toTranslate
in the defaultdisable-features
(#796) - Update dependencies
v0.6.12
: chromedp v0.6.12
- Auto grows the buffer to workaround the lack of fragmentation support (#782)
It depends on a pre-release of
github.com/gobwas/ws
(v1.1.0-rc.5
) - Fix some of the issues in the
chromedp.Poll
action (#778)
v0.6.11
: chromedp v0.6.11
- Call
submit
/reset
from prototype in case they are masked (#803) - Update
README.md
- Add Output to example tests
- Add
chromedp.Poll
action to imitate puppeteer's page.waitForFunction (#766) - Fix GitHub actions
v0.6.10
v0.6.9
spf13/cobra (github.com/spf13/cobra)
v0.0.7
Bug fix to restore previous exit behavior when a command is not runnable.
Issue Ref: #1056 Bug Introduced: #922 Affected Releases: 0.0.6
v0.0.6
spf13/viper (github.com/spf13/viper)
v1.19.0
What's Changed
🐛
Bug Fixes - fix!: hide struct binding behind a feature flag by @sagikazarmark in https://github.com/spf13/viper/pull/1720
⬆ ️
Dependency Updates - build(deps): bump github/codeql-action from 2.22.8 to 2.22.9 by @dependabot in https://github.com/spf13/viper/pull/1705
- build(deps): bump actions/setup-go from 4.1.0 to 5.0.0 by @dependabot in https://github.com/spf13/viper/pull/1703
- build(deps): bump github/codeql-action from 2.22.9 to 3.22.11 by @dependabot in https://github.com/spf13/viper/pull/1713
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.1.1 by @dependabot in https://github.com/spf13/viper/pull/1711
- build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 by @dependabot in https://github.com/spf13/viper/pull/1722
- build(deps): bump github/codeql-action from 3.22.11 to 3.23.0 by @dependabot in https://github.com/spf13/viper/pull/1734
- build(deps): bump actions/dependency-review-action from 3.1.4 to 3.1.5 by @dependabot in https://github.com/spf13/viper/pull/1731
- build(deps): bump mheap/github-action-required-labels from 5.1.0 to 5.2.0 by @dependabot in https://github.com/spf13/viper/pull/1743
- build(deps): bump github/codeql-action from 3.23.0 to 3.23.2 by @dependabot in https://github.com/spf13/viper/pull/1742
- build(deps): bump actions/dependency-review-action from 3.1.5 to 4.0.0 by @dependabot in https://github.com/spf13/viper/pull/1739
- build(deps): bump cachix/install-nix-action from 24 to 25 by @dependabot in https://github.com/spf13/viper/pull/1737
- build(deps): bump github/codeql-action from 3.23.2 to 3.24.0 by @dependabot in https://github.com/spf13/viper/pull/1751
- build(deps): bump github/codeql-action from 3.24.0 to 3.24.1 by @dependabot in https://github.com/spf13/viper/pull/1760
- build(deps): bump actions/dependency-review-action from 4.0.0 to 4.1.0 by @dependabot in https://github.com/spf13/viper/pull/1761
- build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in https://github.com/spf13/viper/pull/1757
- build(deps): bump mheap/github-action-required-labels from 5.2.0 to 5.3.0 by @dependabot in https://github.com/spf13/viper/pull/1759
- build(deps): bump github/codeql-action from 3.24.1 to 3.24.3 by @dependabot in https://github.com/spf13/viper/pull/1763
- build(deps): bump github.com/sagikazarmark/crypt from 0.17.0 to 0.18.0 by @dependabot in https://github.com/spf13/viper/pull/1774
- build(deps): bump github/codeql-action from 3.24.3 to 3.24.5 by @dependabot in https://github.com/spf13/viper/pull/1770
- build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in https://github.com/spf13/viper/pull/1776
- build(deps): bump github/codeql-action from 3.24.5 to 3.24.6 by @dependabot in https://github.com/spf13/viper/pull/1775
- build(deps): bump cachix/install-nix-action from 25 to 26 by @dependabot in https://github.com/spf13/viper/pull/1778
- build(deps): bump actions/dependency-review-action from 4.1.0 to 4.1.3 by @dependabot in https://github.com/spf13/viper/pull/1767
- build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by @dependabot in https://github.com/spf13/viper/pull/1790
- build(deps): bump mheap/github-action-required-labels from 5.3.0 to 5.4.0 by @dependabot in https://github.com/spf13/viper/pull/1789
- build(deps): bump actions/checkout from 4.1.1 to 4.1.2 by @dependabot in https://github.com/spf13/viper/pull/1780
- build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.4 by @dependabot in https://github.com/spf13/viper/pull/1793
- chore: upgrade crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1794
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 by @dependabot in https://github.com/spf13/viper/pull/1788
- build(deps): bump actions/dependency-review-action from 4.2.4 to 4.2.5 by @dependabot in https://github.com/spf13/viper/pull/1796
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 by @dependabot in https://github.com/spf13/viper/pull/1804
- build(deps): bump github/codeql-action from 3.24.9 to 3.25.1 by @dependabot in https://github.com/spf13/viper/pull/1806
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by @dependabot in https://github.com/spf13/viper/pull/1807
- build(deps): bump actions/checkout from 4.1.2 to 4.1.3 by @dependabot in https://github.com/spf13/viper/pull/1808
- build(deps): bump actions/checkout from 4.1.3 to 4.1.4 by @dependabot in https://github.com/spf13/viper/pull/1813
- build(deps): bump github/codeql-action from 3.25.1 to 3.25.2 by @dependabot in https://github.com/spf13/viper/pull/1811
- build(deps): bump mheap/github-action-required-labels from 5.4.0 to 5.4.1 by @dependabot in https://github.com/spf13/viper/pull/1817
- build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by @dependabot in https://github.com/spf13/viper/pull/1821
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 by @dependabot in https://github.com/spf13/viper/pull/1822
- build(deps): bump actions/setup-go from 5.0.0 to 5.0.1 by @dependabot in https://github.com/spf13/viper/pull/1824
- build(deps): bump github/codeql-action from 3.25.2 to 3.25.4 by @dependabot in https://github.com/spf13/viper/pull/1828
- build(deps): bump golangci/golangci-lint-action from 4.0.0 to 6.0.1 by @dependabot in https://github.com/spf13/viper/pull/1829
- build(deps): bump github/codeql-action from 3.25.4 to 3.25.7 by @dependabot in https://github.com/spf13/viper/pull/1844
- build(deps): bump cachix/install-nix-action from 26 to 27 by @dependabot in https://github.com/spf13/viper/pull/1833
- build(deps): bump actions/checkout from 4.1.4 to 4.1.6 by @dependabot in https://github.com/spf13/viper/pull/1835
Other Changes
- Update links to Golang Modules documentation by @tobb10001 in https://github.com/spf13/viper/pull/1758
- chore: add Go 1.22 support by @sagikazarmark in https://github.com/spf13/viper/pull/1762
- fix #1700: update tests to use local viper instance by @smukk9 in https://github.com/spf13/viper/pull/1791
- Update references to bketelsen/crypt by @skitt in https://github.com/spf13/viper/pull/1842
New Contributors
- @tobb10001 made their first contribution in https://github.com/spf13/viper/pull/1758
- @smukk9 made their first contribution in https://github.com/spf13/viper/pull/1791
- @skitt made their first contribution in https://github.com/spf13/viper/pull/1842
Full Changelog: https://github.com/spf13/viper/compare/v1.18.1...v1.19.0
v1.18.2
tl;dr Skip 1.18.0 and 1.18.1 and upgrade to this version instead.
This release fixes a regression that appears in rare circumstances when using Unmarshal
or UnmarshalExact
to decode values onto pointers with multiple indirection (eg. pointer to a pointer, etc). The change was introduced in 1.18.0 as a means to resolve a long-standing bug when decoding environment variables to structs.
The feature is now disabled by default and can be enabled using the viper_bind_struct
build tag. It's also considered experimental at this point, so breaking changes may be introduced in the future.
What's Changed
🐛
Bug Fixes - feat!: hide struct binding behind a feature flag by @sagikazarmark in https://github.com/spf13/viper/pull/1715
Full Changelog: https://github.com/spf13/viper/compare/v1.18.1...v1.18.2
v1.18.1
What's Changed
🐛
Bug Fixes - Merge missing struct keys inside UnmarshalExact by @krakowski in https://github.com/spf13/viper/pull/1704
Full Changelog: https://github.com/spf13/viper/compare/v1.18.0...v1.18.1
v1.18.0
Major changes
Highlighting some of the changes for better visibility.
Please share your feedback in the Discussion forum. Thanks!
AutomaticEnv
works with Unmarshal
Previously, environment variables that weren't bound manually or had no defaults could not be mapped by Unmarshal
. (The problem is explained in details in this issue: #761)
#1429 introduced a solution that solves that issue.
What's Changed
🚀
Enhancements - chore: rename files according to enabled build tags by @alexandear in https://github.com/spf13/viper/pull/1642
- test: replace ifs with asserts to simplify tests by @alexandear in https://github.com/spf13/viper/pull/1656
- ci: enable test shuffle and fix tests by @alexandear in https://github.com/spf13/viper/pull/1643
- fix: gocritic lint issues by @alexandear in https://github.com/spf13/viper/pull/1696
🐛
Bug Fixes - Implement viper.BindStruct for automatic unmarshalling from environment variables by @krakowski in https://github.com/spf13/viper/pull/1429
- fix isPathShadowedInFlatMap type cast bug by @linuxsong in https://github.com/spf13/viper/pull/1585
⬆ ️
Dependency Updates - build(deps): bump github/codeql-action from 2.21.9 to 2.22.3 by @dependabot in https://github.com/spf13/viper/pull/1661
- build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in https://github.com/spf13/viper/pull/1659
- build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in https://github.com/spf13/viper/pull/1663
- build(deps): bump actions/github-script from 6.4.1 to 7.0.1 by @dependabot in https://github.com/spf13/viper/pull/1686
- build(deps): bump github/codeql-action from 2.22.3 to 2.22.8 by @dependabot in https://github.com/spf13/viper/pull/1688
- build(deps): bump github.com/spf13/afero from 1.10.0 to 1.11.0 by @dependabot in https://github.com/spf13/viper/pull/1692
- build(deps): bump actions/dependency-review-action from 3.1.0 to 3.1.4 by @dependabot in https://github.com/spf13/viper/pull/1690
- build(deps): bump cachix/install-nix-action from 23 to 24 by @dependabot in https://github.com/spf13/viper/pull/1689
- build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 by @dependabot in https://github.com/spf13/viper/pull/1672
- build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spf13/viper/pull/1691
- build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 by @dependabot in https://github.com/spf13/viper/pull/1668
- chore: update dependencies by @sagikazarmark in https://github.com/spf13/viper/pull/1694
- chore: update crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1701
Other Changes
- Add info about multiple hosts for remote config by @KaymeKaydex in https://github.com/spf13/viper/pull/1684
- refactor: drop fsonitfy wrapper by @sagikazarmark in https://github.com/spf13/viper/pull/1693
- Note Get* behavior on parse failure by @scop in https://github.com/spf13/viper/pull/1687
- fix: godot lint issues by @alexandear in https://github.com/spf13/viper/pull/1657
New Contributors
- @KaymeKaydex made their first contribution in https://github.com/spf13/viper/pull/1684
- @krakowski made their first contribution in https://github.com/spf13/viper/pull/1429
- @linuxsong made their first contribution in https://github.com/spf13/viper/pull/1585
Full Changelog: https://github.com/spf13/viper/compare/v1.17.0...v1.18.0
v1.17.0
Major changes
Highlighting some of the changes for better visibility.
Please share your feedback in the Discussion forum. Thanks!
Minimum Go version: 1.19
Viper now requires Go 1.19
This change ensures we can stay up to date with modern practices and dependencies.
log/slog
support [BREAKING]
Viper v1.11.0 added an experimental Logger
interface to allow custom implementations (besides jwalterweatherman).
In addition, it also exposed an experimental WithLogger
function allowing to set a custom logger.
This release deprecates that interface in favor of log/slog released in Go 1.21.
[!WARNING]
WithLogger
accepts an *slog.Logger from now on.
To preserve backwards compatibility with older Go versions, prior to Go 1.21 Viper accepts a *golang.org/x/exp/slog.Logger.
The experimental flag is removed.
New finder implementation [BREAKING]
As of this release, Viper uses a new library to look for files, called locafero.
The new library is better covered by tests and has been built from scratch as a general purpose file finder library.
The implementation is experimental and is hidden behind a finder
build tag.
[!WARNING] The
io/fs
based implementation (that used to be hidden behind afinder
build tag) has been removed.
What's Changed
🎉
Exciting New Features - Add NATS support by @hooksie1 in https://github.com/spf13/viper/pull/1590
- Add slog support by @sagikazarmark in https://github.com/spf13/viper/pull/1627
🚀
Enhancements - chore: add local development environment using nix by @sagikazarmark in https://github.com/spf13/viper/pull/1572
- feat: add func GetEnvPrefix by @baruchiro in https://github.com/spf13/viper/pull/1565
- Improve dev env by @sagikazarmark in https://github.com/spf13/viper/pull/1575
- fix: code optimization by @testwill in https://github.com/spf13/viper/pull/1557
- test: remove not needed testutil.Setenv by @alexandear in https://github.com/spf13/viper/pull/1610
- new finder library based on afero by @sagikazarmark in https://github.com/spf13/viper/pull/1625
- refactor: make use of
strings.Cut
by @scop in https://github.com/spf13/viper/pull/1650
🛠
Breaking Changes - feat: drop support for Go 1.17 by @sagikazarmark in https://github.com/spf13/viper/pull/1574
⬆ ️
Dependency Updates - build(deps): bump mheap/github-action-required-labels from 4 to 5 by @dependabot in https://github.com/spf13/viper/pull/1563
- build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in https://github.com/spf13/viper/pull/1558
- build(deps): bump cachix/install-nix-action from 21 to 22 by @dependabot in https://github.com/spf13/viper/pull/1573
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 by @dependabot in https://github.com/spf13/viper/pull/1586
- chore: upgrade crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1589
- build(deps): bump actions/checkout from 3.5.3 to 4.0.0 by @dependabot in https://github.com/spf13/viper/pull/1616
- build(deps): bump github/codeql-action from 2.21.2 to 2.21.5 by @dependabot in https://github.com/spf13/viper/pull/1615
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0 by @dependabot in https://github.com/spf13/viper/pull/1614
- build(deps): bump actions/dependency-review-action from 3.0.6 to 3.0.8 by @dependabot in https://github.com/spf13/viper/pull/1605
- build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by @dependabot in https://github.com/spf13/viper/pull/1604
- build(deps): bump actions/setup-go from 4.0.1 to 4.1.0 by @dependabot in https://github.com/spf13/viper/pull/1593
- build(deps): bump github.com/subosito/gotenv from 1.4.2 to 1.6.0 by @dependabot in https://github.com/spf13/viper/pull/1603
- build(deps): bump cachix/install-nix-action from 22 to 23 by @dependabot in https://github.com/spf13/viper/pull/1620
- chore(deps): update crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1621
- build(deps): bump actions/dependency-review-action from 3.0.8 to 3.1.0 by @dependabot in https://github.com/spf13/viper/pull/1623
- Bump minimum Go version to 1.19 by @sagikazarmark in https://github.com/spf13/viper/pull/1626
- build(deps): bump github/codeql-action from 2.21.5 to 2.21.6 by @dependabot in https://github.com/spf13/viper/pull/1632
- build(deps): bump github/codeql-action from 2.21.6 to 2.21.7 by @dependabot in https://github.com/spf13/viper/pull/1634
- build(deps): bump actions/checkout from 4.0.0 to 4.1.0 by @dependabot in https://github.com/spf13/viper/pull/1641
- build(deps): bump github.com/spf13/afero from 1.9.5 to 1.10.0 by @dependabot in https://github.com/spf13/viper/pull/1640
- build(deps): bump github/codeql-action from 2.21.7 to 2.21.8 by @dependabot in https://github.com/spf13/viper/pull/1638
- build(deps): bump github/codeql-action from 2.21.8 to 2.21.9 by @dependabot in https://github.com/spf13/viper/pull/1648
- chore(deps): update crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1652
Other Changes
- [StepSecurity] ci: Harden GitHub Actions by @step-security-bot in https://github.com/spf13/viper/pull/1592
- Add Vitess to list of projects using Viper by @systay in https://github.com/spf13/viper/pull/1619
- docs: fix typos in comments by @alexandear in https://github.com/spf13/viper/pull/1609
- ci: add Go 1.21 to the test matrix by @sagikazarmark in https://github.com/spf13/viper/pull/1622
- Remove usages of deprecated io/ioutil; simplify viper tests by @alexandear in https://github.com/spf13/viper/pull/1631
- chore: remove deprecated build tags by @alexandear in https://github.com/spf13/viper/pull/1630
- refactor: replace 'interface{}' with 'any' by @alexandear in https://github.com/spf13/viper/pull/1646
- test: refactor asserts by @alexandear in https://github.com/spf13/viper/pull/1644
- docs: add set subset KV example by @yhliyr in https://github.com/spf13/viper/pull/1647
- Make deps fixes by @bersace in https://github.com/spf13/viper/pull/1628
New Contributors
- @goldeneggg made their first contribution in https://github.com/spf13/viper/pull/1561
- @baruchiro made their first contribution in https://github.com/spf13/viper/pull/1565
- @testwill made their first contribution in https://github.com/spf13/viper/pull/1557
- @step-security-bot made their first contribution in https://github.com/spf13/viper/pull/1592
- @systay made their first contribution in https://github.com/spf13/viper/pull/1619
- @alexandear made their first contribution in https://github.com/spf13/viper/pull/1609
- @hooksie1 made their first contribution in https://github.com/spf13/viper/pull/1590
- @yhliyr made their first contribution in https://github.com/spf13/viper/pull/1647
- @bersace made their first contribution in https://github.com/spf13/viper/pull/1628
- @scop made their first contribution in https://github.com/spf13/viper/pull/1650
Full Changelog: https://github.com/spf13/viper/compare/v1.16.0...v1.17.0
v1.16.0
What's Changed
🚀
Enhancements - Sub parent inheritance by @TaylorOno in https://github.com/spf13/viper/pull/1056
- fix: fix typo by @yquansah in https://github.com/spf13/viper/pull/1523
- ci: add Go 1.20 to build matrix by @sagikazarmark in https://github.com/spf13/viper/pull/1506
- extend v.find() to handle stringToInt value types with stringToInt pflag #1435 by @vorishirne in https://github.com/spf13/viper/pull/1462
- add:viper: allow to disable internal log messages by @burgesQ in https://github.com/spf13/viper/pull/1483
- Allow ConfigParseError to unwrap by @andig in https://github.com/spf13/viper/pull/1433
🐛
Bug Fixes - fix: time.Duration slice type conversion by @UrbanskiDawid in https://github.com/spf13/viper/pull/1498
⬆ ️
Dependency Updates - build(deps): bump mheap/github-action-required-labels from 3 to 4 by @dependabot in https://github.com/spf13/viper/pull/1533
- build(deps): bump actions/setup-go from 3 to 4 by @dependabot in https://github.com/spf13/viper/pull/1526
- build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0 by @dependabot in https://github.com/spf13/viper/pull/1519
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.7 by @dependabot in https://github.com/spf13/viper/pull/1516
- build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in https://github.com/spf13/viper/pull/1515
- build(deps): bump github.com/spf13/afero from 1.9.3 to 1.9.5 by @dependabot in https://github.com/spf13/viper/pull/1518
- build(deps): bump github.com/sagikazarmark/crypt from 0.9.0 to 0.10.0 by @dependabot in https://github.com/spf13/viper/pull/1550
- build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 by @dependabot in https://github.com/spf13/viper/pull/1551
- build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in https://github.com/spf13/viper/pull/1553
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.7 to 2.0.8 by @dependabot in https://github.com/spf13/viper/pull/1555
Other Changes
- Update main image to better handle dark background by @Deleplace in https://github.com/spf13/viper/pull/1532
New Contributors
- @UrbanskiDawid made their first contribution in https://github.com/spf13/viper/pull/1498
- @TaylorOno made their first contribution in https://github.com/spf13/viper/pull/1056
- @yquansah made their first contribution in https://github.com/spf13/viper/pull/1523
- @Azanul made their first contribution in https://github.com/spf13/viper/pull/1544
- @Deleplace made their first contribution in https://github.com/spf13/viper/pull/1532
- @cfabianski made their first contribution in https://github.com/spf13/viper/pull/1552
- @vorishirne made their first contribution in https://github.com/spf13/viper/pull/1462
- @burgesQ made their first contribution in https://github.com/spf13/viper/pull/1483
- @andig made their first contribution in https://github.com/spf13/viper/pull/1433
Full Changelog: https://github.com/spf13/viper/compare/v1.15.0...v1.16.0
v1.15.0
What's Changed
🎉
Exciting New Features - feat: add multiple endpoints support for remote by @mozartz in https://github.com/spf13/viper/pull/1464
🚀
Enhancements - Add DocBlock to WatchConfig by @glebik000 in https://github.com/spf13/viper/pull/1467
🛠
Breaking Changes - Drop YAML v2 and TOML v1 by @sagikazarmark in https://github.com/spf13/viper/pull/1493
- Drop support for Go 1.16 by @sagikazarmark in https://github.com/spf13/viper/pull/1494
⬆ ️
Dependency Updates - build(deps): bump github.com/spf13/afero from 1.9.2 to 1.9.3 by @dependabot in https://github.com/spf13/viper/pull/1465
- build(deps): bump github.com/magiconair/properties from 1.8.6 to 1.8.7 by @dependabot in https://github.com/spf13/viper/pull/1475
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.5 to 2.0.6 by @dependabot in https://github.com/spf13/viper/pull/1466
- build(deps): bump mheap/github-action-required-labels from 2 to 3 by @dependabot in https://github.com/spf13/viper/pull/1482
- build(deps): bump github.com/subosito/gotenv from 1.4.1 to 1.4.2 by @dependabot in https://github.com/spf13/viper/pull/1488
- build(deps): bump github.com/sagikazarmark/crypt from 0.8.0 to 0.9.0 by @dependabot in https://github.com/spf13/viper/pull/1490
New Contributors
- @choar816 made their first contribution in https://github.com/spf13/viper/pull/1481
- @lol768 made their first contribution in https://github.com/spf13/viper/pull/1485
- @mozartz made their first contribution in https://github.com/spf13/viper/pull/1464
- @glebik000 made their first contribution in https://github.com/spf13/viper/pull/1467
Full Changelog: https://github.com/spf13/viper/compare/v1.14.0...v1.15.0
v1.14.0
What's Changed
🚀
Enhancements - feat: make Viper compile on platforms unsupported by fsnotify by @sagikazarmark in https://github.com/spf13/viper/pull/1457
- Fsnotify improvements by @sagikazarmark in https://github.com/spf13/viper/pull/1458
- Disable watch on appengine by @sagikazarmark in https://github.com/spf13/viper/pull/1460
🛠
Breaking Changes - Drop support for Go 1.15 by @sagikazarmark in https://github.com/spf13/viper/pull/1428
⬆ ️
Dependency Updates - build(deps): bump github.com/spf13/afero from 1.8.2 to 1.9.2 by @dependabot in https://github.com/spf13/viper/pull/1406
- build(deps): bump github.com/sagikazarmark/crypt from 0.6.0 to 0.7.0 by @dependabot in https://github.com/spf13/viper/pull/1437
- build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in https://github.com/spf13/viper/pull/1453
- build(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0 by @dependabot in https://github.com/spf13/viper/pull/1449
- chore: update crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1461
Full Changelog: https://github.com/spf13/viper/compare/v1.13.0...v1.14.0
v1.13.0
Important: This is the last release supporting Go 1.15.
What's Changed
🎉
Exciting New Features - Add etcd3 to supported remote providers by @franklinkim in https://github.com/spf13/viper/pull/1371
🚀
Enhancements - Fix go-staticcheck failures (ST1005) by @mjmaisey in https://github.com/spf13/viper/pull/1373
- Use jsonc in markdown codeblocks for better readability by @HurSungYun in https://github.com/spf13/viper/pull/1393
- Add Go 1.19 support by @sagikazarmark in https://github.com/spf13/viper/pull/1424
- Adds support for uint16 with
GetUint16
by @oxisto in https://github.com/spf13/viper/pull/1405 - Add a DebugTo convenience funtion by @bcrochet in https://github.com/spf13/viper/pull/1414
🐛
Bug Fixes - Recurse into arrays when converting keys to lowercase by @awrichar in https://github.com/spf13/viper/pull/1387
⬆ ️
Dependency Updates - build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 by @dependabot in https://github.com/spf13/viper/pull/1374
- build(deps): bump github.com/subosito/gotenv from 1.3.0 to 1.4.0 by @dependabot in https://github.com/spf13/viper/pull/1375
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.1 to 2.0.2 by @dependabot in https://github.com/spf13/viper/pull/1378
- build(deps): bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 by @dependabot in https://github.com/spf13/viper/pull/1360
- build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3 by @dependabot in https://github.com/spf13/viper/pull/1381
- build(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.4 by @dependabot in https://github.com/spf13/viper/pull/1384
- build(deps): bump mheap/github-action-required-labels from 1 to 2 by @dependabot in https://github.com/spf13/viper/pull/1383
- build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.8.0 by @dependabot in https://github.com/spf13/viper/pull/1395
- build(deps): bump github.com/subosito/gotenv from 1.4.0 to 1.4.1 by @dependabot in https://github.com/spf13/viper/pull/1420
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.2 to 2.0.5 by @dependabot in https://github.com/spf13/viper/pull/1422
- build(deps): bump gopkg.in/ini.v1 from 1.66.4 to 1.67.0 by @dependabot in https://github.com/spf13/viper/pull/1412
New Contributors
- @mjmaisey made their first contribution in https://github.com/spf13/viper/pull/1373
- @HurSungYun made their first contribution in https://github.com/spf13/viper/pull/1393
- @franklinkim made their first contribution in https://github.com/spf13/viper/pull/1371
- @awrichar made their first contribution in https://github.com/spf13/viper/pull/1387
- @oxisto made their first contribution in https://github.com/spf13/viper/pull/1405
- @bcrochet made their first contribution in https://github.com/spf13/viper/pull/1414
Full Changelog: https://github.com/spf13/viper/compare/v1.12.0...v1.13.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!
What's Changed
🎉
Exciting New Features - Add etcd3 support to remote by @sagikazarmark in https://github.com/spf13/viper/pull/1356
- Make YAML 3 the default by @sagikazarmark in https://github.com/spf13/viper/pull/1357
- Make TOML 2 the default by @sagikazarmark in https://github.com/spf13/viper/pull/1358
🚀
Enhancements - chore: fix Error log calls in mergeMaps by @wwade in https://github.com/spf13/viper/pull/1341
- Add MustBindEnv by @meowfaceman in https://github.com/spf13/viper/pull/1301
⬆ ️
Dependency Updates - build(deps): bump github/codeql-action from 1 to 2 by @dependabot in https://github.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 @dependabot in https://github.com/spf13/viper/pull/1339
- build(deps): bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0 by @dependabot in https://github.com/spf13/viper/pull/1332
- build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 by @dependabot in https://github.com/spf13/viper/pull/1335
- build(deps): bump github.com/fsnotify/fsnotify from 1.5.1 to 1.5.4 by @dependabot in https://github.com/spf13/viper/pull/1338
- build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 by @dependabot in https://github.com/spf13/viper/pull/1344
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.0 to 2.0.1 by @dependabot in https://github.com/spf13/viper/pull/1343
- build(deps): bump github.com/subosito/gotenv from 1.2.0 to 1.3.0 by @dependabot in https://github.com/spf13/viper/pull/1349
New Contributors
- @meowfaceman made their first contribution in https://github.com/spf13/viper/pull/1301
- @wwade made their first contribution in https://github.com/spf13/viper/pull/1341
Full Changelog: https://github.com/spf13/viper/compare/v1.11.0...v1.12.0
v1.11.0
What's Changed
🎉
Exciting New Features - Experimental yaml v3 library support by @sagikazarmark in https://github.com/spf13/viper/pull/1273
- Experimental toml v2 support by @sagikazarmark in https://github.com/spf13/viper/pull/1274
- Experimental logger by @sagikazarmark in https://github.com/spf13/viper/pull/1275
🚀
Enhancements - Remove unnecessary operand by @steviebps in https://github.com/spf13/viper/pull/1213
- Improve encoding layer by @sagikazarmark in https://github.com/spf13/viper/pull/1167
- Allow merging configs with different types of leaf values by @illarion in https://github.com/spf13/viper/pull/1181
🐛
Bug Fixes - Disable race detector on windows by @sagikazarmark in https://github.com/spf13/viper/pull/1269
🛠
Breaking Changes - Drop Go 1.14 support by @sagikazarmark in https://github.com/spf13/viper/pull/1327
⬆ ️
Dependency Updates - build(deps): bump github.com/spf13/afero from 1.6.0 to 1.7.0 by @dependabot in https://github.com/spf13/viper/pull/1265
- build(deps): bump github.com/spf13/afero from 1.7.0 to 1.7.1 by @dependabot in https://github.com/spf13/viper/pull/1271
- build(deps): bump github.com/spf13/afero from 1.7.1 to 1.8.0 by @dependabot in https://github.com/spf13/viper/pull/1281
- build(deps): bump gopkg.in/ini.v1 from 1.66.2 to 1.66.3 by @dependabot in https://github.com/spf13/viper/pull/1287
- build(deps): bump github.com/spf13/afero from 1.8.0 to 1.8.1 by @dependabot in https://github.com/spf13/viper/pull/1291
- build(deps): bump actions/github-script from 5 to 6 by @dependabot in https://github.com/spf13/viper/pull/1295
- build(deps): bump actions/checkout from 2 to 3 by @dependabot in https://github.com/spf13/viper/pull/1304
- build(deps): bump github.com/magiconair/properties from 1.8.5 to 1.8.6 by @dependabot in https://github.com/spf13/viper/pull/1299
- build(deps): bump gopkg.in/ini.v1 from 1.66.3 to 1.66.4 by @dependabot in https://github.com/spf13/viper/pull/1293
- build(deps): bump github.com/spf13/afero from 1.8.1 to 1.8.2 by @dependabot in https://github.com/spf13/viper/pull/1311
- build(deps): bump actions/setup-go from 2 to 3 by @dependabot in https://github.com/spf13/viper/pull/1319
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.0-beta.6 to 2.0.0-beta.7 by @dependabot in https://github.com/spf13/viper/pull/1320
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.0-beta.7 to 2.0.0-beta.8 by @dependabot in https://github.com/spf13/viper/pull/1322
- Update crypt by @sagikazarmark in https://github.com/spf13/viper/pull/1325
New Contributors
- @steviebps made their first contribution in https://github.com/spf13/viper/pull/1213
- @illarion made their first contribution in https://github.com/spf13/viper/pull/1181
Full Changelog: https://github.com/spf13/viper/compare/v1.10.1...v1.11.0
v1.10.1
This is a maintenance release upgrading the Consul dependency fixing CVEs.
v1.10.0
This is a maintenance release primarily containing minor fixes and improvements.
Changes
Added
- Experimental finder based on io/fs
- Tests are executed on Windows
- Tests are executed on Go 1.17
- Logger interface to decouple Viper from JWW
In addition to the above changes, this release comes with minor improvements, documentation changes an dependency updates.
Many thanks to everyone who contributed to this release!
v1.9.0
This is a maintenance release primarily containing minor fixes and improvements.
Changes
Added
- Experimental new encoding layer
- Add support for
tfvars
files
Fixed
- Writing hidden files with no extension
-
InConfig
processing paths
In addition to the above changes, this release comes with tons of minor improvements, documentation changes an dependency updates.
Many thanks to everyone who contributed to this release!
v1.8.1
This patch releases fixes two minor issues:
- Replace
%s
with%w
when wrapping errors - Fix
pflag.StringArray
processing
v1.8.0
This is a maintenance release primarily containing fixes and improvements. The most prominent change is the etcd update to 3.5.0. Thanks to proper Go modules support, the dependency graph became much smaller.
Changes
Added
- Allow BindEnv to register multiple environment variables
- Support for accessing slices
- Experimental WASM support: Viper compiles on WASM
- INI load options
Changed
- Ensure
BindPFlag
detects a nil flag parameter
Fixed
- Merging a key into a nil target
- Panics during saving INI files
Security
- Updated etcd to 3.5 which should make a lot of false positive vulnerability reports disappear
In addition to the above changes, this release comes with tons of minor improvements, documentation changes an dependency updates. Find more details in the 1.8.0 milestone.
Many thanks to everyone who contributed to this release!
v1.7.1
This release contains a bugfix for environment variable expansion. See #495 and #940 for details.
v1.7.0
This release mostly contains bug and security fixes, but there are a few new features as well:
- The unmaintained github.com/xordataexchange/crypt has been replaced with github.com/bketelsen/crypt
- Added firestore support as a remote config source (thanks @alxmsl)
v1.6.3
Fixes uninstallable library on clean GOPATH
v1.6.2
: Fix extensionless config lookup
This is a patch release fixing a(n edge case) bug introduced in v1.6.0
See #818 and #827 for details
v1.6.1
: Fix config path lookup
This is a patch release fixing a bug introduced in v1.6.0
v1.6.0
Changes
Added
- Global
UnmarshalExact
method -
StringReplacer
interface for custom environment key replacing logic - GolangCI Lint
- INI support
- Key delimiter made configurable
- Support for config files without extensions
Changed
- Moved to GitHub actions build from Travis
Fixed
-
IsSet
no longer returns true when an unset key has a flags bound -
SafeWriteConfigAs
works as expected
Happy Holidays!
v1.5.0
Documentation and other fixes
v1.4.0
: : Add API for setting file permissions; Uint support; ...
b5bf975
Clean up dependencies
fccfc2c
Add API for setting file permissions
7a605a5
Uint Support (#681)
stretchr/testify (github.com/stretchr/testify)
v1.9.0
What's Changed
- Fix Go modules version by @SuperQ in https://github.com/stretchr/testify/pull/1394
- Document that require is not safe to call in created goroutines by @programmer04 in https://github.com/stretchr/testify/pull/1392
- Remove myself from MAINTAINERS.md by @mvdkleijn in https://github.com/stretchr/testify/pull/1367
- Correct spelling/grammar by @echarrod in https://github.com/stretchr/testify/pull/1389
- docs: Update URLs in README by @davidjb in https://github.com/stretchr/testify/pull/1349
- Update mockery link to Github Pages in README by @LandonTClipp in https://github.com/stretchr/testify/pull/1346
- docs: Fix typos in tests and comments by @alexandear in https://github.com/stretchr/testify/pull/1410
- CI: tests from go1.17 by @SuperQ in https://github.com/stretchr/testify/pull/1409
- Fix adding ? when no values passed by @lesichkovm in https://github.com/stretchr/testify/pull/1320
- codegen: use standard header for generated files by @dolmen in https://github.com/stretchr/testify/pull/1406
- mock: AssertExpectations log reason only on failure by @hikyaru-suzuki in https://github.com/stretchr/testify/pull/1360
- assert: fix flaky TestNeverTrue by @dolmen in https://github.com/stretchr/testify/pull/1417
- README: fix typos "set up" vs "setup" by @ossan-dev in https://github.com/stretchr/testify/pull/1428
- mock: move regexp compilation outside of
Called
by @aud10slave in https://github.com/stretchr/testify/pull/631 - assert: refactor internal func getLen() by @dolmen in https://github.com/stretchr/testify/pull/1445
- mock: deprecate type AnythingOfTypeArgument (#1434) by @dolmen in https://github.com/stretchr/testify/pull/1441
- Remove no longer needed assert.canConvert by @alexandear in https://github.com/stretchr/testify/pull/1470
- assert: ObjectsAreEqual: use time.Equal for time.Time types by @tscales in https://github.com/stretchr/testify/pull/1464
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/stretchr/testify/pull/1466
- Bump actions/setup-go from 3.2.0 to 4.1.0 by @dependabot in https://github.com/stretchr/testify/pull/1451
- fix: make EventuallyWithT concurrency safe by @czeslavo in https://github.com/stretchr/testify/pull/1395
- assert: fix httpCode and HTTPBody occur panic when http.Handler read Body by @hidu in https://github.com/stretchr/testify/pull/1484
- assert.EqualExportedValues: fix handling of arrays by @zrbecker in https://github.com/stretchr/testify/pull/1473
- .github: use latest Go versions by @kevinburkesegment in https://github.com/stretchr/testify/pull/1489
- assert: Deprecate EqualExportedValues by @HaraldNordgren in https://github.com/stretchr/testify/pull/1488
- suite: refactor test assertions by @alexandear in https://github.com/stretchr/testify/pull/1474
- suite: fix SetupSubTest and TearDownSubTest execution order by @linusbarth in https://github.com/stretchr/testify/pull/1471
- docs: Fix deprecation comments for http package by @alexandear in https://github.com/stretchr/testify/pull/1335
- Add map support doc comments to Subset and NotSubset by @jedevc in https://github.com/stretchr/testify/pull/1306
- TestErrorIs/TestNotErrorIs: check error message contents by @craig65535 in https://github.com/stretchr/testify/pull/1435
- suite: fix subtest names (fix #1501) by @dolmen in https://github.com/stretchr/testify/pull/1504
- assert: improve unsafe.Pointer tests by @dolmen in https://github.com/stretchr/testify/pull/1505
- assert: simplify isNil implementation by @dolmen in https://github.com/stretchr/testify/pull/1506
- assert.InEpsilonSlice: fix expected/actual order and other improvements by @dolmen in https://github.com/stretchr/testify/pull/1483
- Fix dependency cycle with objx #1292 by @dolmen in https://github.com/stretchr/testify/pull/1453
- mock: refactor TestIsArgsEqual by @dolmen in https://github.com/stretchr/testify/pull/1444
- mock: optimize argument matching checks by @dolmen in https://github.com/stretchr/testify/pull/1416
- assert: fix TestEventuallyTimeout by @dolmen in https://github.com/stretchr/testify/pull/1412
- CI: add go 1.21 in GitHub Actions by @dolmen in https://github.com/stretchr/testify/pull/1450
- suite: fix recoverAndFailOnPanic to report test failure at the right location by @dolmen in https://github.com/stretchr/testify/pull/1502
- Update maintainers by @brackendawson in https://github.com/stretchr/testify/pull/1533
- assert: Fix EqualValues to handle overflow/underflow by @arjunmahishi in https://github.com/stretchr/testify/pull/1531
- assert: better formatting for Len() error by @kevinburkesegment in https://github.com/stretchr/testify/pull/1485
- Ensure AssertExpectations does not fail in skipped tests by @ianrose14 in https://github.com/stretchr/testify/pull/1331
- suite: fix deadlock in suite.Require()/Assert() by @arjunmahishi in https://github.com/stretchr/testify/pull/1535
- Revert "assert: ObjectsAreEqual: use time.Equal for time.Time type" by @brackendawson in https://github.com/stretchr/testify/pull/1537
- [chore] Add issue templates by @arjunmahishi in https://github.com/stretchr/testify/pull/1538
- Update the build status badge by @brackendawson in https://github.com/stretchr/testify/pull/1540
- Update Github workflows setup-go to V5 by @hendrywiranto in https://github.com/stretchr/testify/pull/1545
- Support Pointer to Struct in EqualExportedValues by @Lucaber in https://github.com/stretchr/testify/pull/1517
- README: drop link to gorc by @guettli in https://github.com/stretchr/testify/pull/1248
- http_assertions: honour the msgAndArgs provided with each assertion by @arjunmahishi in https://github.com/stretchr/testify/pull/1548
- fix typos in comments and tests by @ccoVeille in https://github.com/stretchr/testify/pull/1247
- Include the auto-release notes in releases by @brackendawson in https://github.com/stretchr/testify/pull/1550
- Add
NotImplements
and variants by @hslatman in https://github.com/stretchr/testify/pull/1385 - Add support to compare uintptr by @bogdandrutu in https://github.com/stretchr/testify/pull/1339
- build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2 by @dependabot in https://github.com/stretchr/testify/pull/1552
New Contributors
- @SuperQ made their first contribution in https://github.com/stretchr/testify/pull/1394
- @programmer04 made their first contribution in https://github.com/stretchr/testify/pull/1392
- @echarrod made their first contribution in https://github.com/stretchr/testify/pull/1389
- @davidjb made their first contribution in https://github.com/stretchr/testify/pull/1349
- @LandonTClipp made their first contribution in https://github.com/stretchr/testify/pull/1346
- @alexandear made their first contribution in https://github.com/stretchr/testify/pull/1410
- @lesichkovm made their first contribution in https://github.com/stretchr/testify/pull/1320
- @dolmen made their first contribution in https://github.com/stretchr/testify/pull/1406
- @hikyaru-suzuki made their first contribution in https://github.com/stretchr/testify/pull/1360
- @ossan-dev made their first contribution in https://github.com/stretchr/testify/pull/1428
- @aud10slave made their first contribution in https://github.com/stretchr/testify/pull/631
- @tscales made their first contribution in https://github.com/stretchr/testify/pull/1464
- @czeslavo made their first contribution in https://github.com/stretchr/testify/pull/1395
- @hidu made their first contribution in https://github.com/stretchr/testify/pull/1484
- @zrbecker made their first contribution in https://github.com/stretchr/testify/pull/1473
- @kevinburkesegment made their first contribution in https://github.com/stretchr/testify/pull/1489
- @linusbarth made their first contribution in https://github.com/stretchr/testify/pull/1471
- @jedevc made their first contribution in https://github.com/stretchr/testify/pull/1306
- @craig65535 made their first contribution in https://github.com/stretchr/testify/pull/1435
- @arjunmahishi made their first contribution in https://github.com/stretchr/testify/pull/1531
- @ianrose14 made their first contribution in https://github.com/stretchr/testify/pull/1331
- @hendrywiranto made their first contribution in https://github.com/stretchr/testify/pull/1545
- @Lucaber made their first contribution in https://github.com/stretchr/testify/pull/1517
- @guettli made their first contribution in https://github.com/stretchr/testify/pull/1248
- @ccoVeille made their first contribution in https://github.com/stretchr/testify/pull/1247
- @hslatman made their first contribution in https://github.com/stretchr/testify/pull/1385
- @bogdandrutu made their first contribution in https://github.com/stretchr/testify/pull/1339
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0
v1.8.4
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.7.5
v1.7.4
v1.7.3
v1.7.2
v1.7.1
v1.7.0
: Minor improvements and bug fixes
Minor feature improvements and bug fixes
v1.6.1
: Fixes breaking change with HTTPBodyContains
A breaking change was accidentally released in v1.6.0 which breaks the API for the HTTPBodyContains
and HTTPBodyNotContains
, this release reverts that change.
v1.6.0
Latest release of testify. This includes many fixes and enhancements. Please view the v1.6.0 milestone for a list of changes.
v1.5.1
: HOTFIX: Revert suite interface type
This is a hotfix which reverts the suite
package's interface type to use testing.T
v1.5.0
Latest, non-breaking changes merged into master. Please peruse the git log for a detailed changelist
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.