From 7aa1bcd75d70ceb99523aba04fcbfeb694a891be Mon Sep 17 00:00:00 2001 From: Jan Ebbing Date: Fri, 27 Jan 2023 09:01:23 +0100 Subject: [PATCH] docs: Increase version to 1.1.0 --- CHANGELOG.md | 8 ++------ README.md | 4 ++-- deepl-java/build.gradle.kts | 2 +- deepl-java/src/main/java/com/deepl/api/Translator.java | 2 +- examples/maven/deepl-test-app/pom.xml | 2 +- 5 files changed, 7 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93fe55c..e9b4d91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. 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.1.0] - 2023-01-26 ### Added * Add example maven project using this library. * New languages available: Korean (`'ko'`) and Norwegian (bokmål) (`'nb'`). Add @@ -12,12 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Note: older library versions also support the new languages, this update only adds new code constants. -### Changed -### Deprecated -### Removed ### Fixed * Send Formality options in API requests even if it is default. -### Security ## [1.0.1] - 2023-01-02 @@ -75,7 +71,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/v1.0.1...HEAD +[1.1.0]: https://github.com/DeepLcom/deepl-java/compare/v1.0.1...v1.1.0 [1.0.1]: https://github.com/DeepLcom/deepl-java/compare/v1.0.0...v1.0.1 [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 diff --git a/README.md b/README.md index 2824846..4c1db47 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:1.0.1" +implementation "com.deepl.api:deepl-java:1.1.0" ``` ### Maven users @@ -42,7 +42,7 @@ Add this dependency to your project's POM: com.deepl.api deepl-java - 1.0.1 + 1.1.0 ``` diff --git a/deepl-java/build.gradle.kts b/deepl-java/build.gradle.kts index f0d7679..6f8ac54 100644 --- a/deepl-java/build.gradle.kts +++ b/deepl-java/build.gradle.kts @@ -6,7 +6,7 @@ plugins { } group = "com.deepl.api" -version = "1.0.1" +version = "1.1.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 712221c..6a9812f 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/1.0.1"); + headers.putIfAbsent("User-Agent", "deepl-java/1.1.0"); this.httpClientWrapper = new HttpClientWrapper( diff --git a/examples/maven/deepl-test-app/pom.xml b/examples/maven/deepl-test-app/pom.xml index cd0acce..0f3de8b 100644 --- a/examples/maven/deepl-test-app/pom.xml +++ b/examples/maven/deepl-test-app/pom.xml @@ -23,7 +23,7 @@ com.deepl.api deepl-java - 1.0.1 + [1.0,2.0)