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

Commit 573e24f

Browse files
committed
Merge branch 'hotfix/21'
Close #21
2 parents 779a3e5 + abca26a commit 573e24f

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,32 @@ All notable changes to this project will be documented in this file, in reverse
44

55
Versions prior to 0.4.0 were released as the package "weierophinney/hal".
66

7+
## 0.5.1 - 2017-11-07
8+
9+
### Added
10+
11+
- Nothing.
12+
13+
### Changed
14+
15+
- Nothing.
16+
17+
### Deprecated
18+
19+
- Nothing.
20+
21+
### Removed
22+
23+
- Nothing.
24+
25+
### Fixed
26+
27+
- [#21](https://github.com/zendframework/zend-expressive-hal/pull/21) fixes the
28+
`LinkGeneratorFactory` to properly use the
29+
`Zend\Expressive\Hal\LinkGenerator\UrlGeneratorInterface` service when
30+
creating and returning the `LinkGenerator` instance. (0.5.0 was incorrectly
31+
attempting to use the `UrlGenerator` service, which does not exist.)
32+
733
## 0.5.0 - 2017-10-30
834

935
### Added

src/LinkGeneratorFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class LinkGeneratorFactory
1414
public function __invoke(ContainerInterface $container) : LinkGenerator
1515
{
1616
return new LinkGenerator(
17-
$container->get(LinkGenerator\UrlGenerator::class)
17+
$container->get(LinkGenerator\UrlGeneratorInterface::class)
1818
);
1919
}
2020
}

0 commit comments

Comments
 (0)