Skip to content

Commit

Permalink
Increase version to 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jones-dev committed May 24, 2022
1 parent 8610ad1 commit fd2e2a7
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,14 +5,9 @@ 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]
## [0.4.0] - 2022-05-24
### Added
* Add support for document translation.
### Changed
### Deprecated
### Removed
### Fixed
### Security


## [0.3.0] - 2022-05-18
Expand All @@ -39,7 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Initial version.


[Unreleased]: https://github.com/DeepLcom/deepl-php/compare/v0.3.0...HEAD
[0.4.0]: https://github.com/DeepLcom/deepl-php/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/DeepLcom/deepl-php/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/DeepLcom/deepl-php/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/DeepLcom/deepl-php/compare/v0.1.0...v0.1.1
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.0
0.4.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 = '0.3.0';
public const VERSION = '0.4.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/0.3.0',
'User-Agent' => 'deepl-php/0.4.0',
],
$options[TranslatorOptions::HEADERS] ?? []
);
Expand Down

0 comments on commit fd2e2a7

Please sign in to comment.