Skip to content

Commit

Permalink
docs: Increase version to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEbbing authored and daniel-jones-dev committed Jan 27, 2023
1 parent a8c2bc7 commit 7aa1bcd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
8 changes: 2 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,16 @@ 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
language code constants and tests.

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
Expand Down Expand Up @@ -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
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:1.0.1"
implementation "com.deepl.api:deepl-java:1.1.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>1.0.1</version>
<version>1.1.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 = "1.0.1"
version = "1.1.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/1.0.1");
headers.putIfAbsent("User-Agent", "deepl-java/1.1.0");

this.httpClientWrapper =
new HttpClientWrapper(
Expand Down
2 changes: 1 addition & 1 deletion examples/maven/deepl-test-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>com.deepl.api</groupId>
<artifactId>deepl-java</artifactId>
<version>1.0.1</version>
<version>[1.0,2.0)</version>
</dependency>
</dependencies>

Expand Down

0 comments on commit 7aa1bcd

Please sign in to comment.