in this PR i propose
- to add a note about the use of a "breaking change" banner when
detailing a breaking change in it's own section
👉 see the [*Pythonesque operators removal* section of
0.85](https://www.nushell.sh/blog/2023-09-19-nushell_0_85_0.html#pythonesque-operators-removal)
- because we have had these sections for a few releases now, add "hall
of fame" and "changed to commands" sections
The module for `fnm` did not set the path for Windows correctly. I fixed
it by searching for the used `Path` variable (or `PATH`) and use that
instead.
Works now better on Windows without breaking other OSes.
i wanted to install and run `direnv` with Nushell, came accross this
hook and thought i could update it a bit 😋
## changelog
- make `config.nu` possible to `source` => it will add the hook to the
list of hooks, without overwriting
- will run the hook on environment change thank to
`$env.config.hooks.env_change.PWD` instead of
`$env.config.hooks.pre_prompt` => i think this is the most controversial
change, we can discuss that of course
- checks if `direnv` is in the `PATH` before running the rest of the
hook
- uses a oneliner with `default` to load the environment
- uses directly a closure instead of string
- the comments were out of date, so i removed them
i tested this before and after and i think this works just as before
😌
Wasn't quite sure where to place this, if anyone has a better place for
it please let me know. It's a nice wrapper around the gnu `wc` command
that gives you named columns back. Nice imo, since I always forget which
number means which.
As discussed in https://github.com/nushell/nushell/issues/10486 I've
added an stdlib-candidate folder where we can add scripts that might
want to be in std-lib at some point. Currently it only contains `str
append` and `str prepend` which work about how you'd expect. Thanks to
@amtoine for writing the initial function. I added a default branch that
just returns the input unaltered so it can be used more easily in the
middle of a pipe.
related to
- https://github.com/nushell/nushell/pull/10383
this PR resurrects the `cartesian product` command from
https://github.com/nushell/nushell/pull/10383 and adds it to the `maths`
module of the `nu_scripts`:
- a new `cartesian product` command
- some unit tests for it
## use the command
i've installed the `nu_scripts` with `nupm`, thus i'm able to do
```nushell
use nu-scripts/modules/maths/math_functions.nu "cartesian product"
cartesian product ...
```
## run the tests
from the root of the `nu_scripts`, checked out on this PR, run
```nushell
use std; std testing run-tests --path modules/maths/ --test cartesian_product
```
`_git_log`: use `git --reverse` instead of nushell's reverse
`nu-complete git log all`(gcp): show tags of all branches
rename `gcf` to `gcl`
new `gcf` for copying files from other branch
Co-authored-by: agent <agent@nuc>
* Move `random-list decimal` to `random-list float`
Updates internally to `random float` published with `0.85`
* Update kubernetes wrapper to `into float`
* Update temp script to `into float`
* Update `nupass` to `random float`
* add Q&A session in README, and add `--label`, `--group` flag to spawn, add `output` sub command to acquire output easily
* make detailed to be a flag
* Script to generate the excerpt of the GH release
This will add a list of PR authors so they will be shown with a profile
image at the end of the GH release.
* Update make_release/release-note/gh-release-excerpt
Co-authored-by: Antoine Stevan <44101798+amtoine@users.noreply.github.com>
* Sort authors, feeks default release cycle
---------
Co-authored-by: Antoine Stevan <44101798+amtoine@users.noreply.github.com>
1. feat(nu_conda): add `nu_conda list` to list available envs
2. fix: use `print` instead of `echo` to print warnings
3. doc: change minimum support version to 0.83.0
* feat(completions): ✨ add PDM custom completions
* feat(completions): ✨ add dependency groups detection from pyproject.toml for relevant commands
* fix: 🐛 nuopen to open as it should be
* feat(completions): ✨ user script completions in pdm run
* chore: 🔥 remove vscode settings
after running with this for a few months, i'm not really sure of the benefit since 99.9% of the changes are not files owned by codeowners. thanks @Hofer-Julian for helping test this!
* pass the date as an argument to `get-full-changelog`
* simplify the computation of default date in `list-merged-prs`
* switch to the 4 week-schedule by default
* show the queried date before printing merged PRs
* remove `ansi link` as it's an extra command
* create-pr: show PR parts, explore the note and ask for confirmation