# Changelog All notable changes to `laravel-route-attributes` will be documented in this file ## 1.26.2 - 2025-11-25 ### What's Changed * Prevent duplicated prefix on grouped resource routes by @nivseb in https://github.com/spatie/laravel-route-attributes/pull/175 * Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/spatie/laravel-route-attributes/pull/174 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.26.1...1.26.2 ## 1.26.1 - 2025-11-24 ### What's Changed * Fix: Missing resource controller defined by groups by @nivseb in https://github.com/spatie/laravel-route-attributes/pull/173 ### New Contributors * @nivseb made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/173 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.26.0...1.26.1 ## 1.26.0 - 2025-11-21 ### What's Changed * Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in https://github.com/spatie/laravel-route-attributes/pull/162 * Update issue template by @AlexVanderbist in https://github.com/spatie/laravel-route-attributes/pull/167 * Bump stefanzweifel/git-auto-commit-action from 5 to 7 by @dependabot[bot] in https://github.com/spatie/laravel-route-attributes/pull/169 * Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/spatie/laravel-route-attributes/pull/164 * fix: register routes with domain before routes without domain by @giorgiopogliani in https://github.com/spatie/laravel-route-attributes/pull/170 ### New Contributors * @AlexVanderbist made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/167 * @giorgiopogliani made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/170 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.25.2...1.26.0 ## 1.25.2 - 2025-04-08 ### What's Changed * Create RouteRegistrar with DI instead of literal instantiation by @gvlasov in https://github.com/spatie/laravel-route-attributes/pull/160 ### New Contributors * @gvlasov made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/160 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.25.1...1.25.2 ## 1.25.1 - 2025-02-21 ### What's Changed * Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-route-attributes/pull/154 * Laravel 12.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-route-attributes/pull/155 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.25.0...1.25.1 ## 1.25.0 - 2024-12-09 ### What's Changed * Add WithoutMiddleware option to route by @mikield in https://github.com/spatie/laravel-route-attributes/pull/151 ### New Contributors * @mikield made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/151 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.24.0...1.25.0 ## 1.24.0 - 2024-10-18 ### What's Changed * Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/spatie/laravel-route-attributes/pull/147 * Update README.md by @parijke in https://github.com/spatie/laravel-route-attributes/pull/148 * Typo in readme is fixed by closing single quote by @moe-mizrak in https://github.com/spatie/laravel-route-attributes/pull/149 * Make Route and Any repeatable attributes by @Tofandel in https://github.com/spatie/laravel-route-attributes/pull/150 ### New Contributors * @parijke made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/148 * @moe-mizrak made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/149 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.23.0...1.24.0 ## 1.23.0 - 2024-08-27 ### What's Changed * Prevent resource method take precedence over normal method. by @hvsy in https://github.com/spatie/laravel-route-attributes/pull/146 * Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in https://github.com/spatie/laravel-route-attributes/pull/142 * Default scope bindings setting by @przemyslaw-przylucki in https://github.com/spatie/laravel-route-attributes/pull/145 ### New Contributors * @hvsy made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/146 * @przemyslaw-przylucki made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/145 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.22.2...1.23.0 ## 1.22.2 - 2024-07-15 ### What's Changed * Fix resource when has domain by @lloricode in https://github.com/spatie/laravel-route-attributes/pull/144 ### New Contributors * @lloricode made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/144 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.22.1...1.22.2 ## 1.22.1 - 2024-04-24 ### What's Changed * Added WithTrashed attribute by @michaelhrivnak in https://github.com/spatie/laravel-route-attributes/pull/141 ### New Contributors * @michaelhrivnak made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/141 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.22.0...1.22.1 ## 1.22.0 - 2024-03-24 ### What's Changed * Add support for `withoutScopedBindings` to `ScopeBindings` attribute. by @mikerockett in https://github.com/spatie/laravel-route-attributes/pull/139 ### New Contributors * @mikerockett made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/139 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.21.0...1.22.0 ## 1.21.0 - 2024-02-29 ### What's Changed * Laravel 11.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-route-attributes/pull/136 ### New Contributors * @laravel-shift made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/136 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.20.1...1.21.0 ## 1.20.1 - 2023-12-18 ### What's Changed * Fix missing quote in route-attributes.php by @nokimaro in https://github.com/spatie/laravel-route-attributes/pull/133 * Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/spatie/laravel-route-attributes/pull/128 * Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/spatie/laravel-route-attributes/pull/131 ### New Contributors * @nokimaro made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/133 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.20.0...1.20.1 ## 1.20.0 - 2023-11-24 ### What's Changed - Allow to register multiple Get route declarations on one method by @rico in https://github.com/spatie/laravel-route-attributes/pull/132 ### New Contributors - @rico made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/132 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.19.0...1.20.0 ## 1.19.0 - 2023-08-09 ### What's Changed - refactor registerRoutes() & registerResource() in RouteRegistrar.php by @asharifineyestani in https://github.com/spatie/laravel-route-attributes/pull/115 - Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/spatie/laravel-route-attributes/pull/118 - Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in https://github.com/spatie/laravel-route-attributes/pull/121 - Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spatie/laravel-route-attributes/pull/123 - Add patterns and not_patterns options to directories by @ejunker in https://github.com/spatie/laravel-route-attributes/pull/125 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.18.2...1.19.0 ## 1.18.2 - 2023-03-09 ### What's Changed - minor modify by @asharifineyestani in https://github.com/spatie/laravel-route-attributes/pull/113 - Add WhereIn attribute by @themrcatsu in https://github.com/spatie/laravel-route-attributes/pull/112 ### New Contributors - @asharifineyestani made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/113 - @themrcatsu made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/112 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.18.1...1.18.2 ## 1.18.1 - 2023-03-06 ### What's Changed - 🐛 Should filter null values when resolving group by @juliomotol in https://github.com/spatie/laravel-route-attributes/pull/111 ### New Contributors - @juliomotol made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/111 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.18.0...1.18.1 ## 1.18.0 - 2023-02-09 ### What's Changed - Add support for Laravel 10 by @Nielsvanpach - Add Dependabot Automation by @patinthehat in https://github.com/spatie/laravel-route-attributes/pull/99 - Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/spatie/laravel-route-attributes/pull/100 - Add PHP 8.2 to tests workflow by @patinthehat in https://github.com/spatie/laravel-route-attributes/pull/98 - Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-route-attributes/pull/105 ### New Contributors - @patinthehat made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/99 - @dependabot made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/100 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.17.0...1.18.0 ## 1.17.0 - 2022-11-22 ### What's Changed - Update README.md by @michaelnabil230 in https://github.com/spatie/laravel-route-attributes/pull/97 - Add WhereUlid shorthand where by @rodrigopedra in https://github.com/spatie/laravel-route-attributes/pull/96 ### New Contributors - @michaelnabil230 made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/97 - @rodrigopedra made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/96 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.16.0...1.17.0 ## 1.16.0 - 2022-11-11 ### What's Changed - Add defaults as attribute by @stfndamjanovic in https://github.com/spatie/laravel-route-attributes/pull/95 ### New Contributors - @stfndamjanovic made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/95 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.15.0...1.16.0 ## 1.15.0 - 2022-10-01 ### What's Changed - Change Constructor syntax by @idanieldrew in https://github.com/spatie/laravel-route-attributes/pull/92 - Resource Attribute extended by @sirmathays in https://github.com/spatie/laravel-route-attributes/pull/93 ### New Contributors - @idanieldrew made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/92 - @sirmathays made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/93 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.13.0...1.15.0 ## 1.14.0 - 2022-08-24 ### What's Changed - Implemented scoped bindings by @Radiergummi in https://github.com/spatie/laravel-route-attributes/pull/90 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.12.1...1.14.0 ## 1.12.1 - 2022-08-09 - fix config file ## 1.12.0 - 2022-08-09 ### What's Changed - Fix automated tests by @Tofandel in https://github.com/spatie/laravel-route-attributes/pull/84 - Add fileinfo extension by @Tofandel in https://github.com/spatie/laravel-route-attributes/pull/85 - feat: add grouped configurations and improve tests by @Tofandel in https://github.com/spatie/laravel-route-attributes/pull/83 ### New Contributors - @Tofandel made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/84 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.11.0...1.12.0 ## 1.11.0 - 2022-05-18 ## What's Changed - feat: add Fallback attribute by @jaulz in https://github.com/spatie/laravel-route-attributes/pull/78 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.10.2...1.11.0 ## 1.10.2 - 2022-05-18 ## What's Changed - fix: make order of routes predictable by @jaulz in https://github.com/spatie/laravel-route-attributes/pull/79 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.10.1...1.10.2 ## 1.10.1 - 2022-04-28 ## What's Changed - Fixes implicit route model binding bug when using Resource attribute. by @samueljtaylor in https://github.com/spatie/laravel-route-attributes/pull/77 ## New Contributors - @samueljtaylor made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/77 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.10.0...1.10.1 ## 1.10.0 - 2022-02-25 ## What's Changed - Namespaced controller directories by @danielsetreus in https://github.com/spatie/laravel-route-attributes/pull/69 ## New Contributors - @danielsetreus made their first contribution in https://github.com/spatie/laravel-route-attributes/pull/69 **Full Changelog**: https://github.com/spatie/laravel-route-attributes/compare/1.9.1...1.10.0 ## 1.9.1 - 2022-01-19 - add support for Laravel 9 ## 1.9.0 - 2021-10-04 - add support for the names parameter to the Resource attribute (#56) ## 1.8.1 - 2021-09-20 - fix: use \ReflectionAttribute::IS_INSTANCEOF (#55) ## 1.8.0 - 2021-09-17 - add group attribute (#54) ## 1.7.0 - 2021-08-31 - add additional functionality to get domain from a config file (#50) ## 1.6.0 - 2021-08-15 - add apiResource parameter to Resource attribute (#49) ## 1.5.0 - 2021-08-15 - add support for resource controllers ## 1.4.2 - 2021-07-05 - do not register routes when they are cached (#38) ## 1.4.1 - 2021-06-09 - remove facade ## 1.4.0 - 2021-04-08 - adds optional Wheres attribute on class and method level (#31) ## 1.3.0 - 2021-03-03 - add support for multi-verb routes ## 1.2.3 - 2021-02-15 - global middleware from config file will be registered first (#24) ## 1.2.2 - 2021-02-12 - change approach to handle routes with prefix (#23) ## 1.2.1 - 2021-02-07 - add new check to make sure TestClasses directory exists when running tests (#20) ## 1.2.0 - 2020-12-19 - add middleware config option ## 1.1.0 - 2020-11-30 - add `Domain` attribute ## 1.0.0 - 2020-10-29 - initial release