Skip to content

Commit 0c7f5c6

Browse files
committed
R2-1 release notes
1 parent 9dabcd9 commit 0c7f5c6

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

docs/luaReleaseNotes.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,32 @@
11
lua Release Notes
22
=================
33

4+
Release 2-1
5+
-----------
6+
7+
- LUA_SCRIPT_PATH now always includes the current directory. Makes more
8+
sense when using '<' in the lua shell.
9+
- Previously, the "iocsh" library was used only to lookup ioc shell functions,
10+
now it will now also check for environment variables that match the given name.
11+
- "iocsh" library lookups now also fixed to return nil when it can't find a
12+
matching element (in R2-0 it was returning functions that, when called, stated
13+
nothing was found).
14+
- Added setOption function to the "asyn" library. works the same way as
15+
asynSetOption. The asyn.client class received a matching function.
16+
- Fixed bug in "asyn" library where writeread requests were attempting to read
17+
twice, causing timeout waits.
18+
- Added luashCmd function to ioc shell. Useful for running one-liners of lua code.
19+
- lua shell now specially recognizes the line '#ENABLE_HASH_COMMENTS',
20+
when put into a lua shell script, the shell will ignore lines where
21+
the first non-whitespace line is a '#' character. Allowing scripts to
22+
appear more like regular ioc shell scripts.
23+
- lua shell now ignores leading whitespace on lines, was only an issue
24+
with the 'exit' and '<' commands.
25+
- Fixed an issue where I was leaving a metatable reference on the lua
26+
stack when luaCreateState was called.
27+
- Documentation has been switched to use ReStructured text, now hosted
28+
on :ref:`https://epics-lua.readthedocs.io/en/latest/`
29+
430
Release 2-0
531
-----------
632

0 commit comments

Comments
 (0)