Releases: phpDocumentor/TypeResolver
Releases · phpDocumentor/TypeResolver
1.7.3
1.7.2
1.7.1
1.7.0
What's Changed
This version of the type resolver contains an internal rewrite of the type parser using phpstan/php-doc-parser. This enables a number of features regarding more advanced type resolving. The interface of the library has not been changed. This version should be fully backward compatible.
Please report any regressions when you encounter issues.
Added
- Add non-empty-list pseudo-type by @schodemeiss in #183
- Add callable parameters and return type support by @jaapio
- Add array shape support by @jaapio
Deprecated
- Support for nullable type definitions in compound types see: #184
Fixed
- Update .gitattributes by @williamdes in #177
Removed
- Nothing
Security
- Nothing
New Contributors
- @williamdes made their first contribution in #177
- @schodemeiss made their first contribution in #183
Full Changelog: 1.6.2...1.7.0
1.6.2
Added
- Upgrade to standardized phpdoc ci by @jaapio in #170
- Upgrade code to php 7.4 level by @jaapio in #171
- Build on php 8.2 by @jaapio in #172
Fixed
- Fix parsing nullable collections by @hemberger in #168
- Update inaccurate docblock in AbstractList by @Prusias in #174
New Contributors
- @hemberger made their first contribution in #168
- @Prusias made their first contribution in #174
Full Changelog: 1.6.1...1.6.2
1.6.1
1.6.0
Added
- Add list pseudo-type by @enumag in #136
- add support for "int<min,max>", "negative-int" and "numeric" by @voku in #139
Deprecated
- Nothing
Fixed
- Throw exception on invalid array start by @jaapio in #147
- GH Actions: version update for
ramsey/composer-installby @jrfnl in #144
Removed
- Nothing
Security
- Nothing
New Contributors
Full Changelog: 1.5.1...1.6.0
1.5.1
1.5.0
This version contains various fixes, and adds support for php 8.1 including the new never return type.
See the changelog below for details about this release.
Added
- support psalm scalar types #112, thanks to @smoench
- support for
neverreturn type #130 thanks to @jaapio
Deprecated
- Nothing
Fixed
- Update .gitattributes #115, thanks to @KasperFranz
- Do not include composer.lock in distribution #118 @kubawerlos
- Allow manual trigger of github actions #120, thanks to @jrfnl
- fix array-offset via "isset"-call #104, thanks to @voku
- GH Actions: simplify Composer caching #121, thanks to @jrfnl
- Tests/ArrayKeyTest: fix incorrect @uses tag #122 thanks to @jrfnl
- GH Actions: actually run the tests on PHP 8.0 + 8.1 #123 thanks to @jrfnl
- CS update after upstream changes #124, thanks to @jrfnl
- GH Actions: don't allow builds against PHP 8.1 to fail #125 @jrfnl
Removed
- Nothing
Security
- Nothing
1.4.0
Added
Deprecated
phpDocumentor\Reflection\Types\False_is replaced by\phpDocumentor\Reflection\PseudoTypes\False_will be removed in v2phpDocumentor\Reflection\Types\True_is replaced by\phpDocumentor\Reflection\PseudoTypes\True_will be removed in v2
Fixed
Removed
- Nothing
Security
- Nothing