This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier 4cc0ab3e99 bug #41014 [Routing] allow extending Route attribute (robmro27)
This PR was squashed before being merged into the 5.3-dev branch.

Discussion
----------

[Routing] allow extending Route attribute

| Q             | A
| ------------- | ---
| Branch?       | 5.x <!-- see below -->
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       |  <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        | <!-- required for new features -->

There is probably missed `\ReflectionAttribute::IS_INSTANCEOF` parameter and because of that Route attribute class could not be extended. This could be used by some popular bundles like `FOSRestBundle` for example. Right
now it's not possible to add attributes support there like it was before (extending Route Annotation).

Commits
-------

d733b78f88 [Routing] allow extending Route attribute
2021-05-01 16:20:47 +02:00
..
Asset Merge branch '5.2' into 5.x 2021-04-07 18:09:00 +02:00
BrowserKit Merge branch '5.2' into 5.x 2021-04-08 12:31:48 +02:00
Cache Merge branch '5.2' into 5.x 2021-04-23 18:57:12 +02:00
Config minor #40968 [Config] Remove unused sprintf + coding standards (HypeMC) 2021-04-28 23:13:43 +02:00
Console Remove spaces between arguments 2021-05-01 02:53:07 +02:00
CssSelector Merge branch '4.4' into 5.2 2021-04-07 18:07:52 +02:00
DependencyInjection [Config] Builder: Remove typehints and allow for EnvConfigurator 2021-04-24 19:19:31 +02:00
DomCrawler Don't use sprintf in trigger_deprecation() calls 2021-03-10 11:16:25 +01:00
Dotenv Merge branch '4.4' into 5.1 2021-01-27 11:01:46 +01:00
ErrorHandler Merge branch '5.2' into 5.x 2021-04-07 17:57:56 +02:00
EventDispatcher Add #[As-prefix] to service attributes 2021-03-23 18:57:16 +01:00
ExpressionLanguage Merge branch '4.4' into 5.2 2021-04-07 18:07:52 +02:00
Filesystem Merge branch '5.2' into 5.x 2021-04-01 12:43:52 +02:00
Finder Merge branch '4.4' into 5.2 2021-02-15 19:55:04 +01:00
Form Merge branch '5.2' into 5.x 2021-04-24 16:39:57 +02:00
HttpClient Merge branch '5.2' into 5.x 2021-04-12 10:56:19 +02:00
HttpFoundation Merge branch '5.2' into 5.x 2021-05-01 16:00:17 +02:00
HttpKernel [DependencyInjection] Add #[Target] to tell how a dependency is used and hint named autowiring aliases 2021-04-19 14:53:54 +02:00
Inflector fix version constraint 2021-03-17 21:31:43 +01:00
Intl Merge branch '5.2' into 5.x 2021-04-24 16:39:57 +02:00
Ldap Remove experimental flag from the authenticator system 🚀 2021-04-14 10:47:21 +02:00
Lock Merge branch '5.2' into 5.x 2021-03-28 11:44:11 +02:00
Mailer [Mailer] Move CHANGELOG entry 2021-04-29 11:19:46 +02:00
Messenger [Messenger] fix manual amqp setup when autosetup disabled 2021-04-28 00:28:04 +02:00
Mime Merge branch '5.2' into 5.x 2021-04-29 22:52:27 +02:00
Notifier Add missing entries in scheme to package map 2021-04-18 07:25:16 +01:00
OptionsResolver Add prototype definition support for nested options 2021-04-18 09:39:20 -04:00
PasswordHasher bug #40920 [PasswordHasher] accept hashing passwords with nul bytes or longer than 72 bytes when using bcrypt (nicolas-grekas) 2021-04-29 22:41:46 +02:00
Process Merge branch '4.4' into 5.2 2021-04-08 12:27:02 +02:00
PropertyAccess use bitwise flags to configure when the property accessor should throw 2021-03-09 09:10:03 +01:00
PropertyInfo Merge branch '5.2' into 5.x 2021-04-16 19:25:45 +02:00
RateLimiter Merge branch '5.2' into 5.x 2021-04-01 12:43:52 +02:00
Routing [Routing] allow extending Route attribute 2021-05-01 16:20:43 +02:00
Runtime Fix typo 2021-04-17 18:36:24 +02:00
Security Merge branch '5.2' into 5.x 2021-05-01 16:00:17 +02:00
Semaphore Inline lua scripts used by semaphore 2021-04-20 22:05:20 +02:00
Serializer Merge branch '5.2' into 5.x 2021-04-13 16:18:23 +02:00
Stopwatch [Stopwatch] Document new "name" property of StopwatchEvent 2021-03-29 17:28:41 +02:00
String Merge branch '5.2' into 5.x 2021-03-17 18:12:23 +01:00
Templating Merge branch '4.4' into 5.1 2021-01-27 11:01:46 +01:00
Translation [Translation] [Loco] Remove SCHEME const 2021-04-28 08:48:47 +02:00
Uid feature #40530 [Uid] Handle predefined namespaces keywords "dns", "url", "oid" and "x500" (fancyweb) 2021-03-23 13:33:35 +01:00
Validator Merge branch '5.2' into 5.x 2021-04-14 15:13:13 +02:00
VarDumper Merge branch '5.2' into 5.x 2021-04-19 16:14:47 +02:00
VarExporter Merge branch '4.4' into 5.2 2021-04-01 12:42:13 +02:00
WebLink [WebLink] Remove symfony/http-foundation dependency 2021-03-22 16:30:12 +01:00
Workflow feature #40171 [Workflow] Add Mermaid.js dumper (eFrane) 2021-04-13 10:42:52 +02:00
Yaml Remove spaces between arguments 2021-05-01 02:53:07 +02:00