-
Notifications
You must be signed in to change notification settings - Fork 72
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
Drop legacy Ruby, Rails, and Webpacker support #163
Drop legacy Ruby, Rails, and Webpacker support #163
Conversation
8d9bb55
to
13bba98
Compare
ba53752
to
f5678e4
Compare
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 wondering if it's worth creating a v2 branch in this repo so we can work on the 2.0 breaking changes separately from the current, stable v1.x tree. What do you think? 🤔
It will work, but I usually see the opposite: |
08978d5
to
c75c0a1
Compare
Since the suggested Ruby version for 6.1 is 3.0 and this is starting with 3.1, and 6.1 is going to EOL on 01 Oct 2024, I would also drop 6.1 |
Fair enough. Let's go with that approach. |
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.
Looks good. Thanks again for the PR. 👍
OK. We're going with v2 changes on master, so this can be merged now. I've created a v1-stable branch for the older version. |
Sorry, I forgot to drop 6.1, will do that and request another review |
`ERB::Util.html_escape_once` is available in all supported Rails versions Also: - Opt-in for MFA (security) - Move development gems to Gemfile Close jamesmartin#161, close jamesmartin#164
c75c0a1
to
baa3f6b
Compare
spec.add_dependency "activesupport", ">= 7.0" | ||
spec.add_dependency "nokogiri", ">= 1.16" |
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.
the reason why I've removed development_dependency
from here and renamed add_runtime_dependency
to add_dependency
is because they are known offences of rubocop packaging and will be clearer with future commits when this will be merged
- Test against multiple Ruby version - Experimental tests against ruby-head to spot issues in advance
baa3f6b
to
0727f83
Compare
0727f83
to
c1445c7
Compare
- [Rails 7](https://weblog.rubyonrails.org/2021/12/6/Rails-7-0-rc-1-released/) | ||
|
||
Inline SVG no longer officially supports Rails 3 or Rails 4 (although they may still work). In order to reduce the maintenance cost of this project we now follow the [Rails Maintenance Policy](https://guides.rubyonrails.org/maintenance_policy.html). | ||
Inline SVG supports Rails 7.x with Propshaft, Sprockets, or Shakapacker |
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.
Propshaft was missing I guess
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.
Thanks, @tagliala. I'm grateful for your help getting to a place where we can drop support for older versions of Rails. ✨
Welcome, I will proceed with some other changes |
Close #161, close #162, close #164