Changelog
1.2.2 (2019-09-28)
Added
N/A
Changed
1.2.1 (2019-06-27)
Added
N/A
Changed
- Updated example pagination code
- Fixed sparse fieldset compliance for relationships
- Error status codes in error responses should be Strings
- Fixed a problem with "self" pagination link
Contributors
A fist bump of appreciation to @lucacorti, @leepfrog, @jasondew, and @thebrianemory.
1.2.0 (2019-04-29)
Added
- Pagination has had a massive overhaul. Docs have been updated. Please file issues should you run into any problems. You may wish to review the pull request for more details.
- More typespecs
EnsureSpecPlug now sets the JSON:API response content type for you. This means you need not manually include theResponseContentTypePlug in your pipeline should you already haveEnsureSpecin play. Please see the documentation forResponseContentTypeshould you wish to override it for a specific end-point.
Changed
- Ex Doc was updated to leverage some of its fancy new features.
EnsureSpecpipeline checks to ensure that a PATCH request has an ID- Documentation improvements
Contributors
Much love to: @0urobor0s, @kbaird, @lucacorti, @strzibny
1.1.0 (2019-02-23)
Added
- Various typespec changes
- The
:namespaceoption is globally configurable - Fully support sparse fieldsets
Changed
- Removed
Config.required_fields - Documentation improvements
Fixes
- Credo is set to use strict option
FormatRequiredPlug accepts a legal RIO payload- Report on missing data type as such
Contributors
Much love to @kbaird, and @zamith.
1.0.0 (2019-01-27)
Hot on the heels of 0.9.0, 1.0.0 is here! Please remember to upgrade to 0.9.0 first. You'll find the upgrade path much easier.
- Added run Dialyzer on CI
- Fixed bad includes result in HTTP 500 response
- Removed all deprecated code
- Added
camelCasefield support for JSON:API v1.1 - Added support for arbitrary links
- Added Elixir 1.8 to the build matrix
0.9.0 (2019-01-18)
This is the last release before 1.0. As such this release will feature a number of deprecations that you'll want to either resolve before upgrading. Should you have any trouble with these deprecations please file an issue.
- Added Expand Build Matrix Again
- Added Refactor String Manipulation Utility Module
- Internal Move
QueryParserTest - Added Expand Build Matrix
- Added Add Plug to Transform Parameters
- Fixed Namespace
Deprecationmodule - Internal Consolidate Plug Locations
- Fixed Set
Content-Typefor errors - Internal Improve
Application.envhandling in tests - Fixed Update regexes for underscore and dash
- Internal Remove leading
is_fromis_data_loaded? - Fixed Remove warning about hidden being undefined
- Added Allows for conditionally hiding fields
- Fixed Omit non-Object meta
v0.7.0-0.8.0 (2018-06-13)
(Sorry I missed 0.7.0)
- Added Support for configuring your JSON Library, and defaulted to Jason going forward.
- Fixed Fix nesting for includes
- Added Removing Top Level if configured
- Fixed Check headers according to spec
- Added Add to view custom attribute
- Added updates plug to allow data with only relationships enhancement
- Added include meta as top level document member
- Added Apply optional dash-to-underscore to include keys
- Fixed Do not build relationships section for not loaded relationships
- Fixed change try/rescue to function_exported? and update docs
- Fixed Dasherize keys in relationship urls
- Added Allows the view to add links
- Fixed Serialize empty relationship
- Fixed Handle dashed include for top-level relationship
v0.6.0 (2017-11-17)
v0.5.1 (2017-07-07)
- Added plug to make verifying reqeusts and their errors easier
v0.5.0 (2017-07-07)
- Added support for meta fields
- Added support for custom hosts
- Added support for hidden attributes in views
- Added support converstion of underscore to dashes.
- Fixed issue with index.json
- Now uses Credo
v0.4.2 (2017-04-17)
- Updated codebase for elixir 1.4
- Updated poison dep to 3.0
- Fixed failing travis tests
v0.4.0 (2016-12-02)
- Removed PhoenixView
v0.1.0 (2015-06-?)
- Made params optional
v0.0.2 (2015-06-22)
- Made paging optional
v0.0.1 (2015-06-21)
- Support for basic JSONAPI Docs. Links support still missing