NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #797 most downloaded on Packagist
Tool to write files safely, to avoid race conditions
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
7 releases · first in 2019
Added Nothing. Changed #50 changes suppressing warnings in FileWriter::writeFile method. Custom error handler is used instead of @ , so it is not poss
Added #7 adds support for PHP 8.0. Changed Nothing. Deprecated Nothing. Removed Nothing. Fixed Nothing.
One column per quarter.
Added Nothing. Changed Nothing. Deprecated Nothing. Removed Nothing. Fixed #6 fixes issue when target directory is not writeable - throws exception ea
Added #5 adds \Throwable extension for package-specific exception marker Webimpress\SafeWriter\Exception\ExceptionInterface . Changed #5 changes all e
\Throwable extension for package-specific exception marker Webimpress\SafeWriter\Exception\ExceptionInterface.#5 changes all exception classes to be non-instantiable and all theirs public method to be internal.
Library exceptions can only be caught in the user code, cannot be thrown.
#5 changes all method declarations to have type hints and return types.
Added Nothing. Changed Nothing. Deprecated Nothing. Removed Nothing. Fixed #6 fixes issue when target directory is not writeable - throws exception ea
Added Nothing. Changed Nothing. Deprecated Nothing. Removed Nothing. Fixed #4 fixes exception message when temporary file cannot be created.
Adds function to safely writing files to avoid race conditions when the same file is written multiple times in a short time period, and errors on read
Adds function to safely writing files to avoid race conditions when
the same file is written multiple times in a short time period,
and errors on reading not fully written files. Example usage:
use Webimpress\SafeWriter\FileWriter;
$targetFile = __DIR__ . '/config-cache.php';
$content = "<?php\nreturn " . var_export($data, true) . ';';
FileWriter::writeFile($targetFile, $content, 0666);Your coding agent can read these notes before it upgrades. Set up the MCP server →