Skip to content

Chore: update dependencies for distribution 2517 #2443

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

Merged
merged 10 commits into from
Apr 29, 2025

Conversation

jpraynaud
Copy link
Member

Content

This PR upgrades the repository dependencies to their latest version in preparation of the distribution 2517 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

Issue(s)

Relates to #2410

- 'rand_core' to '0.6.4'
- 'rand_chacha' to '0.3.1'
- 'getrandom' to '0.2.15'
- 'bincore' to '1.3.3'.
After upgrade from '0.13'4' to '0.14.0'.
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'.
 By running 'nix flake update' command.
@jpraynaud jpraynaud self-assigned this Apr 28, 2025
Copy link

Test Results

    3 files  ±0     57 suites  ±0   11m 39s ⏱️ -12s
1 875 tests ±0  1 875 ✅ ±0  0 💤 ±0  0 ❌ ±0 
2 337 runs  ±0  2 337 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 97dba57. ± Comparison against base commit 85f3bc7.

Copy link

@Copilot 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 upgrades various repository dependencies to their latest versions in preparation for distribution 2517. The changes include minor version bumps across multiple Cargo.toml files and updates for specific dependencies such as sqlite, axum, and prometheus to ensure consistency across the repository.

Reviewed Changes

Copilot reviewed 35 out of 40 changed files in this pull request and generated no comments.

Show a summary per file
File Description
internal/signed-entity/mithril-signed-entity-lock/Cargo.toml Updated package version from 0.0.3 to 0.0.4
internal/mithril-resource-pool/Cargo.toml Updated package version from 0.0.3 to 0.0.4
internal/mithril-persistence/Cargo.toml Updated package version from 0.2.51 to 0.2.52 and sqlite dependency from 0.36.2 to 0.37.0
internal/mithril-metric/Cargo.toml Updated package version and versions for axum and prometheus dependencies
internal/mithril-doc/Cargo.toml Updated package version from 0.1.21 to 0.1.22
internal/mithril-doc-derive/Cargo.toml Updated package version from 0.1.16 to 0.1.17 and syn dependency from 2.0.100 to 2.0.101
internal/mithril-cli-helper/Cargo.toml Updated package version from 0.0.4 to 0.0.5
internal/mithril-build-script/Cargo.toml Updated package version from 0.2.20 to 0.2.21
examples/client-mithril-stake-distribution/Cargo.toml Updated package version from 0.2.10 to 0.2.11
examples/client-cardano-transaction/Cargo.toml Updated package version from 0.1.22 to 0.1.23
examples/client-cardano-stake-distribution/Cargo.toml Updated package version from 0.1.12 to 0.1.13
examples/client-cardano-database/Cargo.toml Updated package version from 0.1.30 to 0.1.31
examples/client-cardano-database-v2/Cargo.toml Updated package version from 0.0.5 to 0.0.6
demo/protocol-demo/Cargo.toml Updated package version from 0.1.49 to 0.1.50
Cargo.toml Updated workspace dependencies (e.g., anyhow, clap, config, serde, thiserror, tokio)
Files not reviewed (5)
  • docs/website/package.json: Language not supported
  • examples/client-wasm-nodejs/package-lock.json: Language not supported
  • examples/client-wasm-nodejs/package.json: Language not supported
  • examples/client-wasm-web/package-lock.json: Language not supported
  • examples/client-wasm-web/package.json: Language not supported
Comments suppressed due to low confidence (1)

internal/mithril-persistence/Cargo.toml:24

  • Please verify the sqlite 0.37.0 release notes to ensure that there are no breaking changes regarding the bundled feature that could impact the persistence layer.
sqlite = { version = "0.37.0", features = ["bundled"] }

Copy link
Collaborator

@dlachaume dlachaume 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 f8f036c into main Apr 29, 2025
38 of 40 checks passed
@jpraynaud jpraynaud deleted the jpraynaud/2410-upgrade-dependencies-distribution-2517 branch April 29, 2025 08:29
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.

4 participants