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

Commit e1796e8

Browse files
committed
Merging develop to master in preparation for 1.2.0 release
2 parents f648d60 + 661e3cd commit e1796e8

19 files changed

+1236
-530
lines changed

.docheader

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* @see https://github.com/zendframework/zend-expressive-zendviewrenderer for the canonical source repository
3+
* @copyright Copyright (c) %regexp:(20\d{2}-)?20\d{2}% Zend Technologies USA Inc. (http://www.zend.com)
4+
* @license https://github.com/zendframework/zend-expressive-zendviewrenderer/blob/master/LICENSE.md New BSD License
5+
*/

.travis.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@ env:
1414
matrix:
1515
fast_finish: true
1616
include:
17-
- php: 5.5
18-
env:
19-
- DEPS=lowest
20-
- php: 5.5
21-
env:
22-
- DEPS=locked
23-
- php: 5.5
24-
env:
25-
- DEPS=latest
2617
- php: 5.6
2718
env:
2819
- DEPS=lowest
@@ -42,6 +33,15 @@ matrix:
4233
- php: 7
4334
env:
4435
- DEPS=latest
36+
- php: 7.1
37+
env:
38+
- DEPS=lowest
39+
- php: 7.1
40+
env:
41+
- DEPS=locked
42+
- php: 7.1
43+
env:
44+
- DEPS=latest
4545
- php: hhvm
4646
env:
4747
- DEPS=lowest
@@ -66,6 +66,7 @@ install:
6666
script:
6767
- composer test
6868
- if [[ $CHECK_CS == 'true' ]]; then composer cs ; fi
69+
- if [[ $CHECK_CS == 'true' ]]; then composer license-check ; fi
6970

7071
notifications:
7172
email: true

CHANGELOG.md

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

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

5+
## 1.2.0 - TBD
6+
7+
### Added
8+
9+
- [#30](https://github.com/zendframework/zend-expressive-zendviewrenderer/pull/30)
10+
adds support for zend-expressive-router 2.0.
11+
12+
- [#30](https://github.com/zendframework/zend-expressive-zendviewrenderer/pull/30)
13+
adds support for zend-expressive-helpers 2.2 and 3.0.
14+
15+
- [#30](https://github.com/zendframework/zend-expressive-zendviewrenderer/pull/30)
16+
adds new arguments to the `url()` helper:
17+
18+
```php
19+
echo $this->url(
20+
$routeName, // (optional) string route for which to generate URI; uses matched when absent
21+
$routeParams, // (optional) array route parameter substitutions; uses matched when absent
22+
$queryParams, // (optional) array query string arguments to include
23+
$fragment, // (optional) string URI fragment to include
24+
$options, // (optional) array of router options. The key `router` can
25+
// contain options to pass to the router; the key
26+
// `reuse_result_params` can be used to disable re-use of
27+
// matched routing parameters.
28+
);
29+
```
30+
31+
If using zend-expressive-router versions prior to 2.0 and/or
32+
zend-expressive-helpers versions prior to 3.0, arguments after `$routeParams`
33+
will be ignored.
34+
35+
### Changed
36+
37+
- [#26](https://github.com/zendframework/zend-expressive-zendviewrenderer/pull/26)
38+
updated the zend-view dependency to 2.8.1+.
39+
40+
### Deprecated
41+
42+
- Nothing.
43+
44+
### Removed
45+
46+
- [#26](https://github.com/zendframework/zend-expressive-zendviewrenderer/pull/26)
47+
removes the dependencies for the zend-i18n and zend-filter packages, as they
48+
are no longer required by the minimum version of zend-view supported.
49+
50+
If you depended on features of these, you may need to re-add them to your
51+
application:
52+
53+
```bash
54+
$ composer require zendframework/zend-filter zendframework/zend-i18n
55+
```
56+
57+
### Fixed
58+
59+
- Nothing.
60+
561
## 1.1.1 - TBD
662

763
### Added

composer.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
}
1919
},
2020
"require": {
21-
"php": "^5.5 || ^7.0",
21+
"php": "^5.6 || ^7.0",
2222
"container-interop/container-interop": "^1.1",
2323
"psr/http-message": "^1.0",
24-
"zendframework/zend-expressive-helpers": "^1.1 || ^2.0",
25-
"zendframework/zend-expressive-template": "^1.0.1",
26-
"zendframework/zend-filter": "^2.6.1",
27-
"zendframework/zend-i18n": "^2.6",
24+
"zendframework/zend-expressive-helpers": "^1.1 || ^2.2 || ^3.0",
25+
"zendframework/zend-expressive-router": "^1.3.2 || ^2.0",
26+
"zendframework/zend-expressive-template": "^1.0.4",
2827
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
29-
"zendframework/zend-view": "^2.6.5"
28+
"zendframework/zend-view": "^2.8.1"
3029
},
3130
"require-dev": {
32-
"phpunit/phpunit": "^4.7",
33-
"zendframework/zend-coding-standard": "~1.0.0"
31+
"phpunit/phpunit": "^5.7",
32+
"zendframework/zend-coding-standard": "~1.0.0",
33+
"malukenho/docheader": "^0.1.5"
3434
},
3535
"autoload": {
3636
"psr-4": {
@@ -44,11 +44,13 @@
4444
},
4545
"scripts": {
4646
"check": [
47+
"@license-check",
4748
"@cs",
4849
"@test"
4950
],
5051
"cs": "phpcs",
5152
"cs-fix": "phpcbf",
52-
"test": "phpunit"
53+
"license-check": "docheader check src/ test/",
54+
"test": "phpunit --colors=always"
5355
}
5456
}

0 commit comments

Comments
 (0)