Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#### 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class RecordingRandomAccessFile extends Object
RandomAccessFile _wrap(RandomAccessFile raw) =>
raw == delegate ? this : new RecordingRandomAccessFile(fileSystem, raw);

Future<RandomAccessFile> _close() => delegate.close().then(_wrap);
Future<void> _close() => delegate.close();

Future<RandomAccessFile> _writeByte(int value) =>
delegate.writeByte(value).then(_wrap);
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: file
version: 3.0.0
version: 4.0.0
authors:
- Matan Lurey <matanl@google.com>
- Yegor Jbanov <yjbanov@google.com>
Expand All @@ -16,4 +16,4 @@ dev_dependencies:
test: ^0.12.18

environment:
sdk: '>=1.24.0 <2.0.0'
sdk: '>=2.0.0-dev.28.0 <2.0.0'