FromValue::from_value
calls (#13206)"}},{"before":"dcb6ab63703caf8917793fcbce2a39967ab819d5","after":"b6bdadbc6fdbab4d86826f72fe97bf2fd0ad00a6","ref":"refs/heads/main","pushedAt":"2024-06-22T12:41:29.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"fdncred","name":"Darren Schroeder","path":"/fdncred","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/343840?s=80&v=4"},"commit":{"message":"Suppress column index for default `cal` output (#13188)\n\n# Description\r\n\r\n* As discussed in the comments in #11954, this suppresses the index\r\ncolumn on `cal` output. It does that by running `table -i false` on the\r\nresults by default.\r\n* Added new `--as-table/-t` flag to revert to the old behavior and\r\noutput the calendar as structured data\r\n* Updated existing tests to use `--as-table`\r\n* Added new tests against the string output\r\n* Updated `length` test which also used `cal`\r\n* Added new example for `--as-table`, with result\r\n\r\n# User-Facing Changes\r\n\r\n## Breaking change\r\n\r\nThe *default* `cal` output has changed from a `list` to a `string`. To\r\nobtain structured data from `cal`, use the new `--as-table/-t` flag.\r\n\r\n# Tests + Formatting\r\n\r\n- :green_circle: `toolkit fmt`\r\n- :green_circle: `toolkit clippy`\r\n- :green_circle: `toolkit test`\r\n- :green_circle: `toolkit test stdlib`\r\n\r\n\r\n# After Submitting\r\n","shortMessageHtmlLink":"Suppress column index for default cal
output (#13188)"}},{"before":"db86dd9f267e46a7a8aeff75ab87b3d0832d1e00","after":"dcb6ab63703caf8917793fcbce2a39967ab819d5","ref":"refs/heads/main","pushedAt":"2024-06-22T12:37:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"fdncred","name":"Darren Schroeder","path":"/fdncred","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/343840?s=80&v=4"},"commit":{"message":"Fixed `generate` command signature (#13200)\n\n# Description\r\n\r\nRemoves `listgenerate
command signature (#13200)"}},{"before":"10e84038afe55ba63c9b3187e6d3a1749fa2cc65","after":"db86dd9f267e46a7a8aeff75ab87b3d0832d1e00","ref":"refs/heads/main","pushedAt":"2024-06-22T12:23:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"fdncred","name":"Darren Schroeder","path":"/fdncred","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/343840?s=80&v=4"},"commit":{"message":"Polars default infer (#13193)\n\nAddresses performance issues that @maxim-uvarov found with CSV and JSON\r\nlines.\r\n\r\nThis ensures that the schema inference follows the polars defaults of\r\n100 lines. Recent changes caused the default values to be override and\r\ncaused the entire file to be scanned when inferring the schema.","shortMessageHtmlLink":"Polars default infer (#13193)"}},{"before":"91d44f15c12005744c94bb883fe4092d6acea1d2","after":"10e84038afe55ba63c9b3187e6d3a1749fa2cc65","ref":"refs/heads/main","pushedAt":"2024-06-21T19:07:57.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"rgwood","name":"Reilly Wood","path":"/rgwood","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26268125?s=80&v=4"},"commit":{"message":"nu-explore: Add vertical lines && fix index/transpose issue (#13147)\n\nSomehow I believe that split lines were implemented originally; (I\r\nhaven't got to find it though; from a quick look)\r\nI mean a long time ago before a lot a changes were made.\r\n\r\nProbably adding horizontal lines would make also some sense.\r\n\r\nref #13116\r\nclose #13140\r\n\r\nTake care\r\n\r\n________________\r\n\r\nIf `explore` is used, frequently, or planned to be so.\r\nI guess it would be a good one to create a test suite for it; to not\r\nbreak things occasionally :sweat_smile:\r\n\r\nI did approached it one time back then using `expectrl` (literally\r\n`expect`), but there was some issues.\r\nMaybe smth. did change.\r\nOr some `clean` mode could be introduced for it, to being able to be\r\nused by outer programs; to control `nu`.\r\n\r\nJust thoughts here.","shortMessageHtmlLink":"nu-explore: Add vertical lines && fix index/transpose issue (#13147)"}},{"before":"dd8f8861ed25058e05fbdaf18b16fc382d4ae751","after":"91d44f15c12005744c94bb883fe4092d6acea1d2","ref":"refs/heads/main","pushedAt":"2024-06-21T11:27:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"fdncred","name":"Darren Schroeder","path":"/fdncred","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/343840?s=80&v=4"},"commit":{"message":"Allow plugins to report their own version and store it in the registry (#12883)\n\n# Description\r\n\r\nThis allows plugins to report their version (and potentially other\r\nmetadata in the future). The version is shown in `plugin list` and in\r\n`version`.\r\n\r\nThe metadata is stored in the registry file, and reflects whatever was\r\nretrieved on `plugin add`, not necessarily the running binary. This can\r\nhelp you to diagnose if there's some kind of mismatch with what you\r\nexpect. We could potentially use this functionality to show a warning or\r\nerror if a plugin being run does not have the same version as what was\r\nin the cache file, suggesting `plugin add` be run again, but I haven't\r\ndone that at this point.\r\n\r\nIt is optional, and it requires the plugin author to make some code\r\nchanges if they want to provide it, since I can't automatically\r\ndetermine the version of the calling crate or anything tricky like that\r\nto do it.\r\n\r\nExample:\r\n\r\n```\r\n> plugin list | select name version is_running pid\r\n╭───┬────────────────┬─────────┬────────────┬─────╮\r\n│ # │ name │ version │ is_running │ pid │\r\n├───┼────────────────┼─────────┼────────────┼─────┤\r\n│ 0 │ example │ 0.93.1 │ false │ │\r\n│ 1 │ gstat │ 0.93.1 │ false │ │\r\n│ 2 │ inc │ 0.93.1 │ false │ │\r\n│ 3 │ python_example │ 0.1.0 │ false │ │\r\n╰───┴────────────────┴─────────┴────────────┴─────╯\r\n```\r\n\r\ncc @maxim-uvarov (he asked for it)\r\n\r\n# User-Facing Changes\r\n\r\n- `plugin list` gets a `version` column\r\n- `version` shows plugin versions when available\r\n- plugin authors *should* add `fn metadata()` to their `impl Plugin`,\r\nbut don't have to\r\n\r\n# Tests + Formatting\r\n\r\nTested the low level stuff and also the `plugin list` column.\r\n\r\n# After Submitting\r\n- [ ] update plugin guide docs\r\n- [ ] update plugin protocol docs (`Metadata` call & response)\r\n- [ ] update plugin template (`fn metadata()` should be easy)\r\n- [ ] release notes","shortMessageHtmlLink":"Allow plugins to report their own version and store it in the registry ("}},{"before":"9845d13347d6b26bfc157652ea09027203a461a7","after":"dd8f8861ed25058e05fbdaf18b16fc382d4ae751","ref":"refs/heads/main","pushedAt":"2024-06-21T11:17:29.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"fdncred","name":"Darren Schroeder","path":"/fdncred","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/343840?s=80&v=4"},"commit":{"message":"Add shape_glob_interpolation to default_config.nu (#13198)\n\n# Description\r\n\r\nJust missed this during #13089. Adds `shape_glob_interpolation` to the\r\nconfig.\r\n\r\nThis actually isn't really going to be seen at all yet, so I debated\r\nwhether it's really needed at all. It's only used to highlight the\r\nquotes themselves, and we don't have any quoted glob interpolations at\r\nthe moment.","shortMessageHtmlLink":"Add shape_glob_interpolation to default_config.nu (#13198)"}},{"before":"4c82a748c1c9dd4881bca646720e117658ac9c41","after":"9845d13347d6b26bfc157652ea09027203a461a7","ref":"refs/heads/main","pushedAt":"2024-06-21T10:03:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"devyn","name":"Devyn Cairns","path":"/devyn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/10729?s=80&v=4"},"commit":{"message":"fix nu-system build on arm64 FreeBSD (#13196)\n\n# Description\r\n\r\nFixes #13194\r\n\r\n`ki_stat` is supposed to be a `c_char`, but was defined was `i8`.\r\nUnfortunately, `c_char` is `u8` on Aarch64 (on all platforms), so this\r\ndoesn't compile. I fixed it to use `c_char` instead.\r\n\r\nDouble checked whether NetBSD is affected, but the `libc` code defines\r\nit as `i8` for some reason (erroneously, really) but that doesn't matter\r\ntoo much. Anyway should be ok there.\r\n\r\nConfirmed to be working.","shortMessageHtmlLink":"fix nu-system build on arm64 FreeBSD (#13196)"}},{"before":"20834c9d47b25182d944e7db61fc3c944e11b2cc","after":"4c82a748c1c9dd4881bca646720e117658ac9c41","ref":"refs/heads/main","pushedAt":"2024-06-20T23:46:56.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"fdncred","name":"Darren Schroeder","path":"/fdncred","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/343840?s=80&v=4"},"commit":{"message":"Do example (#13190)\n\n# Description\r\n\r\n#12056 added support for default and type-checked arguments in `do`\r\nclosures.\r\n\r\nThis PR adds examples for those features. It also:\r\n\r\n* Fixes the TODO (a closure parameter that wasn't being used) that was\r\npreventing a result from being added\r\n* Removes extraneous commas from the descriptions\r\n* Adds an example demonstrating multiple positional closure arguments\r\n\r\n# User-Facing Changes\r\n\r\nHelp examples only\r\n\r\n# Tests + Formatting\r\n\r\n- :green_circle: `toolkit fmt`\r\n- :green_circle: `toolkit clippy`\r\n- :green_circle: `toolkit test`\r\n- :green_circle: `toolkit test stdlib`\r\n\r\n# After Submitting\r\n","shortMessageHtmlLink":"Do example (#13190)"}},{"before":"7d2d573eb8bbc14faf37dc3f3bbba658e18e475f","after":"20834c9d47b25182d944e7db61fc3c944e11b2cc","ref":"refs/heads/main","pushedAt":"2024-06-20T23:37:39.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ayax79","name":"Jack Wright","path":"/ayax79","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/56345?s=80&v=4"},"commit":{"message":"Added the ability to turn on performance debugging through and env var for the polars plugin (#13191)\n\nThis allows performance debugging to be turned on by setting:\r\n\r\n```nushell\r\n$env.POLARS_PLUGIN_PERF = \"true\"\r\n```\r\n\r\nFurthermore, this improves the other plugin debugging by allowing the\r\nenv variable for debugging to be set at any time versus having to be\r\navailable when nushell is launched:\r\n\r\n```nushell\r\n$env.POLARS_PLUGIN_DEBUG = \"true\"\r\n```\r\n\r\nThis plugin introduces a `perf` function that will output timing\r\nresults. This works very similar to the perf function available in\r\nnu_utils::utils::perf. This version prints everything to std error to\r\nnot break the plugin stream and uses the engine interface to see if the\r\nenv variable is configured.\r\n\r\nThis pull requests uses this `perf` function when:\r\n* opening csv files as dataframes\r\n* opening json lines files as dataframes\r\n\r\nThis will hopefully help provide some more fine grained information on\r\nhow long it takes polars to open different dataframes. The `perf` can\r\nalso be utilized later for other dataframes use cases.","shortMessageHtmlLink":"Added the ability to turn on performance debugging through and env va…"}},{"before":"c09a8a5ec954974cf22ae2e4d7f2c99628272116","after":"7d2d573eb8bbc14faf37dc3f3bbba658e18e475f","ref":"refs/heads/main","pushedAt":"2024-06-20T17:55:49.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ayax79","name":"Jack Wright","path":"/ayax79","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/56345?s=80&v=4"},"commit":{"message":"Added the ability to open json lines dataframes with polars lazy json lines reader. (#13167)\n\nThe `--lazy` flag will now use the polars' LazyJsonLinesReader when\r\nopening a json lines file with `polars open`","shortMessageHtmlLink":"Added the ability to open json lines dataframes with polars lazy json…"}},{"before":"bb6cb94e559c2f0a690b468949e5a40ba52b082f","after":"c09a8a5ec954974cf22ae2e4d7f2c99628272116","ref":"refs/heads/main","pushedAt":"2024-06-20T11:30:43.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"fdncred","name":"Darren Schroeder","path":"/fdncred","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/343840?s=80&v=4"},"commit":{"message":"add a system level folder for future autoloading (#13180)\n\n# Description\r\n\r\nThis PR adds a directory to the `$nu` constant that shows where the\r\nsystem level autoload directory is located at. This folder is modifiable\r\nat compile time with environment variables.\r\n```rust\r\n // Create a system level directory for nushell scripts, modules, completions, etc\r\n // that can be changed by setting the NU_VENDOR_AUTOLOAD_DIR env var on any platform\r\n // before nushell is compiled OR if NU_VENDOR_AUTOLOAD_DIR is not set for non-windows \r\n // systems, the PREFIX env var can be set before compile and used as PREFIX/nushell/vendor/autoload\r\n\r\n // pseudo code\r\n // if env var NU_VENDOR_AUTOLOAD_DIR is set, in any platform, use it\r\n // if not, if windows, use ALLUSERPROFILE\\nushell\\vendor\\autoload\r\n // if not, if non-windows, if env var PREFIX is set, use PREFIX/share/nushell/vendor/autoload\r\n // if not, use the default /usr/share/nushell/vendor/autoload\r\n```\r\n\r\n### Windows default\r\n```nushell\r\n❯ $nu.vendor-autoload-dir\r\nC:\\ProgramData\\nushell\\vendor\\autoload\r\n```\r\n### Non-Windows default\r\n```nushell\r\n❯ $nu.vendor-autoload-dir\r\n/usr/local/share/nushell/vendor/autoload\r\n```\r\n### Non-Windows with PREFIX set\r\n```nushell\r\n❯ PREFIX=/usr/bob cargo r\r\n❯ $nu.vendor-autoload-dir\r\n/usr/bob/share/nushell/vendor/autoload\r\n```\r\n### Non-Windows with NU_VENDOR_AUTOLOAD_DIR set\r\n```nushell\r\n❯ NU_VENDOR_AUTOLOAD_DIR=/some/other/path/nushell/stuff cargo r\r\n❯ $nu.vendor-autoload-dir\r\n/some/other/path/nushell/stuff\r\n```\r\n\r\n> [!IMPORTANT] \r\nTo be clear, this PR does not do the auto-loading, it just sets up the\r\nfolder to support that functionality that can be added in a later PR.\r\nThe PR also does not create the folder defined. It's just setting the\r\n$nu constant.\r\n \r\n# User-Facing Changes\r\n\r\n\r\n# Tests + Formatting\r\n\r\n\r\n# After Submitting\r\n","shortMessageHtmlLink":"add a system level folder for future autoloading (#13180)"}},{"before":"85453373734cb0b5a87a85ef4e59f890052cb9f3","after":null,"ref":"refs/heads/dependabot/github_actions/actions/checkout-4.1.7","pushedAt":"2024-06-20T08:10:45.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":"26bdba206890acb1de87cf0636bbccc9520e9bc4","after":"bb6cb94e559c2f0a690b468949e5a40ba52b082f","ref":"refs/heads/main","pushedAt":"2024-06-20T08:10:39.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"WindSoilder","name":"Wind","path":"/WindSoilder","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22256154?s=80&v=4"},"commit":{"message":"Bump actions/checkout from 4.1.6 to 4.1.7 (#13177)\n\nBumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6\r\nto 4.1.7.\r\nSourced from actions/checkout's\r\nreleases.
\r\n\r\n\r\nv4.1.7
\r\nWhat's Changed
\r\n\r\n
\r\n- Bump the minor-npm-dependencies group across 1 directory with 4\r\nupdates by
\r\n@dependabot
in actions/checkout#1739- Bump actions/checkout from 3 to 4 by
\r\n@dependabot
in actions/checkout#1697- Check out other refs/* by commit by
\r\n@orhantoy
in actions/checkout#1774- Pin actions/checkout's own workflows to a known, good, stable\r\nversion. by
\r\n@jww3
in\r\nactions/checkout#1776New Contributors
\r\n\r\n
\r\n- \r\n
@orhantoy
\r\nmade their first contribution in actions/checkout#1774Full Changelog: https://github.com/actions/checkout/compare/v4.1.6...v4.1.7
\r\n
Sourced from actions/checkout's\r\nchangelog.
\r\n\r\n\r\nv4.1.7
\r\n\r\n
\r\n- Bump the minor-npm-dependencies group across 1 directory with 4\r\nupdates by
\r\n@dependabot
in actions/checkout#1739- Bump actions/checkout from 3 to 4 by
\r\n@dependabot
in actions/checkout#1697- Check out other refs/* by commit by
\r\n@orhantoy
in actions/checkout#1774- Pin actions/checkout's own workflows to a known, good, stable\r\nversion. by
\r\n@jww3
in\r\nactions/checkout#1776
692973e
\r\nPrepare 4.1.7 release (#1775)6ccd57f
\r\nPin actions/checkout's own workflows to a known, good, stable version.\r\n(#1776)b17fe1e
\r\nHandle hidden refs (#1774)b80ff79
\r\nBump actions/checkout from 3 to 4 (#1697)b1ec302
\r\nBump the minor-npm-dependencies group across 1 directory with 4 updates\r\n(#1739)Sourced from interprocess's\r\nreleases.
\r\n\r\n\r\n2.2.0 – Tokio unnamed pipes
\r\n\r\n
\r\n- Tokio-based unnamed pipes, with subpar performance on Windows due to\r\nOS API limitations
\r\n- Examples for unnamed pipes, both non-async and Tokio
\r\n- Impersonation for Windows named pipes
\r\n- Improvements to the implementation of Windows pipe flushing on\r\nTokio
\r\n2.1.1
\r\n\r\n
\r\n- Removed async
\r\nIncoming
andfutures::Stream
\r\n("AsyncIterator
") implementations on\r\nlocal_socket::traits::Listener
implementors – those were\r\nactually completely broken, so this change is not breaking in practice\r\nand thus does not warrant a bump to 3.0.0- Fixed
\r\nListenerOptionsExt::mode()
behavior in\r\numask
fallback mode and improved its documentation- Moved examples to their own dedicated files with the help of the
\r\ndoctest-file
\r\ncrate
050ae2e
\r\nAdjust unnamed pipe examples5bcd669
\r\nAdd named pipe impersonation0735668
\r\nAdd peek_msg_len()
316d130
\r\nDon't elide flush for from-handle conversion0b1d1ac
\r\nCrackhead specialization2315ee1
\r\nAdjust TODOscba79cf
\r\nImprove Debug
of local socket halvesd80e871
\r\nnah9a96e58
\r\nTokio unnamed pipe examples30fa27a
\r\nHandle conversions for Windows Tokio unnamed pipesplain
(#13061)"}},{"before":"bd6acf1a897afec2b0d5a259897177bf778094af","after":null,"ref":"refs/heads/dependabot/cargo/git2-0.19.0","pushedAt":"2024-06-19T01:09:26.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":"532c0023c24ef44fbad303cf8e0e9a0e32d0e29e","after":"103f59be52eadcb8f478264487e1f4834ce027bf","ref":"refs/heads/main","pushedAt":"2024-06-19T01:09:25.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump git2 from 0.18.3 to 0.19.0 (#13179)","shortMessageHtmlLink":"Bump git2 from 0.18.3 to 0.19.0 (#13179)"}},{"before":"e56c120aef79c6cf987ee94d3d215072a9946636","after":"85453373734cb0b5a87a85ef4e59f890052cb9f3","ref":"refs/heads/dependabot/github_actions/actions/checkout-4.1.7","pushedAt":"2024-06-19T00:59:41.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump actions/checkout from 4.1.6 to 4.1.7\n\nBumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.\n- [Release notes](https://github.com/actions/checkout/releases)\n- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/actions/checkout/compare/v4.1.6...v4.1.7)\n\n---\nupdated-dependencies:\n- dependency-name: actions/checkout\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot]