Skip to content

Commit abbd3f0

Browse files
committed
Release v0.99.13
1 parent 48c4d3b commit abbd3f0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,38 @@ The format is based on [Keep a Changelog][], and this project adheres to
1212
[Keep a Changelog]: https://keepachangelog.com/en/1.1.0/
1313
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
1414

15+
## [v0.99.13] - 2024-03-19
16+
17+
### Added
18+
19+
- Add `File` methods:
20+
- `maybeRewind()`
21+
- `maybeSeek()`
22+
- `truncate()`
23+
- `getSeekable()`
24+
- Add `Str::trimNativeEol()`
25+
26+
### Changed
27+
28+
- Add PHPStan return type extensions for `Str::coalesce()` and `Get::coalesce()`, and allow them to be called with no arguments
29+
- Add optional `$offset` parameter to `File::getContents()`
30+
- Optionally truncate target streams in `File::copy()`
31+
- Move methods from `Salient\Contract` to other namespaces (coverable code does not belong in contract namespaces)
32+
- In `Process`:
33+
- Allow a process to run more than once
34+
- Allow process output to be passed to a callback as it is received
35+
- Add `Process::setInput()`, `Process::setCallback()`
36+
- Split `Process::run()` into `run()`, `start()` and `wait()`
37+
- Trim trailing native EOL sequences by default
38+
39+
### Removed
40+
41+
- Remove unused `Assert` class and related classes
42+
43+
### Security
44+
45+
- Fix `File::createDir()` and `File::createTempDir()` issues where permissions are not applied on Windows
46+
1547
## [v0.99.12] - 2024-03-13
1648

1749
### Added
@@ -2179,6 +2211,7 @@ This is the final release of `lkrms/util`. It is moving to [Salient](https://git
21792211

21802212
- Allow `CliOption` value names to contain arbitrary characters
21812213

2214+
[v0.99.13]: https://github.com/salient-labs/toolkit/compare/v0.99.12...v0.99.13
21822215
[v0.99.12]: https://github.com/salient-labs/toolkit/compare/v0.99.11...v0.99.12
21832216
[v0.99.11]: https://github.com/salient-labs/toolkit/compare/v0.99.10...v0.99.11
21842217
[v0.99.10]: https://github.com/salient-labs/toolkit/compare/v0.99.9...v0.99.10

0 commit comments

Comments
 (0)