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
master
韩天峰 1 month ago
parent b67e40feee
commit 0fda2fe4ab
  1. 6
      composer.json
  2. 6
      project.yml
  3. 2
      src/Translator.php

@ -22,15 +22,15 @@
"marcj/topsort": "^2.0", "marcj/topsort": "^2.0",
"symfony/var-dumper": "^8.0", "symfony/var-dumper": "^8.0",
"symfony/yaml": "^8.0", "symfony/yaml": "^8.0",
"swoole/phpx": "~2.8.0", "swoole/phpx": "~2.8.1",
"swoole/php-nano": "^8.6@dev",
"ajaxray/ansikit": "^0.3", "ajaxray/ansikit": "^0.3",
"ext-dom": "*" "ext-dom": "*"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^10.4", "phpunit/phpunit": "^10.4",
"friendsofphp/php-cs-fixer": "^3.40", "friendsofphp/php-cs-fixer": "^3.40",
"phpstan/phpstan": "^2.2" "phpstan/phpstan": "^2.2",
"swoole/php-nano": "^1.0.0"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {

@ -1,6 +1,6 @@
name: tpc name: tpc
build-mode: bin build-mode: bin
version: 0.8.0 version: 0.8.1
cxx-std: c++17 cxx-std: c++17
cxx-flags: cxx-flags:
- -Wall - -Wall
@ -12,8 +12,8 @@ resource:
icon: swoole-logo.ico icon: swoole-logo.ico
# 版本信息 # 版本信息
version-info: version-info:
file-version: 0.8.0.1112 file-version: 0.8.1.1112
product-version: 0.8.0 product-version: 0.8.1
company-name: "上海识沃网络科技有限公司" company-name: "上海识沃网络科技有限公司"
file-description: "TypePHP Compiler" file-description: "TypePHP Compiler"
internal-name: "typephp" internal-name: "typephp"

@ -80,7 +80,7 @@ class Translator extends Preprocessor
use ResourceCompilationTrait; use ResourceCompilationTrait;
use ClassConstantValueTrait; use ClassConstantValueTrait;
public const string VERSION = '0.8.0'; public const string VERSION = '0.8.1';
public const string APP_NAME = 'TypePHP Compiler (AOT)'; public const string APP_NAME = 'TypePHP Compiler (AOT)';
protected bool $hasExplicitOutput = false; protected bool $hasExplicitOutput = false;

Loading…
Cancel
Save