Skip to content

Releases

2.0.0-rc1

2.0.0-rc1 Pre-release
Pre-release

Choose a tag to compare

@tito10047 tito10047 released this 16 Aug 11:10

🚀 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.

▎ ⚠️ This is a pre-release. Expect breaking changes before a final 2.0.0 tag — pin the exact version if you use it in production.

✨ 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

1.2.0

Choose a tag to compare

@tito10047 tito10047 released this 14 Aug 15:58

What's Changed in 1.2.0

Bug Fixes

Point of Interest (PoI) Cropping — two fixes:

  • The pointInterest attribute now correctly accepts pixel coordinates of the focal point in the original image (e.g. pointInterest="544x320" means 544 px from the left, 320 px from the top). Previously
    the values were incorrectly treated as percentages, which caused crops to land at the wrong position.
  • The cropping algorithm now scales the image to the target size instead of slicing the exact target dimensions from the original at full resolution. The bundle finds the largest region of the original
    whose aspect ratio matches the requested output, centres it on the focal point (clamping at edges), and scales the result down — keeping as much of the image as possible.

Preload: Fixed generating an imagesrcset with only a width descriptor and no URL.

Path caching: Fixed an edge case where the cached path was incorrect when a custom LiipImagine filter was applied.

Asset Mapper: Fixed path resolution for images served via Symfony Asset Mapper.

CSS generation:

  • Fixed issue #9 — the smallest breakpoint was not being emitted to the generated CSS.
  • Fixed issue #8 — breakpoints with a zero min_viewport were not emitted to the generated CSS.
  • Restored missing --img-width CSS custom property definition.
  • Removed a generated style rule that was overriding the correct layout style.

Image component:

  • Fixed issue #7 — a null value for src is now handled gracefully without an error.
  • Fixed issue #6 — aspect ratio is now handled correctly when no explicit ratio is provided.

Other

  • Updated Composer dependencies.
  • Documentation updated to reflect the corrected PoI coordinate format and algorithm.

1.1.2

Choose a tag to compare

@tito10047 tito10047 released this 21 Jan 16:54

Full Changelog: 1.1.1...1.1.2

Added @layer vendor to all css files for better overriding posibilities

1.0.5

Choose a tag to compare

@tito10047 tito10047 released this 16 Jan 09:55

Full Changelog: 1.0.4...1.0.5

Add supports for Rentina displays

1.0.3

Choose a tag to compare

@tito10047 tito10047 released this 14 Jan 11:11

Full Changelog: 1.0.2...1.0.3

  • Added Symfony command progressive-image:generate-custom-css to generate CSS for custom frameworks.

1.0.2

Choose a tag to compare

@tito10047 tito10047 released this 11 Jan 12:31

Full Changelog: 1.0.1...1.0.2

Added filter context for apply custom filters

1.0.1

Choose a tag to compare

@tito10047 tito10047 released this 05 Jan 16:27

Full Changelog: 1.0.0...1.0.1

Fix WebP url generation
Update docs and include new brand logo

v1.0.0 — The Genesis Release

Choose a tag to compare

@tito10047 tito10047 released this 04 Jan 13:44
image
  • Battle-tested: Proven in live deployment, where the system reliably fulfills its purpose under real-world conditions.
  • Reliable & Verified: The project is backed by a robust test suite. Although the automated report shows 73% coverage, from a logical standpoint, everything essential is tested—every core function has undergone thorough stability verification.
  • Clean Slate: The code has been stabilized and the API is now established, ensuring predictable behavior during future expansion.
  • Ready for growth: Ready for scaling with full confidence in the foundation.