Latest Posts Archive Presentations Talks About Mastodon Github

Marco Pivetta (Ocramius)

2014-12-12

ProxyManager 1.0.0 release and expected 1.x lifetime

ProxyManager

Today I finally released version 1.0.0 of the ProxyManager

Noticeable improvements since 0.5.2:

  • Windows path length limitations are now mitigated
  • Proxy classes are now re-generated when the library version changes
  • Documentation has been moved to github pages (Markdown documentation will be kept in sync)
  • It is not possible to trigger fatal errors via code-generation anymore

Planned maintenance schedule

ProxyManager 1.x will be a maintenance-release only:

  • I plan to fix bugs until December 11, 2015
  • I plan to fix security issues until December 11, 2016

No features are going to be added to ProxyManager 1.x: the current master branch will instead become the development branch for version 2.0.0.

ProxyManager 2.0.0 targets

ProxyManager 2.0.0 has following main aims:

  • Drop PHP 5.3, 5.4 and HHVM 3.3 limitations, aiming only at next-generation PHP runtimes
  • Lazy Loading ghost objects should be property-based, even for private properties
  • Move documentation to RST, eventually using couscous
  • Complete LSP compliance by avoiding overriding constructors in proxies
  • Compatibility with Doctrine\Common\Proxy\AbstractProxyFactory to improve doctrine proxy logic in next generation data mappers
  • Prototypal inheritance in PHP, which was left un-merged for a long time, and will likely be moved to a different library

Thank you!

It wouldn't be a good 1.0.0 release without thanking all the contributors that helped with the project, by providing patches, bug reports and their useful insights to the project. Here are the most notable ones:

  • blanchonvincent
  • malukenho
  • staabm
  • gws
  • leedavis81
  • lisachenko
  • Pittiplatsch

Tags: php, proxy

  • Next: When to declare classes final
  • Previous: roave/security-advisories: Composer against Security Vulnerabilities