Releases: phpDocumentor/TypeResolver
1.10.0
1.9.0
What's Changed
- Add support for non-empty-array notation by @jaapio in #206
- Add support for object and list shape types by @jaapio in #207
- Bump phpDocumentor/.github from 0.5.0 to 0.7 by @dependabot in #209
- build on php 8.4 by @jaapio in #210
Full Changelog: 1.8.2...1.9.0
1.8.2
What's Changed
This new patch version reintroduces php 7.3 support to allow users to use php-parser v5 together with this package. There are no breaking changes or other changes people should be aware of.
- Be able to run examples whatever current directory is by @llaville in #201
- Downgrade to php 7.3 by @jaapio in #203
New Contributors
Full Changelog: 1.8.1...1.8.2
1.8.1
1.8.0
What's Changed
This version allows users to get the Item definition of ArrayShape types, and gives you access to the type definition of these item. Using the new ArrayShape::getItems()
method.
- Add getter to ArrayShape by @antoinelame in #194
New Contributors
- @antoinelame made their first contribution in #194
Full Changelog: 1.7.4...1.8.0
1.7.4
What's Changed
This patch ensures this library works with php-parser v5. Due a conflict in the way both libraries were handling the forward compatibility on php 7.4 for language constructs in php 8+. This patch version should not have any impact on the way you are using the library unless you did use the value of the T_NAME_QUALIFIED
and T_NAME_FULLY_QUALIFIED
constants, and you are running php 7.4
- Update parser token constant values to ints instead of strings by @mukuru-shaun in #197
New Contributors
- @mukuru-shaun made their first contribution in #197
Full Changelog: 1.7.3...1.7.4
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