<commit_before># CouchDB-rs Change Log

## v0.5.0 (unreleased)

### Breaking changes

* The `Document` type has been refactored to make it easier to use.
    * The `Document` type is no longer generic, nor is the `content`
      field publicly accessible. Applications access document content
      via a new `into_content` method, which does JSON-decoding.
    * The `revision` field has been renamed to `rev`, which more closely
      matches the CouchDB name.
    * The `Document` type implements `serde::Deserialize` instead of the
      `from_reader` deserialization method.
    * The `Document` type no longer implements these traits: `Eq`,
      `Hash`, `Ord`, and `PartialOrd`.
* The following types now have at least one private field and can no
  longer be directly constructed by applications:
    * `Database`
    * `Design`
    * `ErrorResponse`
    * `ViewFunction`
    * `ViewResult`
    * `ViewRow`

### Deprecations

* Applications must not directly construct any of the following types:
    * `ViewResult`
    * `ViewRow`

### Additions

* New `ViewFunctionBuilder` type for constructing a `ViewFunction`
  instance.

## v0.4.0 (2016-01-03)

This release introduces several breaking changes to improve type-safety
and ease-of-use, as well as to fix inconsistencies between the crate's
API and the CouchDB API.

### Breaking changes

* The _path_ types of v0.3.x (e.g., `DocumentPath`, etc.) are now split
  into _path_, _id_, and _name_ types (e.g., `DocumentPath`,
  `DocumentId`, and `DocumentName`, etc.). Client commands use path
  types as input; id and name types are used everywhere else to match
  what the CouchDB API uses. This resolves issue #15.
    * Paths now must begin with a slash (e.g., `/db/docid` vs the
      `db/docid` format of v0.3.x).
    * Path types now implement `std::str::FromStr` instead of
      `From<String>`. This means string-to-path conversions now may<commit_msg>Update change log<commit_after># CouchDB-rs Change Log

## v0.5.0 (unreleased)

### Breaking changes

* The `Document` type has been refactored to make it easier to use.
    * The `Document` type is no longer generic, nor is the `content`
      field publicly accessible. Applications access document content
      via a new `into_content` method, which does JSON-decoding.
    * The `revision` field has been renamed to `rev`, which more closely
      matches the CouchDB name.
    * The `Document` type implements `serde::Deserialize` instead of the
      `from_reader` deserialization method.
    * The `Document` type no longer implements these traits: `Eq`,
      `Hash`, `Ord`, and `PartialOrd`.
* The following types now have at least one private field and can no
  longer be directly constructed by applications:
    * `Database`
    * `Design`
    * `ErrorResponse`
    * `ViewFunction`
    * `ViewResult`
    * `ViewRow`

### Additions

* New `ViewFunctionBuilder` type for constructing a `ViewFunction`
  instance.

## v0.4.0 (2016-01-03)

This release introduces several breaking changes to improve type-safety
and ease-of-use, as well as to fix inconsistencies between the crate's
API and the CouchDB API.

### Breaking changes

* The _path_ types of v0.3.x (e.g., `DocumentPath`, etc.) are now split
  into _path_, _id_, and _name_ types (e.g., `DocumentPath`,
  `DocumentId`, and `DocumentName`, etc.). Client commands use path
  types as input; id and name types are used everywhere else to match
  what the CouchDB API uses. This resolves issue #15.
    * Paths now must begin with a slash (e.g., `/db/docid` vs the
      `db/docid` format of v0.3.x).
    * Path types now implement `std::str::FromStr` instead of
      `From<String>`. This means string-to-path conversions now may
{'fraction_non_alphanumeric': 0.096045197740113, 'fraction_numerical': 0.010761366693570083, 'mean_word_length': 3.5012106537530268, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6382110', 'n_tokens_mistral': 1116, 'n_tokens_neox': 1082, 'n_words': 466}