Skip to content

Commit 28331cc

Browse files
Merge branch 'main' into strip-auth-key
2 parents 15b74df + 967456c commit 28331cc

29 files changed

Lines changed: 2684 additions & 68 deletions

.github/workflows/run_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
# export DEEPL_PROXY_URL=http://deepl-mock:3001
111111
# export DEEPL_MOCK_PROXY_SERVER_PORT=3001
112112
# fi
113-
# ./gradlew test
113+
# ./gradlew test -DrunV1ApiTests=true
114114
# - name: Stop mock proxy server
115115
# if: ${{ matrix.use-mock-server == 'use mock server' }}
116116
# run: docker stop deepl-mock-proxy

.gitlab-ci.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ include:
66
- project: 'deepl/ops/ci-cd-infrastructure/gitlab-ci-lib'
77
file:
88
- '/templates/.secret-detection.yml'
9+
- '/templates/.gitlab-release.yml'
10+
- template: Security/SAST.gitlab-ci.yml
911

1012
# Global --------------------------
1113

@@ -15,6 +17,7 @@ image: eclipse-temurin:17-alpine
1517
variables:
1618
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
1719
JAVA_TOOL_OPTIONS: ""
20+
GITLAB_ADVANCED_SAST_ENABLED: 'true'
1821

1922
workflow:
2023
rules:
@@ -77,6 +80,22 @@ secret_detection:
7780
rules:
7881
- if: $CI_MERGE_REQUEST_ID
7982

83+
gitlab-advanced-sast:
84+
stage: check
85+
rules:
86+
- when: always
87+
variables:
88+
SAST_EXCLUDED_PATHS: '$DEFAULT_SAST_EXCLUDED_PATHS'
89+
GIT_STRATEGY: clone
90+
91+
semgrep-sast:
92+
stage: check
93+
rules:
94+
- when: always
95+
variables:
96+
SAST_EXCLUDED_PATHS: '$DEFAULT_SAST_EXCLUDED_PATHS'
97+
GIT_STRATEGY: clone
98+
8099
# stage: build ----------------------
81100

82101
.build_base:
@@ -128,7 +147,7 @@ build_manual:
128147
export DEEPL_PROXY_URL=http://deepl-mock:3001
129148
export DEEPL_MOCK_PROXY_SERVER_PORT=3001
130149
fi
131-
- ./gradlew test
150+
- ./gradlew test -DrunV1ApiTests=true
132151
artifacts:
133152
paths:
134153
- deepl-java/build/reports/tests/test
@@ -207,3 +226,9 @@ publish_manual:
207226
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/'
208227
script:
209228
- ./gradlew publish
229+
230+
gitlab release:
231+
stage: publish
232+
extends: .create_gitlab_release
233+
rules:
234+
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/'

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,35 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [Unreleased]
8+
### Added
9+
<!-- * add to here -->
10+
### Changed
11+
<!-- * add to here -->
12+
13+
14+
## [1.10.1] - 2025-06-18
15+
### Fixed
16+
* Fixed `DeepLClient::deleteMultilingualGlossary(String glossaryId)` being package private, made it public instead.
17+
* Thanks to [MTSxoff](https://github.com/MTSxoff) for the report in [#68](https://github.com/DeepLcom/deepl-java/issues/68) and the fix in [#69](https://github.com/DeepLcom/deepl-java/pull/69).
18+
19+
20+
## [1.10.0] - 2025-04-30
21+
### Added
22+
* Added support for the /v3 Multilingual Glossary APIs in the client library
23+
while providing backwards compatability for the previous /v2 Glossary
24+
endpoints. Please refer to the README or
25+
[upgrading_to_multilingual_glossaries.md](upgrading_to_multilingual_glossaries.md)
26+
for usage instructions.
27+
* Added Ukrainian language code
28+
29+
30+
## [1.9.0] - 2025-02-21
31+
### Added
32+
* Allow specifying the API version to use. This is mostly for users who have an
33+
API subscription that includes an API key for CAT tool usage, who need to use
34+
the v1 API.
35+
736

837
## [1.8.1] - 2025-02-07
938
### Fixed
@@ -143,6 +172,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
143172
Initial version.
144173

145174

175+
[Unreleased]: https://github.com/DeepLcom/deepl-java/compare/v1.10.1...HEAD
176+
[1.10.1]: https://github.com/DeepLcom/deepl-java/compare/v1.10.0...v1.10.1
177+
[1.10.0]: https://github.com/DeepLcom/deepl-java/compare/v1.9.0...v1.10.0
178+
[1.9.0]: https://github.com/DeepLcom/deepl-java/compare/v1.8.1...v1.9.0
146179
[1.8.1]: https://github.com/DeepLcom/deepl-java/compare/v1.8.0...v1.8.1
147180
[1.8.0]: https://github.com/DeepLcom/deepl-java/compare/v1.7.0...v1.8.0
148181
[1.7.0]: https://github.com/DeepLcom/deepl-java/compare/v1.6.0...v1.7.0

0 commit comments

Comments
 (0)