visuellverstehen

Picturesque Release Notes

visuellverstehen

1.4.7

October 8th, 2024

What's Changed

  • feat: pass inline styles by @juliawarnke in https://github.com/visuellverstehen/statamic-picturesque/pull/19

Full Changelog: https://github.com/visuellverstehen/statamic-picturesque/compare/v1.4.6...v1.4.7

1.4.6

May 17th, 2024

What's Changed

  • Add support for Statamic 5 by @doriengr in https://github.com/visuellverstehen/statamic-picturesque/pull/18

New Contributors

  • @doriengr made their first contribution in https://github.com/visuellverstehen/statamic-picturesque/pull/18

Full Changelog: https://github.com/visuellverstehen/statamic-picturesque/compare/v1.4.5...v1.4.6

1.4.5

March 4th, 2024

What's Changed

  • Provide getAsset method by @juliawarnke in https://github.com/visuellverstehen/statamic-picturesque/pull/15

Full Changelog: https://github.com/visuellverstehen/statamic-picturesque/compare/v1.4.4...v1.4.5

1.4.4

February 26th, 2024

What's improved?

  • Handling of picture parameters (e. g. alt text) can now be overwritten to use custom logic (see #13 for context)

1.4.3

February 20th, 2024

What's improved?

  • Allow passing on {{ picture }} tag context to the under-the-hood glide tag

What's fixed?

  • Fixed a bug with asset meta values potentially being null

1.4.2

February 6th, 2024

What's Changed

  • Remove trailing slash for void elements by @juliawarnke in https://github.com/visuellverstehen/statamic-picturesque/pull/9
  • Provide integers for height and width attribute in image tag by @juliawarnke in https://github.com/visuellverstehen/statamic-picturesque/pull/10

Full Changelog: https://github.com/visuellverstehen/statamic-picturesque/compare/v1.4.1...v1.4.2

1.4.1

January 31st, 2024

What's fixed?

  • Fixed a bug in srcset rendering that was introduced with the file format changes in 1.4.0 #8

1.4.0

January 26th, 2024

What's new?

  • Generate sources for multiple filetypes, both by default and with local overwrites #7
  • Add css classes to the picture element itself, not just to the img element #6

The readme was updated with instructions for both changes.

What's improved?

  • Improved error handling when supplying an invalid source.

1.3.0

June 20th, 2023

What's new?

  • Added the ability to use portrait images
  • Added the assets' original dimensions as width/height attributes on the img element

1.2.1

May 30th, 2023

What's Changed

  • chore: make sure provided data is already of type asset by @juliawarnke in https://github.com/visuellverstehen/statamic-picturesque/pull/2

New Contributors

  • @juliawarnke made their first contribution in https://github.com/visuellverstehen/statamic-picturesque/pull/2

Full Changelog: https://github.com/visuellverstehen/statamic-picturesque/compare/v.1.2.0...v1.2.1

1.2.0

May 24th, 2023

What's new?

  • Added a new config option alt_fullstop (bool, default false) to ensure alt texts end with a full stop

What's changed?

  • fix: use correct asset property instead of sourceAsset in case of filetype without glide support by @florianbrinkmann in https://github.com/visuellverstehen/statamic-picturesque/pull/1

New contributors

  • @florianbrinkmann made their first contribution in https://github.com/visuellverstehen/statamic-picturesque/pull/1

Full Changelog: https://github.com/visuellverstehen/statamic-picturesque/compare/v1.1.0...v.1.2.0

1.1.0

May 17th, 2023

What's improved?

  • Image alt text now has all html tags removed
  • The "how to use" section of the readme covers the simplest use cases a bit better

1.0.0

April 13th, 2023

As this package is now used in production in several projects already, we figured there's no reason to call it beta anymore.

What's new?

  • Added support for Statamic v4