Skip to content

3.0.0

Compare
Choose a tag to compare
@kelunik kelunik released this 02 Mar 22:41
· 25 commits to 3.x since this release
v3.0.0
1c9f0eb

Stable release compatible with AMPHP v3 and fibers! 🎉

As with other libraries compatible with AMPHP v3, most cases of parameters or returns of Promise<ResolutionType> have been replaced with ResolutionType.

  • Renamed BlockingDriver to BlockingFilesystemDriver
  • Renamed EioDriver to EioFilesystemDriver
  • Renamed ParallelDriver to ParallelFilesystemDriver
  • Renamed StatusCachingDriver to StatusCachingFilesystemDriver
  • Renamed UvDriver to UvFilesystemDriver
  • Renamed Amp\File\Sync\AsyncFileMutex to Amp\File\FileMutex
  • Added ?Cancellation as first parameter of File::read()
  • Added File::isSeekable()
  • Removed File::SEEK_SET, File::SEEK_CUR, and File::SEEK_END
  • Added Amp\File\Whence for seeking instead