Skip to content

[10.x] create "Deprecations" documentation #8590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions deprecations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Deprecations

- [Introduction](#introduction)
- [Route Middleware](#route-middleware)

<a name="introduction"></a>
## Introduction

Laravel will, when necessary, deprecate certain features or code within the framework. In an effort to help you track those changes, and update your applications prior to the deprecated code being removed, this page will highlight some of those deprecations. The best way to find **all** the deprecated code is to search `laravel/framework` for `@deprecated`.

<a name="route-middleware"></a>
### Route Middleware

In the `\Illuminate\Foundation\Http\Kernel` class, the `$routeMiddleware` property was renamed to `$middlewareAliases` to better reflect its purpose. The `$routeMiddleware` property and the `getRouteMiddleware()` method have been deprecated, and will be removed in Laravel 11.

https://github.com/laravel/framework/commit/78eb546e9c789ac84af87bb362535cc2883e4db4
1 change: 1 addition & 0 deletions documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- [Release Notes](/docs/{{version}}/releases)
- [Upgrade Guide](/docs/{{version}}/upgrade)
- [Contribution Guide](/docs/{{version}}/contributions)
- [Deprecations](/docs/{{version}}/deprecations)
- ## Getting Started
- [Installation](/docs/{{version}}/installation)
- [Configuration](/docs/{{version}}/configuration)
Expand Down