Skip to content

Commit 608d7ad

Browse files
committed
Release v0.99.17
1 parent 860c10d commit 608d7ad

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

CHANGELOG.md

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

13+
## [v0.99.17] - 2024-05-03
14+
15+
### Added
16+
17+
- Add `Process` methods `pipeInput()`, `setCwd()`, `setEnv()`, `setTimeout ()`, `disableOutputCollection()`, `enableOutputCollection()`, `isTerminatedBySignal()`
18+
- Add `Sys::isProcessRunning()`
19+
20+
### Changed
21+
22+
- In `Process` and `Sys::handleExitSignals()`, use exit status `128 + <signal_number>` when processes are terminated by signal
23+
- Review `Process`:
24+
- Update constructor and `withShellCommand()` parameters
25+
- Replace `null` input with an empty stream (`STDIN` must now be passed explicitly via `pipeInput()`)
26+
- Improve robustness and precision of timeout handling and process termination
27+
- In `runWithoutFail()`, throw `ProcessFailedException` when a process returns a non-zero exit status
28+
- Throw `ProcessTerminatedBySignalException` when a process monitored by `wait()` is terminated by a signal that isn't a `SIGTERM` or `SIGKILL` sent after calling `stop()`
29+
- Throw `LogicException` instead of `ProcessException` where appropriate
30+
- Build out `getStats()` metrics
31+
- Create key-value pairs for `CollectionInterface::CALLBACK_USE_BOTH` (`[<key>, <value>]` instead of `[<key> => <value>]`)
32+
- Optionally return key from `CollectionInterface::find()`
33+
- Throw PSR-18 compliant exceptions from `Curler::sendRequest()`
34+
35+
### Removed
36+
37+
- Remove unused `Sys::sqliteHasUpsert()`
38+
39+
### Fixed
40+
41+
- Fix `Process` output collection bugs
42+
1343
## [v0.99.16] - 2024-04-30
1444

1545
### Added
@@ -2428,6 +2458,7 @@ This is the final release of `lkrms/util`. It is moving to [Salient](https://git
24282458

24292459
- Allow `CliOption` value names to contain arbitrary characters
24302460

2461+
[v0.99.17]: https://github.com/salient-labs/toolkit/compare/v0.99.16...v0.99.17
24312462
[v0.99.16]: https://github.com/salient-labs/toolkit/compare/v0.99.15...v0.99.16
24322463
[v0.99.15]: https://github.com/salient-labs/toolkit/compare/v0.99.14...v0.99.15
24332464
[v0.99.14]: https://github.com/salient-labs/toolkit/compare/v0.99.13...v0.99.14

0 commit comments

Comments
 (0)