-
Notifications
You must be signed in to change notification settings - Fork 141
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
Ember upgrade to 3.26 #184
Conversation
Because that's deprecated in Ember 3.26
Remove an implicit injection
Fix Ember 3.26 deprecations
Call function directly instead of sendAction
@boris-petrov If you could take a quick overview look at this I'd appreciate it. Mostly I modernized the tests and example code in the dummy app , templates and general ember upgrades. I could go one step further and convert the components to native classes with the I don't use this addon personally anymore, so I'm a bit out of touch with how best to change it or if it even needs any changes. |
@dgavey - thank you for taking the time to do this! I did take a very quick look, generally looks OK. I see three files with unit tests removed - why was that? Lack of time to fix them or you think they're unneeded? Converting to native classes is possible however there is no need to go there for now. That's still not deprecated so let's minimize the changes so that if something breaks, it's easier to bisect. Converting to Glimmer components is definitely a breaking change and would either require a major bump or a new library as you said. So no need for now. If you're willing to start a new library using all the latest and greatest features, that would be awesome. 😄 I think a lot of people use |
@boris-petrov Thanks for looking it over. I removed the tests because they were legacy tests and code from way back in pre Ember 1 days. The integration tests cover it already for 2 of them. And the other was this hidden feature I don't believe anyone used. Again legacy items. I'll probably merge this and do a beta release so we can get some real world testing before I take the beta flag off. That work for you? |
Absolutely! We have a bunch of integration tests concerning |
@boris-petrov Version 0.9.0-beta.0 is published |
@dgavey - it works like a charm and the deprecation errors are gone. Thank you! I'll be using this in production. |
This modernizes the syntax for the templates and tests. It does not yet move to glimmer components yet as that would require some significant breaking changes.
I do want to do that but I feel a re-write and a new addon would be a better way of doing that. I did start that work, but I need to finish it. In the mean time this should at least help keep this running and deprecation free for a while longer.