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

chore(release): update changelog and version to 1.6.0 #2360

Merged
merged 4 commits into from
Nov 29, 2024
Merged

Conversation

shumkov
Copy link
Member

@shumkov shumkov commented Nov 29, 2024

Issue being fixed or feature implemented

Release new Dash Platform version

What was done?

  • Updated changelog
  • Bumped packages version

How Has This Been Tested?

None

Breaking Changes

None

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

Summary by CodeRabbit

Release Notes for Version 1.6.0

  • New Features

    • Implemented retry logic for broadcast operations.
    • Integrated a wallet contract for enhanced functionality.
    • Enhanced SDK to fetch multiple items with metadata and proof.
  • Bug Fixes

    • Resolved container name conflicts and ZeroSSL certificate verification errors.
    • Fixed issues with the doctor command and nonce errors in past internal states.
  • Version Updates

    • Multiple packages transitioned from development versions to stable release version 1.6.0.
  • Documentation

    • Corrected typographical errors in package descriptions.

Copy link
Contributor

coderabbitai bot commented Nov 29, 2024

Walkthrough

The changes in this pull request involve updates to versioning across multiple packages within the Dashpay platform, transitioning from development versions (1.6.0-dev.2) to a stable release (1.6.0). Significant modifications include updates to the CHANGELOG.md, which documents breaking changes, new features, bug fixes, and enhancements to the build and CI processes. Additionally, several method signatures in the SDK have been altered, and Docker image versions have been updated in configuration files.

Changes

File Path Change Summary
CHANGELOG.md Updated to reflect changes from version 1.5.1 to 1.6.0, including breaking changes and new features.
package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/bench-suite/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/check-features/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/dapi-grpc/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/dapi-grpc/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/dapi/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/dash-spv/package.json Version updated from 2.6.0-dev.2 to 2.6.0.
packages/dashmate/configs/getConfigFileMigrationsFactory.js Updated Docker image versions for migration.
packages/dashmate/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/dashpay-contract/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/dashpay-contract/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/data-contracts/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/dpns-contract/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/dpns-contract/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/feature-flags-contract/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/feature-flags-contract/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/js-dapi-client/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/js-dash-sdk/package.json Version updated from 4.6.0-dev.2 to 4.6.0.
packages/js-grpc-common/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/masternode-reward-shares-contract/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/masternode-reward-shares-contract/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/platform-test-suite/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-dapi-client/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-dapi-grpc-macros/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-dpp/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-drive-abci/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0, several dependencies updated.
packages/rs-drive-proof-verifier/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-drive/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0, author email corrected.
packages/rs-json-schema-compatibility-validator/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-platform-serialization-derive/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-platform-serialization/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-platform-value-convertible/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-platform-value/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-platform-version/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-platform-versioning/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/rs-sdk/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/simple-signer/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/strategy-tests/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/wallet-lib/package.json Version updated from 8.6.0-dev.2 to 8.6.0.
packages/wallet-utils-contract/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/wallet-utils-contract/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/wasm-dpp/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0.
packages/wasm-dpp/package.json Version updated from 1.6.0-dev.2 to 1.6.0.
packages/withdrawals-contract/Cargo.toml Version updated from 1.6.0-dev.2 to 1.6.0, description corrected.
packages/withdrawals-contract/package.json Version updated from 1.6.0-dev.2 to 1.6.0.

Possibly related PRs

Suggested labels

dashmate

Suggested reviewers

  • QuantumExplorer
  • lklimek

🐰 In a world where versions bloom,
From dev to stable, we make room.
With features new and bugs all fixed,
Our code now shines, no longer mixed.
So hop along, let’s celebrate,
A stable release, oh, isn’t it great! 🥕

Warning

Rate limit exceeded

@shumkov has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 10 minutes and 10 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 0f73452 and 1f20f47.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

lklimek
lklimek previously approved these changes Nov 29, 2024
@shumkov shumkov dismissed stale reviews from lklimek and QuantumExplorer via 1f20f47 November 29, 2024 08:03
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (3)
packages/rs-dapi-client/Cargo.toml (1)

Several dependencies have newer versions available - updates recommended

Several dependencies in the project are behind their latest versions, with some having significant version differences:

  • backon: 1.2 → 1.3.0
  • thiserror: 1.0.64 → 2.0.3
  • tracing: 0.1.40 → 0.1.41
  • tokio: 1.40 → 1.41.1
  • lru: 0.12.3 → 0.12.5
  • serde: 1.0.197 → 1.0.215
  • serde_json: 1.0.120 → 1.0.133

While no direct security vulnerabilities were found for the current dependencies, updating to the latest versions is recommended as they often include security patches and improvements. The major version bump in thiserror (1.x to 2.x) may require code changes.

🔗 Analysis chain

Line range hint 1-50: Verify dependency versions for potential security updates

Several dependencies are pinned to specific versions. While this is good for stability, it's important to regularly check for security updates.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for latest versions and security advisories of key dependencies

# List of dependencies to check
DEPS=("backon" "futures" "thiserror" "tracing" "tokio" "sha2" "hex" "lru" "serde" "serde_json" "chrono")

echo "Checking latest versions on crates.io..."
for dep in "${DEPS[@]}"; do
  echo "=== $dep ==="
  curl -s "https://crates.io/api/v1/crates/$dep" | jq -r '.crate.max_version'
done

# Check for any security advisories
echo -e "\nChecking for security advisories..."
gh api graphql -f query='
{
  securityVulnerabilities(first: 10, ecosystem: RUST) {
    nodes {
      package {
        name
      }
      advisory {
        summary
        severity
        publishedAt
      }
      vulnerableVersionRange
    }
  }
}'

Length of output: 4405

packages/rs-drive-proof-verifier/Cargo.toml (1)

Dependency stability concerns identified

The verification reveals two significant stability concerns:

  • The bincode dependency (version 2.0.0-rc.3) is used consistently across multiple packages in the workspace, indicating a systematic reliance on a release candidate version
  • Multiple GitHub dependencies are used with specific branches or tags, some pointing to forks (e.g., QuantumExplorer/tower, qrayven/ciborium)

While the tenderdash-abci tag (v1.2.1+1.3.0) exists and appears stable, the overall dependency strategy needs attention for production readiness.

  • Consider upgrading bincode to a stable version when available or document the specific need for the RC version
  • Review GitHub dependencies, especially those pointing to forks, to ensure long-term maintainability
  • Document the rationale for using specific branches/forks in the project documentation
🔗 Analysis chain

Line range hint 1-65: Verify dependency stability for production release

Some dependencies are using release candidate versions (e.g., bincode 2.0.0-rc.3). While this might be intentional, it's worth verifying the stability of these RC versions for a production release.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check latest versions of critical dependencies and their stability status

# Check if there are newer stable versions of bincode
cargo search bincode --limit 1

# Check if tenderdash-abci tag exists and is stable
gh api repos/dashpay/rs-tenderdash-abci/git/refs/tags/v1.2.1+1.3.0

# List all workspace package versions to ensure consistency
fd -e toml -x grep -H "^version = " {} \;

Length of output: 2217


Script:

#!/bin/bash
# Let's try a different approach to check dependency versions and stability

# Search for RC/beta/alpha dependencies in all Cargo.toml files
rg -U 'version = ".*-(rc|alpha|beta)' --type toml

# Check if bincode is used in other workspace packages
rg 'bincode.*=' --type toml

# Check if there are any GitHub dependencies (which might be less stable)
rg 'git = "https://' --type toml

Length of output: 4541

packages/wasm-dpp/Cargo.toml (1)

Dependency stability concerns confirmed - Action required

  1. wasm-bindgen version synchronization:

    • Cargo.toml: 0.2.86
    • Dockerfile: 0.2.86 (wasm-bindgen-cli)
    • While versions are currently in sync, the manual process remains risky
  2. Fork dependency issues:

    • The serde-wasm-bindgen fork hasn't been updated since March 2023
    • Using an unmaintained fork poses stability risks
🔗 Analysis chain

Line range hint 12-31: Verify dependency stability for release

Two potential stability concerns in the dependencies:

  1. The TODO comment indicates that wasm-bindgen version needs manual synchronization across multiple files
  2. Using a git dependency (serde-wasm-bindgen) from a fork could impact release stability

Let's verify the wasm-bindgen version synchronization:

Consider:

  1. Automating the wasm-bindgen version synchronization
  2. Planning to migrate away from the forked dependency if possible
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check wasm-bindgen version consistency across mentioned files

echo "Checking wasm-bindgen version in Dockerfile:"
rg -A 1 "wasm-bindgen" Dockerfile

echo "\nChecking wasm-bindgen version in build script:"
cat packages/wasm-dpp/scripts/build-wasm.sh | rg "wasm-bindgen"

echo "\nChecking if the forked serde-wasm-bindgen repo is maintained:"
gh api repos/QuantumExplorer/serde-wasm-bindgen/commits/feat/not_human_readable --jq '.commit.committer.date'

Length of output: 1283

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 0f73452 and 1f20f47.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (46)
  • CHANGELOG.md (1 hunks)
  • package.json (1 hunks)
  • packages/bench-suite/package.json (1 hunks)
  • packages/check-features/Cargo.toml (1 hunks)
  • packages/dapi-grpc/Cargo.toml (1 hunks)
  • packages/dapi-grpc/package.json (1 hunks)
  • packages/dapi/package.json (1 hunks)
  • packages/dash-spv/package.json (1 hunks)
  • packages/dashmate/configs/getConfigFileMigrationsFactory.js (1 hunks)
  • packages/dashmate/package.json (1 hunks)
  • packages/dashpay-contract/Cargo.toml (1 hunks)
  • packages/dashpay-contract/package.json (1 hunks)
  • packages/data-contracts/Cargo.toml (1 hunks)
  • packages/dpns-contract/Cargo.toml (1 hunks)
  • packages/dpns-contract/package.json (1 hunks)
  • packages/feature-flags-contract/Cargo.toml (1 hunks)
  • packages/feature-flags-contract/package.json (1 hunks)
  • packages/js-dapi-client/package.json (1 hunks)
  • packages/js-dash-sdk/package.json (1 hunks)
  • packages/js-grpc-common/package.json (1 hunks)
  • packages/masternode-reward-shares-contract/Cargo.toml (1 hunks)
  • packages/masternode-reward-shares-contract/package.json (1 hunks)
  • packages/platform-test-suite/package.json (1 hunks)
  • packages/rs-dapi-client/Cargo.toml (1 hunks)
  • packages/rs-dapi-grpc-macros/Cargo.toml (1 hunks)
  • packages/rs-dpp/Cargo.toml (1 hunks)
  • packages/rs-drive-abci/Cargo.toml (1 hunks)
  • packages/rs-drive-proof-verifier/Cargo.toml (1 hunks)
  • packages/rs-drive/Cargo.toml (1 hunks)
  • packages/rs-json-schema-compatibility-validator/Cargo.toml (1 hunks)
  • packages/rs-platform-serialization-derive/Cargo.toml (1 hunks)
  • packages/rs-platform-serialization/Cargo.toml (1 hunks)
  • packages/rs-platform-value-convertible/Cargo.toml (1 hunks)
  • packages/rs-platform-value/Cargo.toml (1 hunks)
  • packages/rs-platform-version/Cargo.toml (1 hunks)
  • packages/rs-platform-versioning/Cargo.toml (1 hunks)
  • packages/rs-sdk/Cargo.toml (1 hunks)
  • packages/simple-signer/Cargo.toml (1 hunks)
  • packages/strategy-tests/Cargo.toml (1 hunks)
  • packages/wallet-lib/package.json (1 hunks)
  • packages/wallet-utils-contract/Cargo.toml (1 hunks)
  • packages/wallet-utils-contract/package.json (1 hunks)
  • packages/wasm-dpp/Cargo.toml (1 hunks)
  • packages/wasm-dpp/package.json (1 hunks)
  • packages/withdrawals-contract/Cargo.toml (1 hunks)
  • packages/withdrawals-contract/package.json (1 hunks)
✅ Files skipped from review due to trivial changes (40)
  • package.json
  • packages/bench-suite/package.json
  • packages/check-features/Cargo.toml
  • packages/dapi-grpc/Cargo.toml
  • packages/dapi-grpc/package.json
  • packages/dapi/package.json
  • packages/dash-spv/package.json
  • packages/dashmate/configs/getConfigFileMigrationsFactory.js
  • packages/dashmate/package.json
  • packages/dashpay-contract/Cargo.toml
  • packages/dashpay-contract/package.json
  • packages/data-contracts/Cargo.toml
  • packages/dpns-contract/Cargo.toml
  • packages/dpns-contract/package.json
  • packages/feature-flags-contract/Cargo.toml
  • packages/feature-flags-contract/package.json
  • packages/js-dapi-client/package.json
  • packages/js-dash-sdk/package.json
  • packages/js-grpc-common/package.json
  • packages/masternode-reward-shares-contract/Cargo.toml
  • packages/masternode-reward-shares-contract/package.json
  • packages/platform-test-suite/package.json
  • packages/rs-dapi-grpc-macros/Cargo.toml
  • packages/rs-drive/Cargo.toml
  • packages/rs-json-schema-compatibility-validator/Cargo.toml
  • packages/rs-platform-serialization-derive/Cargo.toml
  • packages/rs-platform-serialization/Cargo.toml
  • packages/rs-platform-value-convertible/Cargo.toml
  • packages/rs-platform-value/Cargo.toml
  • packages/rs-platform-version/Cargo.toml
  • packages/rs-platform-versioning/Cargo.toml
  • packages/rs-sdk/Cargo.toml
  • packages/simple-signer/Cargo.toml
  • packages/strategy-tests/Cargo.toml
  • packages/wallet-lib/package.json
  • packages/wallet-utils-contract/Cargo.toml
  • packages/wallet-utils-contract/package.json
  • packages/wasm-dpp/package.json
  • packages/withdrawals-contract/Cargo.toml
  • packages/withdrawals-contract/package.json
🔇 Additional comments (10)
packages/rs-dapi-client/Cargo.toml (1)

3-3: LGTM: Version update aligns with release objectives

The version update from "1.6.0-dev.2" to "1.6.0" is consistent with the release process and matches the version updates across other packages.

packages/rs-drive-proof-verifier/Cargo.toml (1)

3-3: LGTM: Version bump aligns with release objectives

The version update from 1.6.0-dev.2 to 1.6.0 follows semantic versioning and correctly transitions from development to stable release.

packages/wasm-dpp/Cargo.toml (1)

3-3: LGTM: Version update aligns with release objectives

The version update from "1.6.0-dev.2" to "1.6.0" follows semantic versioning and matches the PR's release objectives.

packages/rs-drive-abci/Cargo.toml (1)

3-3: LGTM: Version bump to 1.6.0

The version update from development to stable release aligns with the PR objectives for releasing version 1.6.0.

packages/rs-dpp/Cargo.toml (2)

3-3: LGTM: Version bump aligns with release objectives.

The version change from 1.6.0-dev.2 to 1.6.0 correctly reflects the transition from development to stable release as intended in the PR.


3-3: Verify version consistency across workspace packages.

Let's ensure the version is consistently updated across all related packages in the workspace.

✅ Verification successful

Version consistency verified across workspace packages

All Rust packages in the workspace are at version 1.6.0, with only one exception:

  • rs-drive-verify-c-binding at version 1.1.0

The JavaScript/Node.js packages are also consistently at version 1.6.0, with a few expected exceptions for external dependencies:

  • @dashevo/wallet-lib: 8.6.0
  • @dashevo/dash-spv: 2.6.0
  • dash: 4.6.0
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check version consistency across workspace packages
# Expected: All related packages should be at version 1.6.0

# Find and check versions in all Cargo.toml files
fd -e toml -x grep -H "^version = " {} \;

# Find and check versions in all package.json files
fd -e json -x jq -r '. | select(.version != null) | .name + ": " + .version' {} \;

Length of output: 95544

CHANGELOG.md (4)

1-1: Well-structured changelog that follows best practices

The changelog follows proper semantic versioning, conventional commits format, and includes comprehensive documentation of changes. Breaking changes are clearly marked and explained.


3-10: Good organization of PR objectives section

The PR objectives section provides clear context about the purpose and scope of changes, including important metadata like PR number and author.


12-18: Comprehensive AI-generated summary

The AI summary effectively condenses the key changes and provides a high-level overview of the modifications across packages.


Line range hint 1-2360: Thorough version history documentation

The changelog maintains a detailed history of changes across versions, with proper categorization of changes (features, fixes, etc.) and clear marking of breaking changes. Each change links back to its PR for reference.

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