Repository navigation
Foundation 2.0 adds configurable logging, request shutdown tasks and PHP template rendering, with shared configuration and explicit container contracts.
New packages
foundation-shutdown: run application-owned shutdown tasks once, in priority order, while allowing remaining tasks to finish when one fails.foundation-view: render trusted PHP templates within configured directories and preserve output buffers when rendering fails.
Updated packages
foundation-container: create containers with a read-only configuration snapshot, use Foundation resolver and exception contracts, and register providers in dependency order. DI52 remains the default implementation.foundation-log: use one PSR-3 logger per container with Monolog 2 or 3, custom channels and handler stacks. Application minimum levels preserve stricter destination thresholds.foundation-pipeline: configure execution through Foundation's resolver and a small execution contract. Calling execution beforesend()reportsPipelineNotStarted; explicitly suppliednullremains valid.foundation-cli: use the updated container contracts and scaffold split repositories without pull-request-closing workflows.
Upgrading
This major release changes the Container and Pipeline contracts. Upgrade the Foundation dependencies used by an application together to ^2.0. Follow the 2.0 upgrade guide for provider constructors, configuration assembly, factory callbacks and Pipeline migration.
See the release PR for package details.