Skip to content

Releases: seborama/govcr

Code refactoring

23 Jan 20:28
Compare
Choose a tag to compare
v4.3.0

Edited TODO cassette.replayResponse

Add option to remove TLS from recording

03 Jan 23:49
Compare
Choose a tag to compare

Use VCRConfig.RemoveTLS to control TLS recording on the cassette.

Thanks to @klauspost

Minor update to README

14 Dec 11:01
2adb223
Compare
Choose a tag to compare
v4.1.0

Update README.md

Remove Path from cassette files

14 Dec 10:59
352bc42
Compare
Choose a tag to compare

See PR #38 for details.

Add support for Long Play (compressed) cassettes

03 Nov 00:21
Compare
Choose a tag to compare

See the README.md for details.

Thanks to @klauspost for his contribution!

See the tests for examples, in particular:

  • TestLongPlay() in govcr_test.go
  • govcr_example4_test.go

Add helper function RequestExcludeHeaderFunc

25 Oct 18:55
Compare
Choose a tag to compare

This is to help migrating from v2 to v3.

Thanks to @klauspost for another nice contribution.

Note that the helper RequestExcludeHeaderFunc will be removed on or after April 25th 2019!

Advanced filters

24 Oct 23:24
Compare
Choose a tag to compare

This release replaces ExcludeHeaderFunc and FilterFunc's with RequestFilters and ResponseFilters.

Filters are much more flexible and simpler to use. They also offer the possibility to more easily re-use Filters and create re-usable "recipes" of Filters.

Many thanks to @klauspost for his great work!

Here's a simple example:

govcr.VCRConfig{
	RequestFilters: govcr.RequestFilters{
		govcr.RequestDeleteHeaderKeys("X-Custom-My-Date"),
	},
}

Refer to examples/example6.go for advanced examples.

Test fixes (example.com)

20 Oct 21:51
a20ea7b
Compare
Choose a tag to compare

No new functionality.
Tests have been fixed to reflect changes made by example.com.

Small correction to a comment

18 Jul 07:00
Compare
Choose a tag to compare

Thanks Allen for PR 30

Some linting, minor README updates and Makefile fix

21 Mar 22:39
Compare
Choose a tag to compare
v2.4.0

Some linting, minor README updates and Makefile fix