Releases: alexandre-daubois/lazy-stream
Releases · alexandre-daubois/lazy-stream
v1.6.1
What's Changed
- Fix deprecation triggered by
MultiLazyStreamWriter
by @alexandre-daubois in #7
Full Changelog: v1.6.0...v1.6.1
v1.6.0
What's Changed
- Add LazyStreamChunkWriter by @alexandre-daubois in #6
Full Changelog: v1.5.1...v1.6.0
v1.5.1
Full Changelog: 1.5.0...v1.5.1
LazyStream v1.5.0
Bump deps to PHP 8.1 and PHPUnit 10.3
LazyStream v1.4.0
Introducing MultiLazyStreamWriter
. Here is a usage example:
use LazyStream\MultiLazyStreamWriter;
class BackupProvider
{
public function provideData(): \Generator
{
// Yield backup data
}
}
// Write your backups in many locations at once
$stream = new MultiLazyStreamWriter([
'https://user:[email protected]/backup.json',
'gs://backup_path/backup.json',
's3://backup_path/backup.json',
],
(new BackupProvider())->provideData()
);
$stream->trigger();
LazyStream v1.3.1
Improve documentation
LazyStream v1.3
Add LazyStreamReader to read streams with auto-closing capabilities
LazyStream v1.2
[LazyStreamWriter] Add metadata fetching with `LazyStreamWriter::getM…
LazyStream v1.1
- Add open mode
- Add auto close
- Add exceptions
Initial release
v1.0 [LazyStreamWriter] Update README.md