# Changelog

## v9.2.1 (2026-08-27)

### What's fixed
- Add `sizes` attribute and rel `alternate` to `.ico` favicon to force Chromium to use the SVG instead. cb4da384 by @robdekort

## v9.2.0 (2026-07-18)

### What's new
- Removed global theming options as they are mostly deprecated. 9ea75e70 by @robdekort

## v9.1.0 (2026-05-06)

### What's new
- Add fetchpriority attribute to the picture tag. #39 by @andjsch

## v9.0.3 (2026-04-08)

### What's fixed
- Cache the scalar values of an asset. #38 by @wgriffioen

## v9.0.2 (2026-03-05)

### What's fixed
- Grab container handle without any augmentation to prevent failing jobs when generating social images. #36 by @jelleroorda

## v9.0.1 (2026-02-16)

### What's improved
- A new update script now automatically moves any published Browser Appearance fieldsets and views. 8b27ff1a by @robdekort

## v9.0.0 (2026-02-16)

### What's new
- The Browser Appearance addon is now merged into this addon. An update script will take care of all required changes and uninstall Browser Apperance. #35 by @robdekort

## v8.3.0 (2026-02-03)

### What's changed
- Disable `avif` by default again as it still breaks generating images on many server configurations. c5a9d81f by @robdekort

## v8.2.0 (2026-01-28)

### What's changed
- A new `contain` parameter for the Picture tag. #31 by @porstendorfer

## v8.1.0 (2026-01-27)

### What's changed
- Remove custom Live Preview Hot Reloading solution. An update script will remove this from your layout file. bec98bf9 by @robdekort

## v8.0.0 (2026-01-25)

### What's new
- Statamic v6 support. eaa430c by @robdekort
- Add a Picture tag as PHP alternative to Antlers partial. For better performance and the option for multiple sources and preloading. 1eb78171 by @porstendorfer
- Enable AVIF by default. bdba3fbe by @robdekort
- Update Missing Alt Widget styling for v6. 664524b1 by @robdekort

## v7.5.1 (2026-01-09)

### What's changed
- Disable AVIF by default as not all servers support it yet. Will be re-enabled in the next major release as a breaking change. b7477ef1 by @robdekort

## v7.5.0 (2025-11-14)

### What's new
- Extract default image formats into a config file so they can be customized. #28 by @marcorieser

## v7.4.0 (2025-11-11)

### What's new
- Avif image format. cb392d9e by @robdekort
- The ability to override the picture formats array. 671db551 by @robdekort

## v7.3.3 (2025-11-04)

### What's improved
- Conditionally load SEO globals so you can manually disable and uninstall the SEO addon. 22164579 by @robdekort

## v7.3.2 (2025-07-17)

### What's fixed
- Fix skip link classes. 54576cf7 by @robdekort

## v7.3.1 (2025-05-23)

### What's fixed
- Re-validate form validation on successful submission to clear asset field required errors. b78c6b09 by @robdekort

## v7.3.0 (2025-05-23)

### What's new
- The ability to trash the Peak Toolbar for the duration of the current session. 62175d39 by @robdekort

## v7.2.0 (2025-04-11)

### What's new
- Add support for server side tracking. 889a0954 by @porstendorfer @robdekort

## v7.1.0 (2025-02-05)

### What's new
- The skip links partial now takes a `{{ class }}` argument so you can style skip links without publishing the partial. 959c26d1 by @robdekort

## v7.0.0 (2025-02-04)

### What's changed
- Breaking: Push `noscript` styles to the `<head>` to pass w3c validation. Add `{{ stack:head }}` to your layout file to continue using this feature. 959f5135 by @robdekort

## v6.7.1 (2025-01-21)

### What's changed
- Use outline instead of rings for skip links. fa30fd45 by @robdekort

## v6.7.0 (2025-01-21)

### What's new
- Allow for multiple skip links. #24 by @andjsch

## v6.6.0 (2024-12-06)

### What's changed
- Limit Statamic dependency to v5. 1940a2a by @robdekort

## v6.5.0 (2024-11-29)

### What's new
- Add support for the Captcha addon. #23 by @aryehraber

## v6.4.0 (2024-11-13)

### What's new
- Missing alt widget translations moved to this addon. 42dd7707 by @robdekort

## v6.3.3 (2024-10-09)

### What's changed
- Increase form success timeout message to 10 seconds. 1d105167 by @robdekort

## v6.3.2 (2024-08-07)

### What's improved
- Support lazy loading for svg's. fb575a78 by @robdekort

## v6.3.1 (2024-08-06)

### What's fixed
- Make sure to only add a full stop to alt text when there is alt text. f5e1e1b0 by @robdekort

## v6.3.0 (2024-07-06)

### What's new
- Only dispatch `UpdateMissingAltCacheJob` when there's a widget in `cp.php` for the current container the asset is in. f4af0097 by @robdekort

## v6.2.0 (2024-07-04)

### What's new
- Move the form handler `setTimeout()` function into the `successHook()` to allow it to be overridden or skipped. #22 by @andjsch

## v6.1.0 (2024-05-22)

### What's new
- Support for dark mode in the missing alt text widget. e4bb2137 by @robdekort

## v6.0.0 (2024-04-19)

### What's new
- Support Statamic v5 and prefix SVG tag attributes. #21 by @robdekort

## v5.4.0 (2024-03-14)

### What's new
- Add response object as a parameter to the form handler's success hook. #20 @prikkprikkprikk

## v5.3.2 (2024-03-13)

### What's fixed
- Add missing utility classes for the missing alt text widget. 83183e07 by @robdekort

## v5.3.1 (2024-03-12)

### What's fixed
- Button event click logic: remove Alpine, add quotes. be6704c7 by @robdekort

## v5.3.0 (2024-03-12)

### What's new
- Add an option to track events from buttons when using Fathom, GTM or GTAG. An update script will take care of the changes needed to the button fieldset. c65fa6e2 by @robdekort

## v5.2.0 (2024-03-12)

### What's new
- Log non-validation form errors to console. #19 by @prikkprikkprikk

## v5.1.3 (2024-03-11)

### What's fixed
- The form hanlder successHook() gets triggered again. f4ce337a by @robdekort

## v5.1.2 (2024-03-09)

### What's improved
- Loop image formats in picture partial. 4d0787ce by @robdekort

## v5.1.1 (2024-03-08)

### What's changed
- Revert #18 and check the widget config array to autamtically see if the widget is present. a175ea3f by @robdekort

## v5.1.0 (2024-03-08)

### What's new
- A config option to disable the missing alt widget and listeners. #18 by @robdekort

## v5.0.1 (2024-03-01)

### What's improved
- Use primary outline colour on Skip to content. 41e57f43 by @robdekort

## v5.0.0 (2024-03-01)

### What's new
- Remove focus rings and use outlines. Follow along with [this PR](https://github.com/studio1902/statamic-peak/pull/384) if you want to update your site. #16 by @robdekort

## v4.4.2 (2024-02-09)

### What's fixed
- Automatically add `x-model="form.{{ honeypot }}"` to the honeypot field in the form partial. 79560c5d by @robdekort

## v4.4.1 (2024-02-09)

### What's fixed
- Spelling in `successHook()`. 1b600222 by @robdekort

## v4.4.0 (2024-01-24)

### What's new
- Don't list missing alt images that are exempt. This update will add a toggle to your images blueprint. 9a6dd4f6 by @robdekort

## v4.3.0 (2024-01-22)

### What's new
- Add flip and orient parameters to picture partial. 7a87b666 by @robdekort

## v4.2.0 (2023-12-22)

### What's new
- When you use tab and focus a toolbar item the toolbar wil now unhide. 568224b8 by @robdekort

## v4.1.0 (2023-12-12)

### What's new
- Add button attributes partial to this addon. An update script will automatically fix references . 6a2e513d by @robdekort
- Button tags should not use default link behaviour. 6a2e513d by @mikemartin.

## v4.0.5 (2023-12-10)

### What's improved
- Handle CSRF tokens more elegant. fe52f063 by @ryanmitchell

## v4.0.5 (2023-12-10)

### What's improved
- Handle CSRF tokens more elegant. fe52f063 by @ryanmitchell

## v4.0.4 (2023-12-09)

### What's fixed
- Expired token errors when using forms with static caching. 6f4255ce by @robdekort

## v4.0.3 (2023-12-08)

### What's improved
- Only show form error summary after submission. d85a58a1 by @robdekort

## v4.0.2 (2023-12-07)

### What's improved
- Add an update script to auto [fix form fields](https://github.com/studio1902/statamic-peak/releases/tag/v16.1.2). 6a054e7b by @robdekort

## v4.0.1 (2023-12-04)

### What's fixed
- Fix statamic conditionals not working #14 by @AndreasSchantl

### What's new
- An update script to automatically update the JS driver in the form partial. a5e7f9bc and f23504fb by @robdekort

## v4.0.0 (2023-12-01)

### What's new
- Breaking change: Laravel Precognition support. Removes the old style form handler. Don't upgrade to this version if you don't manually change your templates according to [this PR](https://github.com/studio1902/statamic-peak/pull/359). #13 by @robdekort

## v3.4.3 (2023-11-21)

### What's improved
- Fix tpyo that caused picture errors. 89cd1114 by @robdekort

## v3.4.2 (2023-11-21)

### What's improved
- Add a more solid check to the picture partial to prevent divisons by zero. 08675838 by @robdekort

## v3.4.1 (2023-11-17)

### What's improved
- Roll-back bb620244. d40dccd4 by @robdekort

## v3.4.0 (2023-11-16)

### What's improved
- Add extra image width check to picture partial to prevent divisons by zero. bb620244 by @robdekort

## v3.3.0 (2023-11-14)

### What's improved
- Implement a better caching solution for the no alt text widget. #12 by @robdekort

## v3.2 (2023-05-11)

### What's improved
- Simplify live preview morph partial. #49e3c22a by @jacksleight

## v3.1 (2023-05-10)

### What's improved
- Make live preview work with static caching. Can and will be simplified later when [this PR](https://github.com/statamic/cms/pull/8100) gets merged. #e09f4cf0 by @jacksleight

## v3.0 (2023-05-09)

**Breaking changes**: If you upgrade an existing site make sure to apply the [changes made to Peak Core in v12](https://github.com/studio1902/statamic-peak/releases/tag/v12.0).

### What's new
- Statamic v4 support: include the MissingAltWidget in this addon and restyle it to fit the updated CP. #8 by @robdekort
- Add support for morphing live preview edits instead of refreshing the browser. #8 by @jacksleight and @robdekort

## v2.5 (2023-04-03)

### What's improved
- Allow token refreshing from any host while in local environment. #7 by @marcorieser

## v2.4 (2023-03-31)

### What's fixed
- Fix context for `this.success` in form handler. #6 by @marcorieser

## v2.3 (2023-03-24)

### What's improved
- Add the option to use a different srcset when using the picture partial. #4 by @marcorieser

## v2.2 (2023-03-18)

### What's improved
- Use partial tag method. 6a0bea92 by @robdekort

## v2.1 (2023-03-09)

### What's improved
- Include the Statamic Conditional field form helpers. a53558a3 by @robdekort

## v2.0 (2023-03-09)

### What's new
- Add the Peak Starter Kit form handler logic to this addon. #3 by @robdekort

## v1.1 (2023-02-09)

### What's new
- Add ability to publish the views. #2 by @marcorieser

## v1.0 (2023-02-09)

- Initial release.
