Releases: beam-community/jsonapi
Releases · beam-community/jsonapi
Dasherize and Underscore fixes
What's Changed
- Fix bug where underscore/dasherize misses single characters by @protestContest in #316
- Transform relationship keys with shallow field transformation options (#314) by @protestContest in #315
Full Changelog: 1.7.0...1.7.1
Shallow dasherizing and underscoring
What's Changed
- Add options to transform field keys non-recursively (#132) by @protestContest in #310
There are now two new values for the config option transform_fields
:
camelize_shallow
: Likecamelize
, but only affects the relationship and attribute keys, not their values.dasherize_shallow
: Likedasherize
, but only affects the relationship and attribute keys, not their values.
New Contributors
- @protestContest made their first contribution in #310
Full Changelog: 1.6.3...1.7.0
Deep Object Nested Queries
Additional malformed request error handling
What's Changed
- Format required checks for relationships by @matt-glover in #299
New Contributors
- @matt-glover made their first contribution in #299
Full Changelog: 1.6.1...1.6.2
Missing Fixes
What's Changed
- Fix relationships spec & external relationship use-case by @mattpolzin in #295
Full Changelog: 1.6.0...1.6.1
Including Me
What's Changed
- Add support for a JSON:API includes allowlist. by @mattpolzin in #292
Full Changelog: 1.5.1...1.6.0
1.5.1
What's Changed
- Change camelize behavior by @TylerPachal in #293
Specifically, already-camilized strings will no longer be turned to all-lowercase by the :camelize
transformation; they will be left alone.
Full Changelog: 1.5.0...1.5.1
Underscored
What's Changed
Improvements
- Integration between UnderscoreParameters and QueryParser by @TylerPachal in #282
- Response body for content type error by @TylerPachal in #276
- Fix typos by @kianmeng in #275
- Add c:JSONAPI.View.get_field/3 by @whatyouhide in #273
- Support renaming of relationships by @mattpolzin in #270
New Contributors
- @kianmeng made their first contribution in #275
- @whatyouhide made their first contribution in #273
- @TylerPachal made their first contribution in #276
Full Changelog: 1.4.0...v1.5.0
Long time coming
Fix JSONAPI.Config.t() include field typespec (#267) The include field accepts a list of keyword tuples, but also accepts atoms in the list (e.g. include: [:account, :orders]).
😷 From a Distance... 😷
Added
Changed
- Continuous Integration
with Github actions. - "self" URL can include query parameters
Contributors
A healthy Covid-19 safe foot-tap to: @CostantiniMatteo, @lucacorti, @snewcomer, and @jherdman