Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 3.86 KB

CHANGELOG.md

File metadata and controls

64 lines (51 loc) · 3.86 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

0.4.1 - 2017-03-06

Fixed

  • #114: Do not call getAttributes() twice. (@f3ath)

0.4.0 - 2017-03-05

Added

  • #96: Improve invalid parameter exceptions with more information about what's invalid. (@nubs)

Changed

  • #106: Convert snake_case into camelCase when calling a relationship method. (@ustrugany)

Fixed

  • #94: Properly support empty to-one relationships.
  • #99: Omit attributes on resource identifier objects. (@anthonyhendrickson)
  • #103: Prevent resource relationships from being built twice per resource.
  • #110: Omit empty attributes on resources. (@f3ath)

0.3.0 - 2016-03-31

Added

Changed

Fixed

  • #65: Convert kebab-case into camelCase when calling a relationship method. (@avoelpel)
  • #70: Include related resources even if relationship is not listed in sparse fieldset. (@Damith88)
  • #72: Return null in Parameters::getLimit if no limit is set. (@byCedric)
  • 46142e5: Prevent primary "data" resources from showing up again in the "included" array. (@tobscure)

0.2.1 - 2015-11-02

Fixed

  • Improve performance when working with large numbers of resources

0.2.0 - 2015-10-30

Completely rewrite to improve all the things.

  • Resources and Collections now contain data and are responsible for serializing it when they are converted to JSON-API output (whereas before serializers were responsible for creating concrete Resources/Collections containing pre-serialized data). Serializers are now only responsible for building attributes and relationships. This is a much more logical/testable workflow, and it makes some really cool syntax possible!
  • Support for sparse fieldsets.
  • Simplified relationship handling.
  • Renamed Criteria to Parameters, add validation.
  • Added ErrorHandler for serializing exceptions as JSON-API error documents.
  • Updated docs.
  • Wrote some tests.
  • It should go without saying that this is not at all backwards-compatible with 0.1.

0.1.1 - 2015-08-07

Changed

  • Rename abstract serializer

0.1.0 - 2015-08-07

  • Initial release