8000 Merge branch 'hotfix/0.9.1' · tooshay/laravel-json-api@d2fde24 · GitHub
[go: up one dir, main page]

Skip to content

Commit d2fde24

Browse files
committed
Merge branch 'hotfix/0.9.1'
2 parents 8864810 + 73050c8 commit d2fde24

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
All notable changes to this project will be documented in this file. This project adheres to
33
[Semantic Versioning](http://semver.org/) and [this changelog format](http://keepachangelog.com/).
44

5+
## [0.9.1] - 2017-06-26
6+
7+
### Fixed
8+
- [#70] Url prefix was not being passed to encoder leading to invalid links in JSON API documents.
9+
510
## [0.9.0] - 2017-06-07
611

712
### Added

src/Api/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected function createApi(Definition $definition, $host)
139139

140140
return $this->factory->createApi(
141141
$definition->getName(),
142-
$this->factory->createConfiguredCodecMatcher($schemas, $definition->getCodecs()),
142+
$this->factory->createConfiguredCodecMatcher($schemas, $definition->getCodecs(), $urlPrefix),
143143
$schemas,
144144
$this->factory->createStore($adapters),
145145
$this->factory->createErrorRepository($definition->getErrors()),

0 commit comments

Comments
 (0)
0