Skip to content

Commit

Permalink
Prepare v6.1.0 release
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed May 5, 2021
1 parent b4f3ddb commit 4723754
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG-6.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This changelog references the relevant changes (bug and security fixes) done to `orchestra/html`.

## 6.1.0

Released: 2021-05-05

### Changes

* Bump `orchestra/support` minimum version.

## 6.0.0

Released: 2020-12-27
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
},
"require": {
"php": "^7.3 || ^8.0",
"illuminate/translation": "^8.0",
"illuminate/translation": "^8.40",
"illuminate/support": "^8.40",
"laravie/html": "^7.2",
"laravie/query-filter": "^2.1",
"orchestra/contracts": "^6.0",
"orchestra/support": "^6.0"
"orchestra/support": "^6.1"
},
"require-dev": {
"illuminate/database": "^8.0",
"orchestra/testbench": "^6.17"
},
"extra": {
Expand Down
4 changes: 2 additions & 2 deletions src/Macros/Title.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected function getHtmlTitleFormatForSite(array $data)
return $data['site']['name'];
}

return Str::replace($this->formats['site'], $data);
return Str::translate($this->formats['site'], $data);
}

/**
Expand All @@ -97,6 +97,6 @@ protected function getHtmlTitleFormatForPage(array $data)
return $data['site']['name'];
}

return Str::replace($this->formats['page'], $data);
return Str::translate($this->formats['page'], $data);
}
}

0 comments on commit 4723754

Please sign in to comment.