@moonrepo/cli 1.14.5 → 1.15.1-nightly.20231010.23

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -10,6 +10,62 @@
10
10
  - More accurately monitors signals (ctrl+c) and shutdowns.
11
11
  - Tasks can now be configured with a timeout.
12
12
 
13
+ ## 1.15.1
14
+
15
+ #### 🚀 Updates
16
+
17
+ - Based on feedback, we've updated the automatic dependency linking to _not apply_ when the target
18
+ is the root-level project. This should alleviate all unwanted cycles.
19
+
20
+ #### 🐞 Fixes
21
+
22
+ - Fixed an issue where Node.js dependency syncing would fail on `build` dependencies, and be over
23
+ zealous with root-level projects.
24
+ - Improved detection of Rust `cargo-binstall` package.
25
+
26
+ ## 1.15.0
27
+
28
+ #### 💥 Breaking
29
+
30
+ - Tasks that depend (via `deps`) on other tasks from arbitrary projects (the parent project doesn't
31
+ implicitly or explicitly depend on the other project) will now automatically mark that other
32
+ project as a "peer" dependency. For example, "b" becomes a peer dependency for "a".
33
+
34
+ #### 🎉 Release
35
+
36
+ - Rewrote the dependency graph from the ground-up:
37
+ - Now known as the action graph.
38
+ - All actions now depend on the `SyncWorkspace` action, instead of this action running
39
+ arbitrarily.
40
+ - Cleaned up dependency chains between actions, greatly reducing the number of nodes in the graph.
41
+ - Renamed `RunTarget` to `RunTask`, including interactive and persistent variants.
42
+ - Updated the action graph to process using a topological queue, which executes actions on-demand in
43
+ the thread pool when they are ready (dependencies have been met). Previously, we would sort
44
+ topologically _into batches_, which worked, but resulted in many threads uselessly waiting for an
45
+ action to run, which was blocked waiting for the current batch to complete.
46
+ - For large graphs, this should result in a significant performance improvement.
47
+ - Persistent tasks will still be ran as a batch, but since it's the last operation, it's fine.
48
+ - Released a new GitHub action,
49
+ [`moonrepo/setup-toolchain`](https://github.com/marketplace/actions/setup-proto-and-moon-toolchains),
50
+ that replaces both `setup-moon-action` and `setup-proto`.
51
+
52
+ #### 🚀 Updates
53
+
54
+ - Added a `moon action-graph` command.
55
+ - Added a `--dependents` argument to `moon action-graph`.
56
+ - Added the ability to skip non-`RunTask` actions using environment variables.
57
+ - Deprecated the `moon dep-graph` command.
58
+
59
+ #### 🐞 Fixes
60
+
61
+ - Fixed an issue where task dependents (via `moon ci` or `moon run --dependents`) wouldn't always
62
+ locate all downstream tasks.
63
+
64
+ #### ⚙️ Internal
65
+
66
+ - Added in-memory caching to project graph file system lookup operations.
67
+ - Updated Rust to v1.72.
68
+
13
69
  ## 1.14.5
14
70
 
15
71
  #### 🐞 Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonrepo/cli",
3
- "version": "1.14.5",
3
+ "version": "1.15.1-nightly.20231010.23",
4
4
  "description": "moon command line and core system.",
5
5
  "keywords": [
6
6
  "moon",
@@ -29,12 +29,12 @@
29
29
  "detect-libc": "^2.0.2"
30
30
  },
31
31
  "optionalDependencies": {
32
- "@moonrepo/core-linux-arm64-gnu": "^1.14.5",
33
- "@moonrepo/core-linux-arm64-musl": "^1.14.5",
34
- "@moonrepo/core-linux-x64-gnu": "^1.14.5",
35
- "@moonrepo/core-linux-x64-musl": "^1.14.5",
36
- "@moonrepo/core-macos-arm64": "^1.14.5",
37
- "@moonrepo/core-macos-x64": "^1.14.5",
38
- "@moonrepo/core-windows-x64-msvc": "^1.14.5"
32
+ "@moonrepo/core-linux-arm64-gnu": "^1.15.1",
33
+ "@moonrepo/core-linux-arm64-musl": "^1.15.1",
34
+ "@moonrepo/core-linux-x64-gnu": "^1.15.1",
35
+ "@moonrepo/core-linux-x64-musl": "^1.15.1",
36
+ "@moonrepo/core-macos-arm64": "^1.15.1",
37
+ "@moonrepo/core-macos-x64": "^1.15.1",
38
+ "@moonrepo/core-windows-x64-msvc": "^1.15.1"
39
39
  }
40
40
  }