Skip to content

Releases: guillaumebriday/jsonapi-scopes

v0.4.1

24 Sep 19:56
Compare
Choose a tag to compare

v0.4.1 - 2019-09-24

Changed

  • Updating the Gemfile.lock
  • Updating readme

v0.4.0

24 Sep 19:34
Compare
Choose a tag to compare

v0.4.0 - 2019-09-24

Added

  • Adding Jsonapi::Include module to handle dynamic includes like so: /posts?include=comments,author

v0.3.0

16 Sep 18:40
Compare
Choose a tag to compare

v0.3.0 - 2019-09-16

Changed

  • Raise Jsonapi::InvalidAttributeError when attribute is invalid.

v0.2.0

01 Aug 21:46
Compare
Choose a tag to compare

v0.2.0 - 2019-08-01

Fixed

  • Adding condition when spliting filter_params to prevent issue.

v0.1.5

20 Jul 21:14
Compare
Choose a tag to compare

v0.1.5 - 2019-07-20

Changed

  • Using Array.wrap in apply_sort instead of [].flatten.
  • Adding specs on allowed sorted fields.

v0.1.4

17 Jul 20:55
Compare
Choose a tag to compare

v0.1.4 - 2019-07-17

Added

  • apply_filter can now handle multiple matching with a comma separated list of values: /contacts?filter[first_name]=Bruce,Peter

v0.1.3

22 May 16:33
Compare
Choose a tag to compare

v0.1.3 - 2019-05-22

Added

Changed

  • apply_filter use the method all to generate an ActiveRecord collection. (33f5ced)
  • apply_sort has now optional params. (2742292)

Removed

  • Remove attr_reader on filters. (df2b14e)