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
Is this lib deprecated or not? #205
Comments
|
I got the same error as soon as I did flutter upgrade to Flutter 1.10.15-pre.429 |
@dheerajsarwaiya I removed this lib since it does not catch up for about 2 months and actually lots of feature doesn't support at all. |
it is not deprecated. 1.10.15 is out since today. |
@cgestes Will it upgrade to pub.dev as well? |
It breaks since this commit: flutter/flutter@97cf355 |
It may work by adding the following in zefyr/lib/src/widgets/input.dart @override
void connectionClosed() {
if (hasConnection) {
_textInputConnection.connectionClosedReceived();
_textInputConnection = null;
_lastKnownRemoteTextEditingValue = null;
_sentRemoteValues.clear();
}
} I dont have time to test with master right now, and I dont know the codebase well enough yet to be sure of my fix. I believe the fix should not be pushed to pub.dev before it lands in stable. (I am not sure of the policy here). So it has to live in a branch in the meantime. (It doesn't compile without master). Happy hacking guys |
Sorry for late reply. This project is not deprecated and I work on it whenever I have some free time. Note that I stopped trying to support master channel of Flutter repo. If there is a breaking change in Flutter that affects Zefyr it'll be addressed when that change lands into Flutter's stable channel. That said, I appreciate any hints for upcoming breaking changes. It looks like as of now, this breaking change hasn't landed yet, but I'll take a look. @cgestes Thanks for the snippet! |
@pulyaevskiy Thanks for your work! My advise is, publish stable on pub.dev, and make git master branch catch up with flutter master, so that users can using stable as well as master since flutter master really brings massive features all the time and optimize it's performance. |
@jinfagang what about people following dev? |
Yeah, I'd basically need to mirror all Flutter channels (master, stable, dev, beta) which is quite a bit of added complexity. This gets trickier when I need to introduce breaking changes in Zefyr itself. That said I think majority of requests are coming from people on master channel, so maybe it'd be good enough to only support master. This would also make it a bit easier for me to manage breaking changes in Zefyr. However, when someone wants to submit a PR to Zefyr they'd normally target master branch. This means that these changes would only land to stable (and Pub) if (a) there is no breaking changes or Basically this workflow quickly becomes hard to understand and follow. Which is why I'm still hesitant. I do see value in supporting Flutter's master channel though. If anyone has better suggestions I'd definitely like to discuss this issue more. |
I think that flutter stable releases happen frequently enough to justify following the master channel of flutter in the master of this repo, and then releasing a new pub.dev version just after the flutter stable lands each quarter. This works well for new features and overall improvements to the library. I can see an issue with people needing a bug fix in stable before the next flutter stable comes out, but they are free to branch from that commit in the library and fix it themselves in that case, or backport a fix from master into a 'stable' branch, create a pull request, and request an update to the pub.dev version. However, it would also allow everyone working on the library to add fixes and features, while planning for the future, and making sure it is compatible with future flutter versions. I agree that it would probably be too much to mirror every channel. Just my personal thoughts. |
FYI: we're trying to track Flutter's master channel in Zefyr's master branch. It is currently compatible, if you find any issues please file separate tickets. Closing this. |
Flutter latest update breaks all in this lib, doesn't anyone notice this??
The text was updated successfully, but these errors were encountered: