Replies: 1 comment 3 replies
-
Hey @DRBragg - I know this is something we've discussed before and I'm sorry that it's a constant headache for you. As you may know the current Lookbook Github actions CI tests against Ruby 2.7+ and Rails 6.0+. Because I've so far failed to properly settle on and document an 'official" version support commitment that has served as the de-facto base level so far. But that CI situation is only really because when I set it up I was having a nightmare trying to get it set up to test against older versions or Ruby/Rails! As ViewComponent currently claims support for Ruby 2.5+ & Rails 5.0+ I think that Lookbook really should aim to support those versions too. Before committing 100% to that however I'm going to try again to get Ruby 2.5 & Rails 5.x running to test against so that I can at least get a feel for how much work it'll be to fix the recent changes and then keep those older versions supported. I'm very new to Ruby so I definitely lack any clear idea of what language features are new and what have been around for ages. It's definitely a learning journey for me :-) Obviously all your PRs have been very helpful in keeping things working but without the tests running against those versions new releases are always likely to cause some headaches for folks in your situation. You may also know that as of v2.72 ViewComponent has deprecated support for Ruby < 2.7 with the intention of dropping support for it whenever ViewComponent v3.0 rolls around. I'll probably aim to do something similar to match the ViewComponent support requirements and release a new major version around that time. But first I'll try to find a bit of time to get Lookbook running and tested against those older versions - I'll let you know as soon as I've made any progress. |
Beta Was this translation helpful? Give feedback.
-
Hey @allmarkedup, I wanted to post this here before opening an issue or PR.
It looks like a lot of work recently went into how some of the backend and configuration for lookbook works. I haven't gone though all of it yet but I do know that some of the changes are incompatible with Ruby < 2.7. In the past I have opened PRs to keep lookbook (mostly) compatible with Rails 5.1+ and Ruby 2.5+ but I know these are very old versions at this point. I'm happy to keep opening issues and/or PRs to keep lookbook working with older Ruby/Rails but I understand if this isn't the direction you want to go. I just wanted to check before I went down that rabbit hole. If we need to pin to 1.1 until we're on newer Ruby/Rails that's totally fair.
Let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions