Skip to content

Commit

Permalink
patch: release notes for 0.83.1 (nushell#994)
Browse files Browse the repository at this point in the history
* add a release note for 0.83.2

* Update to 0.83.1, Changelog, WIP

* Mention breaking changes, DF integraion stuff

* Fixing typos/grammar

* Update 2023-07-30-nushell_0_83_1.md

* Update 2023-07-30-nushell_0_83_1.md

* Update 2023-07-30-nushell_0_83_1.md

---------

Co-authored-by: Stefan Holderbach <[email protected]>
Co-authored-by: JT <[email protected]>
  • Loading branch information
3 people committed Jul 30, 2023
1 parent de3d060 commit e46b17c
Showing 1 changed file with 88 additions and 0 deletions.
88 changes: 88 additions & 0 deletions blog/2023-07-30-nushell_0_83_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
---
title: Nushell 0.83.1
author: The Nu Authors
author_site: https://twitter.com/nu_shell
author_image: https://www.nushell.sh/blog/images/nu_logo.png
excerpt: Today, we're releasing patch version 0.83.1 of Nu. This hot-fix release aims to fix issues introduced by 0.83.0 and its type system changes.
---

A few days ago, we released the [`0.83` version of Nushell][Nushell 0.83]. As you can see in
the [release notes][Nushell 0.83 notes], the release included a major upgrade to the type system
as well as wide-reaching breaking changes.

Extensive efforts were made before the release to mitigate these changes to make them easier to adopt
when 0.93 was released, and included:
- quite a lot of command signatures have been updated to keep functionalities at the same level
while adding better type checking
- major integration scripts from 3rd-party applications have been fixed prior to the release

However, as you might have noticed and thanks to the feedback of you the community, more issues and
bugs have been found. Many commands needed additional updates to play well with the updated type system.
We decided to release a hotfix release to address what had been found, and this is that release. You can
find out more about the hotfix in [*Tracking issue for 0.83.0 fixup* #9812][#9812].

## What does the hot-fix release address?
Most of the *type-system*-related issues have been fixed, hopefully bringing most of the command
set of Nushell back to its previous feature level with the nice addition of better input/output
type checking and annotations. In a few places, the type system itself was fixed, as with the case
of `$rest` args now type-checking correctly in a pipeline.

## What will the hot-fix release NOT address?
### Bring the `let-env` command back to life.
Thankfully, the community helped by updating their Nushell integrations and releasing corresponding new versions.
Please, check your tools like `starship` for updates.

### Fully fix the dataframe integration.
When upgrading the type system for the 0.83, we removed a semi-working system that enabled the dataframe commands to run both in a lazy and eager mode, but only if the types were known at parse-time.
Due to the complexity of reworking this and the dataframe support currently being a tier-two feature in Nushell, we won't be able to fully fix this with this patch release.
Thankfully [@ayax79](https://github.com/ayax79) started work in [#9858](https://github.com/nushell/nushell/pull/9858) which promises to make the dataframe commands work again within the general Nushell type system.

## Breaking changes for plugin authors

With the type system changes in `0.83.0` any plugins that declared that their signature `"vectorizes_over_list": true` were not able to automatically broadcast their operation for a type `T` (e.g. `number`) over a `list<T>` input.
With this patch release, [we removed this field from `nu-protocol`](https://github.com/nushell/nushell/pull/9777).
You need to add the `list<T>` signature if necessary.
Also recompile your plugins using `nu-plugin 0.83.1` or remove the `vectorizes_over_list` field from the signature information if you don't use `nu-plugin` (e.g. plugins not implemented in Rust).

## Breaking changes for plugin users

You may need to recompile or update your plugins and then re-register your plugins.

## Changelog
- [ayax79](https://github.com/ayax79) created
- [merging into one `dfr into-nu` command](https://github.com/nushell/nushell/pull/9858)
- [sholderbach](https://github.com/sholderbach) created
- [Fix signature for `math mode`](https://github.com/nushell/nushell/pull/9846)
- [Fix `math log` signature](https://github.com/nushell/nushell/pull/9845)
- [Fix signature for `math sum`](https://github.com/nushell/nushell/pull/9847)
- [Fix signature for `math abs`](https://github.com/nushell/nushell/pull/9844)
- [Fix type signature of median](https://github.com/nushell/nushell/pull/9843)
- [Fix `math min`/`max` signatures](https://github.com/nushell/nushell/pull/9830)
- [Narrow signature of `math ceil`/`floor`](https://github.com/nushell/nushell/pull/9836)
- [Bump `trash` in lockfile due to yank](https://github.com/nushell/nushell/pull/9824)
- [Fix signature of `split row`](https://github.com/nushell/nushell/pull/9829)
- [Remove `Signature.vectorizes_over_list` entirely](https://github.com/nushell/nushell/pull/9777)
- [Fix signatures for cellpath access of records](https://github.com/nushell/nushell/pull/9793)
- [jntrnr](https://github.com/jntrnr) created
- [Fix transpose input/output types](https://github.com/nushell/nushell/pull/9842)
- [Fix prepend type, fix typos](https://github.com/nushell/nushell/pull/9828)
- [Fix the implied collect type to 'any'](https://github.com/nushell/nushell/pull/9827)
- [Set the rest variable to the correct type](https://github.com/nushell/nushell/pull/9816)
- [bump to 0.83](https://github.com/nushell/nushell/pull/9802)
- [amtoine](https://github.com/amtoine) created
- [allow `print` to take data as input again](https://github.com/nushell/nushell/pull/9823)
- [change signature of `enumerate` to `any -> table`](https://github.com/nushell/nushell/pull/9822)
- [WindSoilder](https://github.com/WindSoilder) created
- [fix append signature](https://github.com/nushell/nushell/pull/9821)
- [fdncred](https://github.com/fdncred) created
- [add input_output_type to ansi command](https://github.com/nushell/nushell/pull/9817)
- [bump to dev version 0.83.1](https://github.com/nushell/nushell/pull/9811)
- [hustcer](https://github.com/hustcer) created
- [Fix command docs deployment for `input listen`](https://github.com/nushell/nushell/pull/9805)


[Nushell 0.83]: https://github.com/nushell/nushell/releases/tag/0.83.0
[Nushell 0.83 notes]: https://www.nushell.sh/blog/2023-07-25-nushell_0_83.html
[input/output types]: https://www.nushell.sh/blog/2023-07-25-nushell_0_83.html#input-output-type-checking-and-annotations-jntrnr
[breaking changes]: https://www.nushell.sh/blog/2023-07-25-nushell_0_83.html#breaking-changes
[#9812]: https://github.com/nushell/nushell/issues/9812

0 comments on commit e46b17c

Please sign in to comment.