v5.0.9200 #730
lmorg
announced in
Announcements
v5.0.9200
#730
Replies: 2 comments 2 replies
-
Congrats - will relay the announcement on the few social networks I participate. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Are you posting on reddit, hackernews... etc? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Breaking Changes
[alpha, numeric, underscore]\(...\)
will be parsed as a function rather than a string. egcommand foo(bar baz)
where foo will be treated as a subshell function with bar baz as its parameters%
will be first parsed as an expression. eg%(valid string)
vs(valid expression)
Deprecation Warnings
These are changes to Murex defaults, however you shouldn't expect any breaking changes to Murex's behaviour:
$ARGV
now preferred instead of$ARGS
($ARGS
will remain supported for now)command: parameters ...
style syntax has been deprecated in favour of the more traditionalcommand parameters ...
(without a colon) syntax.Features
new website!!
commands can now be inlined in expressions, eg
foobar = uptime()
(issue 676)commands can also be inlined into statements too, eg
echo uptime()
(issue 676)new event
onSignalReceived
for catching OS signalsnew builtin
signal
for sending OS signalsnew builtins
which
(issue 609)new builtin
type
(issue 609)cd
defaults to~
if now parameters are passed (issue 672)cd -
changes to previous directory (issue 672)$SELF.Interactive
value to detect if scope is running in an interactive shell (issue 685)$COLUMNS
reserved variable to output width of terminal$MUREX_ARGV
reserved variable to output command line parameters of Murex shell (not to be confused with the parameters of the running function, eg$ARGV
)csv
data type andselect
builtin now support converting maps (eg JSON objects) into tables (issue 689)murex-doc
/help
can now display a greater number of documents when offlineimproved man page parsing
improved man page displays in preview
alias
now storesFileRef
metadata (issue 124)packages can now be removed via
murex-package remove
(issue 687)a package creation wizard has been added via
murex-package new
another new flag for
murex-package
: git. Which allows you to rungit
commands on a package even when you're not in that package's working directoryversion constraints added to Murex packages (docs to follow)
readline:
up
anddown
arrows on a partial command line will cycle through history of only lines that contain your partial command linereadline: new hotkey,
ctrl
+z
while readline is open will undo the previous key strokesEXPERIMENTAL: logical operators added to expressions:
||
and&&
(issue 708)EXPERIMENTAL: new command modifier
<pid:VARNAME>
sets $VARNAME with a commands process ID, if an external process (currently doesn't support local variables)EXPERIMENTAL: new command modifier
<fid:VARNAME>
sets $VARNAME with the Murex function ID of the command (currently doesn't support local variables)EXPERIMENTAL: new assignment operator
:=
, assigns a value but retains the former data type, thus converting the value when required (ideally I'd have preferred this as default option but it ran the risk of some serious and unexpected breaking changes to the behaviour of some existing shell scripts)EXPERIMENTAL: Various builtins that require variable names now support
$
sigils, egforeach $var { ... }
works as well asforeach var { ... }
EXPERIMENTAL: new variable group
$MOD
, like$GLOBAL
but scoped to the module levelEXPERIMENTAL: official support added for a pure Go library for sqlite3 -- thus saving individuals from having to install
gcc
as well asgo
compilers. The reducedcgo
footprint has already reduced file sizes by a 3rdBug Fixes
config
functions (eghint-text-func
) now execute with theFileRef
of the setter. Meaning they can call privates correctly$PWDHIST
was corrupting upon first updategit-commit
man page parsing, which caused the parser to hang and ramp up CPU usage ongit
autocompletionsFileRef
either wasn't being set, wasn't being set correctly, or was missing a timestamp (issue 696)printf
dependency removed fromaliases
function -- this meansaliases
now works on Windows too||
and&&
now parse correctly in expressionsSpecial Thanks
Special thank yous for this release goes to the following contributors:
You rock!
This discussion was created from the release v5.0.9200.
Beta Was this translation helpful? Give feedback.
All reactions