Skip to content

2.14.2

Choose a tag to compare

@goldnead goldnead released this 15 Sep 20:03
· 214 commits to main since this release

Fixed: the header, the mails tab, other packages' translation keys

  • [fix] The automation's header repeated the addon's name (icon, word and slash before the title).
    No core screen states in its title which area one is in; that is gone (F21). The active badge
    hung in the middle and now sits on the right with the actions. Reaching the name itself did not
    work cleanly: the name field keeps a minimum width so that an empty name stays clickable, and
    that is exactly where the gap opened.
  • [fix] The mails tab ran in English next to German pills (E01). 38 keys added to
    resources/lang/de.json, the composed waiting-time sentences with their placeholders included.
  • [fix] Two "Tools" sections underneath each other. section(__('Tools')) sent the translated
    value in the German CP, and to Statamic that is a different key from its own Tools. The
    section is named by the key now.
  • [fix] No more occupying other packages' translation keys. Every package's JSON translations end
    up in one dictionary, without a namespace: the last one to register wins for the whole Control
    Panel. Three of the keys added yesterday reached into other packages' entries, one of them with
    damage: Disabled would have replaced Statamic's "Deaktiviert" with "Abgeschaltet" everywhere.
    Step and Disabled are gone, and for days the source string was made unambiguous following
    the house rule (the delay units are called Minutes/Hours/Days), instead of overwriting
    statamic-marketing's translation. TranslationKeyOwnershipTest guards that.

Internal: the return type of SequenceOptOut::sequencesFor() is annotated as a shaped stdClass,
the way PHPStan infers it; tests/Fakes/insights-contracts.php has been through Pint
(declarations unchanged).

  • [fix] The CI's MySQL job is green. It failed on the order of the time-series buckets, which
    TableMetric::bucketed() in statamic-insights grouped without an ORDER BY; MySQL 8 returns
    the groups in the order it met them. Fixed in insights 1.2.1, and the byte-for-byte copy
    tests/Fakes/insights-table-metric.php has been brought along.
  • [fix] Larastan without a remainder. view('statamic-automations::sequence-opt-out') did not count
    as a view-string to Larastan, because it does not resolve package namespaces (viewDirectories
    does not help there). The finding is excluded in phpstan.neon with a reason; the template
    exists and is rendered in the suite.