{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":521583,"defaultBranch":"7.1","name":"symfony-docs","ownerLogin":"symfony","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2010-02-17T08:43:51.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/143937?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1712755869.0","currentOid":""},"activityList":{"items":[{"before":"8c17143990614433cad05043cbd6a91a7ebee3fd","after":"f35eec77d92d9bfdf04b9fdd53c16580ccdbc00d","ref":"refs/heads/7.1","pushedAt":"2024-05-10T07:31:04.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"feature #19870 [Security] Add support for dynamic CSRF id with Expression in `#[IsCsrfTokenValid]` (alamirault)\n\nThis PR was squashed before being merged into the 7.1 branch.\n\nDiscussion\n----------\n\n[Security] Add support for dynamic CSRF id with Expression in `#[IsCsrfTokenValid]`\n\nFix https://github.com/symfony/symfony-docs/issues/19753\n\nCommits\n-------\n\ne0a49ba49 [Security] Add support for dynamic CSRF id with Expression in `#[IsCsrfTokenValid]`","shortMessageHtmlLink":"feature #19870 [Security] Add support for dynamic CSRF id with Expres…"}},{"before":"1a2d3394a4dfce1c20605b6fb8e5369237fb20c0","after":"8c17143990614433cad05043cbd6a91a7ebee3fd","ref":"refs/heads/7.1","pushedAt":"2024-05-10T07:29:30.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"Merge branch '7.0' into 7.1\n\n* 7.0:\n Don't capitalize acronyms in class names","shortMessageHtmlLink":"Merge branch '7.0' into 7.1"}},{"before":"5516490653939a5f2858d48f807eafbee0cfdbba","after":"c36c412976c08c70e89e56ef7f40e7622710c57a","ref":"refs/heads/7.0","pushedAt":"2024-05-10T07:29:25.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"Merge branch '6.4' into 7.0\n\n* 6.4:\n Don't capitalize acronyms in class names","shortMessageHtmlLink":"Merge branch '6.4' into 7.0"}},{"before":"e7d54089c3b7ac14921229961960d52c40baca0d","after":"f677eb4f111dec221c1d858d14644f4d39a2fe04","ref":"refs/heads/6.4","pushedAt":"2024-05-10T07:28:43.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"minor #19875 Don't capitalize acronyms in class names (javiereguiluz)\n\nThis PR was merged into the 6.4 branch.\n\nDiscussion\n----------\n\nDon't capitalize acronyms in class names\n\nPHP has approved a new policy banning the usage of capitalized acronyms in class names (https://wiki.php.net/rfc/class-naming-acronyms):\n\n| Wrong | Correct\n| ----- | -------\n| `FooDTO` | `FooDto`\n| `HTTPFoo` | `HttpFoo`\n| `PDOFooPHP` | `PdoFooPhp`\n\nSo, I propose to use this same policy for Symfony Docs.\n\nNote: we need to be careful because some class are defined by external projects and the use the \"wrong\" names (`ReactPHPRunner`, etc.)\n\nCommits\n-------\n\n5b8e1984e Don't capitalize acronyms in class names","shortMessageHtmlLink":"minor #19875 Don't capitalize acronyms in class names (javiereguiluz)"}},{"before":"846cbae795919e74ec57ee9d1010cb3ff16d4041","after":"1a2d3394a4dfce1c20605b6fb8e5369237fb20c0","ref":"refs/heads/7.1","pushedAt":"2024-05-08T11:06:01.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"javiereguiluz","name":"Javier Eguiluz","path":"/javiereguiluz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73419?s=80&v=4"},"commit":{"message":"Merge branch '7.0' into 7.1\n\n* 7.0:\n [Security] Improve the docs related to CSRF","shortMessageHtmlLink":"Merge branch '7.0' into 7.1"}},{"before":"8ea7157dc3320ba35f9d598ca1c1d2401a887403","after":"5516490653939a5f2858d48f807eafbee0cfdbba","ref":"refs/heads/7.0","pushedAt":"2024-05-08T11:05:59.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"javiereguiluz","name":"Javier Eguiluz","path":"/javiereguiluz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73419?s=80&v=4"},"commit":{"message":"Merge branch '6.4' into 7.0\n\n* 6.4:\n [Security] Improve the docs related to CSRF","shortMessageHtmlLink":"Merge branch '6.4' into 7.0"}},{"before":"9fd90b2f78aa32b5260944a780c38dcc875e559b","after":"e7d54089c3b7ac14921229961960d52c40baca0d","ref":"refs/heads/6.4","pushedAt":"2024-05-08T11:05:14.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"javiereguiluz","name":"Javier Eguiluz","path":"/javiereguiluz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73419?s=80&v=4"},"commit":{"message":"minor #19862 [Security] Improve the docs related to CSRF (javiereguiluz)\n\nThis PR was squashed before being merged into the 6.4 branch.\n\nDiscussion\n----------\n\n[Security] Improve the docs related to CSRF\n\nWe shouldn't explain CSRF in detail (we provide a link for folks wanting to learn more about that) but I think it'd be nice if we show a simple but realistic example of the CSRF attack. I also did some tweaks in other sections of this page. Thanks.\n\nCommits\n-------\n\n6a8dbc6df [Security] Improve the docs related to CSRF","shortMessageHtmlLink":"minor #19862 [Security] Improve the docs related to CSRF (javiereguiluz)"}},{"before":"7522724ee573d5dba0f685010dbe350e036d1c0c","after":"846cbae795919e74ec57ee9d1010cb3ff16d4041","ref":"refs/heads/7.1","pushedAt":"2024-05-08T10:52:33.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"javiereguiluz","name":"Javier Eguiluz","path":"/javiereguiluz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73419?s=80&v=4"},"commit":{"message":"Tweaks and rewords","shortMessageHtmlLink":"Tweaks and rewords"}},{"before":"ab6829b097100903e32334de5a9213c57f1a9aaf","after":"7522724ee573d5dba0f685010dbe350e036d1c0c","ref":"refs/heads/7.1","pushedAt":"2024-05-08T09:16:01.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"Merge branch '7.0' into 7.1\n\n* 7.0:\n Add missing asterisk","shortMessageHtmlLink":"Merge branch '7.0' into 7.1"}},{"before":"38ba9c9478c7444e16d3b0c6289962790c128201","after":"8ea7157dc3320ba35f9d598ca1c1d2401a887403","ref":"refs/heads/7.0","pushedAt":"2024-05-08T09:15:59.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"Merge branch '6.4' into 7.0\n\n* 6.4:\n Add missing asterisk","shortMessageHtmlLink":"Merge branch '6.4' into 7.0"}},{"before":"40803b6ae8205e47a4d47cca8eec97593ca7e71f","after":"9fd90b2f78aa32b5260944a780c38dcc875e559b","ref":"refs/heads/6.4","pushedAt":"2024-05-08T09:15:57.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"Merge branch '5.4' into 6.4\n\n* 5.4:\n Add missing asterisk","shortMessageHtmlLink":"Merge branch '5.4' into 6.4"}},{"before":"9d82fe1cce6bf77bb934936d972bc8b4ff547233","after":"b5e7901253c2346ee736dbb6ded7791d506eb40b","ref":"refs/heads/5.4","pushedAt":"2024-05-08T09:15:34.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"minor #19871 [Messenger] Add missing asterisk (asispts)\n\nThis PR was merged into the 5.4 branch.\n\nDiscussion\n----------\n\n[Messenger] Add missing asterisk\n\n\n\nCommits\n-------\n\n6afab454c Add missing asterisk","shortMessageHtmlLink":"minor #19871 [Messenger] Add missing asterisk (asispts)"}},{"before":"025759754264f9de29e027daa21e25dfbe832ad6","after":"ab6829b097100903e32334de5a9213c57f1a9aaf","ref":"refs/heads/7.1","pushedAt":"2024-05-07T19:31:48.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"Merge branch '7.0' into 7.1\n\n* 7.0:\n [AssetMapper] Document how to make it work with a Content Security Policy","shortMessageHtmlLink":"Merge branch '7.0' into 7.1"}},{"before":"ec61747684abf55a88e19d04e33af966e002d170","after":"38ba9c9478c7444e16d3b0c6289962790c128201","ref":"refs/heads/7.0","pushedAt":"2024-05-07T19:31:46.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"Merge branch '6.4' into 7.0\n\n* 6.4:\n [AssetMapper] Document how to make it work with a Content Security Policy","shortMessageHtmlLink":"Merge branch '6.4' into 7.0"}},{"before":"db902d60b39dd6fc26269a749c488697f75529c3","after":"40803b6ae8205e47a4d47cca8eec97593ca7e71f","ref":"refs/heads/6.4","pushedAt":"2024-05-07T19:31:16.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"OskarStark","name":"Oskar Stark","path":"/OskarStark","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/995707?s=80&v=4"},"commit":{"message":"minor #19865 [AssetMapper] Document how to make it work with a Content Security Policy (nicwortel)\n\nThis PR was squashed before being merged into the 6.4 branch.\n\nDiscussion\n----------\n\n[AssetMapper] Document how to make it work with a Content Security Policy\n\nLast week I converted a website from classic Webpack (without Encore) to AssetMapper and so far I'm impressed with how it simplifies asset management! :tada: (thanks `@weaverryan`!)\n\nOne thing I had some difficulty with was to get it working with the website's [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP). Before the switch I only used static assets hosted on the same domain, but the importmap functionality relies on inline scripts - which are blocked by default when a CSP is configured.\n\nI managed to get it working using a nonce, with the help of [NelmioSecurityBundle](https://symfony.com/bundles/NelmioSecurityBundle/current/index.html#nonce-for-inline-script-handling). The nonce is inserted into the `