Date: Wed, 22 Dec 2021 22:50:03 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260621] shells/elvish: Update Elvish to v0.17.0 Message-ID: <bug-260621-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260621 Bug ID: 260621 Summary: shells/elvish: Update Elvish to v0.17.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: vendion@gmail.com Created attachment 230325 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230325&action= =3Dedit Elvish v0.17.0 update The attached patch updates Elvish to v0.17.0. CHANGELOG: * Breaking changes - Attempting to assign to a read-only variable (e.g. set nil =3D x) is no= w a compile-time error rather than an exception. * Deprecated features Deprecated features will be removed in 0.18.0. The following deprecated features trigger a warning whenever the code is pa= rsed or compiled, even if it is not executed: - The dir-history command is deprecated. Use store:dirs instead. - The legacy assignment form is deprecated. Depending on whether the left-hand variable already exists or not, use var or set instead. Use the upgrader to migrate scripts. - The lambda syntax that declares arguments and options within [] before { has been deprecated. The new syntax now declares arguments and options with= in a pair of |, after {. Use the upgrader to migrate scripts. See (#664). - Use of the special namespace local: is deprecated. - If you are using local: to reference variables (e.g. echo $local:x), local: is never necessary in the first place since Elvish always resolves l= ocal variables first, so just remove it. - If you are using local: when assigning variables (e.g. local:x =3D fo= o), local: makes sure that a new variable is created; use the var special comma= nd instead. - Use of the special namespace up: is deprecated. - If you are using up: to access a non-shadowed variable in an outer sc= ope, up: is not necessary; just remove it. - If you are using up: to access a shadowed variable in an outer scope, rename the variables to have different names. - Use of a leading empty namespace in a variable name (e.g. $:x) is deprecated. Since $:x is always equivalent to $x anyway, just remove the : prefix. * Notable new features New features in the language: - A new special command pragma. The only supported pragma now is unknown command; using pragma unknown command =3D disallow turns off the default be= havior of treating unknown commands as external commands. - A new special command coalesce. New features in the interactive editor: - Editor modes now form a stack, instead of being mutually exclusive. For example, it is now possible to start a minibuf mode within a completion mod= e, and vice versa. New features in the standard library: - The store: module now exposes all functionalities of Elvish=E2=80=99s p= ersistent store. - New compare command to compare numbers, strings, and lists (#1347), in a consistent way as the order builtin. - The range command now supports counting down. Performance improvements: - The overhead of executing pipelines consisting of a single form (i.e. a simple command with no pipes) has been reduced. A code chunk containing just nop command now executes 4 times as fast as before. Thanks to kolbycrouch f= or suggesting this optimization! Poudriere testport: OK --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260621-7788>