Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## Unreleased

#### 🐞 Fixes

- Fixed an issue where Git hooks would not work correctly in submodules.
- Fixed an issue where `moon docker` commands may generate non-deterministic output, resulting in invalid Docker layer caching.

#### 🧰 Toolchains

- **Go**
- Fixed `go list -deps` relationship inference not detecting sibling workspace modules imported via subpackages (e.g. `example.com/org/a/pkg`).
- **JavaScript**
- Added Deno v2.9 support.

## 2.3.4

#### 🐞 Fixes
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ clap_complete = { workspace = true }
clap_complete_nushell = "4.6.0"
convert_case = { workspace = true }
diff = "0.1.13"
indexmap = { workspace = true }
iocraft = { workspace = true }
miette = { workspace = true }
proto_core = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions crates/app/src/commands/docker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ pub use scaffold::*;
pub use setup::*;

use clap::Subcommand;
use indexmap::IndexSet;
use moon_common::{Id, cacheable};
use rustc_hash::FxHashSet;

#[derive(Clone, Debug, Subcommand)]
pub enum DockerCommands {
Expand All @@ -38,10 +38,10 @@ pub enum DockerCommands {
}

cacheable!(
#[derive(Debug)]
#[derive(Debug, Default)]
pub struct DockerManifest {
pub focused_projects: FxHashSet<Id>,
pub unfocused_projects: FxHashSet<Id>,
pub focused_projects: IndexSet<Id>,
pub unfocused_projects: IndexSet<Id>,
}
);

Expand Down
6 changes: 1 addition & 5 deletions crates/app/src/commands/docker/scaffold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,7 @@ async fn scaffold_sources(
"Scaffolding sources skeleton, copying files from focused projects"
);

let mut manifest = DockerManifest {
focused_projects: FxHashSet::default(),
unfocused_projects: FxHashSet::default(),
};

let mut manifest = DockerManifest::default();
let mut visited = FxHashSet::default();

// Copy all focused projects
Expand Down
4 changes: 2 additions & 2 deletions crates/config-loader/src/toolchains_config_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ impl ToolchainsConfigExt {
match id.as_str() {
"bun" => Some(locate("bun_toolchain", "1.0.2")),
"deno" => Some(locate("deno_toolchain", "1.1.0")),
"go" => Some(locate("go_toolchain", "1.4.2")),
"javascript" => Some(locate("javascript_toolchain", "1.1.0")),
"go" => Some(locate("go_toolchain", "1.4.3")),
"javascript" => Some(locate("javascript_toolchain", "1.2.0")),
"node" => Some(locate("node_toolchain", "1.0.2")),
"npm" => Some(locate("node_depman_toolchain", "1.0.3")),
"pnpm" => Some(locate("node_depman_toolchain", "1.0.3")),
Expand Down
Loading