Skip to content

Commit a2339a1

Browse files
committed
0.99.1 release notes
1 parent 53732e6 commit a2339a1

File tree

1 file changed

+4
-102
lines changed

1 file changed

+4
-102
lines changed

blog/2024-10-17-nushell_0_99_1.md

Lines changed: 4 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -3,119 +3,21 @@ title: Nushell 0.99.1
33
author: The Nu Authors
44
author_site: https://twitter.com/nu_shell
55
author_image: https://www.nushell.sh/blog/images/nu_logo.png
6-
excerpt: Today, we're releasing version 0.99.1 of Nu. This release adds...
6+
excerpt: Today, we're releasing version 0.99.1 of Nu. This release fixes a bug regarding `$env.LAST_EXIT_CODE`.
77
---
8-
<!-- TODO: complete the excerpt above -->
98

109
# Nushell 0.99.1
1110

1211
Nushell, or Nu for short, is a new shell that takes a modern, structured approach to your command line. It works seamlessly with the data from your filesystem, operating system, and a growing number of file formats to make it easy to build powerful command line pipelines.
1312

14-
<!-- TODO: write this excerpt -->
15-
Today, we're releasing version 0.99.1 of Nu. This release adds...
13+
Today, we're releasing version 0.99.1 of Nu. This release fixes a bug regarding `$env.LAST_EXIT_CODE`.
1614

1715
# Where to get it
1816

1917
Nu 0.99.1 is available as [pre-built binaries](https://github.com/nushell/nushell/releases/tag/0.99.1) or from [crates.io](https://crates.io/crates/nu). If you have Rust installed you can install it using `cargo install nu`.
2018

2119
As part of this release, we also publish a set of optional plugins you can install and use with Nu. To install, use `cargo install nu_plugin_<plugin name>`.
2220

23-
# Table of contents
24-
- [_Highlights and themes of this release_](#highlights-and-themes-of-this-release-toc)
25-
- [_Changes_](#changes-toc)
26-
- [_Additions_](#additions-toc)
27-
- [_Breaking changes_](#breaking-changes-toc)
28-
- [_Deprecations_](#deprecations-toc)
29-
- [_Removals_](#removals-toc)
30-
- [_Bug fixes and other changes_](#bug-fixes-and-other-changes-toc)
31-
- [_Notes for plugin developers_](#notes-for-plugin-developers-toc)
32-
- [_Hall of fame_](#hall-of-fame-toc)
33-
- [_Full changelog_](#full-changelog-toc)
34-
<!-- TODO: please add links to the other sections here
21+
# Bug fixes and other changes [[toc](#table-of-content)]
3522

36-
the following command should help pre-generate a great deal of the table of content.
37-
be careful with the format and false-positives :wink:
38-
```nushell
39-
rg '^#+ ' blog/...
40-
| lines
41-
| each {
42-
str replace '# ' '- '
43-
| str replace --all '#' ' '
44-
| str replace --regex '- (.*)' '- [_$1_](#$1-toc)'
45-
}
46-
| to text
47-
```
48-
-->
49-
50-
# Highlights and themes of this release [[toc](#table-of-content)]
51-
<!-- NOTE: if you wanna write a section about a breaking change, when it's a very important one,
52-
please add the following snippet to have a "warning" banner :)
53-
> see [an example](https://www.nushell.sh/blog/2023-09-19-nushell_0_85_0.html#pythonesque-operators-removal)
54-
55-
```md
56-
::: warning Breaking change
57-
See a full overview of the [breaking changes](#breaking-changes)
58-
:::
59-
```
60-
-->
61-
<!-- NOTE: see https://vuepress.github.io/reference/default-theme/markdown.html#custom-containers
62-
for the list of available *containers*
63-
-->
64-
65-
# Changes [[toc](#table-of-content)]
66-
67-
## Additions [[toc](#table-of-content)]
68-
69-
## Breaking changes [[toc](#table-of-content)]
70-
71-
## Deprecations [[toc](#table-of-content)]
72-
73-
## Removals [[toc](#table-of-content)]
74-
75-
## Bug fixes and other changes [[toc](#table-of-content)]
76-
77-
<!-- NOTE: to start investigating the contributions of last release, i like to list them all in a raw table.
78-
to achieve this, one can use the [`list-merged-prs` script from `nu_scripts`](https://github.com/nushell/nu_scripts/blob/main/make_release/release-note/list-merged-prs)
79-
as follows:
80-
81-
```nushell
82-
use ./make_release/release-note/list-merged-prs
83-
use std clip
84-
85-
let last_release_date = ^gh api /repos/nushell/nushell/releases
86-
| from json
87-
| into datetime published_at
88-
| get published_at
89-
| sort
90-
| last
91-
92-
let prs = list-merged-prs nushell/nushell $last_release_date
93-
| sort-by mergedAt
94-
| update url {|it| $"[#($it.number)]\(($it.url)\)" }
95-
| update author { $"[@($in)]\(https://github.com/($in)\)" }
96-
| select author title url
97-
| rename -c {url: pr}
98-
| to md --pretty
99-
100-
$prs | to md --pretty | clip
101-
```
102-
-->
103-
104-
# Notes for plugin developers [[toc](#table-of-content)]
105-
106-
# Hall of fame [[toc](#table-of-content)]
107-
108-
Thanks to all the contributors below for helping us solve issues and improve documentation :pray:
109-
110-
| author | title | url |
111-
| ------------------------------------ | ----------- | ------------------------------------------------------- |
112-
| [@author](https://github.com/author) | ... | [#12345](https://github.com/nushell/nushell/pull/12345) |
113-
114-
# Full changelog [[toc](#table-of-content)]
115-
<!-- TODO:
116-
paste the output of
117-
```nu
118-
./make_release/release-note/get-full-changelog
119-
```
120-
here
121-
-->
23+
A bug was introduced in 0.99.0 where `return`, `break`, and `continue` could cause `$env.LAST_EXIT_CODE` to be set to 1. This has been fixed in [#14120](https://github.com/nushell/nushell/pull/14120).

0 commit comments

Comments
 (0)