Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update changelog.

  • Loading branch information...
commit 814eba2f001e8c3d7c7046c315ff55d68ed316f3 1 parent d0ca3d5
Myron Marston authored

Showing 1 changed file with 28 additions and 2 deletions. Show diff stats Hide diff stats

  1. +28 2 CHANGELOG.md
30 CHANGELOG.md
Source Rendered
@@ -2,12 +2,38 @@
2 2
3 3 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.0.0.beta1...master)
4 4
5   -## 2.0.0 Beta 1 (October 8, 2011)
6   -
7 5 * Update to (and require) Typhoeus 0.3.2.
8 6 * Fix a bug with `VCR.request_matchers.uri_without_param(:some_param)`
9 7 so that it properly handles URIs that have no parameters. Thanks to
10 8 [Sathya Sekaran](https://github.com/sfsekaran) for this fix.
  9 +* The cassette format has changed significantly:
  10 + * The HTTPInteractions are no longer normalized in a lossy fashion.
  11 + VCR 1.x converted all HTTP header keys to lowercase. VCR 2.0 no
  12 + longer does this because it is impossible to know what the original
  13 + casing was (i.e. given `etag`, was it originally `etag`, `ETag` or
  14 + `Etag`?). Also, some HTTP libraries add particular request headers
  15 + to every request, and these used to be ignored. The aren't anymore.
  16 + * The ruby struct objects are not directly serialized anymore.
  17 + Instead, only primitives (hashes, arrays, strings, integers) are
  18 + serialized. This allows swappable serializers and will allow other
  19 + tools to read and use a VCR cassette.
  20 + * Add new serializer API. VCR ships with YAML, Syck, Psych and JSON
  21 + serializers, and it is very simple to implement your own. The
  22 + serializer can be configured on a per-cassette basis.
  23 + * New `vcr:migrate_cassettes DIR=path/to/cassettes` rake task assists
  24 + with upgrading from VCR 1.x to 2.0.
  25 + * Cassettes now contain a `recorded_with` attribute. This should
  26 + allow the cassette structure to be updated more easily in the future
  27 + as the version number provides a means for easily migrating
  28 + cassettes.
  29 + * Add `recorded_at` to data serialized with an HTTPInteraction. This
  30 + allows the `:re_record_interval` cassette option to work more
  31 + accurately and no longer rely on the file modification time.
  32 +
  33 +Note that VCR 1.x cassettes cannot be used with VCR 2.0. See the
  34 +upgrade notes for more info.
  35 +
  36 +## 2.0.0 Beta 1 (October 8, 2011)
11 37
12 38 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.3...v2.0.0.beta1)
13 39

0 comments on commit 814eba2

Please sign in to comment.
Something went wrong with that request. Please try again.