packagist symfony/dependency-injection v8.2.0-BETA1

3 hours ago

Changelog (v8.1.11...v8.2.0-BETA1)

  • minor #67838 Require v3.8.1 of the contracts (@nicolas-grekas)
  • minor #67828 Generate config/reference.php and config/schema.json in apps without FrameworkBundle (@dtokos)
  • bug #67558 Merge configs forwarded by extension aliases in load order (@nicolas-grekas)
  • bug #67549 Make the resource of resource_metadata work across environments (@nicolas-grekas)
  • minor #67454 Tell why a lazy closure cannot be created (@nicolas-grekas)
  • minor #67327 Rely on stable sorting for the initial priority order (@andreybolonin)
  • minor #67302 Make autowired callables lazy by default (@nicolas-grekas)
  • minor #67253 Break the reference cycles of the event dispatcher and the serializers when the kernel shuts down (@nicolas-grekas)
  • minor #67244 Improve the descriptions of the types and attributes registered for autoconfiguration (@nicolas-grekas)
  • minor #67199 Speed up collecting service conditionals (@andreybolonin)
  • minor #67160 Collect garbage cycles in KernelTestCase and KernelBrowser only when needed (@nicolas-grekas)
  • minor #67155 Reduce the per-service overhead of ServicesResetter (@nicolas-grekas)
  • minor #67176 Resolve undefined env vars that have a default without throwing an exception (@nicolas-grekas)
  • minor #67047 Add shutdown-only callbacks to kernel.reset (@nicolas-grekas)
  • feature #67018 Pass a shutdown flag to service reset methods (@nicolas-grekas)
  • minor #67005 Reset the container when the kernel shuts down (@nicolas-grekas)
  • minor #66717 Log the env vars resolved while the container is compiled (@nicolas-grekas)
  • feature #66667 Let a service declare one of its methods as a service (@HypeMC)
  • feature #66630 Add ConstantFunctionProvider and deprecate the unrestricted constant() and enum() (@nicolas-grekas)
  • minor #66642 Rename NodeDefinition::inlineEnvVars() to resolvesAtCompileTime() (@nicolas-grekas)
  • bug #66585 Fix enum nodes and validation rules that inline env vars (@nicolas-grekas)
  • feature #66240 Add within and around constraints to order decorators (@nicolas-grekas)
  • feature #66033 Add NodeDefinition::inlineEnvVars() to inline env vars while the container is compiled (@nicolas-grekas)
  • bug #66571 Move PriorityTaggedServiceUtil to its own file so that it can be autoloaded (@nicolas-grekas)
  • minor #66566 Improve the hints shown by debug:autowiring (@nicolas-grekas)
  • minor #66379 Skip encoding plain ASCII values in XmlDumper (@nicolas-grekas)
  • minor #66335 Skip redundant filesystem checks when looking for vendor paths (@nicolas-grekas)
  • minor #66337 Replace env placeholders in one pass in ContainerBuilder::resolveEnvPlaceholders() (@nicolas-grekas)
  • bug #66320 Detect changes made in the same second as a cache was built (@nicolas-grekas)
  • minor #66307 Preload EnvNotFoundException (@nicolas-grekas)
  • minor #66295 Write the container directory with one rename instead of one per file (@nicolas-grekas)
  • bug #66285 Ignore env vars of overridden values forwarded by extension aliases (@nicolas-grekas)
  • bug #66248 Accept non-array extension values in the AppReference shape (@nicolas-grekas)
  • feature #66012 Order tagged services and listeners with before/after constraints (@nicolas-grekas)
  • minor #66130 Dump the compiler log in all environments (@nicolas-grekas)
  • feature #66133 Add ListenerIntrospectionInterface (@nicolas-grekas)
  • feature #66131 Deprecate the EventDispatcherInterface autowiring alias (@nicolas-grekas)
  • feature #66122 Add CompiledEventDispatcher (@nicolas-grekas)
  • feature #66021 Pass top-level extension values that are not arrays to the extension (@nicolas-grekas)
  • feature #65981 Add the "container.remove_if_missing" tag (@nicolas-grekas)
  • minor #65945 Name the package to install for a missing component extension (@nicolas-grekas)
  • feature #65884 Allow a configuration node to alias the configuration of another extension (@nicolas-grekas)
  • minor #65925 Instantiate on demand the bundles that have nothing to do at boot time (@nicolas-grekas)
  • feature #65368 Support union and intersection types as controller and command arguments (@HypeMC)
  • feature #65370 Add # to inject a class map built from resource tags (@HypeMC)
  • bug #65443 Skip interfaces when computing lazy tag attributes (@nicolas-grekas)
  • feature #65434 Allow computing resource tag attributes per tagged class (@HypeMC, @nicolas-grekas)
  • minor #65361 Show lazy proxies as such in dumped arguments (@HypeMC)
  • feature #65350 Allow ignoring classes when preloading (@eissasoubhi)
  • minor #65299 Speed up ResolveInstanceofConditionalsPass (@javiereguiluz)
  • feature #60589 add factory argument in the # attribute and also enabled the use of factory within instanceof conditionals (@santysisi)
  • feature #64704 Write a CACHEDIR.TAG file in the cache and build directories (@shyim)
  • minor #65159 Sort service definitions only once in PhpDumper (@javiereguiluz)
  • feature #65103 Allow injecting a service as a lazy proxy on a per-argument basis (@HypeMC)
  • feature #64980 Add a $priority argument to the # attribute (@Amoifr)
  • feature #64652 Allow computing # attributes per tagged service (@nicolas-grekas)
  • minor #64361 Remove unused variables from ContainerTest.php file (@oliverquynh)

Don't miss a new dependency-injection release

NewReleases is sending notifications on new releases.