Skip to content

Commit

Permalink
Increase version to 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jones-dev committed Sep 8, 2022
1 parent 5312c2f commit a8ffc08
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +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).


## [0.1.2] - 2022-09-08
### Fixed
* Fix publishing to Maven Central by including sourcesJar and javadocJar.


## [0.1.1] - 2022-09-08
### Fixed
* Fix CI publishing step.
Expand All @@ -14,5 +19,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Initial version.


[0.1.2]: https://github.com/DeepLcom/deepl-java/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/DeepLcom/deepl-java/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/DeepLcom/deepl-java/releases/tag/v0.1.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Java 1.8 or later.
Add this dependency to your project's build file:

```
implementation "com.deepl.api:deepl-java:0.1.1"
implementation "com.deepl.api:deepl-java:0.1.2"
```

### Maven users
Expand All @@ -40,7 +40,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.deepl.api</groupId>
<artifactId>deepl-java</artifactId>
<version>0.1.1</version>
<version>0.1.2</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion deepl-java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "com.deepl.api"
version = "0.1.1"
version = "0.1.2"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion deepl-java/src/main/java/com/deepl/api/Translator.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Translator(String authKey, TranslatorOptions options) throws IllegalArgum
headers.putAll(options.getHeaders());
}
headers.putIfAbsent("Authorization", "DeepL-Auth-Key " + authKey);
headers.putIfAbsent("User-Agent", "deepl-java/0.1.1");
headers.putIfAbsent("User-Agent", "deepl-java/0.1.2");

this.httpClientWrapper =
new HttpClientWrapper(
Expand Down

0 comments on commit a8ffc08

Please sign in to comment.