This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9- ## [ 3.0.0] - 2021-07-??
9+ ## [ 3.0.1] - 2021-07-09
10+ ### Added
11+ ### Changed
12+ - revert standard api-host to api.deepl.com
13+ ### Removed
14+
15+ ## [ 3.0.0] - 2021-07-09
1016####Major overhaul of the Library with some Breaking changes. Please read before updating!
1117### Added
1218- Support for PHP 8
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ class DeepL
8484 * @param integer $apiVersion
8585 * @param string $host
8686 */
87- public function __construct ($ authKey , $ apiVersion = 2 , $ host = 'api-free .deepl.com ' )
87+ public function __construct ($ authKey , $ apiVersion = 2 , $ host = 'api.deepl.com ' )
8888 {
8989 $ this ->authKey = $ authKey ;
9090 $ this ->apiVersion = $ apiVersion ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public function testTranslateException()
5353 public function testBuildBaseUrl ()
5454 {
5555 $ authKey = '123456 ' ;
56- $ expectedUrl = 'https://api-free .deepl.com/v2/translate?auth_key= ' .$ authKey ;
56+ $ expectedUrl = 'https://api.deepl.com/v2/translate?auth_key= ' .$ authKey ;
5757 $ deepl = new DeepL ($ authKey );
5858 $ buildUrl = self ::getMethod ('\BabyMarkt\DeepL\DeepL ' , 'buildBaseUrl ' );
5959 $ return = $ buildUrl ->invokeArgs ($ deepl , array ());
You can’t perform that action at this time.
0 commit comments