Skip to content

Commit

Permalink
docs: Increase version to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jones-dev committed Jan 26, 2023
1 parent 4cfe439 commit d4de3c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
9 changes: 2 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]
## [1.3.0] - 2023-01-26
### Added
* New languages available: Korean (`'ko'`) and Norwegian (bokmål) (`'nb'`). Add language code constants and tests.

Note: older library versions also support the new languages, this update only adds new code constants.
### Changed
### Deprecated
### Removed
### Fixed
### Security


## [1.2.1] - 2023-01-25
Expand Down Expand Up @@ -91,7 +86,7 @@ Stable release.
Initial version.


[Unreleased]: https://github.com/DeepLcom/deepl-php/compare/v1.2.1...HEAD
[1.3.0]: https://github.com/DeepLcom/deepl-php/compare/v1.2.1...v1.3.0
[1.2.1]: https://github.com/DeepLcom/deepl-php/compare/v1.2.0...v1.2.1
[1.2.0]: https://github.com/DeepLcom/deepl-php/compare/v1.1.0...v1.2.0
[1.1.0]: https://github.com/DeepLcom/deepl-php/compare/v1.0.0...v1.1.0
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.1
1.3.0
4 changes: 2 additions & 2 deletions src/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Translator
/**
* Library version.
*/
public const VERSION = '1.2.1';
public const VERSION = '1.3.0';

/**
* Implements all HTTP requests and retries.
Expand Down Expand Up @@ -49,7 +49,7 @@ public function __construct(string $authKey, array $options = [])
$headers = array_replace(
[
'Authorization' => "DeepL-Auth-Key $authKey",
'User-Agent' => 'deepl-php/1.2.1',
'User-Agent' => 'deepl-php/1.3.0',
],
$options[TranslatorOptions::HEADERS] ?? []
);
Expand Down

0 comments on commit d4de3c6

Please sign in to comment.