From b2d215325889bb866fe1cb4bda87b57bbb6314d5 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Sat, 29 Oct 2022 22:49:45 +0100 Subject: [PATCH] Add several missing version annotations I probably need to add this to the pre-release checklist. Don't think there's a good way to automate this :( --- doc/events/file_transfer.md | 1 + src/main/resources/data/computercraft/lua/rom/apis/textutils.lua | 1 + .../data/computercraft/lua/rom/modules/main/cc/audio/dfpwm.lua | 1 + 3 files changed, 3 insertions(+) diff --git a/doc/events/file_transfer.md b/doc/events/file_transfer.md index f68289c34..4eac223fa 100644 --- a/doc/events/file_transfer.md +++ b/doc/events/file_transfer.md @@ -1,5 +1,6 @@ --- module: [kind=event] file_transfer +since: 1.101.0 --- The @{file_transfer} event is queued when a user drags-and-drops a file on an open computer. diff --git a/src/main/resources/data/computercraft/lua/rom/apis/textutils.lua b/src/main/resources/data/computercraft/lua/rom/apis/textutils.lua index 4e59e1ad9..e88548fa2 100644 --- a/src/main/resources/data/computercraft/lua/rom/apis/textutils.lua +++ b/src/main/resources/data/computercraft/lua/rom/apis/textutils.lua @@ -688,6 +688,7 @@ do @treturn[2] nil If the object could not be deserialised. @treturn string A message describing why the JSON string is invalid. @since 1.87.0 + @changed 1.100.6 Added `parse_empty_array` option @see textutils.json_null Use to serialize a JSON `null` value. @see textutils.empty_json_array Use to serialize a JSON empty array. @usage Unserialise a basic JSON object diff --git a/src/main/resources/data/computercraft/lua/rom/modules/main/cc/audio/dfpwm.lua b/src/main/resources/data/computercraft/lua/rom/modules/main/cc/audio/dfpwm.lua index 2b5e2d183..fd8fa2686 100644 --- a/src/main/resources/data/computercraft/lua/rom/modules/main/cc/audio/dfpwm.lua +++ b/src/main/resources/data/computercraft/lua/rom/modules/main/cc/audio/dfpwm.lua @@ -29,6 +29,7 @@ application or development builds of [FFmpeg]. @see speaker.playAudio To play the decoded audio data. @usage Reads "data/example.dfpwm" in chunks, decodes them and then doubles the speed of the audio. The resulting audio is then re-encoded and saved to "speedy.dfpwm". This processed audio can then be played with the `speaker` program. +@since 1.100.0 ```lua local dfpwm = require("cc.audio.dfpwm")