Skip to content

Releases: Ocramius/ProxyManager

2.9.1

26 Aug 16:27
2.9.1
7452942
Compare
Choose a tag to compare

Release 2.9.1

2.9.1

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

enhancement

bug

2.9.0

13 Jul 20:20
2.9.0
9475248
Compare
Choose a tag to compare

Hourly build

This release upgrades ocramius/proxy-manager to use composer-runtime-api:^2: this
means that you will need composer:^2 to install this version of ProxyManager.

In order to upgrade to composer v2, you can run composer self-update --2 on your
development or CI/CD system.

In addition to that, few notable improvements:

  • the ocramius/package-versions dependency has been replaced by composer-runtime-api
  • testing and static analysis have been noticeably improved, making it easier for others
    to contribute to the project.

Total issues resolved: 9

2.8.1

13 Jul 19:26
2.8.1
Compare
Choose a tag to compare

This release removes compatibility with ocramius/package-versions:^1.10.0, which
will be restored in ocramius/proxy-manager:^2.9.0 and newer.

Due to a change in ocramius/package-versions internals, and my own mistake in
not detecting that PackageVersions\Versions::VERSIONS was marked as @internal
(note: annotations on constants are not really picked up by reflection, and therefore
not by static analysis tools either), we had a pretty abrupt crash when upgrading
to ocramius/package-versions:1.10.0.

In practice, PackageVersions\Versions::VERSIONS is hashed in order to prefix the
name of generated proxy classes, therefore ensuring that no proxy classes would
be re-used when underlying dependency versions change: while this design worked really
well, it relied on accessing the PackageVersions\Versions::VERSIONS constant, which
was never part of the ocramius/package-versions API, and which was removed in an
internal refactoring of ocramius/package-versions:1.10.0.

This change is only in place to prevent installation of ocramius/package-versions:1.10.0,
while a subsequent patch will be made to phase out said package, to be replaced with
direct usage of composer-runtime-api:^2, which comes with composer 2.x.

Total issues resolved: 2

2.8.0

13 Apr 14:54
2.8.0
ac1dd41
Compare
Choose a tag to compare

Build Status

This release fixes compatibility with PHP 7.4.1 and newer, since
PHP introduced a major backwards compatibility break in a patch
release, rendering lazy-loading of typed properties completely
non-functioning (see bug 79373 "uninitialized typed property cannot accessed in __get magic method").

Types for closures in proxy factories have also been improved, and
some purity type markers were added to some library internals.

Total issues resolved: 16

2.7.1

13 Apr 14:54
2.7.1
22eadab
Compare
Choose a tag to compare

This release REMOVES support for PHP 7.4.1 and newer, since
PHP introduced a major backwards compatibility break in a patch
release, rendering lazy-loading of typed properties completely
non-functioning (see bug 79373 "uninitialized typed property cannot accessed in __get magic method").

Please upgrade to 2.8.x ASAP: this release is only here to raise
awareness of the issue in the 2.7.x series, and to make auto-update
tooling notice it.

While ocramius/proxy-manager 2.7.1 is compatible with PHP 7.4.0,
PHP 7.4.1 or newer will require ocramius/proxy-manager 2.8.0 or
newer to operate correctly.

Total issues resolved: 1

2.7.0

08 Feb 19:25
2.7.0
Compare
Choose a tag to compare

Build Status

This release upgrades dependencies and provides better type inference for proxy factories.

Total issues resolved: 2

2.6.1

27 Jan 10:04
2.6.1
dec37bf
Compare
Choose a tag to compare

Build Status

This release fixes immutability static analysis for internal ProxyManager symbols, which
was incorrect due to being performed with an older psalm version.

Support for stream wrappers in combination with the FileLocator also has been corrected,
since stream wrappers are inherently incompatible with realpath() from php-src.

Total issues resolved: 3

2.6.0

07 Jan 08:19
2.6.0
406ca12
Compare
Choose a tag to compare

This release:

  • migrates the project from zendframework/zend-code to laminas/laminas-code
  • integrates with webimpress/safe-writer to better handle atomic proxy file
    write operations, effectively deferring any race conditions to a third-party
    package designed just for that.
  • improves type declarations by marking some of ProxyManager's
    safe internals as @psalm-immutable, integrates the new
  • uses stricter tested dependency sets, reducing the range of
    possible bugs coming from too wide dependency permutations

Total issues resolved: 40

2.5.2

07 Jan 07:51
2.5.2
fea82fb
Compare
Choose a tag to compare

This release fixes a bug in handling default arguments of remote object proxies, which
were not being passed to the remote call adapter.

Total issues resolved: 2

2.5.1

17 Dec 09:25
2.5.1
Compare
Choose a tag to compare