-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update version constraint for jsonapi-renderer #2189
Update version constraint for jsonapi-renderer #2189
Conversation
Failures depend on a RuboCop offence which was not introduced in this PR: https://travis-ci.org/rails-api/active_model_serializers/jobs/276495964#L789
|
active_model_serializers.gemspec
Outdated
@@ -42,7 +42,7 @@ Gem::Specification.new do |spec| | |||
# 'minitest' | |||
# 'thread_safe' | |||
|
|||
spec.add_runtime_dependency 'jsonapi-renderer', ['>= 0.1.1.beta1', '< 0.2'] | |||
spec.add_runtime_dependency 'jsonapi-renderer', '~> 0.2.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's different from the 0.1.x series to 0.2.x? This looks like it may be a breaking change and should just be changing < 0.2
to < 0.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
unfortunately they don't release a changelog :\
I've just noticed that my bundle is out of date according to bundle outdated
.
I've checked some commits, but I'm not confident in saying if there is a breaking change or not: https://github.com/jsonapi-rb/jsonapi-renderer/commits/master
I could go for ['>= 0.1.1.beta1', '< 0.3']
if you prefer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Author here – it is safe to upgrade the dependency as 1. the 0.2
series is backwards compatible with the 0.1
series and 2. no AMS-used code was changed.
sure
…On Sun, Sep 17, 2017 at 1:05 PM, Geremia Taglialatela < ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In active_model_serializers.gemspec
<#2189 (comment)>
:
> @@ -42,7 +42,7 @@ Gem::Specification.new do |spec|
# 'minitest'
# 'thread_safe'
- spec.add_runtime_dependency 'jsonapi-renderer', ['>= 0.1.1.beta1', '< 0.2']
+ spec.add_runtime_dependency 'jsonapi-renderer', '~> 0.2.0'
Hi,
unfortunately they don't release a changelog :\
I've just noticed that my bundle is out of date according to bundle
outdated and I was checking why.
I've checked some commits, but I'm not confident in saying if there is a
breaking change or not: https://github.com/jsonapi-rb/
jsonapi-renderer/commits/master
I could go for ['>= 0.1.1.beta1', '< 0.3'] if you prefer
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2189 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIuQhwXmjDW_lgAfl6GCQvSJVAohh0eks5sjV9pgaJpZM4PaISW>
.
|
1ccc6ba
to
edbfac0
Compare
PR updated |
@@ -42,7 +42,7 @@ Gem::Specification.new do |spec| | |||
# 'minitest' | |||
# 'thread_safe' | |||
|
|||
spec.add_runtime_dependency 'jsonapi-renderer', ['>= 0.1.1.beta1', '< 0.2'] | |||
spec.add_runtime_dependency 'jsonapi-renderer', ['>= 0.1.1.beta1', '< 0.3'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the same as ~> 0.2.0
, except it also allows the 0.1
series. Any specific reason?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@beauby maybe I didn't get this comment: #2189 (review)
in response to: #2189 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what @bf4 meant there either (:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@beauby I thought it would be a breaking change to AMS to change the minimum jsonapi-renderer version. Am I wrong there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right – yeah then ['>= 0.1.1.beta1', '< 0.3']
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I do something else on my side?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tagliala Are you comfortable rebasing against 0-10-stable and force pushing to your branch? |
edbfac0
to
1c9214d
Compare
Done, everything is green 💪 |
Purpose
Update 'jsonapi-renderer' dependency to meet last released version
Changes
Just the
'jsonapi-renderer'
entry in the gemspec fileCaveats
Related GitHub issues
#2057
Additional helpful information
Tested against Rails: 5.1.4, 5.0.6, 4.2.9, 4.1.16