Home Explore Blog CI



nushell

3rd chunk of `blog/2019-10-15-nushell-0_4_0.md`
11ac30c768977b6a2e452c6ef956aa9431150739721bef730000000100000c80

Streaming tables

Up to this point, we've taken a few shortcuts with how streams worked in Nushell. We knew that a table, in theory, was a stream of rows. In practice, though, this wasn't the case as the code has lots of assumptions about how tables worked.

With the 0.4.0, we're taking a big step in the direction of full support for streams. You'll see that now data will start being printed as it becomes available, with tables printing pages of 50 rows at a time (by default). This allows you to get deep listings of files (eg using `ls **`), work with streams from external sources, and more.

## Better ctrl-c support (sophiajt, landaire)

As part of having streams of tables, it's always helpful to be able to say "stop!" when you need to. With 0.4.0, using ctrl-c to stop the output should be a lot more responsive and will take you back to the prompt.

## Textview gets VI keys (JonnyWalker81)

The built-in text viewer now lets you use vi keys for navigation thanks to JonnyWalker81's work.

## Onto the Beta compiler (est31)

For those of you wondering if and when Nu was going to be usable on stable Rust, you need but wait just a little longer. Contributor est31 has been hard at work at moving Nu onto stable Rust and has now successfully moved Nu off of nightly and onto beta. As beta matures and becomes the next release of Rust, we'll be able to move Nu onto stable. This should help people who are working to distribute Nu on various distributions.

## Brazilian Portuguese book (marcelocg)

Contributor marcelocg surprised us with a translation of the Nu book into Brazilian Portuguese. Obrigado, Marcelo!

## New commands

### from-ssv (t-hart)

To follow along with our `from-csv` (comma-separated-values) and `from-tsv` (tab-separated-values), we now have a new way of handle importing content from commands that output their own tables: `from-ssv`. Like its siblings, it looks for values separated by a separator, using the spaces to show where the breaks between cells should be.

### match (rnxpyke)

We're continuing to evolve our support for matching string data. Recently, we began experimenting with a `match` command that can find matches in strings for you. We plan to continue experimenting and exploring what's possible in this space in the future.

## Lots of new documentation (sdfnz, twe4ked, chhetripradeep, mfarberbrodsky, cristicismas, Charles-Schleich, coolshaurya, notryanb, pema99, gilesv, yahsinhuangtw, JesterOrNot, nalshihabi, marcelocg, sorrell, pizzafox, iggy14750, DrSensor, mlbright, BradyBromley, andrasio, piotrek-szczygiel)

Happy hacktoberfest! Lots of people wanted to jump in and help document all of our commands, help fix docs that are already there, and generally give things a bit of polish. Much appreciated everyone who came by and contributed.

## Tons of stability fixes (thegedge, sophiajt, wycats, JonnyWalker81, vsoch, pka)

As always, there were a bunch of stability and correctness both in Nu and in the CI that support Nu's development

# Looking ahead

We'll continuing filling out the features that will let folks use Nu as their everyday shell. Coming up are better support for the environment, path, and for command aliases.

Title: Nushell 0.4.0 Release: Improvements and New Features
Summary
Nushell 0.4.0 brings significant improvements, including streaming tables, better ctrl-c support, VI keys in the text viewer, and progress toward a beta compiler on stable Rust. A Brazilian Portuguese translation of the Nu book is also available. New commands like `from-ssv` for space-separated values and `match` for string matching have been added. Numerous documentation updates and stability fixes have been implemented. The team is focused on enhancing features for everyday shell usage, such as environment, path, and command alias support.