Skip to content

v4.19.0

Latest

Choose a tag to compare

@lee-to lee-to released this 05 Sep 09:50
7b4a369

🌒 MoonShine 4.19.0 is out!

🔧 What’s new:

  • Text and Textarea now have an escapeOnApply() method — use a callback to control HTML escaping when saving, independently of display escaping.
  • Fixed fieldsNames() in Select — custom value, label, and search field names now work correctly.
  • Fixed value handling between Blade and Alpine — quotes and special characters are now safely escaped.
  • Fixed tabs with numeric IDs and async search in MorphTo with a preselected type.

🔐 Access control improvements:

  • Loading relations and async search now respect permissions on the parent resource and the current page.
  • Inline field updates are now only allowed when updateOnPreview() is enabled.

🧩 Also fixed handling of fields sharing the same relation name and updated the ws development dependency.

What's Changed

  • build(deps-dev): bump ws from 8.18.3 to 8.21.3 in /src/UI by @dependabot[bot] in #2057
  • Restrict inline field updates to preview-enabled fields by @lee-to in #2056
  • Fix Select field names settings by @lee-to in #2048
  • Fix authorization for relation read endpoints by @lee-to in #2055
  • Add conditional escaping for text values on apply by @lee-to in #2052
  • Fix unsafe Alpine value interpolation in Blade templates by @lee-to in #2054

Full Changelog: 4.18.2...4.19.0