Skip to content

Commit 794ff4d

Browse files
committed
Merge branch 'main' into use-named-parameters-php-test
2 parents be40ab7 + c2ad18b commit 794ff4d

25 files changed

+75
-16
lines changed

clients/cli/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [2.49.0](https://github.com/phrase/openapi/compare/cli-v2.48.0...cli-v2.49.0) (2025-10-23)
4+
5+
6+
### Features
7+
8+
* **API:** Support source_locale_id param in uploads ([#935](https://github.com/phrase/openapi/issues/935)) ([304a406](https://github.com/phrase/openapi/commit/304a4061aaac8001a3a9e10c5cf985b04c31dab2))
9+
310
## [2.48.0](https://github.com/phrase/openapi/compare/cli-v2.47.0...cli-v2.48.0) (2025-10-16)
411

512

clients/cli/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/daviddengcn/go-colortext v1.0.0
1212
github.com/jpillora/backoff v1.0.0
1313
github.com/mitchellh/mapstructure v1.5.0
14-
github.com/phrase/phrase-go/v4 v4.12.0 // x-release-please-version
14+
github.com/phrase/phrase-go/v4 v4.13.0 // x-release-please-version
1515
github.com/spf13/cobra v1.8.1
1616
github.com/spf13/viper v1.7.1
1717
gopkg.in/yaml.v2 v2.4.0

clients/go/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [4.13.0](https://github.com/phrase/openapi/compare/go-v4.12.0...go-v4.13.0) (2025-10-23)
4+
5+
6+
### Features
7+
8+
* **API:** Support source_locale_id param in uploads ([#935](https://github.com/phrase/openapi/issues/935)) ([304a406](https://github.com/phrase/openapi/commit/304a4061aaac8001a3a9e10c5cf985b04c31dab2))
9+
310
## [4.12.0](https://github.com/phrase/openapi/compare/go-v4.11.0...go-v4.12.0) (2025-10-16)
411

512

clients/java/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [3.12.0](https://github.com/phrase/openapi/compare/java-v3.11.0...java-v3.12.0) (2025-10-23)
4+
5+
6+
### Features
7+
8+
* **API:** Support source_locale_id param in uploads ([#935](https://github.com/phrase/openapi/issues/935)) ([304a406](https://github.com/phrase/openapi/commit/304a4061aaac8001a3a9e10c5cf985b04c31dab2))
9+
310
## [3.11.0](https://github.com/phrase/openapi/compare/java-v3.10.0...java-v3.11.0) (2025-10-16)
411

512

clients/java/src/test/java/com/phrase/client/api/UploadsApiTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public void uploadCreateTest() throws ApiException, IOException, InterruptedExce
100100
Boolean updateTranslations = null;
101101
Boolean updateCustomMetadata = null;
102102
Boolean updateTranslationKeys = true;
103+
String sourceLocaleId = null;
103104
Boolean updateTranslationsOnSourceMatch = null;
104105
Boolean updateDescriptions = null;
105106
Boolean convertEmoji = null;
@@ -122,7 +123,7 @@ public void uploadCreateTest() throws ApiException, IOException, InterruptedExce
122123
formatOptionsMap.put("more_options", nestedFormatOptionsMap);
123124

124125
Upload response = api.uploadCreate(projectId, file, fileFormat, localeId, xPhraseAppOTP, branch,
125-
tags, updateTranslations, updateCustomMetadata, updateTranslationKeys, updateTranslationsOnSourceMatch,
126+
tags, updateTranslations, updateCustomMetadata, updateTranslationKeys, updateTranslationsOnSourceMatch, sourceLocaleId,
126127
updateDescriptions, convertEmoji, skipUploadTags, skipUnverification, fileEncoding,
127128
localeMapping, formatOptionsMap, autotranslate, verifyMentionedTranslations, markReviewed, tagOnlyAffectedKeys,
128129
translationKeyPrefix);

clients/php/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [3.12.0](https://github.com/phrase/openapi/compare/php-v3.11.0...php-v3.12.0) (2025-10-23)
4+
5+
6+
### Features
7+
8+
* **API:** Support source_locale_id param in uploads ([#935](https://github.com/phrase/openapi/issues/935)) ([304a406](https://github.com/phrase/openapi/commit/304a4061aaac8001a3a9e10c5cf985b04c31dab2))
9+
310
## [3.11.0](https://github.com/phrase/openapi/compare/php-v3.10.0...php-v3.11.0) (2025-10-16)
411

512

clients/python/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [3.11.0](https://github.com/phrase/openapi/compare/python-v3.10.0...python-v3.11.0) (2025-10-23)
4+
5+
6+
### Features
7+
8+
* **API:** Support source_locale_id param in uploads ([#935](https://github.com/phrase/openapi/issues/935)) ([304a406](https://github.com/phrase/openapi/commit/304a4061aaac8001a3a9e10c5cf985b04c31dab2))
9+
310
## [3.10.0](https://github.com/phrase/openapi/compare/python-v3.9.0...python-v3.10.0) (2025-10-16)
411

512

clients/ruby/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [4.13.0](https://github.com/phrase/openapi/compare/ruby-v4.12.0...ruby-v4.13.0) (2025-10-23)
4+
5+
6+
### Features
7+
8+
* **API:** Support source_locale_id param in uploads ([#935](https://github.com/phrase/openapi/issues/935)) ([304a406](https://github.com/phrase/openapi/commit/304a4061aaac8001a3a9e10c5cf985b04c31dab2))
9+
310
## [4.12.0](https://github.com/phrase/openapi/compare/ruby-v4.11.0...ruby-v4.12.0) (2025-10-16)
411

512

clients/typescript/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [3.11.0](https://github.com/phrase/openapi/compare/typescript-v3.10.0...typescript-v3.11.0) (2025-10-23)
4+
5+
6+
### Features
7+
8+
* **API:** Support source_locale_id param in uploads ([#935](https://github.com/phrase/openapi/issues/935)) ([304a406](https://github.com/phrase/openapi/commit/304a4061aaac8001a3a9e10c5cf985b04c31dab2))
9+
310
## [3.10.0](https://github.com/phrase/openapi/compare/typescript-v3.9.0...typescript-v3.10.0) (2025-10-16)
411

512

doc/compiled.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14776,6 +14776,11 @@
1477614776
"default": false,
1477714777
"example": true
1477814778
},
14779+
"source_locale_id": {
14780+
"description": "Specifies the source locale for multilingual files. Can be the name or id of the locale. Preferred is id.",
14781+
"type": "string",
14782+
"example": "abcd1234cdef1234abcd1234cdef1234"
14783+
},
1477914784
"update_descriptions": {
1478014785
"description": "Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.",
1478114786
"type": "boolean",

0 commit comments

Comments
 (0)