- Fixed argmatcher lookup to be more strict, like in Clink 0.4.9 (match exact names, or name plus an extension from %PATHEXT%).
- Backward compatibility:
- Most things should work now.
- Dropping the new Clink on top of the vendor\clink directory in Cmder seems to work -- but make a backup before you try this at home!
- API changes:
- Added
log.info()function. - Added Clink version numbers in
clink.version_major, etc. - Added
_argmatcher:getwordbreakinfo()callback; removed_argmatcher:setprefixincluded()(it was a mess, and it was new to v1.x, so there's no compatibility concern with removing it). - Deprecated
_argmatcher:setflagprefix(); now it happens automagically when using_argmatcher:addflags(). - Introduced several deprecated functions to support backward compatibility.
- Added
- Improvements to Lua debugger:
- Added
lua.traceback_on_error,lua.break_on_error, andlua.break_on_tracebacksettings to make debugging script errors easier. - Made
pause()consistent about pausing in the caller (rather than sometimes inside the pause command itself). - The debugger automatically shows the stack trace when entering debug mode, and on every pause.
- Show 3 lines of source context by default.
- The help list is sorted now.
- Fixed the
setcommand in the debugger to behave as documented.
- Added