Closed a14n closed 6 years ago
Merging this PR would break compatibility with dart1.x users right?
What is the recommended way to deal with this? Should we add a note in the README.md that dart1 users should constraint the version of dart_amqp to 0.9.x? If so, would you mind pushing a commit to include this change?
Merging this PR would break compatibility with dart1.x users right?
Not really. In pubspec.yaml
the sdk contraints allows to handle dart version. Thus someone with Dart1 will not have access to amqp-0.1.0. Only Dart2 users will see it.
Should we add a note in the README.md that dart1 users should constraint the version of dart_amqp to 0.9.x?
I don't think it's worth to add something in README. It's the normal way to handle SDK constraints
Those changes make the package compatible with Dart 2.
I disable coverage as the package used to make coverage doesn't work with Dart 2. (btw it could be worth to migrate to coveralls)