Repository navigation
1.0.0
This release is, in most cases, backward compatible with v0.3.x if this library was only used for async file access.
Uses of Amp\File\Handle should be replaced with Amp\File\File, as Amp\File\Handle will be removed in a future major release.
Please review the changes below to determine if further changes are needed for your code.
Handlehas been deprecated in favor ofFile, which extendsHandlefor backward compatibility. Uses ofHandleshould be updated toFile. Thus, the promise returned fromDriver::open()should resolve with an instance ofFile.BlockingHandle,EioHandle,ParallelHandle, andUvHandlehave been renamed respectively toBlockingFile,EioFile,ParallelFile, andUvFile.- All classes, except
FilesystemException, are now declaredfinal. Amp\File\driver()has been renamed toAmp\File\createDefaultDriver().Fileadds atruncate()method to resize the file to a given length.