fix(deps): update module github.com/dnaeon/go-vcr/v2 to v3 - autoclosed #351
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.0.1
->v3.2.0
Release Notes
dnaeon/go-vcr (github.com/dnaeon/go-vcr/v2)
v3.2.0
Compare Source
See v3.2.0 release notes.
v3.1.2
Compare Source
New field called
DiscardOnSave
has been added to thecassette.Interaction
type, which allows for a hook to set it totrue
, and as a result to discard the interaction from saving it on disk.See #80 for more details.
v3.1.1
Compare Source
Cassettes with no recorded interactions will be saved on disk. Previous behaviour was to skip saving the cassette at all.
See #79
v3.1.0
Compare Source
NOTE: This version contains breaking API change.
Summary of changes since previous release.
recorder.FilterFunc
has been removed. It is now replaced byrecorder.HookFunc
type.Recorder.AddFilter()
andRecorder.AddPreSaveFilter()
methods have been removed. They are now replaced by theRecorder.AddHook()
method.AfterCaptureHook
,BeforeSaveHook
andBeforeResponseReplayHook
.v3.0.1
Compare Source
Minor updates, adding two new utility methods to the recorder, which can be used to inspect the state of the recorder and the cassette.
IsRecording()
IsNewCassette()
See https://github.com/dnaeon/go-vcr/pull/76
v3.0.0
Compare Source
go-vcr v3
is ready.NOTE: This release is not backwards-compatible with previous versions of the cassettes used by
go-vcr
. If you are upgrading tov3
you should re-create your test cassettes.A summary of changes for this release:
recorder.Options
ModeRecordOnly
,ModeRecordOnce
,ModeReplayOnly
,ModeReplayWithNewEpisodes
andModePassthrough
. Please refer to the API documentation for more details on their use casesrecorder.NewWithOptions
function from now onModeRecordOnce
ModeDisabled
has been removed and is now replaced byModePassthrough
v2
.GetDefaultClient()
v2.3.0
Compare Source
v2
package structuregopkg.in/yaml.v2
togopkg.in/yaml.v3
. Closes #70 and #71go-vcr
has changed fromgithub.com/dnaeon/go-vcr
togopkg.in/dnaeon/go-vcr.v2
. See #73v2
ofgo-vcr
resides in thev2
branch, which is now the defaultv2.1.0
Compare Source
Update to gopkg.in/yaml.v3
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.