Skip to content
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

Relax dependencies 🔧 🍎 #178

Merged
merged 1 commit into from
Feb 23, 2021
Merged

Conversation

dylanratcliffe
Copy link
Contributor

This PR relaxes many of the dependencies that smashing has. This should allow users to upgrade dependant gems without requiring a release of smashing. A good example of where this is require is in #174

In #174 we need to upgrade to thin >= 1.8.0 in order to be able to compile it against XCode 12 however since Smashing was dependant on version ~> 1.7.2 that means we could only use releases that were >= 1.7.2 and < 1.8.0 i.e. we can't use the new version.

This relaxes many dependencies to allow users to upgrade to new feature releases, but not to the next X (breaking) release. Given that breaking changes should require a major release as per semver we should expect that this wouldn't cause any issues.

I did have a look through the commit messages to see if there was any specific reason why the dependencies were so strict and couldn't find any. If there are good reasons though please let me know.

Copy link
Member

@kinow kinow left a comment

Choose a reason for hiding this comment

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

Looks good to me, we would be pinned on minor version, leaving the patch version to whatever is the latest available. Approving, will just do a few quick tests when I have time this week to work on Smashing. But this one should be included in the next release, planned for this or the next week. Thanks @dylanratcliffe !

@kinow kinow self-assigned this Feb 22, 2021
This should mean that people can upgrade gems more readily without
requiring a new Smashing release
@kinow
Copy link
Member

kinow commented Feb 23, 2021

@dylanratcliffe I noticed Travis was not running. Had a bit of spare time during lunch time today, so migrated master to GH actions but used the Ruby version from this PR 👍 push-forced after rebasing your branch.

@kinow
Copy link
Member

kinow commented Feb 23, 2021

CI passed, merging 🚀

@kinow kinow merged commit ab14d24 into Smashing:master Feb 23, 2021
kinow added a commit that referenced this pull request Feb 23, 2021
@dylanratcliffe dylanratcliffe deleted the dependencies branch February 24, 2021 16:38
@kinow kinow added this to the 1.3.2 milestone Feb 26, 2021
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.

2 participants