Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 669ee4a

Browse files
committed
Merging develop to master in preparation for 3.0.0 release
2 parents c7edcd4 + 3a70af1 commit 669ee4a

File tree

11 files changed

+556
-315
lines changed

11 files changed

+556
-315
lines changed

.docheader

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/**
22
* @see https://github.com/zendframework/zend-expressive-zendrouter for the canonical source repository
3-
* @copyright Copyright (c) %regexp:(20\d{2}-)?20\d{2}% Zend Technologies USA Inc. (http://www.zend.com)
3+
* @copyright Copyright (c) %regexp:(20\d{2}-)?20\d{2}% Zend Technologies USA Inc. (https://www.zend.com)
44
* @license https://github.com/zendframework/zend-expressive-zendrouter/blob/master/LICENSE.md New BSD License
55
*/
6+
7+
declare(strict_types=1);

.travis.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,6 @@ env:
1313

1414
matrix:
1515
include:
16-
- php: 5.6
17-
env:
18-
- DEPS=lowest
19-
- php: 5.6
20-
env:
21-
- DEPS=locked
22-
- LEGACY_DEPS="phpunit/phpunit symfony/console symfony/finder"
23-
- php: 5.6
24-
env:
25-
- DEPS=latest
26-
- php: 7
27-
env:
28-
- DEPS=lowest
29-
- php: 7
30-
env:
31-
- DEPS=locked
32-
- LEGACY_DEPS="phpunit/phpunit symfony/console symfony/finder"
33-
- php: 7
34-
env:
35-
- DEPS=latest
3616
- php: 7.1
3717
env:
3818
- DEPS=lowest
@@ -56,11 +36,9 @@ matrix:
5636

5737
before_install:
5838
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
59-
- travis_retry composer self-update
6039

6140
install:
62-
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
63-
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
41+
- travis_retry composer install $COMPOSER_ARGS
6442
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
6543
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
6644
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,48 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5+
## 3.0.0 - 2018-03-15
6+
7+
### Added
8+
9+
- [#30](https://github.com/zendframework/zend-expressive-zendrouter/pull/30) and
10+
[#35](https://github.com/zendframework/zend-expressive-zendrouter/pull/35) add
11+
support for the zend-expressive-router 3.0 series.
12+
13+
- [#34](https://github.com/zendframework/zend-expressive-zendrouter/pull/34)
14+
adds `Zend\Expressive\Router\ZendRouter\ConfigProvider` and exposes it as a
15+
config provider within the package definition.
16+
17+
### Changed
18+
19+
- [#41](https://github.com/zendframework/zend-expressive-zendrouter/pull/41)
20+
updates the minimum supported version of zend-expressive-router to 3.0.0rc3
21+
and later.
22+
23+
### Deprecated
24+
25+
- Nothing.
26+
27+
### Removed
28+
29+
- [#30](https://github.com/zendframework/zend-expressive-zendrouter/pull/30)
30+
removes support for the zend-expressive-router 2.0 series.
31+
32+
- [#30](https://github.com/zendframework/zend-expressive-zendrouter/pull/30)
33+
removes support for PHP 5.6 and PHP 7.0.
34+
35+
### Fixed
36+
37+
- [#37](https://github.com/zendframework/zend-expressive-zendrouter/pull/37)
38+
fixes an issue with how a failure result is marshaled when the path patches
39+
but the request method does not. The package now correctly aggregates allowed
40+
methods for the route result failure instance.
41+
42+
- [#40](https://github.com/zendframework/zend-expressive-zendrouter/pull/40)
43+
fixes how the router creates a `RouteResult` when the path matches, but not
44+
the HTTP method. In particular, it does not provide special handling for
45+
`HEAD` requests, treating them like any other method mismatch.
46+
547
## 2.2.0 - 2018-03-08
648

749
### Added

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015-2017, Zend Technologies USA, Inc.
1+
Copyright (c) 2015-2018, Zend Technologies USA, Inc.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

composer.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,19 @@
2020
"forum": "https://discourse.zendframework.com/c/questions/expressive"
2121
},
2222
"require": {
23-
"php": "^5.6 || ^7.0",
23+
"php": "^7.1",
2424
"fig/http-message-util": "^1.1.2",
2525
"psr/http-message": "^1.0.1",
26-
"zendframework/zend-expressive-router": "^2.4",
26+
"zendframework/zend-expressive-router": "^3.0",
2727
"zendframework/zend-psr7bridge": "^0.2.2 || ^1.0.0",
2828
"zendframework/zend-router": "^3.0.2"
2929
},
3030
"require-dev": {
31-
"malukenho/docheader": "^0.1.5",
32-
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
31+
"malukenho/docheader": "^0.1.6",
32+
"phpunit/phpunit": "^7.0.2",
3333
"zendframework/zend-coding-standard": "~1.0.0",
34-
"zendframework/zend-i18n": "^2.7.3"
34+
"zendframework/zend-i18n": "^2.7.4",
35+
"zendframework/zend-stratigility": "^3.0"
3536
},
3637
"autoload": {
3738
"psr-4": {
@@ -48,8 +49,11 @@
4849
},
4950
"extra": {
5051
"branch-alias": {
51-
"dev-master": "2.2.x-dev",
52-
"dev-develop": "3.0.x-dev"
52+
"dev-master": "3.0.x-dev",
53+
"dev-develop": "3.1.x-dev"
54+
},
55+
"zf": {
56+
"config-provider": "Zend\\Expressive\\Router\\ZendRouter\\ConfigProvider"
5357
}
5458
},
5559
"scripts": {

0 commit comments

Comments
 (0)