Files
code-bang/backend/vendor/symfony/var-exporter/CHANGELOG.md
T
2026-09-22 16:43:47 +08:00

1.4 KiB

CHANGELOG

8.1

  • Add DeepCloner to deep-clone PHP values while preserving copy-on-write benefits
  • Deprecate Hydrator and Instantiator classes, use deepclone_hydrate() from the deepclone extension instead

8.0

  • Restrict ProxyHelper::generateLazyProxy() to generating abstraction-based lazy decorators; use native lazy proxies otherwise
  • Remove LazyGhostTrait and LazyProxyTrait, use native lazy objects instead
  • Remove ProxyHelper::generateLazyGhost(), use native lazy objects instead

7.4

  • Add support for exporting named closures

7.3

  • Deprecate using ProxyHelper::generateLazyProxy() when native lazy proxies can be used - the method should be used to generate abstraction-based lazy decorators only
  • Deprecate LazyGhostTrait and LazyProxyTrait, use native lazy objects instead
  • Deprecate ProxyHelper::generateLazyGhost(), use native lazy objects instead

7.2

  • Allow reinitializing lazy objects with a new initializer

6.4

  • Deprecate per-property lazy-initializers

6.2

  • Add support for lazy ghost objects and virtual proxies
  • Add Hydrator::hydrate()
  • Preserve PHP references also when using Hydrator::hydrate() or Instantiator::instantiate()
  • Add support for hydrating from native (array) casts

5.1.0

  • added argument array &$foundClasses to VarExporter::export() to ease with preloading exported values

4.2.0

  • added the component