Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Migrate to null safety #99

Merged
merged 8 commits into from
Aug 10, 2020
Merged

Migrate to null safety #99

merged 8 commits into from
Aug 10, 2020

Conversation

natebosch
Copy link
Contributor

No description provided.

kevmoo and others added 5 commits May 20, 2020 17:02
Set the min SDK to 2.10.0-0 to get a language version of 2.10.

Move dependency overrides to the master branches for the packages which
support the 2.10 SDK on the master branch.

Update travis to run the with the dev SDK and pass the
`--enable-experiment=non-nullable` flag. Use the layout from collection.
Remove the flag from the `dartanalyzer` command and combine the lib and
test analysis into a single step.

Bump min SDK to the one which includes this package in the allow list.
- Add a changelog and bump the version.
- Use the merged branch for `package:convert`.
The code prior to migration had an `assert` in the close to check that
`_value` was non-null before `close()` is called. This check _would_ be
performed by any read of `value`, but there is a very narrow window of
interaction where this is changing with the migration. In the interest
of having the smallest change possible during the migration, add back an
assert.
natebosch and others added 2 commits August 10, 2020 09:51
Co-authored-by: Jacob MacDonald <jakemac@google.com>

Pre-release for the null safety migration of this package.

Note that 2.2.0 may not be the final stable null safety release version, we
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm SO GLAD we're being clear here. Thanks!

CC @jakemac53

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just copy/pasted this from Jake's changelogs. Thanks Jake!

@natebosch natebosch merged commit f7c48b3 into master Aug 10, 2020
@natebosch natebosch deleted the null_safety branch August 10, 2020 17:13
mosuem pushed a commit to dart-lang/core that referenced this pull request Oct 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

4 participants