Skip to content
Draft

v2.5 #2637

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
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
* text=auto eol=lf
* text=auto eol=lf

crates/daemon-proto/proto/vendor/** linguist-vendored
4 changes: 2 additions & 2 deletions .github/workflows/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
MOON_DEBUG_REMOTE: true
MOON_DEBUG_PROCESS_ENV: true
RUST_BACKTRACE: '1'
- run: cat .moon/cache/daemon/server.log
if: failure()
- run: cat .moon/cache/daemon/server.log || true
if: success() || failure()
- uses: moonrepo/run-report-action@v1
if: success() || failure()
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
with:
auto-install: true
cache: true
proto-version: '0.58.2' # Keep in sync
proto-version: '0.59.0' # Keep in sync
env:
PROTO_LOG: trace
- uses: mozilla-actions/sccache-action@v0.0.9
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ lib/
mjs/
umd/
dist/
scripts/otel/data

# Artifacts
*.map
Expand All @@ -50,3 +51,6 @@ dockerManifest.json
# AI / agents
.claude/settings.local.json
.claude/worktrees

# Misc
!crates/daemon-proto/vendor/remote-api/build
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npm package is itself a moon project.

## Prerequisites

- Rust >= 1.96 (pinned in `rust-toolchain.toml`, edition 2024)
- Rust >= 1.97 (pinned in `rust-toolchain.toml`, edition 2024)
- Cargo — Rust toolchain
- Node.js >= 22.18
- Yarn >= 4
Expand Down
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Changelog

## Unreleased

#### 🚀 Updates

- **CLI**
- Added OpenTelemetry (OTEL) support, for exporting traces, metrics, and logs over OTLP.
- Added a `--otel` global option (`MOON_OTEL`), for exporting traces and metrics.
- Added a `--otel-logs` global option (`MOON_OTEL_LOGS`), for exporting log events as OTLP logs.
- Added a `--otel-service-name` global option (`MOON_OTEL_SERVICE_NAME`), for the reported
service name.
- The destination and transport are configured with the standard `OTEL_EXPORTER_OTLP_*`
environment variables.
- **Daemon**
- Added task output archiving and hydrating to the daemon. All of these heavy file system
operations will now be offloaded into the background via the daemon. Because of this, you'll
need to inspect the daemon server logs to understand when something fails during archiving or
hydrating, as the main process will no longer block on these operations.
- **Project graph**
- Reworked the project graph to validate cycles per dependency scope partition. Production scoped
dependencies (`production`, `peer`) and development scoped dependencies (`development`, `build`,
`root`) are now tracked as separate internal graphs, so relationships that cross the boundary no
longer fail with a cycle error, or silently drop dependency edges.

#### 🐞 Fixes

- Fixed an issue where project and task graph node lookups could resolve the wrong entry, or fail
entirely, after building a partial graph (a subset of projects), as internal node identifiers were
not re-synced when placeholder nodes were removed.

#### ⚙️ Internal

- Updated proto to [v0.59.0](https://github.com/moonrepo/proto/releases/tag/v0.59.0) from 0.58.2.
- Updated Rust to v1.97.0.
- Updated dependencies.

## 2.4.5

#### 🐞 Fixes
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Contributions are always welcome, no matter how large or small!
## Prerequisites

- Node.js >= v22.18
- Rust >= 1.96
- Rust >= 1.97
- Git >= 2.28 (for `test-coverage`)
- Just

Expand Down
Loading
Loading