Skip to content

Commit

Permalink
docs: Increase version to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEbbing committed Mar 31, 2023
1 parent 03b4082 commit 2e6ecc0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ build_manual:
- DOCKER_IMAGE: "eclipse-temurin:18-alpine"
- DOCKER_IMAGE: "openjdk:8-alpine"
USE_MOCK_SERVER: "use mock server"
- DOCKER_IMAGE: "eclipse-temurin:8-alpine"
- DOCKER_IMAGE: "eclipse-temurin:8-focal"
USE_MOCK_SERVER: "use mock server"
- DOCKER_IMAGE: "eclipse-temurin:11-alpine"
USE_MOCK_SERVER: "use mock server"
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2.0] - 2023-03-22
### Added
* Script to check our source code for license headers and a step for them in the CI.
* Added system and java version information to the user-agent string that is sent with API calls, along with an opt-out.
Expand Down Expand Up @@ -78,7 +78,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.1.0...HEAD
[1.2.0]: https://github.com/DeepLcom/deepl-java/compare/v1.1.0...v1.2.0
[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
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.1.0"
implementation "com.deepl.api:deepl-java:1.2.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.1.0</version>
<version>1.2.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.1.0"
version = "1.2.0"

val sharedManifest = the<JavaPluginConvention>().manifest {
attributes (
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 @@ -85,7 +85,7 @@ public Translator(String authKey) throws IllegalArgumentException {
*/
private String constructUserAgentString(boolean sendPlatformInfo, AppInfo appInfo) {
StringBuilder sb = new StringBuilder();
sb.append("deepl-java/1.1.0");
sb.append("deepl-java/1.2.0");
if (sendPlatformInfo) {
sb.append(" (");
Properties props = System.getProperties();
Expand Down

0 comments on commit 2e6ecc0

Please sign in to comment.