Skip to content

deprecate extern-wrapped and export extern-wrapped#10716

Merged
WindSoilder merged 2 commits intonushell:mainfrom
amtoine:deprecate-extern-wrapped
Oct 19, 2023
Merged

deprecate extern-wrapped and export extern-wrapped#10716
WindSoilder merged 2 commits intonushell:mainfrom
amtoine:deprecate-extern-wrapped

Conversation

@amtoine
Copy link
Copy Markdown
Member

@amtoine amtoine commented Oct 14, 2023

follow-up to

Description

this PR deprecates the use of extern-wrapped and export extern-wrapped

these two core commands will be removed in 0.88

User-Facing Changes

using extern-wrapped will give a warning

> extern-wrapped foo [...args] { print "foo" }; foo
Error:   × Deprecated command
   ╭─[entry #2:1:1]
 1  extern-wrapped foo [...args] { print "foo" }; foo
   · ───────┬──────
   ·        ╰── `extern-wrapped` is deprecated and will be removed in 0.88.
   ╰────
  help: Use `def --wrapped` instead


foo

Tests + Formatting

After Submitting

@amtoine amtoine added status:wait-until-after-nushell-release notes:mention Include the release notes summary in the "Hall of Fame" section category:deprecation Related to the deprecation of commands/features/options labels Oct 14, 2023
@amtoine amtoine marked this pull request as draft October 14, 2023 11:02
@amtoine
Copy link
Copy Markdown
Member Author

amtoine commented Oct 14, 2023

📯 the removal is ready in the remove-extern-wrapped branch

@amtoine amtoine marked this pull request as ready for review October 18, 2023 16:41
Copy link
Copy Markdown
Contributor

@WindSoilder WindSoilder left a comment

Choose a reason for hiding this comment

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

Thanks!

@WindSoilder WindSoilder merged commit b58819d into nushell:main Oct 19, 2023
@amtoine amtoine deleted the deprecate-extern-wrapped branch October 19, 2023 16:01
gaetschwartz pushed a commit to gaetschwartz/nushell that referenced this pull request Oct 20, 2023
follow-up to
- nushell#10566

# Description
this PR deprecates the use of `extern-wrapped` and `export
extern-wrapped`

these two core commands will be removed in 0.88

# User-Facing Changes
using `extern-wrapped` will give a warning
```nushell
> extern-wrapped foo [...args] { print "foo" }; foo
Error:   × Deprecated command
   ╭─[entry nushell#2:1:1]
 1 │ extern-wrapped foo [...args] { print "foo" }; foo
   · ───────┬──────
   ·        ╰── `extern-wrapped` is deprecated and will be removed in 0.88.
   ╰────
  help: Use `def --wrapped` instead


foo
```

# Tests + Formatting

# After Submitting
amtoine added a commit to amtoine/scripts that referenced this pull request Oct 25, 2023
WindSoilder pushed a commit that referenced this pull request Nov 16, 2023
follow-up to
- #10716

> **Important**
> wait for between 0.87 and 0.88 to land this

# Description
it's time for removal again 😋 
this PR removes `extern-wrapped` and `export extern-wrapped` in favor of
`def --wrapped`

# User-Facing Changes
`extern-wrapped` and `export extern-wrapped` will not be found anymore.

# Tests + Formatting

# After Submitting
hardfau1t pushed a commit to hardfau1t/nushell that referenced this pull request Dec 14, 2023
follow-up to
- nushell#10566

# Description
this PR deprecates the use of `extern-wrapped` and `export
extern-wrapped`

these two core commands will be removed in 0.88

# User-Facing Changes
using `extern-wrapped` will give a warning
```nushell
> extern-wrapped foo [...args] { print "foo" }; foo
Error:   × Deprecated command
   ╭─[entry nushell#2:1:1]
 1 │ extern-wrapped foo [...args] { print "foo" }; foo
   · ───────┬──────
   ·        ╰── `extern-wrapped` is deprecated and will be removed in 0.88.
   ╰────
  help: Use `def --wrapped` instead


foo
```

# Tests + Formatting

# After Submitting
hardfau1t pushed a commit to hardfau1t/nushell that referenced this pull request Dec 14, 2023
follow-up to
- nushell#10716

> **Important**
> wait for between 0.87 and 0.88 to land this

# Description
it's time for removal again 😋 
this PR removes `extern-wrapped` and `export extern-wrapped` in favor of
`def --wrapped`

# User-Facing Changes
`extern-wrapped` and `export extern-wrapped` will not be found anymore.

# Tests + Formatting

# After Submitting
dmatos2012 pushed a commit to dmatos2012/nushell that referenced this pull request Feb 20, 2024
follow-up to
- nushell#10716

> **Important**
> wait for between 0.87 and 0.88 to land this

# Description
it's time for removal again 😋 
this PR removes `extern-wrapped` and `export extern-wrapped` in favor of
`def --wrapped`

# User-Facing Changes
`extern-wrapped` and `export extern-wrapped` will not be found anymore.

# Tests + Formatting

# After Submitting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:deprecation Related to the deprecation of commands/features/options notes:mention Include the release notes summary in the "Hall of Fame" section status:wait-until-after-nushell-release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants