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

Import dart:io directly #77

Merged
merged 2 commits into from
Mar 20, 2018
Merged

Conversation

tvolkert
Copy link
Contributor

No description provided.

@tvolkert tvolkert requested a review from goderbauer March 20, 2018 18:18
@tvolkert
Copy link
Contributor Author

/cc @keertip

`dart:io` to be imported in a browser context, though if methods are actually
invoked, they will fail. This matches well with `package:file`, where users
can use the `memory` library and get in-memory implementations of the
`dart:io` interfaces.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: maybe mention in a extra bullet that the minimum SDK has been bumped to 1.24?

Copy link
Contributor

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

@keertip
Copy link
Contributor

keertip commented Mar 20, 2018

Thanks!

pubspec.yaml Outdated
@@ -1,5 +1,5 @@
name: file
version: 2.3.7
version: 2.4.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like a pretty major breaking change. Maybe start 3.0.0?

Copy link
Contributor Author

@tvolkert tvolkert Mar 20, 2018

Choose a reason for hiding this comment

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

For users past SDK 1.24, it's actually not breaking at all, but I'm happy to bump it to 3.0.0 regardless. Done!

@tvolkert tvolkert merged commit c09a430 into dart-archive:master Mar 20, 2018
@tvolkert tvolkert deleted the use_io_directly branch March 20, 2018 19:18
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants