Repository navigation
2.0.0-rc1
Pre-release
Pre-release
π 2.0.0-rc1 β the Variant pipeline rewrite
First public release candidate of Progressive Image Bundle 2.0: a from-scratch DDD rewrite of how images actually get generated, and full independence from LiipImagineBundle.
β
β¨ Highlights
- Content-addressed Variant pipeline β every generated size is identified by a deterministic hash of source + spec. The same request from any worker/process produces the same file, with no coordination
needed beyond a short-lived lock. - Three generation strategies β sync, terminate (on kernel.terminate), or async via Messenger. Pick when generation actually happens.
- Full Liip parity, finally: standalone pgi_filter() Twig function (and its PHP-side equivalent, ResolveFilterUrlHandler, for API responses etc.), an on-the-fly resolve route, and
progressive-image:variant:warm/:remove CLI commands. - New filters: grayscale, negative, auto_rotate, paste, relative_resize β plus progressive/strip_metadata encoding options and real post-processing (jpegoptim, pngquant, cwebp, avifenc).
- LiipImagineBundle dependency removed entirely. Not required, not touched.
- Symfony Flex recipe submitted β zero-config composer require once merged.
- Docs rebuilt around pgi.blue, including a Liip migration guide.
π Notable fixes since rc0
- asset_mapper resolver no longer breaks container compilation on projects without symfony/asset-mapper installed.
- Bundle assets now register under the correct scoped npm namespace, fixing the style.css autoimport.
- generation.transport is now actually wired into Messenger routing for the async strategy.
βοΈ Requirements
- PHP 8.3+ (up from 8.2+) β required by intervention/image ^4.2, which the Variant pipeline is built on.
- Symfony 6.4, 7.4, or 8.1+.
Full changelog: CHANGELOG.md β 2.0.0-rc1