From 9033ee1292bdc8bbc3da0d00f7dd726e994f0407 Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 1 Mar 2026 09:33:53 +0800 Subject: [PATCH 01/16] fix: Fix version bump for Nu 0.111 --- nu/bump-ver.nu | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nu/bump-ver.nu b/nu/bump-ver.nu index c344db220..c9f19a79f 100644 --- a/nu/bump-ver.nu +++ b/nu/bump-ver.nu @@ -30,9 +30,8 @@ export def bump-version [ export def has-ref [ ref: string # The git ref to check ] { - let checkRepo = (do -i { git rev-parse --is-inside-work-tree } | complete) + let checkRepo = git rev-parse --is-inside-work-tree | complete if not ($checkRepo.stdout =~ 'true') { return false } - # Brackets were required here, or error will occur - let parse = (do -i { git rev-parse --verify -q $ref } | complete) - if ($parse.stdout | is-empty) { false } else { true } + let parse = do { ^git rev-parse --verify -q $ref | complete } + ($parse.stdout | is-not-empty) } From 2ea37026ab99d7416ad42b4cedf6ae53a02d4443 Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 1 Mar 2026 09:34:13 +0800 Subject: [PATCH 02/16] chore: bump version to 0.111.0 of revision 0 --- meta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta.json b/meta.json index 7136af849..375ba5460 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "nushell", - "version": "0.110.0", + "version": "0.111.0", "revision": 0, "pkgs": { "deb": true, From 9062c9a0c4ac7ea75a0aa18b5cabee5bcd31c319 Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 1 Mar 2026 09:44:20 +0800 Subject: [PATCH 03/16] fix: Try to fix release script for the race condition --- nu/release.nu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nu/release.nu b/nu/release.nu index 979241c2e..974cb02a5 100644 --- a/nu/release.nu +++ b/nu/release.nu @@ -94,7 +94,9 @@ def create-github-release [ let repo = 'nushell/integrations' let releases = gh release list -R $repo --json name | from json | get name if $version not-in $releases { - gh release create $version -R $repo --title $version + # Use try/catch to handle the race condition when multiple parallel jobs + # try to create the same release simultaneously + try { gh release create $version -R $repo --title $version } } # --clobber Overwrite existing assets of the same name if $arch in $ALPINE_IGNORE { From 90c0dd8ccc814edcafa2b6dad9b80baadc52233d Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 1 Mar 2026 09:50:03 +0800 Subject: [PATCH 04/16] chore: Revert ver --- meta.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta.json b/meta.json index 375ba5460..208042d86 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "nushell", - "version": "0.111.0", + "version": "0.110.0", "revision": 0, "pkgs": { "deb": true, @@ -13,4 +13,4 @@ "github": "https://github.com/nushell/nushell", "home": "https://www.nushell.sh", "description": "A new type of shell." -} \ No newline at end of file +} From 3b336880bab952585ebb5a04065f0f85d769abeb Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 1 Mar 2026 09:50:12 +0800 Subject: [PATCH 05/16] chore: bump version to 0.111.0 of revision 0 --- meta.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta.json b/meta.json index 208042d86..375ba5460 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "nushell", - "version": "0.110.0", + "version": "0.111.0", "revision": 0, "pkgs": { "deb": true, @@ -13,4 +13,4 @@ "github": "https://github.com/nushell/nushell", "home": "https://www.nushell.sh", "description": "A new type of shell." -} +} \ No newline at end of file From 38c42fb546d29552fc12d2ed4e2fa86723a91057 Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 12 Apr 2026 08:15:12 +0800 Subject: [PATCH 06/16] chore: bump version to 0.112.1 of revision 0 --- meta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta.json b/meta.json index 375ba5460..039fb08e1 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "nushell", - "version": "0.111.0", + "version": "0.112.1", "revision": 0, "pkgs": { "deb": true, From 6fb9852a5b76df35986261be3d0f79893db13f71 Mon Sep 17 00:00:00 2001 From: hustcer Date: Fri, 8 May 2026 00:47:29 +0800 Subject: [PATCH 07/16] chore: bump version to 0.112.2 of revision 0 --- meta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta.json b/meta.json index 039fb08e1..cd03b87ce 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "nushell", - "version": "0.112.1", + "version": "0.112.2", "revision": 0, "pkgs": { "deb": true, From 3281c0c60bb813be5f1493c8e0cb8baad660c755 Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 24 May 2026 10:44:00 +0800 Subject: [PATCH 08/16] chore: bump version to 0.113.0 of revision 0 --- meta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta.json b/meta.json index cd03b87ce..b1e0032ee 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "nushell", - "version": "0.112.2", + "version": "0.113.0", "revision": 0, "pkgs": { "deb": true, From cee16771362df48d26f74a0bf368b6b47189cc3f Mon Sep 17 00:00:00 2001 From: hustcer Date: Sat, 30 May 2026 10:07:07 +0800 Subject: [PATCH 09/16] chore: bump version to 0.113.1 of revision 0 --- meta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta.json b/meta.json index b1e0032ee..3cb91a42f 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "nushell", - "version": "0.113.0", + "version": "0.113.1", "revision": 0, "pkgs": { "deb": true, From 0eceb2afa39dbfb6b5e5fadc43cf58d936fa39d1 Mon Sep 17 00:00:00 2001 From: hustcer Date: Tue, 30 Jun 2026 18:25:11 +0800 Subject: [PATCH 10/16] fix: Try to fix MSI install tests --- .github/workflows/test-msi.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-msi.yml b/.github/workflows/test-msi.yml index 4e9c0e664..7d98b8ae4 100644 --- a/.github/workflows/test-msi.yml +++ b/.github/workflows/test-msi.yml @@ -43,7 +43,9 @@ jobs: - name: Checkout Nutest Repo uses: actions/checkout@v6 with: - ref: v1.1.0 + # Includes the updated `returns.results` type annotation needed by + # recent Nushell nightlies. + ref: 097ca6839c861f3f9b7d8b702e92d712b621b8dd path: nutest repository: vyadh/nutest sparse-checkout: nutest/ From 911e0e8ba73425a3f18fb5d19d7877e8e54065af Mon Sep 17 00:00:00 2001 From: hustcer Date: Tue, 30 Jun 2026 18:29:56 +0800 Subject: [PATCH 11/16] fix: Try to fix MSI install tests again --- .github/workflows/test-msi.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-msi.yml b/.github/workflows/test-msi.yml index 7d98b8ae4..09849d87b 100644 --- a/.github/workflows/test-msi.yml +++ b/.github/workflows/test-msi.yml @@ -53,7 +53,9 @@ jobs: - name: Setup Nu uses: hustcer/setup-nu@v3 with: - version: 'nightly' + # This Nu runs nutest. The test itself still downloads and installs + # the latest MSI from nushell/nightly. + version: '0.113.1' - name: Test MSI Install shell: nu {0} From 76b3327db81f090f0114267cffc8753bda2412a9 Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 5 Jul 2026 10:43:40 +0800 Subject: [PATCH 12/16] deps: Upgrade actions/checkout to v7 --- .github/workflows/loong.yml | 4 ++-- .github/workflows/publish.yml | 6 +++--- .github/workflows/test-msi.yml | 4 ++-- .github/workflows/test-upgrade.yml | 2 +- .github/workflows/test-winget.yml | 6 +++--- .github/workflows/test.yml | 10 +++++----- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/loong.yml b/.github/workflows/loong.yml index a83f2c5de..61b0a4b00 100644 --- a/.github/workflows/loong.yml +++ b/.github/workflows/loong.yml @@ -39,7 +39,7 @@ jobs: platforms: all - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Test Install Nushell on Loong64 run: | docker pull --platform=linux/loong64 ${{ matrix.image }} @@ -81,7 +81,7 @@ jobs: platforms: all - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Test Install Nushell on Loong64 run: | docker pull --platform=linux/loong64 ${{ matrix.image }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d6184dbb6..3d107455e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,7 +25,7 @@ jobs: name: Build Nu Pkgs@${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup Nushell uses: hustcer/setup-nu@v3 @@ -69,7 +69,7 @@ jobs: name: Build Nu Pkgs for Other ARCHs steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup Nushell uses: hustcer/setup-nu@v3 @@ -108,7 +108,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup Nushell uses: hustcer/setup-nu@v3 - name: Calc Tag and Upload Source Archive diff --git a/.github/workflows/test-msi.yml b/.github/workflows/test-msi.yml index 09849d87b..a50109ce7 100644 --- a/.github/workflows/test-msi.yml +++ b/.github/workflows/test-msi.yml @@ -38,10 +38,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Checkout Nutest Repo - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: # Includes the updated `returns.results` type annotation needed by # recent Nushell nightlies. diff --git a/.github/workflows/test-upgrade.yml b/.github/workflows/test-upgrade.yml index 9d5be19aa..bb092429a 100644 --- a/.github/workflows/test-upgrade.yml +++ b/.github/workflows/test-upgrade.yml @@ -38,7 +38,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Setup Winget run: | diff --git a/.github/workflows/test-winget.yml b/.github/workflows/test-winget.yml index 56d90d211..72cc557ab 100644 --- a/.github/workflows/test-winget.yml +++ b/.github/workflows/test-winget.yml @@ -38,7 +38,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Upgrade Winget run: | @@ -75,7 +75,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Setup Nu uses: hustcer/setup-nu@v3 @@ -105,7 +105,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Setup Nu uses: hustcer/setup-nu@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2e0ae948d..9343c4dad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -74,7 +74,7 @@ jobs: dnf install -y nushell nu -c 'version' - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Run Tests run: nu nu/tests.nu @@ -94,7 +94,7 @@ jobs: sudo apt install nushell nu -c 'version' - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Run Tests run: nu nu/tests.nu @@ -113,7 +113,7 @@ jobs: pacman -U --noconfirm nushell.pkg.tar.zst nu -c 'version' - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Run Tests run: nu nu/tests.nu @@ -143,7 +143,7 @@ jobs: apt install nushell nu -c 'version' - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Run Tests run: nu nu/tests.nu @@ -164,7 +164,7 @@ jobs: platforms: riscv64 - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Test Install Nu on RISC-V run: | docker pull --platform=linux/riscv64 ${{ matrix.image }} From 0a1cd91f8a3c8fe883f5bbc236f343cfbcfc50f7 Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 5 Jul 2026 10:43:52 +0800 Subject: [PATCH 13/16] chore: bump version to 0.114.0 of revision 0 --- meta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta.json b/meta.json index 3cb91a42f..b50e52fe7 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "nushell", - "version": "0.113.1", + "version": "0.114.0", "revision": 0, "pkgs": { "deb": true, From f4625f4f5b399000494961dc1b9e890762918b81 Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Mon, 6 Jul 2026 00:23:13 +0200 Subject: [PATCH 14/16] Import entire `std/assert` module (#76) --- nu/tests.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nu/tests.nu b/nu/tests.nu index 65c7b1391..9e1d6bb30 100644 --- a/nu/tests.nu +++ b/nu/tests.nu @@ -1,6 +1,6 @@ #!/usr/bin/env nu -use std assert +use std/assert const NU_VERSION = '0.105.0' From e34d7d20dffbbdabcdc8d944e2653097d0e5cabd Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 12 Jul 2026 09:09:27 +0800 Subject: [PATCH 15/16] chore: bump version to 0.114.1 of revision 0 --- meta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta.json b/meta.json index b50e52fe7..968fb321f 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "name": "nushell", - "version": "0.114.0", + "version": "0.114.1", "revision": 0, "pkgs": { "deb": true, From 92608a26b33a020aef9c3a28f9fd5ed8d89d027d Mon Sep 17 00:00:00 2001 From: hustcer Date: Wed, 22 Jul 2026 13:58:09 +0800 Subject: [PATCH 16/16] chore: Use stable version of nu for workflows --- .github/workflows/test-upgrade.yml | 2 +- .github/workflows/test-winget.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-upgrade.yml b/.github/workflows/test-upgrade.yml index bb092429a..e954ab2a0 100644 --- a/.github/workflows/test-upgrade.yml +++ b/.github/workflows/test-upgrade.yml @@ -49,7 +49,7 @@ jobs: - name: Setup Nu uses: hustcer/setup-nu@v3 with: - version: 'nightly' + version: '*' - name: Install Komac Tool shell: cmd diff --git a/.github/workflows/test-winget.yml b/.github/workflows/test-winget.yml index 72cc557ab..4612741d1 100644 --- a/.github/workflows/test-winget.yml +++ b/.github/workflows/test-winget.yml @@ -50,7 +50,7 @@ jobs: - name: Setup Nu uses: hustcer/setup-nu@v3 with: - version: 'nightly' + version: '*' - name: Install Komac Tool shell: cmd @@ -80,7 +80,7 @@ jobs: - name: Setup Nu uses: hustcer/setup-nu@v3 with: - version: 'nightly' + version: '*' - name: Install Komac Tool shell: cmd @@ -110,7 +110,7 @@ jobs: - name: Setup Nu uses: hustcer/setup-nu@v3 with: - version: 'nightly' + version: '*' - name: Install Komac Tool shell: cmd