Skip to content

Commit 2324474

Browse files
committed
Prepare 2.0.0-RC1
1 parent 17ab10f commit 2324474

File tree

4 files changed

+47
-50
lines changed

4 files changed

+47
-50
lines changed

.travis.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,18 @@ cache:
1313
directories:
1414
- $HOME/.composer/cache/files
1515

16-
env: SYMFONY_VERSION=2.8.*
16+
env: SYMFONY_VERSION=3.2.*
1717

1818
matrix:
1919
include:
20-
- php: 5.6
21-
env: DEPS=dev
20+
- php: 7.1
21+
env: SYMFONY_VERSION=3.3.* DEPS=dev
2222
- php: 5.5
23-
env: COMPOSER_FLAGS="--prefer-lowest"
24-
- php: 5.6
25-
env: SYMFONY_VERSION=2.3.*
23+
env: SYMFONY_VERSION=2.8.* COMPOSER_FLAGS="--prefer-lowest"
2624
- php: 5.6
2725
env: SYMFONY_VERSION=2.7.*
2826
- php: 5.6
29-
env: SYMFONY_VERSION=3.0.*
27+
env: SYMFONY_VERSION=3.1.*
3028
finish_fast: true
3129

3230
before_install:

CHANGELOG.md

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
Changelog
22
=========
33

4-
2 (unreleased)
5-
--------------
6-
7-
* **2016-11-30**: Changed file structure to have all php code in src/
4+
2.0.0-RC1
5+
---------
86

9-
* **2016-05-11**: Added a ConditionalEnhancer that accepts pairs of request matcher
10-
and enhancer to be called if the request matcher matches the request.
7+
* **2016-11-30**: Changed file structure to have all php code in src/
8+
* **2016-05-11**: Added a ConditionalEnhancer that accepts pairs of request matcher
9+
and enhancer to be called if the request matcher matches the request.
1110

1211
1.4.0
1312
-----
1413

15-
* **2016-02-27**: Added ContentRepositoryEnhancer that can look up a content by
16-
ID from a content repository.
14+
* **2016-02-27**: Added ContentRepositoryEnhancer that can look up a content by
15+
ID from a content repository.
1716

1817
1.4.0-RC1
1918
---------
2019

21-
* **2016-01-09**: When ChainRouter::match is used with a RequestMatcher, the
22-
Request is now properly rebuilt from the RequestContext if that was set on
23-
the ChainRouter, and http://localhost is used otherwise to avoid issues with
24-
paths starting with a double forward slash.
25-
* **2014-09-29**: ChainRouter does not require a RouterInterface, as a
26-
RequestMatcher and UrlGenerator is fine too. Fixed chain router interface to
27-
not force a RouterInterface.
28-
* **2014-09-29**: Deprecated DynamicRouter::match in favor of matchRequest.
20+
* **2016-01-09**: When ChainRouter::match is used with a RequestMatcher, the
21+
Request is now properly rebuilt from the RequestContext if that was set on
22+
the ChainRouter, and http://localhost is used otherwise to avoid issues with
23+
paths starting with a double forward slash.
24+
* **2014-09-29**: ChainRouter does not require a RouterInterface, as a
25+
RequestMatcher and UrlGenerator is fine too. Fixed chain router interface to
26+
not force a RouterInterface.
27+
* **2014-09-29**: Deprecated DynamicRouter::match in favor of matchRequest.
2928

3029
1.3.0
3130
-----
@@ -35,8 +34,8 @@ Release 1.3.0
3534
1.3.0-RC1
3635
---------
3736

38-
* **2014-08-20**: Added an interface for the ChainRouter
39-
* **2014-06-06**: Updated to PSR-4 autoloading
37+
* **2014-08-20**: Added an interface for the ChainRouter
38+
* **2014-06-06**: Updated to PSR-4 autoloading
4039

4140
1.2.0
4241
-----
@@ -46,9 +45,9 @@ Release 1.2.0
4645
1.2.0-RC1
4746
---------
4847

49-
* **2013-12-23**: add support for ChainRouter::getRouteCollection()
50-
* **2013-01-07**: Removed the deprecated $parameters argument in
51-
RouteProviderInterface::getRouteByName and getRoutesByNames.
48+
* **2013-12-23**: add support for ChainRouter::getRouteCollection()
49+
* **2013-01-07**: Removed the deprecated $parameters argument in
50+
RouteProviderInterface::getRouteByName and getRoutesByNames.
5251

5352
1.1.0
5453
-----
@@ -58,17 +57,17 @@ Release 1.1.0
5857
1.1.0-RC1
5958
---------
6059

61-
* **2013-07-31**: DynamicRouter now accepts an EventDispatcher to trigger a
62-
RouteMatchEvent right before the matching starts
63-
* **2013-07-29**: Renamed RouteAwareInterface to RouteReferrersReadInterface
64-
for naming consistency and added RouteReferrersInterface for write access.
65-
* **2013-07-13**: NestedMatcher now expects a FinalMatcherInterface as second
66-
argument of the constructor
60+
* **2013-07-31**: DynamicRouter now accepts an EventDispatcher to trigger a
61+
RouteMatchEvent right before the matching starts
62+
* **2013-07-29**: Renamed RouteAwareInterface to RouteReferrersReadInterface
63+
for naming consistency and added RouteReferrersInterface for write access.
64+
* **2013-07-13**: NestedMatcher now expects a FinalMatcherInterface as second
65+
argument of the constructor
6766

6867
1.1.0-alpha1
6968
------------
7069

71-
* **2013-04-30**: Dropped Symfony 2.1 support and got rid of
72-
ConfigurableUrlMatcher class
73-
* **2013-04-05**: [ContentAwareGenerator] Fix locale handling to always respect
74-
locale but never have unnecessary ?locale=
70+
* **2013-04-30**: Dropped Symfony 2.1 support and got rid of
71+
ConfigurableUrlMatcher class
72+
* **2013-04-05**: [ContentAwareGenerator] Fix locale handling to always respect
73+
locale but never have unnecessary ?locale=

composer.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@
1313
],
1414
"require": {
1515
"php": "^5.5.9|^7.0",
16-
"symfony/routing": "^2.2|3.*",
17-
"symfony/http-kernel": "^2.2|3.*",
18-
"psr/log": "1.*"
16+
"symfony/routing": "^2.2|^3.0",
17+
"symfony/http-kernel": "^2.2|^3.0",
18+
"psr/log": "^1.0"
1919
},
2020
"require-dev": {
21-
"symfony-cmf/testing": "^1.3",
22-
"symfony/dependency-injection": "^2.0.5|3.*",
23-
"symfony/config": "^2.2|3.*",
24-
"symfony/event-dispatcher": "^2.1|3.*",
21+
"symfony-cmf/testing": "^1.3|^2.0",
22+
"symfony/dependency-injection": "^2.0.5|^3.0",
23+
"symfony/config": "^2.2|^3.0",
24+
"symfony/event-dispatcher": "^2.1|^3.0",
2525
"friendsofsymfony/jsrouting-bundle": "^1.1"
2626
},
2727
"suggest": {
2828
"symfony/event-dispatcher": "DynamicRouter can optionally trigger an event at the start of matching. Minimal version (~2.1)"
2929
},
3030
"autoload": {
31-
"psr-4": {
32-
"Symfony\\Cmf\\Component\\Routing\\": "src/",
33-
"Symfony\\Cmf\\Component\\Routing\\Tests\\": "tests/"
34-
}
31+
"psr-4": { "Symfony\\Cmf\\Component\\Routing\\": "src/" }
32+
},
33+
"autoload-dev": {
34+
"psr-4": { "Symfony\\Cmf\\Component\\Routing\\Tests\\": "tests/" }
3535
},
3636
"extra": {
3737
"branch-alias": {

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<testsuites>
1010
<testsuite name="Symfony Cmf Routing Test Suite">
11-
<directory>./Tests</directory>
11+
<directory>./tests</directory>
1212
</testsuite>
1313
</testsuites>
1414

0 commit comments

Comments
 (0)