Skip to content

Commit

Permalink
Increase version to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jones-dev committed Dec 15, 2022
1 parent cd8dbec commit 63536dc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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.0.0] - 2022-12-15
### Added
* Add support for glossary management functions.
### Changed
Expand Down Expand Up @@ -53,7 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Initial version.


[Unreleased]: https://github.com/DeepLcom/deepl-java/compare/v0.2.1...HEAD
[1.0.0]: https://github.com/DeepLcom/deepl-java/compare/v0.2.1...v1.0.0
[0.2.1]: https://github.com/DeepLcom/deepl-java/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/DeepLcom/deepl-java/compare/v0.1.3...v0.2.0
[0.1.3]: https://github.com/DeepLcom/deepl-java/compare/v0.1.2...v0.1.3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Java 1.8 or later.
Add this dependency to your project's build file:

```
implementation "com.deepl.api:deepl-java:0.2.1"
implementation "com.deepl.api:deepl-java:1.0.0"
```

### Maven users
Expand All @@ -42,7 +42,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.deepl.api</groupId>
<artifactId>deepl-java</artifactId>
<version>0.2.1</version>
<version>1.0.0</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.2.1"
version = "1.0.0"

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 @@ -55,7 +55,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.2.1");
headers.putIfAbsent("User-Agent", "deepl-java/1.0.0");

this.httpClientWrapper =
new HttpClientWrapper(
Expand Down

0 comments on commit 63536dc

Please sign in to comment.