Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
where applicable.

## 1.0.6 — 2026-10-09

- Require maintained Symfony Routing and YAML 8.1 or newer, excluding the vulnerable 8.0 releases covered by the May 2026 advisories.
- Require Symfony DependencyInjection 8.1.8 or newer to preserve reused environment placeholders during extension configuration and container dumping.

## 1.0.5 — 2026-10-05

- Reconstruct complete configuration for lint/debug commands when the kernel reuses a compiled container. Avoid compiling a partial warm facade that lacks Twig services; retain the running runtime container.
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"symfony/cache-contracts": "^3.6",
"symfony/config": "^8.1",
"symfony/console": "^8.1",
"symfony/dependency-injection": "^8.1",
"symfony/dependency-injection": "^8.1.8",
"symfony/error-handler": "^8.1",
"symfony/expression-language": "^8.0",
"symfony/filesystem": "^8.0",
"symfony/framework-bundle": "^8.1",
"symfony/http-kernel": "^8.1",
"symfony/routing": "^8.0",
"symfony/routing": "^8.1",
"symfony/service-contracts": "^3.6",
"symfony/yaml": "^8.0",
"symfony/yaml": "^8.1",
"sympress/kernel": "^1.1.1"
},
"require-dev": {
Expand Down
26 changes: 26 additions & 0 deletions docs/upstream-debug-dump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Native debug-container dumps

`SymPressFrameworkBundle::build()` already calls the native Symfony
`FrameworkBundle::build()`. This registers Symfony's
`ContainerBuilderDebugDumpPass`, so the Symfony 8.2 optimization is inherited when
a stable 8.2 version is installed through the existing `^8.1` dependency ranges.
The upstream change is in that compiler pass, not in `PhpDumper`. No additional
SymPress cloning or dumping implementation is needed.

The existing package tests exercise native framework service construction and
fresh debug-container reconstruction, including an optimized snapshot. The
native 8.2 dump pass has also been checked with synthetic environment parameters
and a shared service definition: it produces usable XML/serialized dumps without
mutating the original service arguments. That is a compatibility check, not a
SymPress performance measurement.

Symfony 8.2 is not yet stable as of 2026-10-09. This release retains stable
dependencies and does not claim the upstream speed improvement is active on 8.1.
The later native compile-time environment log can be inspected on an explicit
fresh build as described in the Kernel's
[diagnostic guide](https://github.com/SymPress/kernel/blob/main/docs/compile-time-environment.md).
Framework's container debug command uses Symfony's native descriptors; Kernel's
own command lists remaining placeholders and is a separate implementation.

Sources: [Symfony PR 66343](https://github.com/symfony/symfony/pull/66343),
[official performance article](https://symfony.com/blog/new-in-symfony-8-2-performance-improvements).
Loading