release note

This commit is contained in:
ousttrue 2021-10-28 17:23:59 +09:00
parent 48082bb7b7
commit 79f93dc914
3 changed files with 47 additions and 7 deletions

View File

@ -4,18 +4,19 @@ import git.repo
import re
import pathlib
import release_gen
from typing import TextIO
HERE = pathlib.Path(__file__).absolute().parent
MERGE_PATTERN = re.compile(r'Merge pull request #(\d+)')
def main(repo: git.repo.Repo, version: str):
def main(w: TextIO, repo: git.repo.Repo, version: str):
major, minor, patch = [int(x) for x in version.split('.')]
rev = f'v{major}.{minor-1}.0..v{major}.{minor}.0'
print(f'# v{version}: 1.0準備')
print()
w.write(f'# v{version}: 1.0準備\n')
w.write('\n')
for item in repo.iter_commits(rev=rev):
m = MERGE_PATTERN.match(item.message)
if m:
@ -23,12 +24,16 @@ def main(repo: git.repo.Repo, version: str):
pr = m[1]
lines = item.message.splitlines()
print(
f'* [[\\#{pr}](https://github.com/vrm-c/UniVRM/pull/{pr})] {lines[2]}'
w.write(
f'* [[\\#{pr}](https://github.com/vrm-c/UniVRM/pull/{pr})] {lines[2]}\n'
)
if __name__ == '__main__':
repo = git.repo.Repo(str(HERE.parent))
version = release_gen.get_version()
main(repo, version)
dst = HERE / f'release/079/v{version}.md'
with dst.open('w', encoding='utf-8') as w:
main(w, repo, version)
print(f'write to: {dst}')

View File

@ -0,0 +1,35 @@
# v0.88.0: 1.0準備
## 過去に TransparentZWrite シェーダーでエクスポートしたファイルをロード時に変換する修正
* [[\#1331](https://github.com/vrm-c/UniVRM/pull/1331)] Fix UnlitTransparentZWrite fallback code.
## buffer.uri に `data:` を使っている glb/gltf に対応
`image.uri` では `data:` に対応していたのだけど、`buffer.uri` は対応していなかった。
* [Error when load glb file (buffer.uri)](https://github.com/vrm-c/UniVRM/issues/1326)
## 1.0
* [[\#1347](https://github.com/vrm-c/UniVRM/pull/1347)] [1.0] Expression UV Binding の挙動
* [[\#1346](https://github.com/vrm-c/UniVRM/pull/1346)] Fix10/fix expression migration
* [[\#1344](https://github.com/vrm-c/UniVRM/pull/1344)] [1.0] const LICENSE_URL_JA
* [[\#1342](https://github.com/vrm-c/UniVRM/pull/1342)] [1.0] migration fail safe
* [[\#1340](https://github.com/vrm-c/UniVRM/pull/1340)] ReconstructSpringBoneを呼んだ時、デフォルトの回転角の指定が正しく行えない問題を修正
## doc
* [[\#1337](https://github.com/vrm-c/UniVRM/pull/1337)] sphinx エラー修正
* [[\#1336](https://github.com/vrm-c/UniVRM/pull/1336)] Doc/update 20211022
* [[\#1323](https://github.com/vrm-c/UniVRM/pull/1323)] Doc/update 20211018
* [[\#1321](https://github.com/vrm-c/UniVRM/pull/1321)] UniVRM-0.87.0 release note
## Others
* [[\#1345](https://github.com/vrm-c/UniVRM/pull/1345)] UniVRM-0.88.0
* [[\#1343](https://github.com/vrm-c/UniVRM/pull/1343)] bufferView の data uri を実装
* [[\#1339](https://github.com/vrm-c/UniVRM/pull/1339)] [Maintenance] refactoring gltf buffer access
* [[\#1338](https://github.com/vrm-c/UniVRM/pull/1338)] MaterialDescriptorをreadonly structに変更
* [[\#1327](https://github.com/vrm-c/UniVRM/pull/1327)] Merge duplicated gltfExporter argument `GltfExportSettings`
* [[\#1334](https://github.com/vrm-c/UniVRM/pull/1334)] [0.x] Remove RuntimeGltfInstance before saving a prefab.
* [[\#1330](https://github.com/vrm-c/UniVRM/pull/1330)] FastSpringBoneがMathf関連のエラーを吐く問題を修正
* [[\#1324](https://github.com/vrm-c/UniVRM/pull/1324)] Normalize quaternion on update headTransform.rotation
* [[\#1322](https://github.com/vrm-c/UniVRM/pull/1322)] fix download url

View File

@ -79,6 +79,6 @@ def get_hash() -> str:
if __name__ == '__main__':
version = get_version(UNIVRM_VERSION)
version = get_version()
hash = get_hash()
gen(version, hash)