Skip to content

Commit

Permalink
docs: Increase version to 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jones-dev committed Sep 5, 2024
1 parent 27037ac commit c2f0bd5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ 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).


## [1.5.1] - 2024-09-05
### Fixed
* Fixed parsing for usage count and limit for large values.
* Thanks to [lubo-dev](https://github.com/lubo-dev) in [#45](https://github.com/DeepLcom/deepl-java/pull/45).


## [1.5.0] - 2024-04-10
### Added
* New language available: Arabic (MSA) (`'ar'`). Add language code constants and tests.
Expand Down Expand Up @@ -104,6 +110,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Initial version.


[1.5.1]: https://github.com/DeepLcom/deepl-java/compare/v1.5.0...v1.5.1
[1.5.0]: https://github.com/DeepLcom/deepl-java/compare/v1.4.0...v1.5.0
[1.4.0]: https://github.com/DeepLcom/deepl-java/compare/v1.3.0...v1.4.0
[1.3.0]: https://github.com/DeepLcom/deepl-java/compare/v1.2.0...v1.3.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.5.0"
implementation "com.deepl.api:deepl-java:1.5.1"
```

### 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.5.0</version>
<version>1.5.1</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.5.0"
version = "1.5.1"

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 @@ -82,7 +82,7 @@ public Translator(String authKey) throws IllegalArgumentException {
*/
private String constructUserAgentString(boolean sendPlatformInfo, AppInfo appInfo) {
StringBuilder sb = new StringBuilder();
sb.append("deepl-java/1.5.0");
sb.append("deepl-java/1.5.1");
if (sendPlatformInfo) {
sb.append(" (");
Properties props = System.getProperties();
Expand Down

0 comments on commit c2f0bd5

Please sign in to comment.