Skip to content

Releases: phpDocumentor/TypeResolver

1.6.0

04 Jan 20:02
93ebd00
Compare
Choose a tag to compare

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-install by @jrfnl in #144

Removed

  • Nothing

Security

  • Nothing

New Contributors

Full Changelog: 1.5.1...1.6.0

1.5.1

02 Oct 14:18
a12f7e3
Compare
Choose a tag to compare

Added

  • add support for literal-string, thanks to @voku
  • fix "PseudoType" for ArrayKey, thanks to @voku

Deprecated

  • Nothing

Fixed

  • fix "RuntimeException" for "array-key" and for "class-string", thanks to @voku

Removed

  • Nothing

Security

  • Nothing

1.5.0

17 Sep 16:06
30f38bf
Compare
Choose a tag to compare

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

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

17 Sep 19:01
6a467b8
Compare
Choose a tag to compare

Added

Deprecated

  • phpDocumentor\Reflection\Types\False_ is replaced by \phpDocumentor\Reflection\PseudoTypes\False_ will be removed in v2
  • phpDocumentor\Reflection\Types\True_ is replaced by \phpDocumentor\Reflection\PseudoTypes\True_ will be removed in v2

Fixed

Removed

  • Nothing

Security

  • Nothing

1.3.0

27 Jun 10:14
e878a14
Compare
Choose a tag to compare

Added

Deprecated

  • Nothing

Fixed

  • Nothing

Removed

  • Nothing

Security

  • Nothing

1.2.0

19 Jun 20:25
30441f2
Compare
Choose a tag to compare

Added

  • Add support for True and False pseudo-types #14, thanks to @jaapio

Deprecated

  • Nothing

Fixed

  • Nothing

Removed

  • Nothing

Security

  • Nothing

1.1.0

28 Feb 12:18
7462d5f
Compare
Choose a tag to compare

Added

  • Add collection syntax support for iterable, #80 thanks to @julienfalque
  • Added support for class-string and class-string types, #90 thanks to @othercorey
  • Deduplicate double entries in a compound thanks to @mvriel
  • Type coverage improvements, thanks to @orklah
  • BC check in ci, thanks to @jaapio

Deprecated

  • Nothing

Fixed

  • Infinite loop could occur when no closing use token found, thanks to @mvriel

Removed

  • Nothing

Security

  • Nothing

1.0.1

22 Aug 18:17
Compare
Choose a tag to compare

This version contains a fixed regression regarding namespace alias interpretation.

Added

  • Nothing

Deprecated

  • Nothing

Fixed

  • Fixed #76 ContextFactory incorrect namespace aliases, thanks to @piku235

Removed

  • Nothing

Security

  • Nothing

0.7.2 - regression fix release

22 Aug 18:16
Compare
Choose a tag to compare
Pre-release

This version contains a fixed regression regarding namespace alias interpretation.

Added

  • Nothing

Deprecated

  • Nothing

Fixed

  • Fixed #76 ContextFactory incorrect namespace aliases, thanks to @piku235

Removed

  • Nothing

Security

  • Nothing

V1.0.0

08 Jul 19:41
Compare
Choose a tag to compare

This release doesn't contain any new features since the previous release. All methods do have the correct typehints and return types now. The codebase is fully checked with phpstan and psaml.

Added

  • QA pipeline

Deprecated

  • Nothing

Fixed

  • Nothing

Removed

  • Nothing

Security

  • Nothing