- #389-adding
create!
,update_attributes!
,update!
methods
- #372 - Fix handling of dashed-types associations correctly
- #370 - bigdecimal 2 support
- #364 - Relax faraday and faraday middleware versions
- #361 - Call super from inherited method so that it will execute parent classes' implementations
- #359 - Support gzip content encoding
- #353 - fix to support deserializing resources with relationships without those related resources being included in the response (issue #352).
- #338 - implement hash and eql? for builder class
- #351 - Remove rudimental
last_result_set
relationship from serializer
- #348 - add NestedParamPaginator to address inconsistency in handling of pagination query string params (issue #347).
- #350 - fix resource including with blank
relationships
response data
- #349 - fix resource including for STI objects
- #345 - track the real HTTP reason of ApiErrors
- #344 - introduce safe singular resource fetching with
raise_on_blank_find_param
resource setting
- #335 - access to assigned relationship
-
#328 - allow custom type for models
-
#326 - correct changes after initialize resource
- remove type from changes on initialize
- ensure that query builder doesn't propagate query values to resource attributes via #build method
-
#324 - add possibility to override status handling
- add status_handlers to JsonApiClient::Resource.connection_options
-
#330 - deletion use overridden primary key
-
#320 - fix passing relationships on create
- fix relationships passing to
new
andcreate
methods - fix false positive tests on create
- refactor tests on create/update to prevent false same positive tests in future
- fix relationships passing to
-
#315 - add shallow_path feature to belongs_to
- add
shallow_path
options to belongs_to to use model w/ and w/o nesting in parent resource
- #314 - Mimic ActiveRecord behavior when destroying a resource:
- Add
destroyed?
method - Do not clear resource attributes
- Return
false
onpersisted?
after being destroyed - Return
false
onnew_record?
after being destroyed
- Add
- #312 - Don't raise on
422
- #311 - Raise JsonApiClient::Errors::ClientError for unhandled 4xx responses
- #297 - Fix test_helper
- #298 - README update: arguments for custom connections run method
- #306 - README update: pagination override examples
- #307 - Symbolize params keys on model initialize
- #304 - Optional add default to changes
- #300 - Define methods for properties and associations getter/setter
- #281 - Optimize dynamic attribute deref
- #280 - Fix custom headers inheritance
- #287 - Allow pagination params to be
nil
- #284 - Fix filter to not filter out
[]
values - #285 - Add include params for create/update
- #293 - Fix side-effects in scopes
- #266 - Fix default attributes being overridden
- #267 - Fix custom pagination params
- #271 - Fix assert_nil warnings
- #275 - Add error messages when destroy fails
- #277 - Correct handling of error source/pointer
- #264 - Enable sparse fieldsets for nested models
- #263 - Fix initializing resource including relationships
- #260 - Use formatter for belongs_to keys
- #236 - Escape nested route keys
- #239 - Configurable pagination params
- #238 - Parse links after creating a resource
- #230 - Unformat error source parameters via key formatter.
- #228 - All schema types to be pluggable.
- #217 - Add decimal (BigDecimal) as a serializing type
- #222 - Add
last
method for a resource and scope (similar tofirst
)
- #208 - Fall back to error.detail for the error message #196
- #206 - Autoload
JsonApiClient::VERSION
constant - #205 -
RelationshipLinker
now correctly uses the resource class'KeyFormatter
- #203 - No longer raise
KeyError
when trying to paginate to a page that doesn't exist. Return nil instead
- #201 - Configurable key and path formatter on a per-resource basis
- #190 - Allow hook for overriding the
total_entries
method on the default paginator - #199 - Clean up test warnings
- #198 - Clean up test warnings
- #187 - README update and cleanup around
select
forQuery::Builder
- #191 - Don't explode when parsing
"data": null
- #183 -
select
forQuery::Builder
can accept strings, symbols, arrays - #181 - Handle HTTP 409 - Conflict error
- #163 - Handle faraday connection options (proxy, ssl, etc)
- #165 - Handle null data returned for associated resources
- #159 - Alias update method as update_attributes
- #160 - Add .with_params to add arbitrary query params on find
- #161 - Fixes pagination issues: #142 and #150
- #162 - Fix faraday version dependency to ~> 0.9
- #152 - Pass rebuild flag to _build_connection
- #140 - Handle 401 Not Authorized responses
- #137 - Support for validation contexts
- #135 - Added support for common boolean typecasting
- #119 - property should not add default value if default is nil
- #129 - Resource save does not update anything but attributes
- #131 - Handle error values explicitly set to null.
- initial release for 1.0 spec