Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.32 #1799

Merged
merged 15 commits into from
Feb 2, 2025
Merged

v1.32 #1799

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: 2 additions & 2 deletions .github/workflows/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
cache-base: '^(master|develop-)'
- run: cargo run -- --color --log trace ci --base ${{ github.base_ref || 'master' }}
env:
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
MOON_NODE_VERSION: ${{ matrix.node-version }}
MOONBASE_SECRET_KEY: ${{ secrets.MOONBASE_SECRET_KEY }}
MOONBASE_ACCESS_KEY: ${{ secrets.MOONBASE_ACCESS_KEY }}
RUST_BACKTRACE: '1'
- uses: moonrepo/run-report-action@v1
if: success() || failure()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,13 @@ jobs:
auto-install: true
cache: ${{ runner.os == 'Linux' }}
proto-version: '0.45.1' # Keep in sync
- uses: mozilla-actions/[email protected]
# Fixes issues where proto can't find a version because nothing is pinned globally
- run: cp .prototools ~/.proto/.prototools
if: ${{ runner.os == 'Linux' }}
- uses: mozilla-actions/[email protected]
if: ${{ vars.ENABLE_SCCACHE == 'true' }}
- uses: lukka/get-cmake@latest
if: ${{ runner.os == 'Windows' }}
- name: Checking coverage status
id: coverage
shell: bash
Expand Down
38 changes: 24 additions & 14 deletions .moon/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ projects:
- './packages/*'
- '!packages/cli'
- '!packages/core-*'
# - 'scenarios/*'
- 'website'

generator:
Expand All @@ -35,17 +36,26 @@ docker:
include:
- '*.config.js'
- '*.json'
# unstable_remote:
# host: 'http://0.0.0.0:8080'
# # host: 'grpc://0.0.0.0:9092'
# cache:
# compression: 'zstd'
# mtls:
# caCert: 'crates/remote/tests/__fixtures__/certs-local/ca.pem'
# clientCert: 'crates/remote/tests/__fixtures__/certs-local/client.pem'
# clientKey: 'crates/remote/tests/__fixtures__/certs-local/client.key'
# domain: 'localhost'
# tls:
# # assumeHttp2: true
# cert: 'crates/remote/tests/__fixtures__/certs-local/ca.pem'
# # domain: 'localhost'

unstable_remote:
# DEPOT
host: 'grpcs://cache.depot.dev'
auth:
token: 'DEPOT_TOKEN'
headers:
'X-Depot-Org': '1xtpjd084j'
'X-Depot-Project': '90xxfkst9n'
# BAZEL-REMOTE
# host: 'grpc://0.0.0.0:9092'
# cache:
# compression: 'zstd'
# TLS TESTING
# mtls:
# caCert: 'crates/remote/tests/__fixtures__/certs-local/ca.pem'
# clientCert: 'crates/remote/tests/__fixtures__/certs-local/client.pem'
# clientKey: 'crates/remote/tests/__fixtures__/certs-local/client.key'
# domain: 'localhost'
# tls:
# # assumeHttp2: true
# cert: 'crates/remote/tests/__fixtures__/certs-local/client.pem'
# domain: 'localhost'
6 changes: 4 additions & 2 deletions .prototools
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# These are used by tests that require the tools
# to exist in the environment!
# bun = "1.0.15"
deno = "1.40.0"
bun = "1.2.2"
deno = "2.1.9"
node = "20.8.0"
npm = "10.1.0"
pkl = "0.27.2"
python = "3.11.10"
uv = "0.5.26"

[plugins]
pkl = "https://raw.githubusercontent.com/milesj/proto-plugins/refs/heads/master/pkl.toml"
16 changes: 16 additions & 0 deletions .yarn/versions/c89cc34c.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
releases:
'@moonrepo/cli': minor
'@moonrepo/core-linux-arm64-gnu': minor
'@moonrepo/core-linux-arm64-musl': minor
'@moonrepo/core-linux-x64-gnu': minor
'@moonrepo/core-linux-x64-musl': minor
'@moonrepo/core-macos-arm64': minor
'@moonrepo/core-macos-x64': minor
'@moonrepo/core-windows-x64-msvc': minor
'@moonrepo/types': minor

declined:
- '@moonrepo/nx-compat'
- '@moonrepo/report'
- '@moonrepo/runtime'
- website
59 changes: 59 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,64 @@
# Changelog

## Unreleased

#### 🚀 Updates

- Added unstable support for multiple package workspaces when installing dependencies and resolving
lockfiles.
- For example, you can now have multiple `yarn.lock` files throughout the repository, allowing for
multiple Yarn/Node workspaces.
- Updated Pkl (`.pkl`) based configuration to always be enabled, and is no longer hidden behind an
experimental flag.
- Added official documentation: https://moonrepo.dev/docs/guides/pkl-config
- Updated our unstable remote service (Bazel RE API) with new functionality:
- You can now use `http(s)` protocols for gRPC servers, instead of just `grpc(s)`.
- Added an `unstable_remote.api` setting, which can be used to inform the server's API format.
Defaults to `grpc`.
- Added an `unstable_remote.auth` setting, which can be used for HTTP Bearer/token Authorization
based endpoints. Can also be used to set headers for all requests.
- Added support for Depot cloud-based caching: https://depot.dev/docs/cache/overview
- Added support for the HTTP protocol: https://bazel.build/remote/caching#http-caching
- Added support for the ByteStream API.
- Added timeout and concurrency limit to clients.
- Added a `MOON_DEBUG_REMOTE` environment variable, which can be used to debug internal errors for
diagnosing connection/integration issues.
- Improved handling of TLS/mTLS connections.
- Improved the Bun toolchain.
- Added support for the new v1.2 `bun.lock` file. We do our best to detect this, but we suggest
configuring `--save-text-lockfile`.
- Improved the Deno toolchain.
- Added support for Deno v2 and `deno install`. Will now run this command instead of `deno cache`.
- Added support for v3 and v4 lockfiles (we now use the `deno_lockfile` crate).
- Added basic support for workspaces.
- Added `deno.installArgs` setting.
- Improved the Python toolchain.
- Added unstable uv support. Can be enabled with the new `python.packageManager` and `python.uv`
settings.
- Right now, has basic toolchain support, including dependency installs and virtual
environments.
- Renamed `python.rootRequirementsOnly` to `python.rootVenvOnly` (old name still works).
- Will now inherit versions from the root `.prototools`.
- Improved the Rust toolchain.
- The root-level project is now properly taken into account when detecting if a project is within
the Cargo workspace.
- Project dependencies (`dependsOn`) are now automatically inferred from `Cargo.toml`
dependencies.
- Reworked child process handling to better handle signals and shutdown accordingly. Additionally,
when the pipeline receives a signal, we now display the status that shutdown the pipeline in the
summary.
- Reworked the new task `inferInputs` option to not infer environment variables from popular CI/CD
providers, as those values constantly change, causing tasks to always be affected. If you would
like to reference these values, add them as an explicit inputs.

#### 🐞 Fixes

- Fixed lots of issues around remote caching. Should be "stable" now.

#### ⚙️ Internal

- Updated Rust to v1.84.1.

## 1.31.3

#### 🐞 Fixes
Expand Down
Loading
Loading