Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release notes for nushell 0.71 #647

Merged
merged 10 commits into from
Nov 8, 2022
Merged

Release notes for nushell 0.71 #647

merged 10 commits into from
Nov 8, 2022

Conversation

sholderbach
Copy link
Member

Please add your important new features and breaking changes to the release notes by commiting to/opening a PR against the release-notes-0.71 branch! Thanks for helping out!

Please add your important new features and breaking changes to the release notes by commiting to/opening a PR against the `release-notes-0.71` branch! Thanks for helping out!
@sholderbach sholderbach added the release-notes PRs to create the release notes on the blog section label Oct 23, 2022
* add right prompt release notes

* add a comparison image
dmatos2012 and others added 4 commits November 5, 2022 10:50
Listed some important improvements that might be worth telling the user about.
@sholderbach
Copy link
Member Author

@fdncred @merelymyself @PerBothner @webbedspace @rgwood
I saw that you made some user facing changes that might be worth talking about in the release notes. Feel free to fill in the sections with a few short sentences or a good code example. If you don't have time the team will probably still be able to fill in the blanks (with maybe a less perfect example)

@dandavison do we need to document things about the change to the completion logic (for users that take the new default config or those that run the old default config)?

@PerBothner
Copy link
Contributor

If you're OK with a plug for DomTerm, how about the following? If you want I can also add a screenshot.

How nushell outputs values can now be customized via display_output hook (PerBothner)

This new (somewhat experimental) hook is useful for modifying how values are printed or diverting the output to a different window. This could be an IDE or "notebook" interface that can handle "rich output" such as HTML.
See this section of the book.

A motivating example was to use inline HTML in the DomTerm terminal emulator.

    if "DOMTERM" in (env).name {{
        display_output: { to html --partial --no-color | domterm hcat  }
    }} else {{ }}

@PerBothner
Copy link
Contributor

If you feel a screenshot would be good, please add the following after my previous comment:

dt-nu-table

The screenshot shows the output from the du and ls Make* commands. (The first table is mostly scrolled out, but the the header is shifted so as to keep it visible.)

@dandavison
Copy link
Contributor

I'm not sure I'm going to have time to write a section on completion unfortunately :/

# Themes of this release

## New `++` operator as a short-hand to append to lists (merelymyself)
https://github.com/nushell/nushell/pull/6766
Copy link
Contributor

@webbedspace webbedspace Nov 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this:
"
Because lists are so important in Nushell, adding an operator for joining them (similar to Python's +) was deemed acceptable. This was implemented as a separate operator, ++, and not implemented as an overload of + because + is currently used for addition of same-typed values in two series (a dataframe datatype representing same-typed lists).

Note: Currently, this operator cannot be used to join two tables (which are, of course, lists of records). This functionality is still being worked on and will likely be present in the next version.
"

### `List`s finally support `upsert` (fdncred)
https://github.com/nushell/nushell/pull/6932
### `merge` can now also operate on records (webbedspace)
https://github.com/nushell/nushell/pull/6919
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this:
"
Formerly, merge's type signature only accepted, as an argument, blocks returning records instead of just plain records. This restriction, which conflicted with append's signature, has now been lifted. It is also likely that, due to the fact that little expressive power is gained from having merge accept blocks returning records, that that part of its type signature will be removed in a future version.
"


# Next Steps

We're continuing to work on language updates and hope to have more information for you soon. If you'd like to become part of the effort, please [join the discord](https://discord.gg/NtAbbGn).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hasn't the "hope to have more information for you soon" line been in the past several release notes? What does it refer to? The 0.80 draft roadmap?

@sophiajt sophiajt marked this pull request as ready for review November 8, 2022 20:45
@sophiajt sophiajt merged commit 24f4069 into main Nov 8, 2022
@sophiajt sophiajt deleted the release-notes-0.71 branch November 8, 2022 20:46
ayax79 pushed a commit to ayax79/nushell.github.io that referenced this pull request Jun 26, 2024
Deprecation will be released with `0.87`
- ~~nushell/nushell#10772
- nushell/nushell#10798

Final removal in `0.88`


Land before: 
- nushell/nushell#10784
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes PRs to create the release notes on the blog section
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants