Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

Merge upstream 1.21.0 into our fork #9

Open
wants to merge 188 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
188 commits
Select commit Hold shift + click to select a range
ac38e86
Fix custom type comment to use TypeFactory
mordaroso Mar 20, 2018
12acf88
#278 updating faraday to fix issue when param value is an empty array
senid231 May 24, 2018
4a4f757
Exclude path params from attributes hash
coreyward Mar 4, 2016
5fecef5
Test path params are excluded from serialized attributes
coreyward Mar 4, 2016
f96c682
Merge pull request #286 from senid231/coreyward-f/serialized-attribs
senid231 May 25, 2018
8dede9e
allow to send fields and/or includes on create/update resource
senid231 May 25, 2018
b9b367e
Consider `Model.page(nil)`
mtsmfm Jun 14, 2016
dcead09
Merge pull request #287 from senid231/github-mtsmfm-page-nil
senid231 May 26, 2018
fe506b5
Merge pull request #282 from mordaroso/patch-1
senid231 May 26, 2018
2f5db2c
Merge pull request #284 from senid231/278-update-faraday-to-fix-empty…
senid231 May 28, 2018
b4e5804
Merge pull request #285 from senid231/query-params-on-create-and-upda…
senid231 May 28, 2018
c6d0f37
adding test that shows the error: chaining scopes modifies the parent…
gaorlov Aug 24, 2018
787fe52
fixing readme to update test and coverage icon targets
gaorlov Aug 24, 2018
d9c3f17
fixing sopes to be immutable
gaorlov Aug 24, 2018
b944c12
fixing paginator to accept strings or symbols as paer_page key
gaorlov Aug 24, 2018
6bef918
adding test that demonstrates Query::Builder#find with args doesn't work
gaorlov Aug 27, 2018
9f31073
fixing Query::Builder#find with parameters
gaorlov Aug 27, 2018
fc06c87
Merge pull request #293 from gaorlov/idempotent_scoping
gaorlov Aug 27, 2018
d228cad
version bump v1.6.0
gaorlov Aug 27, 2018
fbaeafa
Use mocha/minitest instead of mocha/mini_test on test_helper
edymerchk Sep 1, 2018
f6fd3da
update arguments for custom connections run method
fusion2004 Sep 6, 2018
a36cab1
Merge pull request #297 from edymerchk/fix-deprecation-warning
senid231 Sep 21, 2018
68393c8
Merge pull request #298 from fusion2004/update-readme-for-new-custom-…
senid231 Sep 21, 2018
f97ce89
Merge pull request #295 from gaorlov/coverage_readme_fix
jsmestad Sep 22, 2018
f76c5c8
#303 optional add default to changes
senid231 Oct 3, 2018
79fedec
#291 import README - pagination override examples
senid231 Oct 3, 2018
c098c66
#290 symbolize params keys on model initialize
senid231 Oct 3, 2018
010414c
Merge pull request #306 from senid231/291-improve-readme-pagination-o…
senid231 Oct 4, 2018
5bc5f2c
Merge pull request #307 from senid231/290-new-model-allow-symbolized-…
senid231 Oct 4, 2018
dbdb0f6
Merge pull request #304 from senid231/303-optional-add-default-to-cha…
senid231 Oct 4, 2018
3048ea3
cache values for defined properties and relationships [performance op…
senid231 Oct 3, 2018
dda66ea
Merge pull request #300 from senid231/smart-performance-optimization
senid231 Oct 8, 2018
96746b5
version bump 1.6.1
gaorlov Oct 8, 2018
dee26fd
version bump 1.6.1
gaorlov Oct 8, 2018
a34e285
Merge pull request #310 from senid231/bump_161
senid231 Oct 9, 2018
6cf5473
Raise client error for unhandled 4xx responses
jamesstonehill Oct 9, 2018
0fecb2f
Add PR #311 to CHANGELOG
jamesstonehill Oct 10, 2018
1f6879d
Merge pull request #311 from jamesstonehill/raise-on-misc-client-error
gaorlov Oct 10, 2018
2081d23
resolving diff with upstream
gaorlov Oct 10, 2018
845f809
version bump v1.6.2
gaorlov Oct 10, 2018
118fa6c
updating chantgelog
gaorlov Oct 10, 2018
99d1de5
Do not raise errors on 422 responses
jamesstonehill Oct 11, 2018
91064d1
Merge pull request #312 from jamesstonehill/422-error-handling
senid231 Oct 12, 2018
2de4364
verion bump v1.6.3
gaorlov Oct 12, 2018
3460162
fixing typo in changelog
gaorlov Oct 12, 2018
387c6b0
Mimics ActiveRecord behavior when destroying resource
hashrocketeer Oct 23, 2018
08b91ee
Do not clear relationships on destroy
hashrocketeer Oct 25, 2018
147ec71
Merge pull request #314 from hashrocketeer/mimic_destroy
gaorlov Oct 26, 2018
3c8edef
readme update; changelog update; version bump v1.6.4
gaorlov Oct 26, 2018
dfdbd64
add shallow path for belongs_to
senid231 Oct 26, 2018
ec0fc21
Merge pull request #315 from senid231/180-add-shallow-path-for-belong…
senid231 Nov 1, 2018
17b9a05
add tests for update resource for correct relationships dirty behavior
senid231 Nov 1, 2018
36d750b
Merge pull request #318 from senid231/add-test-for-update-resource
senid231 Nov 4, 2018
524f968
Allow custom error messages
fzf Oct 31, 2018
ce8963c
290 fix passing relationships on create
senid231 Nov 8, 2018
d7634d1
Merge pull request #320 from senid231/290-fix-passing-relationship-on…
senid231 Nov 13, 2018
d801b86
add missing changelog
senid231 Nov 13, 2018
de75481
Merge pull request #321 from senid231/fix-changelogs
gaorlov Nov 13, 2018
0f9da74
version bump: 1.7.0
gaorlov Nov 24, 2018
710cbb9
Retain context from Faraday errors
Dec 4, 2018
f2a20e2
Merge pull request #322 from COzero/retain-error-context
senid231 Dec 4, 2018
fcbdf13
fix travis for ruby 2.2
senid231 Jan 11, 2019
90fb6ef
Merge pull request #325 from senid231/fix-travis-for-ruby-2.2
senid231 Jan 11, 2019
aa90b0a
Merge pull request #316 from 1debit/customize_errors
senid231 Jan 15, 2019
e8b0a0a
add #316 to changelog
senid231 Jan 15, 2019
435e878
Merge pull request #327 from senid231/update-changelog
senid231 Jan 15, 2019
e5f82d9
#299 optional get relationship from dataset
senid231 Oct 3, 2018
bd298ab
Merge pull request #305 from senid231/299-get-included-from-dataset
senid231 Jan 23, 2019
826d3dc
version bump: 1.8.0
gaorlov Jan 23, 2019
238365e
adding test for destruction with custom primary key
gaorlov Jan 23, 2019
0b9ead2
allowing resources to be deleted with a custom primary key
gaorlov Jan 23, 2019
bea14d8
allow custom type for models
senid231 Jan 15, 2019
4c1b9fa
correct changes after initialize resource
senid231 Jan 15, 2019
10edc85
Merge pull request #328 from senid231/allow-custom-type
senid231 Jan 23, 2019
e9471f4
Merge pull request #326 from senid231/ensure-correct-changes-on-resou…
senid231 Jan 23, 2019
4d16613
changelog fix after 1.8.0 release
senid231 Jan 23, 2019
d5ddf81
Merge pull request #331 from senid231/changelog-fix-after-1.8.0
senid231 Jan 23, 2019
a2dd3d8
add status_handlers to JsonApiClient::Resource.connection_options
senid231 Jan 11, 2019
4ca6148
Merge pull request #324 from senid231/custom-status-handling
senid231 Jan 24, 2019
5cfdf92
Merge pull request #330 from gaorlov/primary_key_fix
senid231 Jan 24, 2019
5b5922a
upgrade changelog (add #330)
senid231 Jan 24, 2019
9bf58c8
Merge pull request #332 from senid231/changelog-upgrade
senid231 Jan 24, 2019
8d5bbf5
version bump: 1.9.0
gaorlov Jan 25, 2019
43b0236
add failing test that reproduces issue #334
senid231 Mar 19, 2019
3611780
retrieve assigned relationship record via association getter method
senid231 Mar 25, 2019
18997e5
fix byebug version fo travis ci
senid231 Mar 26, 2019
e4b763f
Merge pull request #335 from senid231/334-access-to-assigned-relation…
senid231 Mar 26, 2019
e9ee232
version bump: 1.10.0
gaorlov May 20, 2019
ec35cde
update changelog for version 1.10.0
senid231 May 21, 2019
3b48cfc
Add `raise_on_blank_find_param` resource setting
stokarenko May 24, 2019
53264d9
Merge pull request #344 from stokarenko/add-raise_on_blank_find_param…
gaorlov May 24, 2019
5c6745c
version bump: v1.11.0
gaorlov May 24, 2019
87718d8
Add an immutable option to JSON API resources.
lcpriest May 28, 2019
60e2a64
Track the real HTTP reason of ApiErrors
stokarenko May 25, 2019
0ab6586
Merge pull request #345 from stokarenko/better-api-errors
gaorlov Jun 11, 2019
424c972
version bump: v 1.12.0
gaorlov Jun 11, 2019
c8995de
Fix resource including for STI objects
stokarenko Jun 21, 2019
de379a5
Merge pull request #349 from stokarenko/fix-included-data-for-sti
gaorlov Jun 25, 2019
184c3d5
version bump: v1.12.1
gaorlov Jun 25, 2019
2483f48
Fix including with blank relationships
stokarenko Jun 25, 2019
f328779
Merge pull request #350 from stokarenko/fix-including-with-blank-rela…
gaorlov Jun 25, 2019
02e0fb3
version bump: v1.12.2
gaorlov Jun 25, 2019
d675eda
chore: update .gitignore to ignore IntelliJ and asdf files
Jun 11, 2019
cc4b697
feat: add NestedParamPaginator to make pagination params consistent
Jun 15, 2019
0cd860b
chore: add NestedParamPaginator to README and CHANGELOG
Jun 27, 2019
edc52d5
Merge branch 'master' into feature/fix_pagination_issues
gaorlov Jun 27, 2019
c2deea5
Fix resource serialization involving last_result_set
stokarenko Jun 28, 2019
cc36a9d
Merge pull request #348 from dugsmith/feature/fix_pagination_issues
gaorlov Jun 28, 2019
94f45e2
version bump: v1.13.0; readme update
gaorlov Jun 28, 2019
8fad9cf
Merge branch 'master' into fix-resource-serialization-involving-last-…
gaorlov Jun 28, 2019
0f6be6e
Merge branch 'master' into update-changelog-after-1-10
gaorlov Jul 2, 2019
b3c36c6
Merge pull request #341 from senid231/update-changelog-after-1-10
gaorlov Jul 2, 2019
dbadb81
Implement eql and hash for Builder class
ChrisBr Mar 29, 2019
23c337e
Merge pull request #351 from stokarenko/fix-resource-serialization-in…
senid231 Jul 3, 2019
86543f2
Merge branch 'master' into feature/implement_hash
senid231 Jul 3, 2019
3273a67
Merge pull request #338 from ChrisBr/feature/implement_hash
gaorlov Jul 3, 2019
2b2033a
version bump: v1.14.0
gaorlov Jul 3, 2019
548e94f
test: show relationships w/o included error (issue #352)
Jul 19, 2019
3939323
fix: resolve issue #352
Jul 19, 2019
e2784d9
Merge pull request #353 from dugsmith/fix_included_data
gaorlov Jul 23, 2019
1458441
version bump: 1.14.1
gaorlov Jul 23, 2019
f402577
adding gemfile for rails 5.2.3; adding ruby 2.5.1, 2.6.0; trying to d…
gaorlov Jul 23, 2019
4a68b2d
removing incompatible ruby-rails versions from travis
gaorlov Jul 23, 2019
b27006c
removing incompatible ruby-rails versions from travis
gaorlov Jul 23, 2019
d440806
Merge pull request #355 from gaorlov/travis-updates
gaorlov Jul 23, 2019
6013729
Add gemfile for Rails 6.0
yahonda Jul 31, 2019
8bc64f3
Support Rails 6.0.0
yahonda Aug 17, 2019
27c381b
Fix indent in README
ericotto Aug 22, 2019
9ccc611
Merge pull request #358 from ericotto/master
gaorlov Aug 27, 2019
daf5fbc
Merge pull request #356 from yahonda/ci_against_rails60
gaorlov Aug 27, 2019
af722c5
fix missing constant formatter
senid231 Aug 18, 2019
4aa0814
Merge pull request #357 from senid231/fix-missing-constant-formatter
gaorlov Aug 29, 2019
b4e7dde
Merge pull request #346 from lcpriest/feature/readonly-resource
gaorlov Aug 29, 2019
7791de2
updating changelog; removing ruby-head from travis matrix
gaorlov Aug 29, 2019
df414ec
version bump: v1.15.0
gaorlov Aug 29, 2019
504616e
Merge branch 'master' of github.com:JsonApiClient/json_api_client
gaorlov Aug 29, 2019
bc8fc09
Support gzip content encoding
stokarenko Sep 22, 2019
a2c2fb4
Merge pull request #359 from stokarenko/gzip-support
gaorlov Sep 24, 2019
7b7e8ec
version bump: v1.16.0
gaorlov Sep 24, 2019
61fb3be
call from method so that it will execute parent classes' implementation
Sep 25, 2019
3f38611
update CHANGELOG
Oct 3, 2019
3c8f4d2
Merge pull request #361 from mqchau/callSuperFromInheritedMethod
gaorlov Oct 4, 2019
db890ad
version bump: v1.16.1
gaorlov Oct 4, 2019
2f5dfef
Relax faraday and faraday_middleware version
sikachu Apr 6, 2020
2c7e75b
Merge pull request #364 from sikachu/relax-faraday-versions
gaorlov Aug 17, 2020
c94d6c7
version bump: v1.17.0
gaorlov Aug 17, 2020
ac372b8
bigdecimal 2
dpep Aug 21, 2020
58584c0
updating travis matrix
dpep Aug 30, 2020
a7a5985
fix warnings
dpep Aug 30, 2020
7a069e2
Merge pull request #371 from dpep/fix-warnings
gaorlov Sep 9, 2020
bae9d1f
Merge pull request #370 from dpep/bigdecimal-2
gaorlov Sep 9, 2020
e304514
Fix: Cannot access associations of 'dashed' type for a newly initiali…
inderps Nov 27, 2020
1af57e2
#372 - Fix handling of dashed-types associations correctly
inderps Dec 2, 2020
ea8fa20
Merge pull request #372 from inderps/fix/initializing-resources-with-…
gaorlov Dec 2, 2020
9b9835b
version bump: v1.18.0
gaorlov Dec 2, 2020
3ceaafd
fix broken links on CHANGELOG.md
mtoygar Dec 9, 2020
62a6c22
merging upstream 1.18.0 into master
Feb 1, 2021
468325e
update
Apr 12, 2021
9c50f64
update
Apr 12, 2021
3764912
Display CI Status of "master" Branch Only
openbl Apr 29, 2021
37f3427
Add extra error classes to handle server errors.
emancu May 6, 2021
f407acd
Add 408-RequestTimeout class
emancu May 6, 2021
58d848a
merge master into branch
Aug 17, 2021
318b52d
use HashWithIndifferentAccess, instead of symbolize_keys
Aug 18, 2021
f656194
Merge pull request #379 from openbl/patch-1
gaorlov Aug 18, 2021
da8a535
Merge pull request #374 from mtoygar/master
gaorlov Aug 18, 2021
3660937
Update lib/json_api_client/errors.rb
emancu Aug 18, 2021
274f57e
Update CHANGELOG
emancu Aug 18, 2021
cbb54ab
update CHANGELOG
Aug 18, 2021
6757752
update
Aug 19, 2021
40f0c1d
merge Chime master into branch
Aug 19, 2021
ae3db38
removing pry
Aug 19, 2021
7a6219e
Merge pull request #386 from tilo/HashWithIndifferentAccess
gaorlov Aug 19, 2021
3e801e1
Merge pull request #382 from carwow/add_extra_error_classes
gaorlov Aug 19, 2021
bd759fb
version bump: v1.19.0
gaorlov Aug 19, 2021
7f4bdbf
merging 1.19.0 upstream into branch
Sep 6, 2021
bbf1747
adding bang-methods for create and update
Sep 6, 2021
c249809
adding tests
Sep 8, 2021
8a6626e
update CHANGELOG.md
Sep 8, 2021
bc2fead
Merge pull request #389 from tilo/create-bang-methods
gaorlov Sep 8, 2021
19f4840
version bump: 1.20.0
gaorlov Sep 8, 2021
7583b8c
update CHANGELOG
Sep 8, 2021
8e64306
merge upstream 1.20.0 into branch
Sep 8, 2021
c2a18ac
update CHANGELOG
Sep 8, 2021
8fb1797
⬆️ Bump Faraday dependency to v2.0
gerbal Dec 16, 2021
810db1a
Merge pull request #395 from sevenmind/master
gaorlov Jan 21, 2022
4277a86
version bump: v1.21.0
gaorlov Jan 21, 2022
c9de575
merged upstream into this branch
Mar 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ Gemfile.lock
*.gemfile.lock

/coverage

# IntellJ/RubyMine
*.iml
.idea/

# asdf config
.tool-versions
35 changes: 34 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ rvm:
- 2.2.6
- 2.3.3
- 2.4.1
- 2.5.1
- 2.6.0
- 2.7.1
env:
global:
- CODECLIMATE_REPO_TOKEN=396d4263adb6febf1e6e9b0c0e176fbde35e1a116a3c1ecf8dd4f9384e41979b
Expand All @@ -12,9 +15,15 @@ gemfile:
- gemfiles/4.1.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
- gemfiles/5.2.3.gemfile
- gemfiles/6.0.gemfile
matrix:
fast_finish: true
exclude:
- rvm: 2.2.6
gemfile: gemfiles/6.0.gemfile
- rvm: 2.3.3
gemfile: gemfiles/6.0.gemfile
- rvm: 2.4.1
gemfile: gemfiles/3.2.gemfile
- rvm: 2.4.1
Expand All @@ -23,7 +32,31 @@ matrix:
gemfile: gemfiles/4.1.gemfile
- rvm: 2.4.1
gemfile: gemfiles/4.2.gemfile
- rvm: 2.4.1
gemfile: gemfiles/6.0.gemfile
- rvm: 2.5.1
gemfile: gemfiles/3.2.gemfile
- rvm: 2.5.1
gemfile: gemfiles/4.0.gemfile
- rvm: 2.5.1
gemfile: gemfiles/4.1.gemfile
- rvm: 2.5.1
gemfile: gemfiles/4.2.gemfile
- rvm: 2.6.0
gemfile: gemfiles/4.0.gemfile
- rvm: 2.6.0
gemfile: gemfiles/4.1.gemfile
- rvm: 2.6.0
gemfile: gemfiles/4.2.gemfile
- rvm: 2.7.1
gemfile: gemfiles/3.2.gemfile
- rvm: 2.7.1
gemfile: gemfiles/4.0.gemfile
- rvm: 2.7.1
gemfile: gemfiles/4.1.gemfile
- rvm: 2.7.1
gemfile: gemfiles/4.2.gemfile
# We need to install latest version of bundler, because one in travis
# image is too old to recognize platform => :mri_22 in Gemfile.
before_install:
- gem install bundler
- gem install bundler || gem install bundler -v 1.17.3
160 changes: 159 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,171 @@
# Changelog

## Unreleased
Using a new major version can cause problems when the upstream moves to their v2.0

A better way to handle this is:

- to not fork in the first place, but rather:
- create PRs to contribute to the upstream repository
- put modifications into an initializer until the upstream incorporates your PR
- if a forked repositiory is already in place:
- keep the master of the fork always in-sync with the upstream master
- keep any custom modifications on a private branch, e.g. chime, and use that branch in all your projects

# Chime ChangeLog:

DO NOT ADD ANY OTHER FUNCTIONALITY HERE!
CREATE UPSTREAM PRs IF YOU WANT TO CONTRIBUTE

THE PLAN IS TO GET RID OF OUR FORK ALTOGETHER

## v2.20.0
- merge upstream/master 1.20.0 into our fork

## v2.19.0
- merge upstream/master 1.19.0 into our fork

## v2.18.0
- merge upstream/master 1.18.0 into our fork

## v2.0.1
- relax bigdecimal version constraints

## v2.0.0
- Adding `bigdecimal ~> 2.0.0` as a gem dependency and updating BigDecimal constructors

-------

# Upstream ChangeLog:

## 1.21.0
- [#395](https://github.com/JsonApiClient/json_api_client/pull/395) - relaxing faraday dependency to anything less than 2.0

## 1.20.0
- [#389](https://github.com/JsonApiClient/json_api_client/pull/389) - adding `create!`, `update_attributes!`, `update!` methods

## 1.19.0
- [#382](https://github.com/JsonApiClient/json_api_client/pull/382) - Add extra error classes to hande server errors.

- [#386](https://github.com/JsonApiClient/json_api_client/pull/386) - use HashWithIndifferentAccess

## 1.18.0
- [#372](https://github.com/JsonApiClient/json_api_client/pull/372) - Fix handling of dashed-types associations correctly

## 1.17.1
- [#370](https://github.com/JsonApiClient/json_api_client/pull/370) - bigdecimal 2 support

## 1.17.0

- [#364](https://github.com/JsonApiClient/json_api_client/pull/364) - Relax faraday and faraday middleware versions

## 1.16.1

- [#361](https://github.com/JsonApiClient/json_api_client/pull/361) - Call super from inherited method so that it will execute parent classes' implementations

## 1.16.0

- [#359](https://github.com/JsonApiClient/json_api_client/pull/359) - Support gzip content encoding

## 1.15.0

- [#346](https://github.com/JsonApiClient/json_api_client/pull/346) - add the option to have immutable resources
- [#357](https://github.com/JsonApiClient/json_api_client/pull/357) - fix missing constant formatter

## 1.14.1

- [#353](https://github.com/JsonApiClient/json_api_client/pull/353) - fix to support deserializing resources with relationships without those related resources being included in the response (issue [#352](https://github.com/JsonApiClient/json_api_client/issues/352)).

## 1.14.0

- [#338](https://github.com/JsonApiClient/json_api_client/pull/338) - implement hash and eql? for builder class
- [#351](https://github.com/JsonApiClient/json_api_client/pull/351) - Remove rudimental `last_result_set` relationship from serializer

## 1.13.0

- [#348](https://github.com/JsonApiClient/json_api_client/pull/348) - add NestedParamPaginator to address inconsistency in handling of pagination query string params (issue [#347](https://github.com/JsonApiClient/json_api_client/issues/347)).

## 1.12.2

- [#350](https://github.com/JsonApiClient/json_api_client/pull/350) - fix resource including with blank `relationships` response data

## 1.12.1

- [#349](https://github.com/JsonApiClient/json_api_client/pull/349) - fix resource including for STI objects

## 1.12.0

- [#345](https://github.com/JsonApiClient/json_api_client/pull/345) - track the real HTTP reason of ApiErrors

## 1.11.0

- [#344](https://github.com/JsonApiClient/json_api_client/pull/344) - introduce safe singular resource fetching with `raise_on_blank_find_param` resource setting

## 1.10.0

- [#335](https://github.com/JsonApiClient/json_api_client/pull/335) - access to assigned relationship

## 1.9.0

- [#328](https://github.com/JsonApiClient/json_api_client/pull/328) - allow custom type for models

- [#326](https://github.com/JsonApiClient/json_api_client/pull/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](https://github.com/JsonApiClient/json_api_client/pull/324) - add possibility to override status handling
* add status_handlers to JsonApiClient::Resource.connection_options

- [#330](https://github.com/JsonApiClient/json_api_client/pull/330) - deletion use overridden primary key

## 1.8.0

- [#316](https://github.com/JsonApiClient/json_api_client/pull/316) - Allow custom error messages

- [#305](https://github.com/JsonApiClient/json_api_client/pull/305) - optional search relationship data in result set

## 1.7.0

- [#320](https://github.com/JsonApiClient/json_api_client/pull/320) - fix passing relationships on create
* fix relationships passing to `new` and `create` methods
* fix false positive tests on create
* refactor tests on create/update to prevent false same positive tests in future

- [#315](https://github.com/JsonApiClient/json_api_client/pull/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

## v1.6.4
- [#314](https://github.com/JsonApiClient/json_api_client/pull/314) - Mimic ActiveRecord behavior when destroying a resource:
* Add `destroyed?` method
* Do not clear resource attributes
* Return `false` on `persisted?` after being destroyed
* Return `false` on `new_record?` after being destroyed

## v1.6.3

- [#312](https://github.com/JsonApiClient/json_api_client/pull/312) - Don't raise on `422`

## v1.6.2

- [#311](https://github.com/JsonApiClient/json_api_client/pull/311) - Raise JsonApiClient::Errors::ClientError for unhandled 4xx responses

## v1.6.1

- [#297](https://github.com/JsonApiClient/json_api_client/pull/297) - Fix test_helper
- [#298](https://github.com/JsonApiClient/json_api_client/pull/298) - README update: arguments for custom connections run method
- [#306](https://github.com/JsonApiClient/json_api_client/pull/306) - README update: pagination override examples
- [#307](https://github.com/JsonApiClient/json_api_client/pull/307) - Symbolize params keys on model initialize
- [#304](https://github.com/JsonApiClient/json_api_client/pull/304) - Optional add default to changes
- [#300](https://github.com/JsonApiClient/json_api_client/pull/300) - Define methods for properties and associations getter/setter

## v1.6.0

- [#281](https://github.com/JsonApiClient/json_api_client/pull/281) - Optimize dynamic attribute deref
- [#280](https://github.com/JsonApiClient/json_api_client/pull/280) - Fix custom headers inheritance
- [#287](https://github.com/JsonApiClient/json_api_client/pull/287) - Allow pagination params to be `nil`
- [#284](https://github.com/JsonApiClient/json_api_client/pull/284) - Fix filter to not filter out `[]` values
- [#285](https://github.com/JsonApiClient/json_api_client/pull/285) - Add include params for create/update
- [#293](https://github.com/JsonApiClient/json_api_client/pull/293) - Fix side-effects in scopes

## v1.5.3

- [#266](https://github.com/chingor13/json_api_client/pull/266) - Fix default attributes being overridden
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ gem 'addressable', '~> 2.2'
gem "codeclimate-test-reporter", group: :test, require: nil

group :development, :test do
gem 'byebug', platforms: [:mri_20, :mri_21, :mri_22]
gem 'byebug', '~> 10.0', platforms: [:mri_20, :mri_21, :mri_22]
end
Loading