From feb03e8998f85707726696d43b86a9486f453ad9 Mon Sep 17 00:00:00 2001 From: Christian Dangl Date: Tue, 25 Jul 2023 21:32:32 +0200 Subject: [PATCH] Release 1.12.0 --- CHANGELOG.md | 10 ++++- composer.json | 2 +- composer.lock | 76 ++++++++++++++++----------------- tests/svrunit/tests/version.yml | 4 +- 4 files changed, 50 insertions(+), 42 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3262006..5ad29cdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes of PHPUnuhi releases are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles. -## [unreleased] +## [1.12.0] ### Added @@ -11,6 +11,14 @@ using the [Keep a CHANGELOG](https://keepachangelog.com/) principles. - Add option to register **custom translator services* by using the TranslatorFactory **register** command. - Add option to register **custom exchange formats* by using the ExchangeFactory **register** command. +### Changed + +- Translator Services are now in charge of handling protection markers, because for some services the automatic encryption of markers would lead to problems. + +### Fixed + +- Fixed problem when using OpenAI to translate values in combination with protection markers. This should now work. + ## [1.11.0] ### Added diff --git a/composer.json b/composer.json index fa412f64..f89d0793 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "boxblinkracer/phpunuhi", - "version": "1.11.0", + "version": "1.12.0", "license": "MIT", "description": "Easy tool to work with translation files for validation, exports, imports and more.", "homepage": "https://github.com/boxblinkracer/phpunuhi", diff --git a/composer.lock b/composer.lock index 768a578e..f11d3a72 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6a65c8cdae9242a2cb8ceec13b548266", + "content-hash": "38716d49ce2927c4bfbce5c38e64b4e4", "packages": [ { "name": "deeplcom/deepl-php", @@ -71,16 +71,16 @@ }, { "name": "firebase/php-jwt", - "version": "v6.8.0", + "version": "v6.8.1", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "48b0210c51718d682e53210c24d25c5a10a2299b" + "reference": "5dbc8959427416b8ee09a100d7a8588c00fb2e26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/48b0210c51718d682e53210c24d25c5a10a2299b", - "reference": "48b0210c51718d682e53210c24d25c5a10a2299b", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/5dbc8959427416b8ee09a100d7a8588c00fb2e26", + "reference": "5dbc8959427416b8ee09a100d7a8588c00fb2e26", "shasum": "" }, "require": { @@ -128,9 +128,9 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.8.0" + "source": "https://github.com/firebase/php-jwt/tree/v6.8.1" }, - "time": "2023-06-20T16:45:35+00:00" + "time": "2023-07-14T18:33:00+00:00" }, { "name": "google/auth", @@ -192,16 +192,16 @@ }, { "name": "google/cloud-core", - "version": "v1.52.0", + "version": "v1.52.1", "source": { "type": "git", "url": "https://github.com/googleapis/google-cloud-php-core.git", - "reference": "bd87e418923e0d836c7e754d82e66bc0b79964ab" + "reference": "8214910f79b5508d4cd1cd48f39d7970443071d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/bd87e418923e0d836c7e754d82e66bc0b79964ab", - "reference": "bd87e418923e0d836c7e754d82e66bc0b79964ab", + "url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/8214910f79b5508d4cd1cd48f39d7970443071d5", + "reference": "8214910f79b5508d4cd1cd48f39d7970443071d5", "shasum": "" }, "require": { @@ -217,7 +217,7 @@ "require-dev": { "erusev/parsedown": "^1.6", "google/cloud-common-protos": "^0.4", - "google/gax": "^1.9", + "google/gax": "^1.19.1", "opis/closure": "^3", "phpdocumentor/reflection": "^5.0", "phpspec/prophecy-phpunit": "^2.0", @@ -251,27 +251,27 @@ ], "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.", "support": { - "source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.52.0" + "source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.52.1" }, - "time": "2023-06-21T21:05:25+00:00" + "time": "2023-07-07T20:46:38+00:00" }, { "name": "google/cloud-translate", - "version": "v1.14.1", + "version": "v1.14.2", "source": { "type": "git", "url": "https://github.com/googleapis/google-cloud-php-translate.git", - "reference": "a57a8e17dc61f2f842ca655ceb47865aeea75c42" + "reference": "e734e2a3980c06e350dba38660d0b6102fa15e34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-cloud-php-translate/zipball/a57a8e17dc61f2f842ca655ceb47865aeea75c42", - "reference": "a57a8e17dc61f2f842ca655ceb47865aeea75c42", + "url": "https://api.github.com/repos/googleapis/google-cloud-php-translate/zipball/e734e2a3980c06e350dba38660d0b6102fa15e34", + "reference": "e734e2a3980c06e350dba38660d0b6102fa15e34", "shasum": "" }, "require": { "google/cloud-core": "^1.39", - "google/gax": "^1.1", + "google/gax": "^1.19.1", "php": ">=7.4" }, "require-dev": { @@ -306,9 +306,9 @@ ], "description": "Cloud Translation Client for PHP", "support": { - "source": "https://github.com/googleapis/google-cloud-php-translate/tree/v1.14.1" + "source": "https://github.com/googleapis/google-cloud-php-translate/tree/v1.14.2" }, - "time": "2023-06-21T21:05:25+00:00" + "time": "2023-07-07T20:46:38+00:00" }, { "name": "google/common-protos", @@ -508,16 +508,16 @@ }, { "name": "google/protobuf", - "version": "v3.23.3", + "version": "v3.23.4", "source": { "type": "git", "url": "https://github.com/protocolbuffers/protobuf-php.git", - "reference": "e611e00ffc99123fcbddc77774f26c813ead9294" + "reference": "fa784054760eec532fe8dd1919d3a0a11f5cef1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/e611e00ffc99123fcbddc77774f26c813ead9294", - "reference": "e611e00ffc99123fcbddc77774f26c813ead9294", + "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/fa784054760eec532fe8dd1919d3a0a11f5cef1f", + "reference": "fa784054760eec532fe8dd1919d3a0a11f5cef1f", "shasum": "" }, "require": { @@ -546,9 +546,9 @@ "proto" ], "support": { - "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.23.3" + "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.23.4" }, - "time": "2023-06-14T16:51:17+00:00" + "time": "2023-07-06T18:51:48+00:00" }, { "name": "grpc/grpc", @@ -1082,16 +1082,16 @@ }, { "name": "php-http/discovery", - "version": "1.19.0", + "version": "1.19.1", "source": { "type": "git", "url": "https://github.com/php-http/discovery.git", - "reference": "1856a119a0b0ba8da8b5c33c080aa7af8fac25b4" + "reference": "57f3de01d32085fea20865f9b16fb0e69347c39e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/1856a119a0b0ba8da8b5c33c080aa7af8fac25b4", - "reference": "1856a119a0b0ba8da8b5c33c080aa7af8fac25b4", + "url": "https://api.github.com/repos/php-http/discovery/zipball/57f3de01d32085fea20865f9b16fb0e69347c39e", + "reference": "57f3de01d32085fea20865f9b16fb0e69347c39e", "shasum": "" }, "require": { @@ -1154,9 +1154,9 @@ ], "support": { "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.19.0" + "source": "https://github.com/php-http/discovery/tree/1.19.1" }, - "time": "2023-06-19T08:45:36+00:00" + "time": "2023-07-11T07:02:26+00:00" }, { "name": "php-http/multipart-stream-builder", @@ -3913,16 +3913,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.22", + "version": "1.10.26", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "97d694dfd4ceb57bcce4e3b38548f13ea62e4287" + "reference": "5d660cbb7e1b89253a47147ae44044f49832351f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/97d694dfd4ceb57bcce4e3b38548f13ea62e4287", - "reference": "97d694dfd4ceb57bcce4e3b38548f13ea62e4287", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5d660cbb7e1b89253a47147ae44044f49832351f", + "reference": "5d660cbb7e1b89253a47147ae44044f49832351f", "shasum": "" }, "require": { @@ -3971,7 +3971,7 @@ "type": "tidelift" } ], - "time": "2023-06-30T20:04:11+00:00" + "time": "2023-07-19T12:44:37+00:00" }, { "name": "phpunit/php-code-coverage", diff --git a/tests/svrunit/tests/version.yml b/tests/svrunit/tests/version.yml index c39c469e..aad95de4 100644 --- a/tests/svrunit/tests/version.yml +++ b/tests/svrunit/tests/version.yml @@ -1,7 +1,7 @@ commands: - name: "Version is correct" command: "(($EXEC)) --version --configuration=./tests/svrunit/formats/json/phpunuhi.xml" - expected: "PHPUnuhi 1.11.0" + expected: "PHPUnuhi 1.12.0" - name: "Version is correct (command header)" command: "(($EXEC)) status --configuration=./tests/svrunit/formats/json/phpunuhi.xml" - expected: "PHPUnuhi Framework, v1.11.0" \ No newline at end of file + expected: "PHPUnuhi Framework, v1.12.0" \ No newline at end of file