Skip to content

Conversation

@jpraynaud
Copy link
Member

@jpraynaud jpraynaud commented Sep 4, 2025

Content

This PR upgrades the repository dependencies to their latest version in preparation of the distribution 2537 by running the upgrade script from the devbook.

Pre-submit checklist

  • Branch
    • Crates versions are updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • All check jobs of the CI have succeeded
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested
  • Documentation
    • No new TODOs introduced

Comments

The nix update has been dropped in this PR as it was creating failures at Hydra CI startup on Apple Silicon machines.

Issue(s)

Relates to #2625

@jpraynaud jpraynaud self-assigned this Sep 4, 2025
@github-actions
Copy link

github-actions bot commented Sep 4, 2025

Test Results

    4 files  ±0    164 suites  ±0   22m 29s ⏱️ - 1m 31s
2 181 tests ±0  2 181 ✅ ±0  0 💤 ±0  0 ❌ ±0 
6 706 runs  ±0  6 706 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 69626a5. ± Comparison against base commit af33531.

♻️ This comment has been updated with latest results.

@jpraynaud jpraynaud force-pushed the jpraynaud/2625-upgrade-dependencies-2537 branch from d01682c to 1bc6a36 Compare September 4, 2025 16:08
- 'rand_core' to '0.6.4'
- 'rand_chacha' to '0.3.1'
- 'getrandom' to '0.2.15'.
By running 'make upgrade' command.
By running 'make upgrade' command in 'examples/client-wasm-nodejs' and 'examples/client-wasm-web'.
By running 'make upgrade' command.
By running:
- 'make install' command in 'examples/client-wasm-web'.
- 'make install' command in 'examples/client-wasm-nodejs'.
- 'make install' command in 'mithril-explorer'.
- 'make install' command in 'docs/website'.
@jpraynaud jpraynaud force-pushed the jpraynaud/2625-upgrade-dependencies-2537 branch from 1bc6a36 to 1c8e53f Compare September 4, 2025 16:11
@jpraynaud jpraynaud requested a review from Copilot September 4, 2025 16:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates all project dependencies to their latest versions in preparation for distribution 2537. The changes include version bumps for crates, Node.js packages, and workspace dependencies, along with some API adaptations required due to dependency updates.

  • Updated all Rust crates to new patch versions (e.g., mithril-common 0.6.16 → 0.6.17)
  • Upgraded Node.js dependencies including React, Next.js, and testing libraries to latest versions
  • Updated workspace dependencies in root Cargo.toml for consistency across all crates

Reviewed Changes

Copilot reviewed 27 out of 34 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Cargo.toml Updated workspace-level dependencies including tokio, warp, anyhow, and other core libraries
mithril-*/Cargo.toml Bumped version numbers for all Mithril crates and updated development dependencies
*/package.json Updated Node.js package versions for explorer, WASM clients, and documentation
mithril-aggregator/src/commands/serve_command.rs Adapted code to new warp API for graceful shutdown
internal/tests/mithril-test-http-server/src/test_http_server.rs Updated test server code for new warp API patterns
mithril-relay/src/relay/signer.rs Added feature gate for anyhow import
mithril-common/src/entities/signed_entity_type.rs Added documentation attribute for strum discriminants
internal/cardano-node/mithril-cardano-node-chain/src/entities/datum.rs Added documentation attribute for enum discriminants
Files not reviewed (4)
  • docs/website/package-lock.json: Language not supported
  • examples/client-wasm-nodejs/package-lock.json: Language not supported
  • examples/client-wasm-web/package-lock.json: Language not supported
  • mithril-client-wasm/ci-test/package-lock.json: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jpraynaud jpraynaud requested a review from turmelclem September 4, 2025 16:48
@jpraynaud jpraynaud force-pushed the jpraynaud/2625-upgrade-dependencies-2537 branch 2 times, most recently from f545ac3 to 03d2943 Compare September 5, 2025 09:01
* mithril-cardano-node-chain from '0.1.8' to '0.1.9'
* mithril-cardano-node-internal-database from '0.1.5' to '0.1.6'
* mithril-doc-derive from '0.1.21' to '0.1.22'
* mithril-doc from '0.1.25' to '0.1.26'
* mithril-api-spec from '0.1.5' to '0.1.6'
* mithril-test-http-server from '0.1.0' to '0.1.1'
* mithril-aggregator from '0.7.83' to '0.7.84'
* mithril-client-cli from '0.12.28' to '0.12.29'
* mithril-client-wasm from '0.9.4' to '0.9.5'
* mithril-client from '0.12.29' to '0.12.30'
* mithril-common from '0.6.16' to '0.6.17'
* mithril-relay from '0.1.51' to '0.1.52'
* mithril-signer from '0.2.267' to '0.2.268'
* mithril-stm from '0.4.11' to '0.4.12'
* mithril-aggregator-fake from '0.4.12' to '0.4.13'
@jpraynaud jpraynaud force-pushed the jpraynaud/2625-upgrade-dependencies-2537 branch 2 times, most recently from 9543640 to 69626a5 Compare September 5, 2025 09:12
Copy link
Collaborator

@turmelclem turmelclem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jpraynaud jpraynaud merged commit d1a7dd2 into main Sep 5, 2025
138 of 153 checks passed
@jpraynaud jpraynaud deleted the jpraynaud/2625-upgrade-dependencies-2537 branch September 5, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants