From 0d5f10bc1e81b624dbc57cce43e2649d4318358f Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Thu, 3 Dec 2015 10:24:41 -0600 Subject: [PATCH 1/2] Deprecate RouteResultObserverInterface This functionality was moved to zend-expressive in zendframework/zend-expressive#206. --- README.md | 3 --- src/RouteResultObserverInterface.php | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7a65cce..f8fae30 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,6 @@ This package provides the following classes and interfaces: `ServerRequest` messages. - `Route`, a value object describing routed middleware. - `RouteResult`, a value object describing the results of routing. -- `RouteResultObserverInterface`, which allows you to create observers for - `Zend\Expressive\Application` that will be updated when a `RouteResult` has - been obtained. ## Installation diff --git a/src/RouteResultObserverInterface.php b/src/RouteResultObserverInterface.php index 04cd689..06b74a8 100644 --- a/src/RouteResultObserverInterface.php +++ b/src/RouteResultObserverInterface.php @@ -9,6 +9,10 @@ namespace Zend\Expressive\Router; +/** + * @deprecated Since 1.0.1. Use Zend\Expressive\RouteResultObserverInterface + * from the zendframework/zend-expressive package instead. + */ interface RouteResultObserverInterface { /** From 0c014724d8edf33a17bbfd48df04f96763883e2f Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Thu, 3 Dec 2015 10:52:57 -0600 Subject: [PATCH 2/2] Created CHANGELOG for #3 --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0728e8b..4d27fed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. -## 1.0.1 - TBD +## 1.0.1 - 2015-12-03 ### Added @@ -10,7 +10,8 @@ All notable changes to this project will be documented in this file, in reverse ### Deprecated -- Nothing. +- [#3](https://github.com/zendframework/zend-expressive-router/pull/3) deprecates `RouteResultObserverInterface`, which + [has been moved to the `Zend\Expressive` namespace and package](https://github.com/zendframework/zend-expressive/pull/206). ### Removed