Skip to content

Latest commit

 

History

History
161 lines (96 loc) · 8.1 KB

CHANGELOG.md

File metadata and controls

161 lines (96 loc) · 8.1 KB

v0.7.0 (2020-09-10)

Bugfixes

  • Fix issue with infinite recursion when instantiating document (9997a8c0)
  • replace Dog/Flea with Author/Book/Chapter to expose bug with JsonApiModel::resource_to_attrs and stack overflow error (9403689e)

Breaking Changes

  • Document validation using Rust types (6f782603)
  • Update tests to align with new enum changes (a002d96d, breaks #)

Non-Functional

  • Fix broken inline documentation tests (89d07baf)
  • Fixes tests/model_test with recent changes (e8f0d0d8)
  • Update tests to align with new enum changes (a002d96d, breaks #)

Documentation

  • improve documentation in a few places (70be409f)

(2020-01-17)

Tests

  • Add test to demonstrate PartialEq (d24db4f2)

Documentation

  • Update documentation throughout repository with examples (c8c51059)

0.6.5 (2019-11-23)

Bugfixes

  • make Relationship data an Option (b1a91099)

0.6.4 (2019-02-19)

Features

  • Don't suppress errors of serde_json (3b70f04)

0.6.3 (2019-01-02)

Features

  • Derive Clone for Query (99ff203)
  • Enable support for "maybe has many" (6dc6b41)
  • Derive JsonApiModel for Box where M: JsonApiModel (a261447)

0.6.2 (2019-01-01)

Features

  • Add support for filter query param (664fb91b)

0.6.1 (2018-12-30)

Features

  • Support sort query parameters (b6b1def5)

0.6.0 (2018-02-14)

Features

  • Add conversion of object Vec to jsonapi_document (1bf60a0)
  • Support numeric id in JsonApiModel::to_jsonapi_* (1f98c88)

0.5.3 (2017-12-20)

Features

  • Box the PrimaryData::Single variant (bf7a767)
  • Use and serialize sparse structs (75b6bac)
  • model serialization and deserialization working (d38093e)
  • Implement FromStr for JsonApiDocument and Resource (fb66803)
  • Update 'serde*' minimal versions and relax version restrictions (3723938)
  • Use an empty HashMap if attributes is not supplied (e0d3712)

Bugfixes

  • fix issues with static slice reference on stable (647f93a)

0.5.1 (2017-04-13)

Bugfixes

  • Not to include data and errors in a same document (71e65a8)

0.5.0 (2017-04-08)

Features

  • Remove superfluous Pagination impl (9310e369)
  • Add warn logs for setting query defaults (a2c6c11a)
  • Add log crate and error logging (2283cb97)
  • Add denial of unwanted features (178bb102)
  • Add log crate and error logging (06ea19b1)
  • Remove obsolete attribute_as_x (76d8fff0)
  • Add Optional Meta field to Resource (9f8d2f0b)
  • Initial diff/patch functionality (0ae612d2)
  • Partial Resource diff implementation (0686a55f)
  • Stub Resource patch/diff functions (158aa7ba)
  • Stub Resource patch/diff functions (779e30d9)
  • Add Resource from_str and get_attribute (436df1ac)

0.4.0 (2017-03-05)

Features

  • Add initial JsonApiModel trait (7a3a4a23)
  • Resource function get_attribute_as_number (67e1e661)
  • Add Relationship functions (b8de4340)
  • Add Resource functions get_relationship and get_attribute_x (b1342cbf)

0.3.0 (2017-02-28)

Features

  • Add queryparams generation with test cases (4048fe83)
  • Make all JsonApiError fields optional (0aab0ede)
  • Add doc tests (#6) (66388c05)

0.2.0 (2017-02-23)

Features

  • Optional primary data (#5) (65c54989)
  • Extend document validation (#3) (7ce19ed5)
  • Merge Document and JsonApiResponse (#2) (6fe0be44)