Skip to content
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

WIP v3.0.0 #109

Draft
wants to merge 180 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
569d828
new http exceptions
fenric Jan 6, 2023
5301636
Delete config.yml
fenric Jan 8, 2023
8a93367
Update FUNDING.yml
fenric Jan 8, 2023
4ad388a
Update .scrutinizer.yml
fenric Jan 8, 2023
381e657
Type declarations for properties
fenric Jan 8, 2023
4188426
New attribute to mark DTO
fenric Jan 8, 2023
74aeb7e
Improved code
fenric Jan 8, 2023
0ed647e
Type declarations for properties
fenric Jan 8, 2023
4f883b9
Update psalm.xml.dist
fenric Jan 8, 2023
78c7d21
Update phpunit.xml.dist
fenric Jan 8, 2023
7294607
removed deprecated loaders
fenric Jan 8, 2023
c2140c3
Update ConfigLoader.php
fenric Jan 8, 2023
128c438
Update DescriptorLoader.php
fenric Jan 8, 2023
52a9ce8
cs
fenric Jan 8, 2023
4f639db
cs
fenric Jan 8, 2023
750f5bc
Update JsonPayloadDecodingMiddleware.php
fenric Jan 8, 2023
94df5e0
New middleware for mapping request body
fenric Jan 8, 2023
8bf2708
Update ReferenceResolver.php
fenric Jan 8, 2023
6c50e91
New methods was added
fenric Jan 8, 2023
64486b9
Update CallableRequestHandler.php
fenric Jan 8, 2023
84a4ea4
Update QueueableRequestHandler.php
fenric Jan 8, 2023
b243cc7
Create ResponseResolverInterface.php
fenric Jan 8, 2023
e5513e4
Update Route.php
fenric Jan 8, 2023
dc8d3aa
Update RouteListCommand.php
fenric Jan 8, 2023
30d3ad6
Removed the getCallback method
fenric Jan 8, 2023
9657812
Update CallableRequestHandler.php
fenric Jan 8, 2023
a8e67b3
v3
fenric Jan 14, 2023
2d426e7
v3
fenric Jan 14, 2023
98337d5
v3
fenric Jan 15, 2023
81a7a68
v3
fenric Jan 15, 2023
ed18555
v3
fenric Jan 22, 2023
a5b25bb
v3
fenric Jan 22, 2023
8e6f50d
v3
fenric Jan 22, 2023
554dcaf
v3
fenric Jan 22, 2023
037aa7b
v3
fenric Jan 22, 2023
5024f93
v3
fenric Jan 22, 2023
8ee8bb3
v3
fenric Jan 23, 2023
ecc0719
v3
fenric Jan 24, 2023
62113e5
v3
fenric Jan 24, 2023
848c1db
v3
fenric Jan 24, 2023
32a93fc
v3
fenric Jan 24, 2023
a4e9470
v3
fenric Jan 25, 2023
97b432c
v3
fenric Jan 26, 2023
088c024
v3
fenric Jan 26, 2023
e77ac91
v3
fenric Jan 27, 2023
4860542
v3
fenric Jan 27, 2023
0d27d08
v3
fenric Feb 1, 2023
c9dd0dc
v3
fenric Feb 1, 2023
a5a606c
v3
fenric Feb 1, 2023
325a3ef
v3
fenric Feb 1, 2023
8fed719
v3
fenric Feb 2, 2023
ec1faa2
v3
fenric Feb 2, 2023
87e8987
v3
fenric Feb 7, 2023
6319e7f
v3
fenric Feb 8, 2023
c0af557
v3
fenric Feb 8, 2023
e5c9f7d
v3
fenric Feb 9, 2023
2189b3a
v3
fenric Feb 9, 2023
576da85
v3
fenric Feb 9, 2023
34333e2
v3
fenric Feb 9, 2023
4b5e535
v3
fenric Feb 10, 2023
bf51ff8
v3
fenric Feb 11, 2023
945de82
v3
fenric Feb 11, 2023
7a27390
v3
fenric Feb 11, 2023
e1046c9
v3
fenric Feb 11, 2023
cd3ab2b
v3
fenric Feb 11, 2023
eaa4ec4
v3
fenric Feb 11, 2023
44b0aec
v3
fenric Feb 12, 2023
e49f4c4
v3
fenric Feb 12, 2023
686c335
v3
fenric Feb 12, 2023
8e3aab0
v3
fenric Feb 13, 2023
65098dd
v3
fenric Feb 13, 2023
dc4e4e3
v3
fenric Jul 23, 2023
8d44899
v3
fenric Jul 24, 2023
d8821df
v3
fenric Jul 24, 2023
d559726
v3
fenric Jul 30, 2023
181775f
v3
fenric Aug 2, 2023
f09d6a1
v3
fenric Aug 2, 2023
ee61aa9
v3
fenric Aug 2, 2023
ca22747
v3
fenric Aug 6, 2023
3eb6a53
v3
fenric Aug 20, 2023
0f8015f
v3
fenric Aug 26, 2023
4739c77
v3
fenric Aug 27, 2023
4b0dabc
v3
fenric Aug 27, 2023
e64b02e
v3
fenric Sep 6, 2023
2f3a4fa
v3
fenric Sep 11, 2023
88af378
v3
fenric Sep 17, 2023
82cf111
v3
fenric Sep 18, 2023
39d567e
v3
fenric Sep 27, 2023
275d3ec
v3
fenric Oct 11, 2023
b96f9d1
v3
fenric Oct 25, 2023
cc0903e
v3
fenric Nov 16, 2023
6afaa2b
v3
fenric Nov 16, 2023
ec34eab
v3
fenric Nov 16, 2023
00404f9
v3
fenric Nov 17, 2023
30184a8
v3
fenric Nov 17, 2023
d70ae75
v3
fenric Nov 18, 2023
86280a7
v3
fenric Jan 6, 2024
2fe2c10
v3
fenric Feb 18, 2024
ea2d259
v3
fenric Feb 22, 2024
5ea9ed2
v3
fenric Feb 24, 2024
50a48a1
v3
fenric Feb 26, 2024
930e2f2
v3
fenric Feb 27, 2024
1dcc076
v3
fenric Feb 29, 2024
3c2a506
v3
fenric Mar 2, 2024
50c0b1a
v3
fenric Mar 2, 2024
bf5e124
v3
fenric Mar 3, 2024
e09d8e7
v3
fenric Mar 3, 2024
da3fb5e
v3
fenric Mar 3, 2024
9454050
v3
fenric Mar 4, 2024
a85d549
v3
fenric Mar 4, 2024
597d64f
v3
fenric Mar 4, 2024
8c93bbb
v3
fenric Mar 5, 2024
3f4ca18
v3
fenric Mar 5, 2024
faf3640
v3
fenric Mar 6, 2024
0323dce
v3
fenric Mar 6, 2024
15461b0
v3
fenric Mar 7, 2024
53b44ac
v3
fenric Mar 7, 2024
5b86abf
v3
fenric Mar 8, 2024
82e70c4
v3
fenric Mar 8, 2024
23719d6
v3
fenric Mar 9, 2024
85ac681
v3
fenric Mar 9, 2024
0a1e380
v3
fenric Mar 10, 2024
28d9f66
v3
fenric Mar 10, 2024
d598bb5
v3
fenric Mar 10, 2024
ca1f167
v3
fenric Mar 10, 2024
aacb5f5
v3
fenric Mar 10, 2024
f3d82c4
v3
fenric Mar 10, 2024
12931aa
v3
fenric Mar 10, 2024
c45ac4b
v3
fenric Mar 10, 2024
a1922b5
v3
fenric Mar 10, 2024
30846ab
v3
fenric Mar 11, 2024
5906580
v3
fenric Mar 12, 2024
d56bcc9
v3
fenric Mar 12, 2024
fd091ea
v3
fenric Mar 12, 2024
964c8a9
v3
fenric Mar 13, 2024
74cccde
v3
fenric Mar 13, 2024
9502a88
v3
fenric Mar 13, 2024
03e7c14
v3
fenric Mar 15, 2024
13a8f7a
v3
fenric Mar 15, 2024
f71cbe6
v3
fenric Mar 15, 2024
ad0016f
v3
fenric Mar 15, 2024
9f501f4
v3
fenric Mar 16, 2024
0feaa28
v3
fenric Mar 16, 2024
7e3feed
v3
fenric Mar 17, 2024
9c97824
v3
fenric Mar 17, 2024
7968ca2
v3
fenric Mar 17, 2024
29c49bf
v3
fenric Mar 17, 2024
fdcaf9b
v3
fenric Mar 20, 2024
88ee93a
v3
fenric Mar 21, 2024
509f010
v3
fenric Mar 31, 2024
482a8e2
v3
fenric Mar 31, 2024
89fc961
v3
fenric Mar 31, 2024
57186b1
v3
fenric Apr 14, 2024
c2f4c6a
v3
fenric Jul 15, 2024
73d17f9
v3
fenric Aug 19, 2024
268138f
v3
fenric Oct 13, 2024
758f534
v3
fenric Oct 24, 2024
e146d46
v3
fenric Oct 24, 2024
7c896fc
v3
fenric Oct 24, 2024
564e5b0
v3
fenric Oct 25, 2024
c3ecd03
v3
fenric Oct 26, 2024
6f1d40b
v3
fenric Oct 26, 2024
b6ad278
v3
fenric Oct 31, 2024
5b94717
v3
fenric Oct 31, 2024
fec640f
v3
fenric Nov 1, 2024
d9a10f0
v3
fenric Nov 1, 2024
7bf685f
v3
fenric Nov 1, 2024
e0f4e98
v3
fenric Nov 1, 2024
2f9c063
v3
fenric Nov 1, 2024
0b6d58b
v3
fenric Nov 1, 2024
fe84e3b
v3
fenric Nov 2, 2024
bdff25d
v3
fenric Nov 3, 2024
8f810ea
v3
fenric Nov 7, 2024
3c89c7f
v3
fenric Nov 7, 2024
d8edc82
v3
fenric Jan 9, 2025
a7fce74
v3
fenric Jan 9, 2025
8e9818e
v3
fenric Jan 10, 2025
62b104a
v3
fenric Jan 13, 2025
f75b624
v3
fenric Jan 13, 2025
0cd585d
v3
fenric Jan 13, 2025
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
64 changes: 0 additions & 64 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true

[*.yml]
[*{.json,.yml}]
indent_size = 2
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# These are supported funding model platforms

github: fenric # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
patreon: afenric
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: "packagist/sunrise/http-router" # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
Expand Down
14 changes: 11 additions & 3 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
build:
environment:
php:
version: '8.0'
image: default-bionic
nodes:
analysis:
environment:
php: 8.2
tests:
override:
- php-scrutinizer-run
coverage:
environment:
php: 8.2
tests:
override:
- command: XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage-clover coverage.xml
coverage:
file: coverage.xml
format: clover
php81:
environment:
php: 8.1
tests:
override:
- command: php vendor/bin/phpunit
19 changes: 1 addition & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
# v2.16.0

* New method: `Router::hasRoute(string):bool`.

## v2.15.0

* New middleware: `Sunrise\Http\Router\Middleware\JsonPayloadDecodingMiddleware`.

## v2.14.0

* New method: `Route::getHolder():Reflector`;
* New method: `Router::resolveHostname(string):?string`;
* New method: `Router::getRoutesByHostname(string):array`;
* New method: `RouterBuilder::setEventDispatcher(?EventDispatcherInterface):void`.

## v2.13.0

* Supports for events using the `symfony/event-dispatcher`.
# v3.0.0
Loading