Skip to content

Commit 7b208bf

Browse files
committed
Release v0.99.61
1 parent 41733a7 commit 7b208bf

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,57 @@ 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.61] - 2024-11-02
14+
15+
### Added
16+
17+
#### `PHPDoc`
18+
19+
- Add support for `@property` tags and their `-read`/`-write` variants
20+
- Add and adopt `PHPDoc` factory methods: `forClass()`, `forMethod()`, `forProperty()`, `forConstant()`
21+
22+
#### `Sli`
23+
24+
- Add PHPDoc descriptions and "magic" properties and methods to `AnalyseClass` output
25+
26+
### Changed
27+
28+
#### `Console`
29+
30+
- Simplify `ConsoleWriter::exception()` output
31+
32+
#### `PHPDoc`
33+
34+
- **Add an `ErrorTag` to the `PHPDoc` instead of throwing an exception when an invalid tag is encountered**
35+
- Close unterminated code fences instead of throwing an exception
36+
- Expand aliases (optionally passed to `PHPDoc::__construct()`) when parsing DocBlocks
37+
- In `PHPDoc::normalise()`, if the PHPDoc has one `@var` tag with the same name as the property the instance is associated with, remove the name from the tag
38+
- Allow `@method`, `@property*` and `@mixin` tags to be inherited from interfaces and traits by classes
39+
- Don't return one-line DocBlocks from `PHPDoc::__toString()`
40+
- Don't inherit specialised `@template` tags
41+
- Rename `PHPDocUtil::getParameterPHPDoc()` to `getParameterTag()`
42+
- Handle `@template` variance via boolean values instead of a string
43+
- Improve consistency of tag constructors
44+
45+
#### `PHPStan`
46+
47+
- Add property visibility check to `HasMutator` rule
48+
49+
#### `Sli`
50+
51+
In `AnalyseClass`:
52+
53+
- Catch and report PHPDoc errors
54+
- Suppress inherited summaries and descriptions
55+
- Improve Markdown output
56+
- Propagate imports to `PHPDoc` for type expansion
57+
58+
### Fixed
59+
60+
#### `PHPDoc`
61+
62+
- Fix regression where DocBlocks with default values in `@method` parameters trigger an exception
63+
1364
## [v0.99.60] - 2024-10-30
1465

1566
### Added
@@ -4044,6 +4095,7 @@ This is the final release of `lkrms/util`. It is moving to [Salient](https://git
40444095

40454096
- Allow `CliOption` value names to contain arbitrary characters
40464097

4098+
[v0.99.61]: https://github.com/salient-labs/toolkit/compare/v0.99.60...v0.99.61
40474099
[v0.99.60]: https://github.com/salient-labs/toolkit/compare/v0.99.59...v0.99.60
40484100
[v0.99.59]: https://github.com/salient-labs/toolkit/compare/v0.99.58...v0.99.59
40494101
[v0.99.58]: https://github.com/salient-labs/toolkit/compare/v0.99.57...v0.99.58

0 commit comments

Comments
 (0)