Releases: dart-archive/file.dart
Releases · dart-archive/file.dart
4.0.0
- Change method signature for
RecordingRandomAccessFile._close
to return a
Future<void>
instead of Future<RandomAccessFile>
. This follows a change in
dart:io, Dart SDK 2.0.0-dev.40
.
3.0.0
- Import
dart:io
unconditionally. More recent Dart SDK revisions allow
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.
- Bump minimum Dart SDK to
1.24.0
2.3.5
- Fix internal use of a cast which fails on Dart 2.0 .
2.3.4
- Bumped maximum Dart SDK version to 2.0.0-dev.infinity
2.3.3
- Relaxes version requirements on
package:intl
2.3.2
- Fixed
FileSystem.directory(Uri)
, FileSystem.file(Uri)
, and
FileSystem.link(Uri)
to consult the file system's path context when
converting the URI to a file path rather than using Uri.toFilePath()
.
2.3.1
- Fixed
MemoryFileSystem
to make File.writeAs...()
update the last modified
time of the file.
2.3.0
- Added the following convenience methods in
Directory
:
Directory.childDirectory(String basename)
Directory.childFile(String basename)
Directory.childLink(String basename)
2.2.0
- Added
ErrorCodes
class, which holds errno values.