-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[pigeon] 0.2.0 Made null-safe generation the default, updated documentation #315
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
Conversation
|
cc @Goddchen |
|
@gaaclarke I have the fixes for the tests ready. But I don't know how I can get them in here. I tried checking out this repo/branch, committed them locally and tried to push them. But obviously I don't have write permission in here... |
|
Hopefully this will to the trick: gaaclarke#1 |
|
@Goddchen Thanks, that was kind of you. There is something weird going on with our CI. They are running locally fine and I can't retry. I'll keep your PR handy while I try to kick the bots. |
|
What's going on with the checks? They seem to be hanging again? |
|
@Goddchen yea, I'm pinging a few people from my side to see if I can get it resolved. |
|
Seeing a crash running this. pubspec |
|
@mitchross Weird, it's working in the tests and when I try it out. Any idea what might be different for you? What does your messages.dart file look like? |
|
@gaaclarke, |
Also swap out the pubspec dev_dependencies: |
|
@mitchross @alr2413 Thanks, should be fixed now. |
packages/pigeon/CHANGELOG.md
Outdated
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.
add bug reference
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.
done
packages/pigeon/README.md
Outdated
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.
Since it's a breaking change, add a banner at the top of this page too to describe where the break is
packages/pigeon/README.md
Outdated
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.
We should caveat this a bit more clearly. If we're highlighting null safety more prominently, we should be clear there are 2 layers. There's the general null safety concept and there we're not doing too much yet. Things can't be defined as non-null and the nullable types aren't specifically annotated as so in kotlin and swift. There's also the Dart 2.12 null safety mechanism. We don't support non-null neither but we properly tag everything as nullable now.
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.
done
[pigeon] migrated to null-safety ( v0.2.0) Co-authored-by: Aaron Clarke <gaaclarke>
|
|
|
Okay, published. Thanks for the patience. |

Most of the work for 0.2.0 happened in an external contributors commit: #300
Pre-launch Checklist
[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy.CHANGELOG.mdto add a description of the change.///).If you need help, consider asking for advice on the
#hackers-newchannel on Discord.