Skip to content

feat!: pass the previous language to the LanguageUpdated extension point - #6782

Merged
gharlan merged 1 commit into
6.xfrom
language-updated-previous
Oct 21, 2026
Merged

gharlan merged 1 commit into
6.xfrom
language-updated-previous

Conversation

@gharlan

@gharlan gharlan commented Oct 21, 2026

Copy link
Copy Markdown
Member

Like the other *Updated extension points (ArticleUpdated, CategoryUpdated, MediaUpdated, MediaCategoryUpdated), LanguageUpdated now carries the state before the edit as $previous.

Breaking for code that constructs LanguageUpdated itself; listeners are unaffected.

Touches LanguageHandler::edit() like #6781, so whichever is merged second needs a trivial rebase.

…point

Like the other `*Updated` extension points, `LanguageUpdated` now carries the state before the edit as `$previous`.
@gharlan gharlan added this to the REDAXO 6.0 milestone Oct 21, 2026
@rex-bot rex-bot added breaking feature Additional functionality labels Oct 21, 2026
@gharlan
gharlan merged commit 8d21ec3 into 6.x Oct 21, 2026
15 checks passed
@gharlan
gharlan deleted the language-updated-previous branch October 21, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking feature Additional functionality

Development

Successfully merging this pull request may close these issues.

2 participants