rust-just 1.49.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,117 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ [1.51.0](https://github.com/casey/just/releases/tag/1.50.0) - 2026-05-09
5
+ ------------------------------------------------------------------------
6
+
7
+ ### Added
8
+ - Add `no-cd` setting ([#2981](https://github.com/casey/just/pull/2981) by [hans-d](https://github.com/hans-d))
9
+
10
+ ### Changed
11
+ - Allow `[env]` attribute to take expressions ([#3329](https://github.com/casey/just/pull/3329) by [casey](https://github.com/casey))
12
+ - Allow using expressions with `[working-directory]` ([#3326](https://github.com/casey/just/pull/3326) by [casey](https://github.com/casey))
13
+ - Read justfile from standard input with `--justfile -` ([#3325](https://github.com/casey/just/pull/3325) by [casey](https://github.com/casey))
14
+ - Make `parent_directory()` of bare filename return `.` ([#3313](https://github.com/casey/just/pull/3313) by [casey](https://github.com/casey))
15
+ - Make `[env]` override module-level exports ([#3312](https://github.com/casey/just/pull/3312) by [casey](https://github.com/casey))
16
+
17
+ ### Fixed
18
+ - Fail on deep recursion instead of overflowing stack ([#3319](https://github.com/casey/just/pull/3319) by [casey](https://github.com/casey))
19
+ - Invoke chooser selections separately ([#3311](https://github.com/casey/just/pull/3311) by [casey](https://github.com/casey))
20
+ - Don't evaluate unused assertions ([#3310](https://github.com/casey/just/pull/3310) by [casey](https://github.com/casey))
21
+ - Respect lazy setting in submodules ([#3308](https://github.com/casey/just/pull/3308) by [casey](https://github.com/casey))
22
+ - Fix overrides not being visible in user-defined functions ([#3307](https://github.com/casey/just/pull/3307) by [casey](https://github.com/casey))
23
+ - Don't panic on invalid datetime format string ([#3304](https://github.com/casey/just/pull/3304) by [casey](https://github.com/casey))
24
+
25
+ ### Misc
26
+ - Use `cargo-limit` commands in justfile ([#3331](https://github.com/casey/just/pull/3331) by [casey](https://github.com/casey))
27
+ - Simplify code more ([#3330](https://github.com/casey/just/pull/3330) by [casey](https://github.com/casey))
28
+ - Update install-dev-deps recipe with compatible mdbook ([#3328](https://github.com/casey/just/pull/3328) by [casey](https://github.com/casey))
29
+ - Simplify code ([#3327](https://github.com/casey/just/pull/3327) by [casey](https://github.com/casey))
30
+ - Link to duplicate recipe issue in readme ([#3321](https://github.com/casey/just/pull/3321) by [casey](https://github.com/casey))
31
+ - Remove periods from error messages ([#3316](https://github.com/casey/just/pull/3316) by [casey](https://github.com/casey))
32
+ - Avoid multi-sentence error messagess ([#3315](https://github.com/casey/just/pull/3315) by [casey](https://github.com/casey))
33
+ - Make error messages lowercase ([#3314](https://github.com/casey/just/pull/3314) by [casey](https://github.com/casey))
34
+ - Actually bump version to 1.50.0 ([#3303](https://github.com/casey/just/pull/3303) by [casey](https://github.com/casey))
35
+
36
+ [1.50.0](https://github.com/casey/just/releases/tag/1.50.0) - 2026-04-19
37
+ ------------------------------------------------------------------------
38
+
39
+ ### Added
40
+ - Filter `--choose` by `--group` ([#3298](https://github.com/casey/just/pull/3298) by [casey](https://github.com/casey))
41
+ - Add `[android]` recipe attribute ([#2884](https://github.com/casey/just/pull/2884) by [duncanawoods](https://github.com/duncanawoods))
42
+ - Add `module_path()` function ([#3270](https://github.com/casey/just/pull/3270) by [casey](https://github.com/casey))
43
+
44
+ ### Fixed
45
+ - Preserve trailing comments when formatting ([#3282](https://github.com/casey/just/pull/3282) by [casey](https://github.com/casey))
46
+ - Preserve comments before `[doc]` attribute ([#3275](https://github.com/casey/just/pull/3275) by [casey](https://github.com/casey))
47
+ - Allow comments after unexports ([#3264](https://github.com/casey/just/pull/3264) by [casey](https://github.com/casey))
48
+
49
+ ### Changed
50
+ - Stabilize `--fmt` subcommand ([#3301](https://github.com/casey/just/pull/3301) by [casey](https://github.com/casey))
51
+ - Ignore trailing `::` on last argument ([#3300](https://github.com/casey/just/pull/3300) by [casey](https://github.com/casey))
52
+ - Complete files and directories when completing arguments ([#3299](https://github.com/casey/just/pull/3299) by [casey](https://github.com/casey))
53
+ - Include `module_path` field in JSON ([#3288](https://github.com/casey/just/pull/3288) by [casey](https://github.com/casey))
54
+ - Partially collapse blank lines between items ([#3274](https://github.com/casey/just/pull/3274) by [casey](https://github.com/casey))
55
+ - Omit defaults when formatting settings ([#3268](https://github.com/casey/just/pull/3268) by [casey](https://github.com/casey))
56
+
57
+ ### Misc
58
+ - Fix `read()` description ([#3295](https://github.com/casey/just/pull/3295) by [casey](https://github.com/casey))
59
+ - Note that pull requests are not currently being accepted ([#3289](https://github.com/casey/just/pull/3289) by [casey](https://github.com/casey))
60
+ - Improve completer config parsing ([#3287](https://github.com/casey/just/pull/3287) by [casey](https://github.com/casey))
61
+ - Test that aliases complete with environment variable ([#3286](https://github.com/casey/just/pull/3286) by [casey](https://github.com/casey))
62
+ - Replace unnecessary raw strings ([#3281](https://github.com/casey/just/pull/3281) by [casey](https://github.com/casey))
63
+ - Fix test string indentation ([#3280](https://github.com/casey/just/pull/3280) by [casey](https://github.com/casey))
64
+ - Document `assert()` in readme ([#3279](https://github.com/casey/just/pull/3279) by [casey](https://github.com/casey))
65
+ - Replace dashes with underscores when using `--evaluate-format shell` ([#3278](https://github.com/casey/just/pull/3278) by [casey](https://github.com/casey))
66
+ - Fix readme typos ([#3277](https://github.com/casey/just/pull/3277) by [casey](https://github.com/casey))
67
+ - Test multi-line recipe comments ([#3276](https://github.com/casey/just/pull/3276) by [casey](https://github.com/casey))
68
+ - Document `set no-exit-message` and `[exit-message]` ([#3269](https://github.com/casey/just/pull/3269) by [casey](https://github.com/casey))
69
+ - Refactor end-of-file handling in lexer ([#3267](https://github.com/casey/just/pull/3267) by [casey](https://github.com/casey))
70
+ - Fix end-of-file parsing ([#3266](https://github.com/casey/just/pull/3266) by [casey](https://github.com/casey))
71
+ - Update softprops/action-gh-release to 2.6.1 ([#3253](https://github.com/casey/just/pull/3253) by [casey](https://github.com/casey))
72
+ - Include bash completion script in crate ([#3252](https://github.com/casey/just/pull/3252) by [casey](https://github.com/casey))
73
+
74
+ [1.49.0](https://github.com/casey/just/releases/tag/1.49.0) - 2026-04-04
75
+ ------------------------------------------------------------------------
76
+
77
+ ### Added
78
+ - Add `--time` to print recipe execution time ([#3099](https://github.com/casey/just/pull/3099) by [GeorgeLS](https://github.com/GeorgeLS))
79
+ - Add user-defined functions ([#3247](https://github.com/casey/just/pull/3247) by [casey](https://github.com/casey))
80
+ - Add just skill for agents ([#3241](https://github.com/casey/just/pull/3241) by [casey](https://github.com/casey))
81
+ - Allow expressions in confirm attribute ([#3238](https://github.com/casey/just/pull/3238) by [begoon](https://github.com/begoon))
82
+ - Add `--complete-aliases` ([#3235](https://github.com/casey/just/pull/3235) by [casey](https://github.com/casey))
83
+ - Add `--justfile-name` to configure justfile filename ([#3234](https://github.com/casey/just/pull/3234) by [casey](https://github.com/casey))
84
+ - Add `runtime_directory()` function ([#3226](https://github.com/casey/just/pull/3226) by [barskern](https://github.com/barskern))
85
+ - Add `--evaluate-format` ([#3221](https://github.com/casey/just/pull/3221) by [casey](https://github.com/casey))
86
+ - Allow passing variable and module paths to `--evaluate` ([#3219](https://github.com/casey/just/pull/3219) by [casey](https://github.com/casey))
87
+ - Add `--indentation` ([#3215](https://github.com/casey/just/pull/3215) by [casey](https://github.com/casey))
88
+ - Add `module_file()` and `module_directory()` to readme ([#2965](https://github.com/casey/just/pull/2965) by [cspotcode](https://github.com/cspotcode))
89
+ - Add Nix flake ([#2972](https://github.com/casey/just/pull/2972) by [neunenak](https://github.com/neunenak))
90
+
91
+ ### Fixed
92
+ - Allow reading `.env` from special files ([#3250](https://github.com/casey/just/pull/3250) by [casey](https://github.com/casey))
93
+ - Load environment files in submodules ([#3243](https://github.com/casey/just/pull/3243) by [casey](https://github.com/casey))
94
+ - Avoid process substitution in bash completion script ([#3217](https://github.com/casey/just/pull/3217) by [casey](https://github.com/casey))
95
+ - Dont pass shell name to powershell ([#3209](https://github.com/casey/just/pull/3209) by [casey](https://github.com/casey))
96
+
97
+ ### Misc
98
+ - Add just implementation of rule110 ([#3249](https://github.com/casey/just/pull/3249) by [casey](https://github.com/casey))
99
+ - Add instructions for skill to readme ([#3245](https://github.com/casey/just/pull/3245) by [casey](https://github.com/casey))
100
+ - Remove comma in readme ([#3244](https://github.com/casey/just/pull/3244) by [casey](https://github.com/casey))
101
+ - Move bash completion registration script into etc/ ([#3242](https://github.com/casey/just/pull/3242) by [casey](https://github.com/casey))
102
+ - Avoid to_string_lossy in directory function tests ([#3232](https://github.com/casey/just/pull/3232) by [casey](https://github.com/casey))
103
+ - Add installation overview ([#3231](https://github.com/casey/just/pull/3231) by [casey](https://github.com/casey))
104
+ - Warn if invocation directory or justfile path is not Unicode ([#3230](https://github.com/casey/just/pull/3230) by [casey](https://github.com/casey))
105
+ - Don't use make syntax highlighting in vim ([#2906](https://github.com/casey/just/pull/2906) by [alerque](https://github.com/alerque))
106
+ - Fix Name Display impl to pad correctly ([#3222](https://github.com/casey/just/pull/3222) by [casey](https://github.com/casey))
107
+ - Rename `evaluate_target` to `evaluation_target` ([#3220](https://github.com/casey/just/pull/3220) by [casey](https://github.com/casey))
108
+ - Include recipe path in verbose output ([#3213](https://github.com/casey/just/pull/3213) by [behnam-oneschema](https://github.com/behnam-oneschema))
109
+ - Move recipe methods onto resolved recipe ([#3214](https://github.com/casey/just/pull/3214) by [casey](https://github.com/casey))
110
+ - Document that `semver_matches()` returns strings ([#3212](https://github.com/casey/just/pull/3212) by [casey](https://github.com/casey))
111
+ - Build riscv64 release binaries ([#3210](https://github.com/casey/just/pull/3210) by [gounthar](https://github.com/gounthar))
112
+ - Include shell name in I/O error messages ([#3208](https://github.com/casey/just/pull/3208) by [casey](https://github.com/casey))
113
+ - Don't print signal error message if recipe has `[no-exit-message]` ([#3200](https://github.com/casey/just/pull/3200) by [imp-joshi](https://github.com/imp-joshi))
114
+
4
115
  [1.48.1](https://github.com/casey/just/releases/tag/1.48.1) - 2026-03-27
5
116
  ------------------------------------------------------------------------
6
117
 
package/lib/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { execa } from 'execa';
3
3
  import { fileURLToPath } from 'url';
4
- import { platform, arch } from 'os';
4
+ import { platform, arch, machine } from 'os';
5
5
  import yargs from 'yargs/yargs';
6
6
  import { hideBin } from 'yargs/helpers';
7
7
 
@@ -9,13 +9,20 @@ var __defProp = Object.defineProperty;
9
9
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
10
10
  async function getExePath() {
11
11
  const platform$1 = platform();
12
- const arch$1 = arch();
12
+ let arch$1 = arch();
13
13
  let os = platform$1;
14
14
  let extension = "";
15
15
  if (platform$1 === "win32" || platform$1 === "cygwin") {
16
16
  os = "windows";
17
17
  extension = ".exe";
18
18
  }
19
+ if (arch$1 === "arm") {
20
+ const armVersion = process.config?.variables?.arm_version;
21
+ const machine$1 = typeof machine === "function" ? machine() : "";
22
+ if (armVersion === "7" || armVersion === 7 || machine$1.includes("armv7")) {
23
+ arch$1 = "armv7";
24
+ }
25
+ }
19
26
  try {
20
27
  return import.meta.resolve(
21
28
  `rust-just-${os}-${arch$1}/bin/just${extension}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rust-just",
3
- "version": "1.49.0",
3
+ "version": "1.51.0",
4
4
  "description": "🤖 Just a command runner",
5
5
  "bin": {
6
6
  "just": "lib/index.mjs",
@@ -45,6 +45,7 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/node": "^25.0.3",
48
+ "@types/yargs": "^17.0.35",
48
49
  "@typescript-eslint/eslint-plugin": "^8.21.0",
49
50
  "@typescript-eslint/parser": "^8.21.0",
50
51
  "eslint": "^10.0.0",
@@ -52,13 +53,16 @@
52
53
  "typescript": "^6.0.2"
53
54
  },
54
55
  "optionalDependencies": {
55
- "rust-just-darwin-arm64": "1.49.0",
56
- "rust-just-darwin-x64": "1.49.0",
57
- "rust-just-linux-arm": "1.49.0",
58
- "rust-just-linux-arm64": "1.49.0",
59
- "rust-just-linux-x64": "1.49.0",
60
- "rust-just-windows-arm64": "1.49.0",
61
- "rust-just-windows-x64": "1.49.0"
56
+ "rust-just-darwin-arm64": "1.51.0",
57
+ "rust-just-darwin-x64": "1.51.0",
58
+ "rust-just-linux-arm": "1.51.0",
59
+ "rust-just-linux-arm64": "1.51.0",
60
+ "rust-just-linux-armv7": "1.51.0",
61
+ "rust-just-linux-loong64": "1.51.0",
62
+ "rust-just-linux-riscv64": "1.51.0",
63
+ "rust-just-linux-x64": "1.51.0",
64
+ "rust-just-windows-arm64": "1.51.0",
65
+ "rust-just-windows-x64": "1.51.0"
62
66
  },
63
67
  "eslintConfig": {
64
68
  "extends": [