Skip to content

Encourage pinning of pre-1.0.0 release [skip ci] #1741

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

Merged
merged 1 commit into from
May 23, 2016

Conversation

krisleech
Copy link
Contributor

Purpose

Encourage the pinning of pre-1.0.0 release of this gem.

0.10 introduced breaking changes (notably, no root node is included in the JSON). This broke our build. Since semver allows pre-1.0.0 to introduce breaking changes this is okay. However since the gem is 5 years old but has no 1.0 release maybe we should encourage the pinning of the gem in the README.

Changes

Documentation only.

Caveats

Related GitHub issues

Additional helpful information

@NullVoxPopuli
Copy link
Contributor

I'm not opposed to that. It's a good habit to have if people want to be able to do bundle update

@bf4, thoughts?

@@ -56,7 +56,7 @@ It is generally safe and recommended to use the master branch.
Add this line to your application's Gemfile:

```
gem 'active_model_serializers'
gem 'active_model_serializers', '~> 0.10.0'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like a good idea. There's been discussion of doing something similar to what Rake and Node.js have done and jump to 10.0 (I'm for it), but it hasn't been resolved yet. pre-1.0 semver is weird.

@krisleech Thanks for sharing this PR. Anything else you might contribute back to help out others is much appreciated!

@remear remear merged commit cbca135 into rails-api:master May 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants