From 0fda2fe4ab45e46f9bc0170abe581bdb216cad29 Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Thu, 10 Sep 2026 14:21:32 +0800 Subject: [PATCH] chore(deps): update project dependencies and version to 0.8.1 - Updated swoole/phpx from ~2.8.0 to ~2.8.1 - Moved swoole/php-nano from require to require-dev with version ^1.0.0 - Updated project version from 0.8.0 to 0.8.1 in project.yml - Updated file and product versions in project.yml to 0.8.1 - Updated VERSION constant in Translator.php to 0.8.1 --- composer.json | 6 +++--- project.yml | 6 +++--- src/Translator.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 68079efd..5f17769a 100644 --- a/composer.json +++ b/composer.json @@ -22,15 +22,15 @@ "marcj/topsort": "^2.0", "symfony/var-dumper": "^8.0", "symfony/yaml": "^8.0", - "swoole/phpx": "~2.8.0", - "swoole/php-nano": "^8.6@dev", + "swoole/phpx": "~2.8.1", "ajaxray/ansikit": "^0.3", "ext-dom": "*" }, "require-dev": { "phpunit/phpunit": "^10.4", "friendsofphp/php-cs-fixer": "^3.40", - "phpstan/phpstan": "^2.2" + "phpstan/phpstan": "^2.2", + "swoole/php-nano": "^1.0.0" }, "autoload": { "psr-4": { diff --git a/project.yml b/project.yml index 8594c147..11dd8e82 100644 --- a/project.yml +++ b/project.yml @@ -1,6 +1,6 @@ name: tpc build-mode: bin -version: 0.8.0 +version: 0.8.1 cxx-std: c++17 cxx-flags: - -Wall @@ -12,8 +12,8 @@ resource: icon: swoole-logo.ico # 版本信息 version-info: - file-version: 0.8.0.1112 - product-version: 0.8.0 + file-version: 0.8.1.1112 + product-version: 0.8.1 company-name: "上海识沃网络科技有限公司" file-description: "TypePHP Compiler" internal-name: "typephp" diff --git a/src/Translator.php b/src/Translator.php index d4415e2d..a4a8e516 100644 --- a/src/Translator.php +++ b/src/Translator.php @@ -80,7 +80,7 @@ class Translator extends Preprocessor use ResourceCompilationTrait; use ClassConstantValueTrait; - public const string VERSION = '0.8.0'; + public const string VERSION = '0.8.1'; public const string APP_NAME = 'TypePHP Compiler (AOT)'; protected bool $hasExplicitOutput = false;