Changelog History
Page 1
-
v0.8.2 Changes
October 21, 2018- โ Add support for binary serializer storage; useful with custom serializers (such as pickle based), however all builtin betamax serializers remain text based.
- ๐ Fix bug with
new_episodes
always trying to record. - ๐ Imporved documentation.
- ๐ This release drops support for Python 3.3; if you are still using Python 3.3 update your Python or don't update to betamax 0.8.2.
- ๐ This release is the first release that declares support for Python 3.7, however previous versions most likely worked with 3.7 as well.
-
v0.8.1 Changes
March 13, 2018Previous attempts to sanitize cassette names were incomplete. Sanitization has become more thorough which could have some affects on existing cassette files. This may cause new cassettes to be generated.
๐ Fix bug where there may be an exception raised in a
betamax.exceptions.BetamaxError
repr.
-
v0.8.0 Changes
August 16, 2016- Add
betamax_parametrized_recorder
andbetamax_parametrized_session
to our list of pytest fixtures so that users will have parametrized cassette names when writing parametrized tests with our fixtures. (I wonder if I can mention parametrization a bunch more times so I can say parametrize a lot in this bullet note.) - โ Add
ValidationError
and a set of subclasses for each possible validation error. - Raise
InvalidOption
on unknown cassette options rather than silently ignoring extra options. - Raise a subclass of
ValidationError
when a particular cassette option is invalid, rather than silently ignoring the validation failure.
- Add
-
v0.7.2 Changes
August 04, 2016- ๐ Fix bug with query string matcher where query-strings without values (e.g.,
?foo&bar
as opposed to?foo=1&bar=2
) were treated as if there were no query string.
- ๐ Fix bug with query string matcher where query-strings without values (e.g.,
-
v0.7.1 Changes
June 14, 2016- Fix issue #108 by effectively copying the items in the match_requests_on list into the match_options set on a Cassette instance
-
v0.7.0 Changes
April 29, 2016Add
before_record
andbefore_playback
hooks๐ Allow per-cassette placeholders to be merged and override global placeholders
๐ Fix bug where the
QueryMatcher
failed matching on high Unicode points
-
v0.6.0 Changes
April 12, 2016โ Add
betamax_recorder
pytest fixture๐ Change default behaviour to allow duplicate interactions to be recorded in single cassette
Add
allow_playback_repeats
to allow an interaction to be used more than once from a single cassetteAlways return a new
Response
object from an Interaction to allow for a streaming response to be usable multiple timesโ Remove CI support for Pythons 2.6 and 3.2
-
v0.5.1 Changes
October 24, 2015๐ Fix bugs with requests 2.8.x integration
๐ Fix bugs with older versions of requests that were missing an HTTPHeaderDict implementation
-
v0.5.0 Changes
July 15, 2015โ Add unittest integration in
betamax.fixtures.unittest
โ Add pytest integration in
betamax.fixtures.pytest
โ Add a decorator as a short cut for
use_cassette
๐ Fix bug where body bytes were not always encoded on Python 3.2+
Fixed by @bboe
-
v0.4.2 Changes
April 18, 2015- ๐ Fix issue #58 reported by @bboe
Multiple cookies were not being properly stored or replayed after being recorded.
- @leighlondon converted
__all__
to a tuple