Repository navigation
v4.4.0
This release introduces new theme template features, a dedicated currency validation rule, and several bug fixes for form fields, cache handling, and dependency management.
Added
- Introduced a views/files template type for arbitrary nested theme templates wired into the Template Editor and Theme Manager.
- Added a dedicated
currencyvalidation rule that accepts numbers formatted with the default currency's decimal and thousand separators. - Added a
ComposerScriptspost-autoload-dump hook that boots a minimal application and removes the cached addons path so it regenerates on the next run.
Fixed
- Fixed "Select All" / "Select None" links in checkbox list fields, which had been non-functional since the v4 rewrite; a delegated event handler now toggles checkboxes and fires change events so
dependsOnbindings react correctly. - Fixed the currency cache not being invalidated when a currency is saved or deleted, which previously caused newly created or edited currencies to not appear on the storefront until the app cache was manually cleared.
- Fixed the currency form field rejecting localized price input (e.g. values using a comma as a decimal separator) under the
numericvalidation rule; the field's hardcodedpatternattribute now also accepts the configured decimal sign. - Fixed unescaped output being incorrectly blocked in
TemplateSandboxfor theme templates. - Fixed the
ColorPickerwidget to normalize saved hex values, expanding 3-digit hex shorthand and rejecting invalid input; a linked text input is now shown alongside the color swatch and kept in sync. - Fixed composer operations to exclude dev dependencies by adding
--no-devto theoutdatedcommand and--update-no-devtorequireandremovecommands.
Changed
- Replaced the
SafeMailTemplateContentsandbox withSafeThemeTemplateContentacross page, layout, partial, and content models;TemplateSandboxnow scans actual PHP regions instead of blanket-blocking object calls,app()/resolve(), and static calls.