Skip to content

Latest commit

 

History

History
181 lines (110 loc) · 5.17 KB

CHANGELOG.rst

File metadata and controls

181 lines (110 loc) · 5.17 KB

Changelog

0.12.0 (2017-05-16)

Features:

  • Use default attribute value instead of raising exception if relationship is None on Relationship field (:issue:`75`). Thanks :user:`akira-dev`.

0.11.1 (2017-04-06)

Bug fixes:

  • Fix formatting JSON pointer when serializing an invalid object at index 0 (:issue:`77`). Thanks :user:`danpoland` for the catch and patch.

0.11.0 (2017-03-12)

Bug fixes:

  • Fix compatibility with marshmallow 3.x.

Other changes:

  • Backwards-incompatible: Remove unused utils.get_value_or_raise function.

0.10.2 (2017-03-08)

Bug fixes:

  • Fix format of error object returned when data key is not included in input (:issue:`66`). Thanks :user:`RazerM`.
  • Fix serializing compound documents when Relationship is passed a schema class and many=True (:issue:`67`). Thanks :user:`danpoland` for the catch and patch.

0.10.1 (2017-02-05)

Bug fixes:

  • Serialize None and empty lists ([]) to valid JSON-API objects (:issue:`58`). Thanks :user:`rgant` for reporting and sending a PR.

0.10.0 (2017-01-05)

Features:

Other changes:

  • Test against Python 3.6.

0.9.0 (2016-10-08)

Features:

  • Add Flask-specific schema with class Meta options for self link generation: self_view, self_view_kwargs, and self_view_many (:issue:`51`). Thanks :user:`asteinlein`.

Bug fixes:

  • Fix formatting of validation error messages on newer versions of marshmallow.

Other changes:

  • Drop official support for Python 3.3.

0.8.0 (2016-06-20)

Features:

  • Add support for compound documents (:issue:`11`). Thanks :user:`Tim-Erwin` and :user:`woodb` for implementing this.
  • Backwards-incompatible: Remove include_data parameter from Relationship. Use include_resource_linkage instead.

0.7.1 (2016-05-08)

Bug fixes:

0.7.0 (2016-04-03)

Features:

  • Correctly format messages attribute of ValidationError raised when type key is missing in input (:issue:`43`). Thanks :user:`ZeeD26` for the catch and patch.
  • JSON pointers for error objects for relationships will point to the data key (:issue:`41`). Thanks :user:`cmanallen` for the PR.

0.6.0 (2016-03-24)

Features:

0.5.0 (2016-02-08)

Features:

  • Add relationship deserialization (:issue:`15`).
  • Allow serialization of foreign key attributes (:issue:`32`).
  • Relationship IDs serialize to strings, as is required by JSON-API (:issue:`31`).
  • Relationship field respects dump_to parameter (:issue:`33`).

Thanks :user:`cmanallen` for all of these changes.

Other changes:

  • The minimum supported marshmallow version is 2.3.0.

0.4.2 (2015-12-21)

Bug fixes:

0.4.1 (2015-12-19)

Bug fixes:

  • Fix serializing null and empty relationships with flask.Relationship (:issue:`24`). Thanks :user:`floqqi` for the catch and patch.

0.4.0 (2015-12-06)

  • Correctly serialize null and empty relationships (:issue:`10`). Thanks :user:`jo-tham` for the PR.
  • Add self_url, self_url_kwargs, and self_url_many class Meta options for adding self links. Thanks :user:`asteinlein` for the PR.

0.3.0 (2015-10-18)

  • Backwards-incompatible: Replace HyperlinkRelated with Relationship field. Supports related links (related), relationship links (self), and resource linkages.
  • Backwards-incompatible: Validate and deserialize JSON API-formatted request payloads.
  • Fix error formatting when many=True.
  • Fix error formatting in strict mode.

0.2.2 (2015-09-26)

  • Fix for marshmallow 2.0.0 compat.

0.2.1 (2015-09-16)

  • Compatibility with marshmallow>=2.0.0rc2.

0.2.0 (2015-09-13)

Features:

  • Add framework-independent HyperlinkRelated field.
  • Support inflection of attribute names via the inflect class Meta option.

Bug fixes:

  • Fix for making HyperlinkRelated read-only by defualt.

Support:

  • Docs updates.
  • Tested on Python 3.5.

0.1.0 (2015-09-12)

  • First PyPI release.
  • Include Schema that serializes objects to resource objects.
  • Flask-compatible HyperlinkRelate field for serializing relationships.
  • Errors are formatted as JSON API errror objects.