けっこう変更が溜まってきているので、1.3.0のリリースを行いたいです。 ## その前に - [x] 依存関係の更新が必要 - [x] github actionsで使ってるnodeのバージョンが20なのはそろそろ古そう - [ ] [nightly releaseが失敗している](https://github.com/aiscript-dev/aiscript/actions/runs/44842518465)原因が知りたい - nodeが古いかNPM_SECRETが古いのが第一候補 - というわけで @syuilo さんはNPM_SECRETがまだ生きてるか確認お願いします - [ ] あと何か滑り込みで入れたいのがあれば - 私信: #953 はすぐには決められないと思いますが、 #891 はmasterに追いついてもらえればチェックしてもらって通せると思います(そこが大変ではありますが…) - [ ] 例のごとくリリース直前に`npm run pre-release`して結果をcommitします ## 今回の変更まとめ ### Fix - [`Math:gen_rng`のchacha20の時のシードの扱いが変](https://github.com/aiscript-dev/aiscript/pull/1019)(意訳) - [Math:gen_rngのseedにnullを与えてもエラーが発生しない問題を修正](https://github.com/aiscript-dev/aiscript/pull/1015) - `Math:gen_rng`については諸々の議論があります( #1020 )が、そういうのは次回のメジャーリリース以降の話になるので今回は気にしなくてOKです - [オブジェクトリテラルでキーの重複がエラーになるように修正](https://github.com/aiscript-dev/aiscript/pull/1018) - `{ a: 1, a: 2 }`みたいなやつ - [標準定数helpの値に含まれるURLを更新](https://github.com/aiscript-dev/aiscript/pull/1016) - [公式サイト](https://aiscript-dev.github.io/ja/)が作られたので - [abortOnError時に空の無限ループが発生する](https://github.com/aiscript-dev/aiscript/pull/1035) - [Async:intervalの即時実行時のエラーが補足されない不具合を修正](https://github.com/aiscript-dev/aiscript/pull/1035) ### Feats - [オブジェクトリテラルとオブジェクトの分割代入構文内で、キーと同名の変数を参照する省略記法を使用できるようになりました。](https://github.com/aiscript-dev/aiscript/pull/1023) - 例えば`{ hoge }`は`{ hoge: hoge }`と等価です。 ### For Hosts - [`interpreter.exec`/`.execSync`が返り値を返せるように](https://github.com/aiscript-dev/aiscript/pull/1029)(意訳) - 第二引数から設定できます
Activity
uzmoi commentedon Nov 24, 2026
publishについては昨今のサプライチェーン攻撃の影響を受けて2FA or trusted publishingを必須にするとのアナウンスが出ているので、何にせよ移行しないといけないかも。
https://github.blog/changelog/2026-07-08-npm-install-time-security-and-gat-bypass2fa-deprecation/
FineArchs commentedon Nov 28, 2026
これをやるためにワークフローのymlの書き換えと、しゅいろさん側でnpmリポジトリの設定が必要ですね
自分ので試してみます
試しました。後でワークフロー書きます
syuilo commentedon Nov 28, 2026
何をどう設定したらいいでしょう!
FineArchs commentedon Nov 29, 2026
https://docs.npmjs.com/trusted-publishers
Organization or user、Repositoryはaiscript-dev、aiscriptにしてください。Workflow filenameはpublish-nightly.ymlにしてください。Allowed actionsはpublishとdist-tagの両方にチェックを入れてください。syuilo commentedon Nov 29, 2026
確認します!
syuilo commentedon Nov 30, 2026
たぶんできました!
syuilo commentedon Nov 30, 2026
自分以外にもう一人くらいnpmのMaintainersに追加しておいた方が良いかもしれない
syuilo commentedon Nov 30, 2026
npmのアカウントがあり、Maintainerになっても良い方募集中
FineArchs commentedon Nov 30, 2026
私で良ければ npmのユーザー名はfinearchsです
FineArchs commentedon Dec 2, 2026
@syuilo ごめんなさい、先日設定していただいたpublisher設定が初回認証期限切れになってるかもしれません。
もう一度設定をお願いできますか?