Skip to content

Deprecate methods that v3 moves or removes - #158

Draft
gwleuverink wants to merge 3 commits into
mainfrom
deprecate/methods-moved-in-v3
Draft

gwleuverink wants to merge 3 commits into
mainfrom
deprecate/methods-moved-in-v3

Conversation

@gwleuverink

@gwleuverink gwleuverink commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Marks five App methods as deprecated ahead of v3, which moves or removes them. Nothing changes in behaviour; this only adds @deprecated tags and notes so IDEs and static analysis start pointing people at the replacements.

  • App::badgeCount(): use Dock::badge(). v3 removes it.
  • App::showEmojiPanel(): v3 removes it; it returns as a Blade element later. No v2 replacement.
  • App::getLocale(), App::getSystemLocale(), App::getLocaleCountryCode(): v3 moves them to System::language(), System::locale() and System::region().
  • The App facade itself: v3 renames it to NativeApp, because it collides with Laravel's own App facade. Notice only, nothing changes in v2 and no replacement is added here.

Draft for now, while the v3 side settles.

@gwleuverink
gwleuverink force-pushed the deprecate/methods-moved-in-v3 branch from 98dab8e to 2d9bee4 Compare September 28, 2026 13:10
@gwleuverink gwleuverink changed the title Deprecate the App methods that v3 moves or removes Deprecate methods that v3 moves or removes Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant