pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/shells/nushell



Module Name:    pkgsrc
Committed By:   pin
Date:           Tue Aug  1 08:04:27 UTC 2023

Modified Files:
        pkgsrc/shells/nushell: Makefile cargo-depends.mk distinfo

Log Message:
shells/nushell: update to 0.83.1

Nushell 0.83.1 (hot-fix)

A few days ago, we released the 0.83 version of Nushell. As you can see in the
release 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

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
started work in #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.

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.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/shells/nushell/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/shells/nushell/cargo-depends.mk
cvs rdiff -u -r1.29 -r1.30 pkgsrc/shells/nushell/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/shells/nushell/Makefile
diff -u pkgsrc/shells/nushell/Makefile:1.37 pkgsrc/shells/nushell/Makefile:1.38
--- pkgsrc/shells/nushell/Makefile:1.37 Wed Jul 26 19:36:37 2023
+++ pkgsrc/shells/nushell/Makefile      Tue Aug  1 08:04:27 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.37 2023/07/26 19:36:37 pin Exp $
+# $NetBSD: Makefile,v 1.38 2023/08/01 08:04:27 pin Exp $
 
-DISTNAME=      nushell-0.83.0
+DISTNAME=      nushell-0.83.1
 CATEGORIES=    shells
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=nushell/}
 

Index: pkgsrc/shells/nushell/cargo-depends.mk
diff -u pkgsrc/shells/nushell/cargo-depends.mk:1.24 pkgsrc/shells/nushell/cargo-depends.mk:1.25
--- pkgsrc/shells/nushell/cargo-depends.mk:1.24 Wed Jul 26 19:36:37 2023
+++ pkgsrc/shells/nushell/cargo-depends.mk      Tue Aug  1 08:04:27 2023
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.24 2023/07/26 19:36:37 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.25 2023/08/01 08:04:27 pin Exp $
 
 CARGO_CRATE_DEPENDS+=  Inflector-0.11.4
 CARGO_CRATE_DEPENDS+=  addr2line-0.20.0
@@ -481,7 +481,7 @@ CARGO_CRATE_DEPENDS+=       toml_edit-0.19.12
 CARGO_CRATE_DEPENDS+=  tower-service-0.3.2
 CARGO_CRATE_DEPENDS+=  tracing-0.1.37
 CARGO_CRATE_DEPENDS+=  tracing-core-0.1.31
-CARGO_CRATE_DEPENDS+=  trash-3.0.5
+CARGO_CRATE_DEPENDS+=  trash-3.0.6
 CARGO_CRATE_DEPENDS+=  try-lock-0.2.4
 CARGO_CRATE_DEPENDS+=  typed-arena-1.7.0
 CARGO_CRATE_DEPENDS+=  typenum-1.16.0

Index: pkgsrc/shells/nushell/distinfo
diff -u pkgsrc/shells/nushell/distinfo:1.29 pkgsrc/shells/nushell/distinfo:1.30
--- pkgsrc/shells/nushell/distinfo:1.29 Wed Jul 26 19:36:37 2023
+++ pkgsrc/shells/nushell/distinfo      Tue Aug  1 08:04:27 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2023/07/26 19:36:37 pin Exp $
+$NetBSD: distinfo,v 1.30 2023/08/01 08:04:27 pin Exp $
 
 BLAKE2s (Inflector-0.11.4.crate) = 2f8b4a805230be3b58267c7fb6b9c26c2ec966378d195673d1128a851cca515d
 SHA512 (Inflector-0.11.4.crate) = f1f6463e033b6d3c16c51dc1e1a3f5569954308b95b59058294b7f9310919bbda797e99e6a07529071bb83f0688867a243997d33795a7136b0af73977004296e
@@ -837,9 +837,9 @@ Size (num_threads-0.1.6.crate) = 7334 by
 BLAKE2s (number_prefix-0.4.0.crate) = e2e6caf7fd792ec56ec5665184ed1b66469de944c998ee8e0eee92eb0f7105b5
 SHA512 (number_prefix-0.4.0.crate) = a43b668d7314218b86ca7451daa9dfef71f6c9f6616bc34c12d94ae6030f182bcca9da83905cb46f3d49d0aa81385a787e92e4f3ae239658067adc249f8174df
 Size (number_prefix-0.4.0.crate) = 6922 bytes
-BLAKE2s (nushell-0.83.0.tar.gz) = d9e514b916a8bc50f24610edca0b73d59d3c5da7d9871e814852d2b055e6aac0
-SHA512 (nushell-0.83.0.tar.gz) = dd6fb80366ff89d6188642562b07409948b8379acb1860b52d78a64f2ac5869729dfe477fa8cab3ddf3627d412cf33193d4c019c78c6ddcb61a99614bfdd6471
-Size (nushell-0.83.0.tar.gz) = 2648264 bytes
+BLAKE2s (nushell-0.83.1.tar.gz) = 936cf901119cd75de2a3e771f7a87082aecdafb24abf8c1a44c2a8442a53e0dc
+SHA512 (nushell-0.83.1.tar.gz) = b7968e702af382aa00e588dc5f181c9edcd9f01fe2bfdccebc964d6c00d8320d96b59f34d57cc6733c4c5226b69fb9e5026fb0f47948170957c04b7eb1eef482
+Size (nushell-0.83.1.tar.gz) = 2648419 bytes
 BLAKE2s (objc-0.2.7.crate) = e34a570a877d402bef4a22098157a24171ada921812037222da0b82a1424f391
 SHA512 (objc-0.2.7.crate) = 7178870c8e4e9154b4c7b4953b3164946b7ce72c956a02b9ba18889353c72be735824bd73e44a485e42ad5f97994820d9153ac684629342755a6a63711ab5988
 Size (objc-0.2.7.crate) = 22036 bytes
@@ -1446,9 +1446,9 @@ Size (tracing-0.1.37.crate) = 73888 byte
 BLAKE2s (tracing-core-0.1.31.crate) = 49a375b6791f68a824c414ce111c7df7fa20854d80e156b3589dd82ede4313e2
 SHA512 (tracing-core-0.1.31.crate) = 66fcd0b4f32de3816b1dcbeda1af26fae0a79d088894637984dc6a0ca65b609f5f166cea376601f6a75f8e3a281da6d4450dc796aa0a7177ad615330237e2bed
 Size (tracing-core-0.1.31.crate) = 61263 bytes
-BLAKE2s (trash-3.0.5.crate) = e37888bd96e06ea6805002ba2ba8b60932cbc2c8c91f9b4c07503b133a9d0f55
-SHA512 (trash-3.0.5.crate) = 4a21fe8435c3b5f55d2b3c86921d1cbce933de83d0c34182510787e83c2dc926e34257d47bd50f15bb8f91e6eaeaf2adda3944bc9ab0b87878366e239dd0d90d
-Size (trash-3.0.5.crate) = 43254 bytes
+BLAKE2s (trash-3.0.6.crate) = e1f932770d3e5b97c3785ff533bd0d2cc54c0bbe40b05ff639e8630842ed7792
+SHA512 (trash-3.0.6.crate) = 2e3558ddc267939f039acb91ed322e9bc2fcc34424c23a034a9044a49e8e823a921538cd80adca36d12f9f5e1a73f4fd5aa4b1389a590e95bf1bd860b5250859
+Size (trash-3.0.6.crate) = 43515 bytes
 BLAKE2s (try-lock-0.2.4.crate) = 4b69a8f1c883a0a90c13e25e807936a41ced02edf2b71c35e02cf4773fc7e97e
 SHA512 (try-lock-0.2.4.crate) = fbd989589eb0a1fb226de65537d51eceab632603e69710b37708d6109ed09c07333189675d5e560e35cc836e5cd211c726d8ce247186b5ea4529328d46c22632
 Size (try-lock-0.2.4.crate) = 4467 bytes



Home | Main Index | Thread Index | Old Index