nushell/crates/nu-command/src
Antoine Stevan dcb1a1996c
remove old deprecated commands (#9840)
# Description
in this PR i propose to remove the following old deprecated commands
- `hash base64` -> `encode base64`
- `math eval` -> `math <sub>`
- `str to-datetime` -> `into datetime`
- `str to-decimal` -> `into decimal`
- `str find-replace` -> `str replace`
- `str to-int` -> `into int`
- `keep` -> `take`
- `match` -> `find`
- `nth` -> `select`
- `pivot` -> `transpose`
- `unalias` -> `hide`
- `all?` -> `all`
- `any?` -> `any`
- `empty?` -> `is-empty`
- `build-string` -> `str join` / string concatenation with `+`
- `str lpad` -> `fill`
- `str rpad` -> `fill`
- `str collect` -> `str join`
- `old-alias` -> `alias`

so old i do not remember them at all 😮

i left the following four commands because they have been moved much
more recently i think!
- `fetch` -> `http get`
- `post` -> `http post`
- `benchmark` -> `timeit`
- `let-env`
- `date format` -> `format date`

# User-Facing Changes

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
-  `toolkit test`
-  `toolkit test stdlib`

# After Submitting
2023-08-06 06:42:16 -05:00
..
charting remove old deprecated commands (#9840) 2023-08-06 06:42:16 -05:00
conversions Add format duration to replace into duration --convert (#9788) 2023-07-30 22:23:36 +02:00
database handle sqlite tables better by surrounding with brackets (#9752) 2023-07-20 11:20:56 -05:00
date rename from date format to format date (#9902) 2023-08-04 06:06:00 +12:00
debug Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
deprecated remove old deprecated commands (#9840) 2023-08-06 06:42:16 -05:00
env Input output checking (#9680) 2023-07-14 15:20:35 +12:00
experimental Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
filesystem fix removing symlinks on windows (#9704) 2023-07-20 20:16:03 +02:00
filters update items signature to allow any output (#9896) 2023-08-02 08:42:26 -05:00
formats Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
generators Document and critically review ShellError variants - Ep. 2 (#8326) 2023-03-06 11:31:07 +01:00
hash Fix signatures for cellpath access of records (#9793) 2023-07-26 23:13:57 +02:00
help Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
math Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
misc REFACTOR: move source out of deprecated commands (#9060) 2023-05-04 00:02:03 +02:00
network Accept records for http subcommand headers (-H) (#9771) 2023-07-30 22:28:48 +02:00
path fixed the bug ~ | path type return empty string (#9853) 2023-07-31 07:47:18 -05:00
platform Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
random Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
shells Fix usage for the exit command. (#9450) 2023-06-16 10:09:02 +02:00
strings do not emit None mid-stream during parse (#9925) 2023-08-06 06:17:03 -05:00
system Enable macOS foreground process handling (#9909) 2023-08-04 15:43:35 -05:00
viewers Add an option to set header on border (style) (#9920) 2023-08-04 13:50:47 -05:00
default_context.rs remove old deprecated commands (#9840) 2023-08-06 06:42:16 -05:00
example_test.rs Remove Signature.vectorizes_over_list entirely (#9777) 2023-07-26 23:34:43 +02:00
hook.rs cratification: move the bytes command to nu-cmd-extra (#9509) 2023-06-23 12:23:08 -07:00
lib.rs cratification: move the bytes command to nu-cmd-extra (#9509) 2023-06-23 12:23:08 -07:00
progress_bar.rs cp progress bar implementation (#8012) 2023-02-22 11:57:38 -08:00
sort_utils.rs Support passing an empty list to sort, uniq, sort-by, and uniq-by (issue #5957) (#8669) 2023-03-29 19:55:38 -07:00