- Update to version 0.92.1:
* The configured hooks should again properly affect the scope
(e.g. virtualenv integrations using a hook to activate
as an overlay).
* mkdir/touch did not correctly resolve relative paths after
using cd.
* The default config file created by 0.92.0 assumed
that you built with the default feature set including
the system-clipboard. This is not working on platforms like
Android/Termux (termux builds with default-no-clipboard).
Now we only create keybindings in config.nu that are supported
on all platforms and provide suggestions as comments.
* The timing of drop notifications sent to plugins has been
corrected.
OBS-URL: https://build.opensuse.org/request/show/1165001
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=53
- Update to version 0.92.0:
* External command output changes.
* Scoped file redirections.
* Tilde expansion.
* Support for XDG_CONFIG_HOME.
* Incorporating the extra feature by default.
* Persistent plugins.
* Plugin API overhaul.
* Plugin engine calls.
* Improved plugin custom values.
* Plugin test support crate.
* Official plugin template.
* Debugging support and proof-of-concept profiler.
* Support for binary data in explore.
* Performance improvements.
* Bug fixes:
- Make autocd return exit code 0.
- into sqlite: Fix insertion of null values.
- Fix return in filter closure eval.
- fix: use environment variables to prevent command_not_found
from recursing.
- Fix: missing parse error when extra tokens are given to
let bindings.
- to json -r not removing whitespaces fix.
- Fix usage of --tabs flag while converting to json.
- Fix inaccurate sleep duration.
- Use rest argument in export use to match use.
- Adjust permissions using umask in mkdir.
- fix ls with empty string.
- Fix up ctrl+C handling in into sqlite.
- Fix unexpected sqlite insert behaviour (attempt 2).
- Fix: lex now throws error on unbalanced closing parentheses
(issue #11982).
- Fix: Convert help example results to text.
- Remove unused/incorrect input type from start.
- fix du --exclude globbing bug.
* New commands:
- plugin list.
- plugin stop.
- debug profile.
- uname.
- query db --params.
- detect columns --guess.
* Changes to existing commands:
- echo.
- table.
- into bits.
- nu-check.
- mkdir.
- ls.
- version.
- filter.
- insert.
- do.
- complete.
- ignore.
- export use.
- sleep.
- into sqlite.
- to json.
- du.
- histogram.
- into string.
* Deprecated commands:
- run-external flags.
* Removed commands:
- str escape-glob.
OBS-URL: https://build.opensuse.org/request/show/1164255
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=52
- Update to version 0.91.0:
* Handling globs for variables.
* Plugin protocol overhaul.
* Stderr pipeling support.
* REPL stability and panic recovery.
* ur set of commands is evolving.
* New commands:
- 'tee'
- 'interleave'
- 'is-not-empty'
- 'commandline'
* Changes to existing commands:
- 'zip' supports closures.
- 'bits' supports binary values.
- 'into int --signed'
* Migrating more commands to use 'uutils'
* List spreading for filesystem commands.
* Duplicate record keys now error.
* Removing list of cell path support.
* Deprecated commands:
- 'str escape-glob'
- Certain flags for 'commandline'.
* Removed command:
- 'umv' has been renamed to 'mv'.
- 'umkdir' has been renamed to 'mkdir'.
OBS-URL: https://build.opensuse.org/request/show/1155406
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=51
- Update to version 0.90.1:
* New Reedline coolness.
* From this release, we unified glob rules for the following
commands: open, rm, cp, umv, mv, du, ls.
* Parse-time evaluation.
* Integration of more uutils commands.
* Dataframes: allow specifying schema.
* New CLI flag: --no-history.
* Strict JSON parsing.
* Our set of commands is evolving.
* New commands:
- Apart from commands already mentioned above, into cell-path
can now be used to create cell paths dynamically.
* Breaking changes:
- 'query web --query' should return 'list<list<string>>'
like the scraper crate's 'ElementRef::text()'
- Fix precedence of 'not' operator.
- hide std testing.
- Remove '--flag: bool' support.
- Plugin explicit flags.
- Fix parsing of strings with special characters.
- Allow plugins to receive configuration from the nushell
configuration.
* Full changelog:
- https://www.nushell.sh/blog/2024-02-06-nushell_0_90_0.html
OBS-URL: https://build.opensuse.org/request/show/1144980
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=50
- Update to version 0.88.0:
* Bug fixes:
- into binary -c: return 0 as single byte.
- Fix table nested list indices are off after 1 "chunk".
- tweak table example/parameter text.
- add "default" table theme.
- correct table example syntax.
- optimize/clean up a few of the table changes.
- Fix the output type for 'view files'.
- Fix toolkit to run workspace.
- fix the link to the nu_scripts in std clip deprecation.
- cp target expansion.
- Add metadata to some filters.
- Revert "Adding support for Polars structs".
- Fix spans passed to external_completer.
- Add boundary check for str index-of.
- When using redirection, if a command generates non-zero exit
code, the script should stop running.
- Fix span of invalid range.
- Fix capacity overflow caused by large range of ports.
- Fix get -i ignoring errors for only the first cellpath.
- Fix Option<&str> == Option<&String> build error when using
rust_decimal/rkyv feature.
- Add checks for ports.
- Fix highlighting of spread subexpressions in records.
- Fix overlay_use_main_not_exported hanging when an external
spam command exists.
- Fixes markdown formatting on LSP hover.
- Add more descriptive error message when passing list to from_csv.
- Respect non-zero exit code in subexpressions and blocks.
- Error on use path item1 item2, if item1 is not a module.
- Match ++= capabilities with ++.
* New spread operator for list and record literals.
* Passing boolean switches dynamically.
* Redirection to standard streams is getting better.
* One-time theming of tables is there.
* Exposing name of script to the wild.
* Parsing human-friendly dates into Nushell values.
* Show found externals via syntax highlighting in the REPL.
* New "out of bound" error.
* In the previous release, the extern-wrapped command has been
deprecated and it is now being removed. An issue did persist
though, making def --wrapped not a suitable replacement for
the old command... which was fixed.
* Restricting use of internal variables.
* A small update on the LSP.
* New commands:
- is-terminal.
- std null-device.
- mktemp.
- stor.
* Removed commands:
- 'extern-wrapped' and 'export extern-wrapped' in favor of 'def --wrapped'.
- '--not' from 'glob' in favor of '--exclude'.
- 'size' in favor of 'str stats'.
- 'unfold' in favor of 'generate'.
- 'def-env' and 'export def-env' in favor of 'def --env'.
* Breaking changes:
- Respect non-zero exit code in subexpressions and blocks
Starting with this release, if a subexpression (eg (echo foo.txt))
or block (eg if true { echo foo.txt } evaluated to a non-zero
exit code, it will no longer be lost and instead will be
the exit code of that expression. This allows them to act
more naturally when an external command fails.
- No longer allow '{a: 1, a: 2}'.
- remove 'def-env' and 'export def-env'.
- remove 'extern-wrapped' and 'export extern-wrapped'.
- remove the 'unfold' command.
- remove 'size' command in favor of 'str stats'.
- remove '--not' from 'glob'.
- nu-table/ Add '-t/theme' argument && Replace '-n/start-number'
with '-i/index' To make how to update the table numbering
more clear, we've replaced 'table -n' with 'table -i/table --index'.
* Full changelog:
- https://www.nushell.sh/blog/2023-12-12-nushell_0_88_0.html.
OBS-URL: https://build.opensuse.org/request/show/1132788
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=47
- Update to version 0.87.1:
* Nushell's cp command in 0.87.0 did not correctly handle
changes to the directory by the Nushell internal cd when
invoked inside a block. Furthermore the rm command was not
able to correctly handle paths requiring expansion.
* Removed Source2: cargo_config, cargo_config is no longer
created - it's part of the vendor.tar
OBS-URL: https://build.opensuse.org/request/show/1127807
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=46
- Update to version 0.87.0:
* Bug fixes:
- fix the flag type on release-pkg.nu
- update release-pkg.nu with updated manual instructions.
- remove the last mention to let-env
- Do not use white text in the default light theme.
- fix: Ensure consistent vals and cols when parsing
with --flexible.
- Fix describe -d for lazy records.
- updated NU_LIB_DIRS delimiter for command line.
- redirection: fix internal commands error with o+e> redirection.
- sync $env.config.filesize.metric.
- use to_lowercase in str downcase.
- fix: preserve path when completing intermediate directory.
- Improve case insensitivity consistency.
- Add "shape_keyword" to default config.
- Fix issues with error make refactor.
- Fix (http) get HTTP_PROXY from $env.
- allow items to properly evaluate block settings.
- fix custom command's default value.
* Enhancing the documentation.
* Changes to the internals of Nushell.
* LSP is coming to Nushell.
* Living in the terminal: completions and hints.
* Handling exotic paths.
* Improving the match command.
* Pipeline redirections.
* Some work on the standard library.
* New allowed operands to the modulo operator.
* Disallowing invalid table definitions and manipulations.
* The documentation becomes better.
* Some progress in the "dataframe" department.
* Our set of commands is evolving.
* Changes to existing commands.
* Deprecated commands:
- extern-wrapped in favor of def --wrapped.
- def-env in favor of def --env.
- unfold in favor of generate.
- size in favor of str stats.
- glob --not in favor of glob --exclude.
* Removed commands:
- the $nothing variable.
- random integer in favor of random int.
- profile.
* Breaking changes:
- Improve case insensitivity consistency.
- Refactor error make.
- Change input list to return null.
- Disallow duplicated columns in table literals.
- Improve registry value return types.
- Finish removing profile command and related data.
- remove random integer in favor of random int.
- Remove to xml --pretty.
- remove the $nothing variable
* Full changelog:
- https://www.nushell.sh/blog/2023-11-14-nushell_0_87_0.html
OBS-URL: https://build.opensuse.org/request/show/1126838
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=45
- Update to version 0.86.0:
* Bug fixes:
- Fix exponential parser time on sequence of [[[[.
- Fix tilde-expansion for multi-byte unicode chars.
- Improve select row perf for large N.
- Prevent cubic time on nested parentheses.
- fix public boolean switches in the standard library.
- std dt datetime-diff: fix uninitialized field ref when
borrowing.
- Fix default argument value type checking.
- fix magenta_reverse and friends.
- nu-table: Fix failing test (relied on termwidth assumptions).
- Fix editor config for reedline and config nu/env.
- Fix Default Prompt Tilde Insertion Logic.
- fix windows default prompt slash direction.
- fix: complete paths surrounded by quotes or backticks.
- ucp: Change error when directory is specified
but not recursive.
- nu-explore: Try to fix a truncation issue in expand view.
- Fix wrong parsing of signatures in predecl scan.
- Fix parsing of signature inp/out types in predecls.
- fix labelled error from shell error.
- Fix registry query flag validation.
- Fix clippy in registry_query.rs.
- fix clippy.
- Fix output types of math commands to be narrower.
- nu-table: Use config color scheme in kv tables and table -e.
- fix: only escape path containing numbers if they can
be valid floating points.
- evaluate $nu during --ide-check.
- allow early return outside of main.
- Preserve relative paths for local files.
- glob with ../ prefix now works;.
- Add support for HTTP proxy in network commands.
* Enhancing the documentation.
* Improving the completions in the REPL.
* The type system.
* Unified command definitions.
* Some news with the standard library.
* Nushell now supports the keyboard enhancement protocol from
Kitty with the work of @Abdillah in #10540. This feature is off
by default but can be turned on in config.nu with
the $env.use_kitty_protocol config option.
* New commands.
* Changes to existing commands.
* Deprecated commands:
- random int in favor of random integer.
- the $nothing built-in variable in favor of the null.
- to xml --pretty {int} in favor of to xml --indent {int}.
* Removed commands:
- random decimal in favor of random float.
- into decimal in favor of into float.
* Breaking changes:
- differentiating between --x and --x: bool.
- Use heck for string casing (again)
- remove into decimal.
- remove random decimal.
- Remove cd w/ abbreviations.
- Rename: change the SyntaxShape of -c flag from list to record.
* Full changelog:
- https://www.nushell.sh/blog/2023-10-17-nushell_0_86.html
OBS-URL: https://build.opensuse.org/request/show/1118397
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=44
- Update to version 0.85.0:
* Bug fixes:
- Fix tab completion order of directories to consistent with
order of files.
- Fix 9156 endian consistency.
- fixed usages of deprecated chrono DateTime::from_utc.
- Fix inspect output header may be misaligned.
- Fix example history command pipeline.
- fix default after an empty where.
- handle empty pipeline while parsing let.
- Fix variables not allowed in ucp.
- fix#10319: allow json request of value type list.
- fix 'let' to properly redirect.
- fix the pretty printing of failing tests in std.
- fix input --until-bytes: now stops at any of given bytes.
- nu-table: Fix expand table unnessary color in trail head
config when wrap is used.
- fix some new chrono warnings.
- prevent crash when use redirection with let/mut.
- Allow operator in constants.
- nu-table: Patch restore lead trail space bg color.
- nu-table: Strip custom color in the header when used on border.
* Consistent use of float for our floating point type.
* Some updates on explore.
* Improvements to parse-time evaluation.
* Improving accessibility.
* Improved history isolation.
* Full changelog
https://www.nushell.sh/blog/2023-09-19-nushell_0_85_0.html
OBS-URL: https://build.opensuse.org/request/show/1112668
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=43
- Update to version 0.84.0:
* New features:
- str replace matches substring by default.
- Constants from modules.
- New options for more compact table display.
- More consistent format ... commands.
- scope commands enhancements.
- http commands now handle headers better.
- Work on the optional dataframe features.
- Changes to other commands.
- Command organization.
- Deprecation and removal of commands.
- A panic when parsing the context of let assignments has
been fixed.
- Invoking --help on a script with a def main command will now
report the script's name instead of a more confusing main.
- Serious bugs in parse that produced incorrect output when
given a long input stream have been fixed.
* Bugfixes:
- Fix ~ | path type returning empty string.
- Fix the panic when type a statement similar
to let f = 'f' $ in the nushell.
- Revert #9693 to prevent CPU hangs.
- Nothing has the correct return type.
- Force version to update when installing with toolkit.nu
- Fix panic with lines on an error.
- Fix watch not handling all file changes.
- Fix a crash when moving the cursor after accepting
a suggestion from the help menu.
- Fix parser to not update plugin.nu file on nu startup.
- nu-table: Fix padding 0 width issues.
- Remove potential panic from path join.
- Fix wrong path expansion in save.
- nu-table: Fix issue with truncation and text border.
- Fix default_env.nu after latest changes to str replace.
- Allow return to return any nushell value.
- Fix into datetime to accept more date/time formats.
* Full changelog
https://www.nushell.sh/blog/2023-08-22-nushell_0_84_0.html
OBS-URL: https://build.opensuse.org/request/show/1105343
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=41
- Update to version 0.83.0:
* Fixes, stabilization and shoutouts:
- Redirection: make o>, e>, o+e>'s target support variables
and string interpolation.
- Fix broken constants in scopes.
- Fix: return all headers with the same name from http <method>.
- make the behaviours of last and first more consistent.
- Fix explore crashes on {}.
- Fix: update engine_state when history.isolation is true (#9268).
- Fix headers command handling of missing values.
- fixes which showing aliases as built-in nushell commands.
- fix the command cp -u src dst/mv -u src dst doesn't work when the…
* Changes to commands:
- which returns the type of the command instead of only whether
it is builtin or not and uses more explicit column names.
- str expand now allows empty member in brace expansion, e.g.
A{,B,C} would expand to [A, AB, AC].
- keybinding listen gives more information about keys like
home and end, namely their kind and state.
- input listen allows to query for a single key press, e.g.
the following will take a 4-char input 1..4 | each
{ input listen } | where key_type == char | get code | str join.
_ path commands lose the -c flag; instead, use update
to update table columns.
* Until now, declaration keywords such as let and mut have
required the use of parentheses around pipelines to assign
the output of a chain of command to a variable. this syntax
has been relaxed for let and mut. Let's give some examples!
* Input / output type checking and annotations.
* Configuration tweaks.
* The standard library.
* Breaking changes:
- Removal of let-env (now use the $env.FOO = "BAR" form instead).
- Stricter checking of input/output types.
OBS-URL: https://build.opensuse.org/request/show/1100970
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=39
- Update to version 0.82.0:
* Custom datetime format.
* Support for comments in multiline pipes.
* Continuing cratification effort.
* Splitting the $nu variable.
* Entering Linguist support.
* REPL: Mark line entries as excluded from the history
by leading with a space.
* New commands:
- http options.
- scope aliases.
- scope commands.
- scope engine-stats.
- scope modules.
- scope variables.
- scope.
* Breaking changes:
- Clean up config by removing legacy options that were
previously deprecated.
- Split $nu variable into scope commands and simpler $nu.
- The filesize prefixes Z/Zi have been removed as their
underlying values where not correctly representable.
- In the ls --long output the uid column has been renamed
to user to be consistent with group.
- Don't allow save command to save both stdout and stderr to
the same file.
OBS-URL: https://build.opensuse.org/request/show/1096449
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=38
- Update to version 0.79.0:
* Standard library.
* enhanced IDE support in our VS code extension.
* atuin now supports Nushell.
* Relaxed parsing rules.
* Removed old alias implementation.
* Changes to default files locations.
* Breaking changes:
- old-alias is no longer available.
- str index-of -r now uses ranges.
- config nu and config env now open $nu.config-path and
$nu.env-path, respectively.
- Aliasing math expressions now shows error immediately instead
of failing silently and showing a confusing error later.
- exec inherits Nushell's environment variables.
- NU_LIB_DIRS definition in env.nu changed.
OBS-URL: https://build.opensuse.org/request/show/1082849
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=35
- Update to version 0.78.0:
* Pattern matching.
* Aliases now can shadow.
* Old alias still keeps working.
* Speed improvements.
* Optional cell path members.
* better error handling in error make.
* Support for pretty output format in to nuon.
* Breaking changes:
- let requires surrounding parentheses for saving command output.
- || now required in closures.
- We no longer automatically print values as part of a script.
- Bare words can't start with a number.
- Fields can only be defined once.
- Thread configuration moves to par-each.
- Ranges become the standard range specifier.
- Alias recursion has been disabled.
- Empty lists handled more consistently.
- Comparison operators now allow null.
OBS-URL: https://build.opensuse.org/request/show/1077554
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=34
- Update to version 0.77.0:
* Reworked aliases (Breaking changes!).
* More consistent timestamp handling.
* New XML format.
* New additions to $nu.
* Reworked http subcommands.
* Breaking changes:
- Alias changes, see above.
- env command has been removed, use $env instead
(https://github.com/nushell/nushell/pull/8185).
- str trim no longer has --all, --both, and --format flags.
str replace should be an adequate replacement; please
let us know if it is not (#8205).
+ The changes to timestamp handling noted above (#8244)
can require code changes to existing scripts:
- Saved data containing the results of an old
datetime-to-timestamp conversion will not deserialize
correctly when read back by the current version of Nushell.
In general, Nushell will produce incorrect datetime
values without noting an error.
- <int> | into datetime now assumes nanosecond scaling
for all timestamps. You must ensure all timestamps computed
by your script or retrieved from external sources
are scaled appropriately.
- <date> | into int can now fail, as noted above. You cannot
rely on this operation to persist a arbitrary date.
- The change to from xml and to xml commands noted above (#7947)
will require to update scripts relying on old
output/input format.
- mkdir, cp, mv and rm return nothing. Errors and actions with
--verbose flag are printed to stderr instead (#8014).
- Plugin authors relying on nu_protocol::Value may need to
update their code to account for a change
to Value::Error (#8375).
- Different types of lists can now be appended.
This can break scripts that were relying on the stricter
bhavior (https://github.com/nushell/nushell/pull/8157).
OBS-URL: https://build.opensuse.org/request/show/1071901
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=32
- Add constraints. Make 12GB of physical memory.
- Update to version 0.76.0:
* Fix PATH vs Path for command completions
* New debugging commands
- ast
- debug
- explain
* BREAKING CHANGES:
- load-env can not accidentally set $env.PWD anymore
- The --numbered flag to enumerate entries has been removed from each, par-each,
each while, and reduce. Use the enumerate command added in 0.75 instead.
- Plugin system: nu_plugin::Plugin::signature has changed from
fn signature(&self) -> Vec<Signature> to fn signature(&self) -> Vec<PluginSignature>
to support examples on plugin commands. Plugin authors have to update
the relative structure to apply these changes. Normally you just need to
perform a global search/replace from Signature to PluginSignature,
then rebuild and run with the latest nushell version.
- benchmark renamed to timeit.
- dataframe commands renamed with a prefix of dfr
- view-source renamed to view source
- Plugin commands can now include examples, which necessitated a change to
the plugin signature, which causes all plugins to need to be recompiled for use
- from ini, from vcf, from ics, from eml commands are moved to
plugin called nu_plugin_formats to reduce the number of commands in nushell
core, you need to install and register the plugin manually to use these command
- str lpad and str rpad have been superceeded by fill in order to provide alignment
- http get -t,--timeout parameter is now -m,--max-time.
- Filesystem commands now print to stderr when using --verbose flag
- The parse command will now create 0 indexed columns instead of 1 indexed
- Use zstd compression for vendored tarball
This SR is to address redundant changelog
OBS-URL: https://build.opensuse.org/request/show/1067092
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=31
- Update to version 0.74.0:
* Known externals commands and exec now have "fall-through"
signatures.
* help is now more helpful.
* Initial support for parse-time constants.
* New url encode command to percent-encode URLs.
* values command to programmatically interact with records.
* get, select, cell path access on tables will now error when
encountering a hole.
* Behavior of -i/--ignore-errors flag for get and select when
the entire column is absent has changed.
* Certain misused punctuation in def definitions are now errors.
* $in now works in catch closures.
* MIME-types are supported in ls with an additional flag.
* Regular expression queries are cached for performance.
* All built-in commands now declare their pipeline input
and output types.
* get and select now error when encountering a hole.
* the behaviour of -i on get and select has changed.
* columns will now error for data that is not a table or a record.
* The dataframe specific command fill-na has been renamed to
fill-nan to better represent its capabilities.
* The requirements for the names of a nu command and a command
alias have been tightened to avoid some problems.
* to toml will only produce output for records now as the output
for tables is ambiguous and may be invalid to parse.
* exec and known externals don't throw errors when unknowns
parameters are passed to them.
* help command has been thoroughly refactored and includes
several more subcommands. help <word> now matches commands,
aliases, and modules.
* command names in help commands and $nu.scope.commands are
displayed correctly if they were imported from a module
with a prefix.
* hide command no longer hides environment variables.
Use hide-env instead.
* math eval has been removed in favour of the direct math
commands and expressions (see help operators as well).
* last, skip, drop, take until, take while, skip until,
skip while, where, reverse, shuffle, and sort-by are now
stricter about which types of data they accept.
OBS-URL: https://build.opensuse.org/request/show/1057754
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=29
- Update to version 0.73.0:
* The boolean && is now and and the boolean || is now or.
These were deprecated in the 0.72 release and have now been
removed. Existing scripts will need to be updated to the
new syntax to run in 0.73.
* Experimental interactive explore command.
* New math commands.
* Changes to commands with predicates:
any, all, skip until, skip while, take until, and take while
now accept a closure instead of a row condition.
* New filter command and simpler where.
* New command uniq-by.
* Mutable data structures can now have their inner values mutated
using =.
* More sophisticated coloring of data values using closures.
* save no longer overwrites files by default, you must use the
new -f/--force flag to overwrite an existing file.
* split row command will retain an empty string if splitted
string is empty.
* split list now properly removes the separator in all positions.
* The --show-created-paths flag has been replaced by --verbose
from mkdir.
* fetch removes --output, --bin, --append flags, use fetch with
save to save fetched page to a file.
* changes to how get works with deep cell paths.
* mkdir's -s/--show-created-paths has been renamed to
-v/--verbose for better consistency.
* && is now and and || is now or.
* any, all, skip until, skip while, take until, take while
now take only a closure as an argument.
* where now takes only row condition argument, -b flag removed.
- Update to version 0.72.1:
* With this release, we have also statically linked OpenSSL
into the binary to make it easier to use across a larger range
of platforms.
OBS-URL: https://build.opensuse.org/request/show/1044002
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=28
- Update to version 0.72.0:
* Try/catch. Starting with 0.72, it's now much easier to run
a command that might fail and then handle the failure
if it happens.
* Auto-expanding data views. With the new default config,
we now also detect the terminal width and will automatically
expand the data view to include more information
if it's available.
* Redirection. This release also includes a new way
of redirecting the stdout and/or stderr of external commands.
This gives easier access to the output streams than was
previously possible.
* Closures/blocks. We have now split closures and blocks into
two separate value types. A closure can have parameters,
can close over variables outside of its scope,
and can be passed as a value.
* Mutation. Starting in this release, you can create local
mutable variables. You can create mutable variables using
the mut keyword.
* Loop/while. The 0.72 release also includes a few new
looping commands: loop and while.
* Break/continue. Loops can now also use the break and continue
feature common in many programming languages. break will break
out of the current loop. And continue will continue the loop
at the next iteration.
* Return. The 0.72 release also includes the ability to return
early from a closure or command.
* Command refinement, simplification, and elimination.
* Dataframes no longer included by default - smaller binaries.
* Allow reloading overlay definitions.
* virtualenv activation changes.
* Nu's SQLite DSL commands have been removed.
open foo.db and open foo.db | query db "SELECT * ..." still work,
but the commands which mapped 1-to-1 with SQL clauses
(ex: open foo.db | into db | select * | from table some_table
| order-by some_column) have been removed. These commands were
an interesting experiment but they didn't work out,
and we're removing them to simplify database access in Nu.
* The is_plugin, is_custom, and is_keyword columns in
help commands have been replaced with a single
command_type column.
* date format now returns an error if not given an input.
Previously it would default to the current time.
* first and last will now return an error if given a negative index.
Previously the behavior was undefined and may have returned
entries due to an underflow.
* The --predicate flag has been removed from find. where can be
used in all situations where find --predicate was previously used.
* sort-by now requires a column name to sort by.
To sort lists without specifying a column name, sort can be used.
* seq, seq char, and seq date no longer have --separator and
--terminator flags (#7045, #7054, #7096). This helps ensure
that the return type for those commands is consistent,
and str join can be used to accomplish the same effect.
* The build-string command has been removed. To concatenate strings,
use the + operator, string interpolation, or str join.
* wrap now expands ranges. It works the same as with lists or seq.
* url parse url scheme, url host, url path, and url query
commands have been removed. We added the command url parse.
This new command returns a Record with scheme, username,
password, host, path, query, params (as a Record) and fragment.
* sort, sort-by, str contains and find have had their
--insensitive flags renamed to --ignore-case.
--ignore-case is used by uniq, as well as popular external
commands like less, grep and wget, so it could be considered
a standard flag name.
* New boolean operator xor - Planned operator simplification.
To complement our logical boolean operators and/&& and or/||
we added boolean xor. This is consistent with bit-and, bit-xor,
and bit-or. We are currently considering to deprecate the
C-style symbols &&/|| in favor of the spelled out and/or to
increase consistency and provide more actionable error
messages when trying to use &&/|| in a similar fashion to bash.
* Config options have been grouped together.
The structure of $env.config (and thus the record used with
let-env config = statements in config.nu and other places) has
been reorganised. Various options are now grouped into subrecords
(similar to table_trim) and had their names shortened.
This allows config.nu files to be better structured,
and thus easier to edit and read.
OBS-URL: https://build.opensuse.org/request/show/1039217
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=27
- Update to version 0.71.0:
* New ++ operator.
* Improved consistency across commands and types.
* Right prompts can now be on the last line.
* Configuring the default value viewer via display_output hook.
* Completion actions now more familiar.
* New --force (-f) flag for the mv command. This change alters mv
default behavior. By default overwriting existing files is now
prevented (You can use alias mv = mv -f in you config to get
the old defaults back).
* The column name for the command name in $nu.scope.commands
has been changed from command to name. Thus,
$nu.scope.commands | where name =~ zip would give you
specific command info.
* The str distance command now directly returns an Int instead
of a record {"distance": <Int>}.
* The argument order of format filesize was made consistent
with other commands that accept a CellPath to specify fields
that should be affected by it. Now the string specifying
the format is the first positional argument and the cell
path is specified in the following positional argument(s).
* The --perf flag for Nu was removed as part of an effort to
simplify diagnostics logging.
OBS-URL: https://build.opensuse.org/request/show/1034703
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=26
- Update to version 0.69.1:
+ Summary of deprecations
- source.
- source-env.
- use.
- hide.
- hide-env.
- export env.
- export-env.
- export ...
- config.nu.
- env.nu.
- login.nu.
* Upcoming virtualenv activation changes.
* Grammar Experiments.
+ Breaking changes
- We found a regression in the correctness of the -d and -t
flags of touch. To get the release out, we've removed these
flags, but hope to replace them with correct implementations
in the future. We also removed support for duration literals
above weeks, including month, year, and decade literals.
These were found to be confusing as it's unclear what a
duration of a month is (30 days? 31 days?) The str collect
command is now str join.
OBS-URL: https://build.opensuse.org/request/show/1006616
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=24
- Update to version 0.68.0:
* source becomes source-env.
* Module envrionment changes.
* Syntax unification.
* Overlay changes.
* Allow parentheses around command signatures.
* We added a new command str distance which implements the
Levenshtein alorithm.
* We added string duration conversion to named durations.
* External Completions (experimental).
* Renaming of all? to all, any? to any, and empty? to is-empty.
* Renaming overlay commands.
OBS-URL: https://build.opensuse.org/request/show/1001791
OBS-URL: https://build.opensuse.org/package/show/shells/nushell?expand=0&rev=22