Skip to content

Commit

Permalink
release_note: wrote about runtime error in key-handling functions
Browse files Browse the repository at this point in the history
  • Loading branch information
hymkor committed May 2, 2024
1 parent 4f39bf4 commit dc95acc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/release_note_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* (#442) Move back `aliasandset.lua` to `nyagos.d/` and enable to use the Lua codes like `set "ENV=VALUE"` and `alias "NAME=DEFINE"`. In 4.4.15\_0, it was put on `nyagos.d/catalog/` and `require "aliasandset"` was neccessary to use (Thx @naoyaikeda)
* Fix: the day of the week part of %DATE% was incorrect
(%DATE% was expected like `2024/04/19 金`, but `2024/04/19 1919`)
* Fix the runtime error when `this:replacefrom(0,...)` is called in the key-handling lua-function. Instead, it returns {nil,error-message}

NYAGOS 4.4.15\_0
================
Expand Down
1 change: 1 addition & 0 deletions docs/release_note_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* (#442) 4.4.15\_0 で `nyagos.d/catalog` 以下へ移動させて自動ロード対象外とした `nyagos.d/aliasandset.lua` を元の場所へ戻し、Luaコード: `set "ENV=VALUE" `, `alias "NAME=DEFINE"` を再び、そのまま使えるようにした (Thx @naoyaikeda )
* Windows の日付の設定に曜日が含まれているとき %DATE% の結果がおかしくなる不具合を修正 (`2024/04/19 金` と出て欲しいのに `2024/04/19 1919` と出てしまう)
* 一行入力のキーハンドル関数の中で `this:replacefrom(0,...)` を呼び出すと、ランタイムエラー: `runtime error: slice bounds out of range [-1:]` でクラッシュする不具合を修正。かわりに {nil,エラーメッセージ} を返すようにした。

NYAGOS 4.4.15\_0
================
Expand Down

0 comments on commit dc95acc

Please sign in to comment.