@@ -10,6 +10,89 @@ 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.25] - 2024-06-11
14+
15+ ### Added
16+
17+ #### ` Console `
18+
19+ - Add ` ConsoleWriterInterface ` and adopt where appropriate
20+ - Add a spinner to ` Console::logProgress() ` output
21+ - Add ` ConsoleLogger ` to finalise PSR-3 support
22+ - Add ` Console::getLogger() `
23+
24+ ### Changed
25+
26+ #### ` Console `
27+
28+ - ** Update message decorations and formatting**
29+ - Optionally suppress error count and associated formatting in ` Console::summary() `
30+ - Update ` Console::group() ` API
31+ - Rename ` CONSOLE_TARGET ` environment variable to ` console_target `
32+ - Rename ` Console ` methods for consistency:
33+ - ` getErrors() ` -> ` getErrorCount() `
34+ - ` getWarnings() ` -> ` getWarningCount() `
35+ - ` maybeClearLine() ` -> ` clearProgress() `
36+ - ` out() ` -> ` printOut() `
37+ - ` tty() ` -> ` printTty() `
38+ - ` stdout() ` -> ` printStdout() `
39+ - ` stderr() ` -> ` printStderr() `
40+ - Optionally filter targets by level and type in ` Console::getTargets() `
41+ - Always replace existing ` STDOUT ` /` STDERR ` targets
42+
43+ #### ` Core `
44+
45+ - ** Move ` Salient\Core\Utility ` namespace to ` Salient\Utility ` **
46+ - ** Move ` Regex ` values to ` Pcre ` and rename ` Pcre ` to ` Regex ` **
47+ - Move ` CopyFlag ` values to ` Get ` and rename for clarity as needed
48+ - Move ` EnvFlag ` values to ` Env ` and rename for clarity as needed
49+ - Rename ` Env ` methods:
50+ - ` load() ` -> ` loadFiles() `
51+ - ` environment() ` -> ` getEnvironment() `
52+ - ` home() ` -> ` getHomeDir() `
53+ - ` dryRun() ` -> ` getDryRun() ` and ` setDryRun() `
54+ - ` debug() ` -> ` getDebug() ` and ` setDebug() `
55+ - ` flag() ` -> ` getFlag() ` and ` setFlag() `
56+ - Do not print console messages from ` Env `
57+ - Move ` AbstractUtility ` and ` PackageDataReceivedEvent ` to ` Utility ` namespace
58+ - Move exceptions to ` Utility ` namespace and refactor as needed
59+
60+ ### Removed
61+
62+ #### ` Console `
63+
64+ - Remove unused/internal ` Console ` methods:
65+ - ` deregisterAllTargets() `
66+ - ` maybeRegisterStdioTargets() `
67+ - ` registerLogTarget() `
68+ - Remove ` $replace ` parameters from ` Console ` methods
69+
70+ #### ` Core `
71+
72+ - Remove ` Env::getClass() `
73+ - Remove ` Env::isLocaleUtf8() `
74+ - Remove ` JsonEncodeFlag ` and ` JsonDecodeFlag ` after replacing references to them with equivalent ` JSON_* ` values
75+ - Remove exceptions with the same name as their native parent:
76+ - ` BadMethodCallException `
77+ - ` InvalidArgumentException `
78+ - ` LogicException `
79+ - ` OutOfRangeException `
80+ - ` RuntimeException `
81+ - ` UnexpectedValueException `
82+
83+ ### Fixed
84+
85+ #### ` Core `
86+
87+ - Fix ` DateParser::parse() ` issue where empty strings are interpreted as ` 'now' `
88+ - Fix ` DateParser::parse() ` issue where ` $timezone ` is not applied after parsing
89+ - Fix incorrect example in ` Env ` documentation
90+ - In ` Format::value() ` , fall back to ` Get::type() ` if encoding fails
91+
92+ #### ` sli `
93+
94+ - In ` generate ` commands, detect (some) constants to fix issue where ` JSON_* ` constants in PHPDoc types are treated as class names
95+
1396## [ v0.99.24] - 2024-06-05
1497
1598### Added
@@ -2748,6 +2831,7 @@ This is the final release of `lkrms/util`. It is moving to [Salient](https://git
27482831
27492832- Allow `CliOption` value names to contain arbitrary characters
27502833
2834+ [v0.99.25]: https://github.com/salient-labs/toolkit/compare/v0.99.24...v0.99.25
27512835[v0.99.24]: https://github.com/salient-labs/toolkit/compare/v0.99.23...v0.99.24
27522836[v0.99.23]: https://github.com/salient-labs/toolkit/compare/v0.99.22...v0.99.23
27532837[v0.99.22]: https://github.com/salient-labs/toolkit/compare/v0.99.21...v0.99.22
0 commit comments