Jouri Jalving

Autograph Release Notes

Jouri Jalving

1.5.1

May 21st, 2024

  • Add support for dark mode addon icon

1.5.0

May 21st, 2024

  • Add support for Statamic 5.0

1.4.1

February 8th, 2024

  • Fix typo in selected option check
  • Update composer packages

1.4.0

February 8th, 2024

  • N/A Changelog not available.

1.3.0

September 19th, 2023

Changes

  • 931a1298d1e9153306c3d5c3ed0664d494fdfd91 Updated the user_formatter config option to a class based solution.
  • 0fd837eff12bb05bf86463f75c82697a744f2667 Fixed a bug where the select field arrow would be misaligned when a validation error was displayed.
  • 8a1a046660c3c98dad885102c1b22d9004f8d73e Cleaned up some code

Upgrade Steps

The default value for the user_formatter config option now is \JJalving\Autograph\CustomUserFormatter::class. If you haven't exported the config file everything should still work as expected, otherwise please update this config value.

To use a custom user formatter, you may now create a class that implements the JJalving\Autograph\Contracts\UserFormatter interface.

This change was made because the previous (closure based) user_formatter config option was causing issues with Laravel not being able to cache the config. In the process I made the default formatter a bit smarter, it now checks for a first_name and a last_name field first, and then falls back to the default name field for displaying the users name. Also it only appends an email address if an email field` is found.

1.2.0

September 1st, 2023

Improve HTML minification

1.1.0

August 31st, 2023

Add support for Blade template files

1.0.0

August 31st, 2023

Initial release