--- - branch: MAIN date: Wed May 17 21:33:35 UTC 2023 files: - new: '1.34' old: '1.33' path: pkgsrc/shells/nushell/Makefile pathrev: pkgsrc/shells/nushell/Makefile@1.34 type: modified - new: '1.21' old: '1.20' path: pkgsrc/shells/nushell/cargo-depends.mk pathrev: pkgsrc/shells/nushell/cargo-depends.mk@1.21 type: modified - new: '1.26' old: '1.25' path: pkgsrc/shells/nushell/distinfo pathrev: pkgsrc/shells/nushell/distinfo@1.26 type: modified id: 20230517T213335Z.9428b7969eea0a6aef3ca7306aefe678b329ed3d log: | shells/nushell: update to 0.80.0 Themes of this release / New features - Record type annotations (@1Kinoti) Starting with this release, you can add more information about the type of a record your command expects. For example: def okay [person: record] {} The above will require two fields to be present, a name that's a string, and an age that's an int. The current version requires that the record has exactly these fields, though we may loosen this in future releases to allow for structural subtyping. - Modules from directories (@Kubouch) It is now possible to create a module from a directory. The directory must contain mod.nu and all other .nu files are added as a submodule of the module. This allows some traditional shell patterns such as dumping completion files into a directory to be loaded automatically. Check out the newly updated book chapter for more details and examples. The enabling feature for module directories was organizing modules into submodule structure instead of solely relying on re-importing symbols with export use. module and especially export module have been added as a result of this change. While not immediately visible, the module update allows for cleaner submodule oganization without relying on re-exporting symbols with export use. Since modules are now aware of their submodules, in the future we hope to improve discoverability of definitions within modules, enhancing our IDE support (such as our LSP). - Stdlib update ([@amtoine, @EmilySeville7cfg, @skelly37, @YummyOreo] [std-lib PRs]) Breaking changes - #8940 Change type of parameter default values to Option - #9007 Fix unexpected flattening of data by par-each (Issue #8497) - #9056 REFACTOR: remove deprecated commands (old-alias) module: pkgsrc subject: 'CVS commit: pkgsrc/shells/nushell' unixtime: '1684359215' user: pin