Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/dnaeon/go-vcr/v2 to v3 - autoclosed #351

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 20, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/dnaeon/go-vcr/v2 v2.0.1 -> v3.2.0 age adoption passing confidence

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 the cassette.Interaction type, which allows for a hook to set it to true, 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.

  • The recorder.FilterFunc has been removed. It is now replaced by recorder.HookFunc type.
  • The Recorder.AddFilter() and Recorder.AddPreSaveFilter() methods have been removed. They are now replaced by the Recorder.AddHook() method.
  • Added different kinds of hooks supported by the recorder - AfterCaptureHook, BeforeSaveHook and BeforeResponseReplayHook.

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 to v3 you should re-create your test cassettes.

A summary of changes for this release:

  • API has been refactored and cleaned up
  • Custom recorder options are now specified as recorder.Options
  • The recorder modes which are now supported are ModeRecordOnly, ModeRecordOnce, ModeReplayOnly, ModeReplayWithNewEpisodes and ModePassthrough. Please refer to the API documentation for more details on their use cases
  • In order to create recorders with custom options you should use the recorder.NewWithOptions function from now on
  • The default mode of the recorder is now ModeRecordOnce
  • ModeDisabled has been removed and is now replaced by ModePassthrough
  • Cassette format has been changed and the supported version of the cassette from now on is v2.
  • Additional fields have been added to the cassette to allow developers to create more complex matchers based on the existing fields
  • Each interaction in the cassette now has a unique integer id, specifying the position of the interaction in the cassette
  • Utility method on the recorder can now return a pre-configured HTTP client with the recorder's transport - GetDefaultClient()
  • CI/CD pipeline has been transferred to Github actions
  • Closed out some long standing issues
  • Extended and refactored test cases
  • etc

v2.3.0

Compare Source

  • Cleaned up v2 package structure
  • Switched from gopkg.in/yaml.v2 to gopkg.in/yaml.v3. Closes #​70 and #​71
  • Package import path for go-vcr has changed from github.com/dnaeon/go-vcr to gopkg.in/dnaeon/go-vcr.v2. See #​73
  • v2 of go-vcr resides in the v2 branch, which is now the default
  • Fixed a regression where the default mode of the recorder has been changed. See #​72

v2.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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner December 20, 2022 17:12
@renovate
Copy link
Contributor Author

renovate bot commented Dec 20, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: github.com/dnaeon/go-vcr/[email protected]: parsing go.mod:
	module declares its path as: gopkg.in/dnaeon/go-vcr.v3
	        but was required as: github.com/dnaeon/go-vcr/v3

@renovate renovate bot force-pushed the renovate/github.com-dnaeon-go-vcr-v2-3.x branch from 68383ea to 062f02a Compare December 23, 2022 20:49
@renovate renovate bot changed the title fix(deps): update module github.com/dnaeon/go-vcr/v2 to v3 fix(deps): update module github.com/dnaeon/go-vcr/v2 to v3 - autoclosed Jan 3, 2023
@renovate renovate bot closed this Jan 3, 2023
@renovate renovate bot deleted the renovate/github.com-dnaeon-go-vcr-v2-3.x branch January 3, 2023 15:03
@renovate renovate bot changed the title fix(deps): update module github.com/dnaeon/go-vcr/v2 to v3 - autoclosed fix(deps): update module github.com/dnaeon/go-vcr/v2 to v3 Jan 3, 2023
@renovate renovate bot reopened this Jan 3, 2023
@renovate renovate bot restored the renovate/github.com-dnaeon-go-vcr-v2-3.x branch January 3, 2023 18:50
@renovate renovate bot force-pushed the renovate/github.com-dnaeon-go-vcr-v2-3.x branch from 062f02a to e059502 Compare February 11, 2023 06:22
@renovate renovate bot force-pushed the renovate/github.com-dnaeon-go-vcr-v2-3.x branch 2 times, most recently from cebfdf1 to e9f143e Compare March 13, 2024 14:35
@renovate renovate bot force-pushed the renovate/github.com-dnaeon-go-vcr-v2-3.x branch from e9f143e to f3b47d5 Compare August 2, 2024 13:00
Copy link
Contributor Author

renovate bot commented Aug 2, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: github.com/dnaeon/go-vcr/[email protected]: parsing go.mod:
	module declares its path as: gopkg.in/dnaeon/go-vcr.v3
	        but was required as: github.com/dnaeon/go-vcr/v3

@renovate renovate bot force-pushed the renovate/github.com-dnaeon-go-vcr-v2-3.x branch from f3b47d5 to c8ce6af Compare August 5, 2024 15:58
@renovate renovate bot changed the title fix(deps): update module github.com/dnaeon/go-vcr/v2 to v3 fix(deps): update module github.com/dnaeon/go-vcr/v2 to v3 - autoclosed Aug 19, 2024
@renovate renovate bot closed this Aug 19, 2024
@renovate renovate bot deleted the renovate/github.com-dnaeon-go-vcr-v2-3.x branch August 19, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants