Skip to content

v0.8.1 - Bug fixes

Choose a tag to compare

@lgebhardt lgebhardt released this 05 Oct 15:40
· 416 commits to master since this release

Bug Fixes:

  • Fixes the situation where the current user does not have permission to access a relationship, and the library was returning a partially complete data object for that relationship when it was polymorphic (the id would be provided, but the type would be an empty string because of the way that Relationship.type_for_source works). To keep it all simple and avoid any side effects, I'm just not returning a partial data object (where either the id or the type are nil) now.
  • Fixes issue with generating paths with rails engines when not using additional namespaces.
  • Removes ActiveRecord dependency
  • No longer calls link_builder when custom link is provided
  • Fix handling camelized argument in JSONAPI::Resource.resource_for