From 63536dc9d0c21472c8cf20fa1acbd7c8bad1d608 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Thu, 15 Dec 2022 15:08:53 +0100 Subject: [PATCH] Increase version to 1.0.0 --- CHANGELOG.md | 4 ++-- README.md | 4 ++-- deepl-java/build.gradle.kts | 2 +- deepl-java/src/main/java/com/deepl/api/Translator.java | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c1019f..e5fc7a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/README.md b/README.md index 3b7dec7..6aac1e7 100644 --- a/README.md +++ b/README.md @@ -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 @@ -42,7 +42,7 @@ Add this dependency to your project's POM: com.deepl.api deepl-java - 0.2.1 + 1.0.0 ``` diff --git a/deepl-java/build.gradle.kts b/deepl-java/build.gradle.kts index a88273c..37b3c61 100644 --- a/deepl-java/build.gradle.kts +++ b/deepl-java/build.gradle.kts @@ -6,7 +6,7 @@ plugins { } group = "com.deepl.api" -version = "0.2.1" +version = "1.0.0" java { sourceCompatibility = JavaVersion.VERSION_1_8 diff --git a/deepl-java/src/main/java/com/deepl/api/Translator.java b/deepl-java/src/main/java/com/deepl/api/Translator.java index cad7db9..915a567 100644 --- a/deepl-java/src/main/java/com/deepl/api/Translator.java +++ b/deepl-java/src/main/java/com/deepl/api/Translator.java @@ -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(