Skip to content

Commit c9d762d

Browse files
update version to 4.6.0-beta.0
1 parent b46c22a commit c9d762d

6 files changed

Lines changed: 145 additions & 52 deletions

File tree

.github/workflows/release-beta.yml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
name: Release WebGAL Beta
2+
3+
on:
4+
push:
5+
tags:
6+
- '*beta*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
check-dev-tag:
13+
name: Check beta tag is on dev
14+
runs-on: ubuntu-latest
15+
outputs:
16+
should_release: ${{ steps.check.outputs.should_release }}
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
- name: Check tag commit is on dev
23+
id: check
24+
shell: bash
25+
run: |
26+
git fetch origin dev --prune
27+
TAG_COMMIT="$(git rev-list -n 1 "$GITHUB_REF_NAME")"
28+
if git merge-base --is-ancestor "$TAG_COMMIT" origin/dev; then
29+
echo "should_release=true" >> "$GITHUB_OUTPUT"
30+
else
31+
echo "::notice::Beta release skipped because tag ${GITHUB_REF_NAME} is not on dev."
32+
echo "should_release=false" >> "$GITHUB_OUTPUT"
33+
fi
34+
35+
build-webgal-static-webpage:
36+
name: Build WebGAL Static Webpage
37+
runs-on: ubuntu-latest
38+
needs: check-dev-tag
39+
if: ${{ needs.check-dev-tag.outputs.should_release == 'true' }}
40+
steps:
41+
- name: Checkout
42+
uses: actions/checkout@v2
43+
with:
44+
persist-credentials: false
45+
46+
- name: Setup Node.js environment
47+
uses: actions/setup-node@v3
48+
with:
49+
node-version-file: package.json
50+
cache: 'yarn'
51+
52+
- name: Install
53+
run: npm install yarn -g && yarn install
54+
55+
- name: Build
56+
run: yarn build
57+
58+
- name: Package WebGAL Engine Web
59+
run: |
60+
cd packages/webgal/dist
61+
zip -r "$GITHUB_WORKSPACE/webgal-engine-web.zip" .
62+
63+
- name: Upload WebGAL Engine Artifact
64+
uses: actions/upload-artifact@v4
65+
with:
66+
name: webgal-engine-web
67+
path: webgal-engine-web.zip
68+
if-no-files-found: error
69+
70+
release:
71+
name: Release
72+
runs-on: ubuntu-latest
73+
needs: [check-dev-tag, build-webgal-static-webpage]
74+
if: ${{ needs.check-dev-tag.outputs.should_release == 'true' }}
75+
steps:
76+
- name: Checkout
77+
uses: actions/checkout@v2
78+
79+
- name: Download WebGAL Engine Artifact
80+
uses: actions/download-artifact@v4
81+
with:
82+
name: webgal-engine-web
83+
84+
- name: Create Release
85+
id: create_release
86+
uses: actions/create-release@v1
87+
env:
88+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89+
with:
90+
tag_name: ${{ github.ref }}
91+
release_name: WebGAL ${{ github.ref }}
92+
body_path: releasenote.md
93+
draft: true
94+
prerelease: true
95+
96+
- name: Upload WebGAL Engine Web
97+
uses: actions/upload-release-asset@v1
98+
env:
99+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
100+
with:
101+
upload_url: ${{ steps.create_release.outputs.upload_url }}
102+
asset_path: webgal-engine-web.zip
103+
asset_name: WebGAL-${{ github.ref_name }}-web.zip
104+
asset_content_type: application/zip

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- '*.*'
7+
- '!*beta*'
78

89
permissions:
910
contents: write

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@webgal/base",
3-
"version": "4.6",
3+
"version": "4.6.0-beta.0",
44
"description": "A brand new web Visual Novel engine.",
55
"repository": "https://github.com/OpenWebGAL/WebGAL.git",
66
"author": "Mahiru <Mahiru_@outlook.com>",

packages/webgal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webgal-engine",
3-
"version": "4.6.0",
3+
"version": "4.6.0-beta.0",
44
"scripts": {
55
"dev": "vite --host --port 3000",
66
"build": "node scripts/update-engine-version.js && cross-env NODE_ENV=production tsc && vite build --base=./",

packages/webgal/public/webgal-engine.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"schemaVersion": "1.0.0",
33
"id": "open-webgal.webgal",
44
"name": "WebGAL",
5-
"version": "4.6.0",
5+
"version": "4.6.0-beta.0",
66
"type": "official",
7-
"webgalVersion": "4.6.0",
7+
"webgalVersion": "4.6.0-beta.0",
88
"description": "界面美观、功能强大、易于开发的全新网页端视觉小说引擎",
99
"descriptions": {
1010
"en": "A brand new web Visual Novel engine with a beautiful interface, powerful features, and easy development",

releasenote.md

Lines changed: 36 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,97 @@
11
## 发布日志
22

3-
**本仓库发布源代码,并在 Release 中附带 WebGAL 引擎网页版压缩包**
3+
**本仓库发布源代码,并在 Release 中附带 WebGAL 引擎网页版压缩包**
44

5-
**如果你想要体验使用便捷的图形化编辑器创建、制作并实时预览 WebGAL 游戏,请 [下载 WebGAL 图形化编辑器](https://github.com/OpenWebGAL/WebGAL_Terre/releases)**
5+
**如果你想要体验使用便捷的图形化编辑器创建、制作并实时预览 WebGAL 游戏,请 [下载 WebGAL 图形化编辑器](https://github.com/OpenWebGAL/WebGAL_Terre/releases)**
66

77
### 在此版本中
88

99
#### 新功能
1010

11-
setAnimation / setTempAnimation / setTransform 支持 parallel 参数,可在同一目标上并行动画
11+
优化舞台画面表现,提升背景、立绘、Spine、Live2D、变换和特效在播放、读档、回溯和快速预览中的一致性。
1212

13-
wait 支持 nobreak 参数,可阻止等待被点击或自动播放跳过
13+
优化快速预览和正常播放的演出同步,减少预览结果与实际播放不一致的情况。
1414

15-
新增已读历史记录与快进模式设置,支持按已读快进或全文快进,已读文本默认以浅灰色显示
15+
优化场景切换、子场景调用、回溯跳转、读档和返回标题后的画面恢复,减少旧画面元素残留。
1616

17-
快速预览中的 choose 支持 defaultChoose 参数,可自动选择指定选项
17+
优化 BGM、语音、视频、背景、立绘、特效和变量相关演出在快速预览中的表现。
1818

19-
资源预加载改为随剧情进度按窗口预取,支持资源与场景去重、队列限速,减少一次性资源请求
20-
21-
Pixi 舞台支持按需渲染,仅在动画或动态资源存在时运行 ticker,降低空闲资源消耗
22-
23-
背景与立绘资源识别支持带 query / hash 的扩展名,并可正确识别 gif 资源
19+
快速预览超时时会通知编辑器,便于定位循环跳转或过长快进造成的问题。
2420

2521
#### 修复
2622

27-
修复 setTransform 连续作用同一目标时动画被错误中断或覆盖的问题
23+
修复快速预览中自动选择选项后流程继续推进异常的问题。
2824

29-
修复语音播放时 AudioContext 被浏览器挂起导致口型分析或语音演出异常的问题
25+
修复 BGM 在快速预览中可能不播放或状态不同步的问题。
3026

31-
修复背景清空时仍拼接空 url、可能产生无效资源请求,以及 EBG 淡出异常的问题
27+
修复部分异步演出在快速预览或状态恢复时可能提前推进的问题。
3228

33-
修复 Service Worker 在本地预览、Electron、iOS 环境中可能产生缓存干扰的问题,并改为只缓存带 hash 的构建资源
29+
修复 setTransform / changeFigure / changeBg 在部分状态恢复场景下表现不同步的问题。
3430

35-
修复旧版用户数据字段缺失时被整体重置的问题,改为补齐默认字段并兼容旧存档
31+
修复 Pixi 条件渲染在状态变化后可能未及时刷新的问题。
3632

3733
<!-- English Translation -->
3834
## Release Notes
3935

40-
**This repository releases source code and includes a WebGAL engine web package in each Release**
36+
**This repository releases source code and includes a WebGAL engine web package in each Release.**
4137

42-
**If you want to experience creating, making, and real-time previewing WebGAL games using a user-friendly graphical editor, please [download the WebGAL graphical editor](https://github.com/OpenWebGAL/WebGAL_Terre/releases)**
38+
**If you want to create, edit, and preview WebGAL games with a graphical editor, please [download the WebGAL graphical editor](https://github.com/OpenWebGAL/WebGAL_Terre/releases).**
4339

4440
### In this version
4541

4642
#### New Features
4743

48-
setAnimation / setTempAnimation / setTransform now support the parallel argument, allowing animations to run in parallel on the same target
49-
50-
wait now supports the nobreak argument to prevent waits from being skipped by clicks or auto-play
44+
Improved stage visuals, making backgrounds, figures, Spine, Live2D, transforms, and effects more consistent during playback, save loading, backlog jumps, and fast preview.
5145

52-
Added read history and skip mode settings, supporting read-text skip or full skip; read text is now shown in light gray by default
46+
Improved perform synchronization between fast preview and normal playback, reducing cases where preview results differ from actual playback.
5347

54-
choose in fast preview now supports the defaultChoose argument for automatically selecting a specified option
48+
Improved screen restoration after scene changes, child scene calls, backlog jumps, save loading, and returning to title, reducing stale visual elements.
5549

56-
Resource prefetching now follows story progress with a lookahead window, deduplicated asset and scene queues, and throttled requests
50+
Improved BGM, voice, video, background, figure, effect, and variable behavior during fast preview.
5751

58-
The Pixi stage now supports on-demand rendering, running the ticker only while animations or dynamic resources exist to reduce idle resource usage
59-
60-
Background and figure source detection now supports extensions with query / hash suffixes and correctly identifies gif resources
52+
Fast preview timeout now notifies the editor, making it easier to locate loop jumps or excessively long fast-forward calculations.
6153

6254
#### Fixes
6355

64-
Fixed setTransform animations being incorrectly interrupted or overwritten when applied continuously to the same target
56+
Fixed fast preview flow continuing incorrectly after automatically selecting a choose option.
6557

66-
Fixed lip-sync analysis or vocal performs failing when the browser suspends AudioContext before playback
58+
Fixed BGM possibly not playing or desynchronizing during fast preview.
6759

68-
Fixed empty background changes still producing empty url references, unnecessary resource requests, and abnormal EBG fade-out behavior
60+
Fixed some asynchronous performs advancing too early during fast preview or state restoration.
6961

70-
Fixed Service Worker cache interference in local preview, Electron, and iOS environments; only hashed build assets are now cached
62+
Fixed setTransform / changeFigure / changeBg desynchronization in some state restoration scenarios.
7163

72-
Fixed old user data being fully reset when fields are missing; missing default fields are now migrated into existing saves
64+
Fixed Pixi conditional rendering sometimes not refreshing immediately after state changes.
7365

7466
<!-- Japanese Translation -->
7567
## リリースノート
7668

77-
**このリポジトリではソースコードを公開し、Release には WebGAL エンジンの Web 版パッケージも同梱しています**
69+
**このリポジトリではソースコードを公開し、Release には WebGAL エンジンの Web 版パッケージも同梱しています**
7870

79-
**もしあなたが使いやすいグラフィカルエディタでWebGALゲームを作成、制作、リアルタイムプレビューしたい場合は、[WebGALグラフィカルエディタをダウンロードしてください](https://github.com/OpenWebGAL/WebGAL_Terre/releases)**
71+
**グラフィカルエディターで WebGAL ゲームを作成、編集、リアルタイムプレビューしたい場合は、[WebGAL グラフィカルエディターをダウンロードしてください](https://github.com/OpenWebGAL/WebGAL_Terre/releases)**
8072

8173
### このバージョンについて
8274

8375
#### 新機能
8476

85-
setAnimation / setTempAnimation / setTransform が parallel 引数に対応し、同じターゲット上で複数のアニメーションを並列実行できるようになりました
86-
87-
wait が nobreak 引数に対応し、待機がクリックや自動再生でスキップされるのを防げるようになりました
88-
89-
既読履歴とスキップモード設定を追加し、既読のみスキップ / 全文スキップを選択できるようになりました。既読テキストは既定で薄いグレー表示になります
77+
舞台画面の表示を改善し、背景、立ち絵、Spine、Live2D、変換、エフェクトが再生、ロード、バックログジャンプ、高速プレビューでより一貫して表示されるようにしました。
9078

91-
高速プレビュー中の choose が defaultChoose 引数に対応し、指定した選択肢を自動選択できるようになりました
79+
高速プレビューと通常再生の演出同期を改善し、プレビュー結果と実際の再生結果が異なるケースを減らしました。
9280

93-
リソースのプリフェッチを進行状況に応じた先読み方式に変更し、アセットとシーンの重複排除、キュー制御、リクエスト間隔の制御に対応しました
81+
シーン切り替え、子シーン呼び出し、バックログジャンプ、ロード、タイトルへ戻る操作後の画面復元を改善し、古い画面要素が残りにくくなりました。
9482

95-
Pixi ステージがオンデマンドレンダリングに対応し、アニメーションや動的リソースが存在する場合のみ ticker を実行してアイドル時の負荷を削減します
83+
BGM、ボイス、動画、背景、立ち絵、エフェクト、変数関連演出の高速プレビュー中の挙動を改善しました。
9684

97-
背景と立ち絵のリソース判定が query / hash 付き拡張子に対応し、gif リソースも正しく識別できるようになりました
85+
高速プレビューのタイムアウトをエディターへ通知するようになり、ループジャンプや長すぎる早送り計算を特定しやすくなりました。
9886

9987
#### 修正
10088

101-
setTransform を同じターゲットに連続適用した際、アニメーションが誤って中断または上書きされる問題を修正しました
89+
高速プレビューで選択肢を自動選択した後、フローが正しく進まない問題を修正しました。
10290

103-
ブラウザによって AudioContext が停止され、口パク解析やボイス演出が異常になる問題を修正しました
91+
高速プレビュー中に BGM が再生されない、または状態が同期しない場合がある問題を修正しました。
10492

105-
背景を空にした際に空の url が生成される、不要なリソースリクエストが発生する、または EBG のフェードアウトが不自然になる問題を修正しました
93+
一部の非同期演出が高速プレビューや状態復元中に早く進みすぎる問題を修正しました。
10694

107-
ローカルプレビュー、Electron、iOS 環境で Service Worker のキャッシュが干渉する問題を修正し、ハッシュ付きビルドアセットのみをキャッシュするようにしました
95+
setTransform / changeFigure / changeBg が一部の状態復元シナリオで同期しない問題を修正しました。
10896

109-
旧バージョンのユーザーデータでフィールドが不足している場合に全体がリセットされる問題を修正し、既存セーブに既定フィールドを補完するようにしました
97+
Pixi の条件付きレンダリングが状態変更後すぐに更新されない場合がある問題を修正しました。

0 commit comments

Comments
 (0)