Skip to content

Releases: sitegeist/Sitegeist.Kaleidoscope

v6.6.1

29 Aug 17:25
Compare
Choose a tag to compare

Full Changelog: v6.6.0...v6.6.1

v6.6.0

29 Aug 17:19
36daba0
Compare
Choose a tag to compare

What's Changed

  • Fix: Wrong settings path in Readme by @jonnitto in #61
  • FEATURE: Add dataSrc method to image source interface by @mficzel in #63
  • FEATURE: Omit srcset and sizes if imageSource is non-scalable by @manuelmeister in #62
  • TASK: Update linting to more recent practices by @mficzel in #64

New Contributors

Full Changelog: v6.5.2...v6.6.0

v6.5.2

07 Sep 09:11
2520820
Compare
Choose a tag to compare

What's Changed

  • BUGFIX: Apply width and height for Sitegeist.Kaleidoscope:Picture with formats by @mficzel in #60

Full Changelog: v6.5.1...v6.5.2

v6.5.1

10 May 08:47
6a2ea79
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.5.0...v6.5.1

v6.5.0 - Generic `attributes` and allow variant preset usage for custom implementations

27 Apr 15:01
0fd7d17
Compare
Choose a tag to compare

What's Changed

  • Docs: Update methods in code example by @jonnitto in #50
  • FEATURE: Add generic attributes support by @mficzel in #54
  • Allow variant preset usage for custom implementations by @bwaidelich in #53

New Contributors

Full Changelog: v6.4.0...v6.5.0

v6.4.0

14 Apr 09:30
b87c182
Compare
Choose a tag to compare

What's Changed

  • FEATURE: Render width and height for Picture Sources to prevent layout shifts. by @mficzel in #49
  • FEATURE: Introduce new imageSourceInterfaces with consistent immutability and deprecate the old ones by @mficzel in #47

Full Changelog: v6.3.0...v6.4.0

Enable `lazy` loading by default

01 Apr 09:28
9f63338
Compare
Choose a tag to compare

With the general availability of loading="lazy" in all relevant Browsers we added lazy loading as a default.
While this is definitely the most user friendly default it is not always the best for the site performance.

In general all images that are immediately visible to the user should be loaded via loading="eager" and everything else via loading="lazy".

For Kaleidoscope images or pictures in the site header you can set loading="eager" manually.
For the main content collection we suggest to enable eager loading for the first content in main and lazy load the rest.

renderer = Neos.Neos:ContentCollection {
    nodePath = 'main'

    // configure separate iterator for main content 
    content.iterationName = 'mainContentIterator'

    // enable lazyness for first items
    prototype(Sitegeist.Kaleidoscope:Image) {
        loading = ${mainContentIterator.isFirst ? 'eager' : 'lazy'}
    }
    prototype(Sitegeist.Kaleidoscope:Picture) {
        loading = ${mainContentIterator.isFirst ? 'eager' : 'lazy'}
    }
}

Add Support for Neos 8.0

29 Mar 14:36
0d046e3
Compare
Choose a tag to compare
v6.2.1

TASK: Relax composer dependencies for Neos 8.0

Configure alternate driver and format for dummyImages

26 Oct 15:37
6272718
Compare
Choose a tag to compare

Some imagine drivers like vips do not support the creation of images on the fly which breaks the dummy images.
This change allows to configure an alternate driver that is used for the dummyImages plus a fallbackFormat that is used when the chosen
format could not be rendered.

Thanks to @gradinarufelix for providing the PR and to @rolandschuetz and @kdambekalns for testing:

Sitegeist:
  Kaleidoscope:
    dummyImage:
      overrideImagineDriver: 'Imagick'
      fallbackFormat: 'png'

BUGFIX: Remove src attributes from source tag that is technically allowed but ignored inside of picture elements

25 Oct 20:18
1449792
Compare
Choose a tag to compare

This is a backport from a bugfix that was merged to 6.1 instead of 6.0. Thank to @kdambekalns for detecting this.