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.4.0 #2237

Merged
merged 6 commits into from
Oct 10, 2024
Merged
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
96 changes: 96 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,99 @@
## [1.4.0](https://github.com/dashpay/platform/compare/v1.4.0-dev.8...v1.4.0) (2024-10-10)


### Features

* **dpp:** added identity public key private key validation methods ([#2235](https://github.com/dashpay/platform/issues/2235))
* **sdk:** fix client tls connections ([#2223](https://github.com/dashpay/platform/issues/2223))
* **dpp:** add a convenience method to get the public key data for a private key depending on the key type ([#2214](https://github.com/dashpay/platform/issues/2214))
* **platform:** add owner keys to identities, fixed verification of use of owner keys ([#2215](https://github.com/dashpay/platform/issues/2215))
* **sdk:** enable withdrawals v1 in JS SDK ([#2201](https://github.com/dashpay/platform/issues/2201))
* start network with latest version if genesis version not set ([#2206](https://github.com/dashpay/platform/issues/2206))
* **dashmate:** confirm a node reset ([#2160](https://github.com/dashpay/platform/issues/2160))
* **platform:** do not switch to oldest quorums in validator set update ([#2167](https://github.com/dashpay/platform/issues/2167))
* **platform:** get current quorum info ([#2168](https://github.com/dashpay/platform/issues/2168))
* **platform:** withdrawals polishing and fixes for mainnet ([#2166](https://github.com/dashpay/platform/issues/2166))
* **sdk:** change default network to mainnet ([#2161](https://github.com/dashpay/platform/issues/2161))


### Bug Fixes

* **sdk:** added signing_withdrawal_key_to_use to withdraw sdk call ([#2234](https://github.com/dashpay/platform/issues/2234))
* **platform:** fixed Platform State deserialization issue ([#2227](https://github.com/dashpay/platform/issues/2227))
* cookie accepts cookie name, path, and domain with out of bounds characters ([#2211](https://github.com/dashpay/platform/issues/2211))
* **drive:** set sign height when rebroadcasting ([#2210](https://github.com/dashpay/platform/issues/2210))
* **sdk:** small sdk improvements and fixes for v1.4 ([#2200](https://github.com/dashpay/platform/issues/2200))
* **drive-abci:** fix network upgrade to version 4 ([#2189](https://github.com/dashpay/platform/issues/2189))
* **dashmate:** collect docker stats in the doctor command ([#2180](https://github.com/dashpay/platform/issues/2180))
* **dashmate:** validate external IP ([#2183](https://github.com/dashpay/platform/issues/2183))
* **platform:** matched withdrawal fees to actual processing cost ([#2186](https://github.com/dashpay/platform/issues/2186))
* **platform:** withdrawal automatic retries after core rejection ([#2185](https://github.com/dashpay/platform/issues/2185))
* **platform:** withdrawal limits ([#2182](https://github.com/dashpay/platform/issues/2182))
* **sdk:** get node status ([#2139](https://github.com/dashpay/platform/issues/2139))
* **dapi:** getStatus cache invalidation ([#2155](https://github.com/dashpay/platform/issues/2155))
* **dapi:** invalid mainnet seed ports ([#2173](https://github.com/dashpay/platform/issues/2173))
* **dashmate:** cannot read properties of undefined (reading 'expires') ([#2164](https://github.com/dashpay/platform/issues/2164))
* **dashmate:** colors[updated] is not a function ([#2157](https://github.com/dashpay/platform/issues/2157))
* **dashmate:** doctor fails collecting to big logs ([#2158](https://github.com/dashpay/platform/issues/2158))
* **dashmate:** port marks as closed if ipv6 is not disabled ([#2162](https://github.com/dashpay/platform/issues/2162))
* **dashmate:** remove confusing short flag name ([#2165](https://github.com/dashpay/platform/issues/2165))


### Miscellaneous Chores

* **dpp:** add method for decoding identifier with unknown string encoding ([#2230](https://github.com/dashpay/platform/issues/2230))
* **drive:** log invalid state on deserialisation ([#2220](https://github.com/dashpay/platform/issues/2220))
* **sdk:** expose drive module in public API for rs-sdk ([#2217](https://github.com/dashpay/platform/issues/2217))
* update dependences ([#2072](https://github.com/dashpay/platform/issues/2072))
* bump GroveDB dependency ([#2196](https://github.com/dashpay/platform/issues/2196))
* **drive:** improve withdrawal logging ([#2203](https://github.com/dashpay/platform/issues/2203))
* **drive:** logs and metrics for withdrawal daily limit ([#2192](https://github.com/dashpay/platform/issues/2192))
* **release:** replace colima with native docker in macOS builds ([#2188](https://github.com/dashpay/platform/issues/2188))
* **dashmate:** do not call mint on masternodes ([#2172](https://github.com/dashpay/platform/issues/2172))
* **platform:** protocol version 4 creation ([#2153](https://github.com/dashpay/platform/issues/2153))


### Code Refactoring

* **sdk:** contested resource as struct type ([#2225](https://github.com/dashpay/platform/issues/2225))
* **drive:** remove duplicated withdrawal amount validation ([#2191](https://github.com/dashpay/platform/issues/2191))


### Build System

* devcontainer support ([#2179](https://github.com/dashpay/platform/issues/2179))


### Continuous Integration

* prebuild dev containers ([#2184](https://github.com/dashpay/platform/issues/2184))
* build dashmate on macos14


### Tests

* **test-suite:** enable withdrawal tests ([#2202](https://github.com/dashpay/platform/issues/2202))
* **dashmate:** e2e tests failing due to DKG interval check ([#2171](https://github.com/dashpay/platform/issues/2171))


### Documentation

* **dashmate:** document logging configuration ([#2156](https://github.com/dashpay/platform/issues/2156))
* update README ([#2219](https://github.com/dashpay/platform/issues/2219))


### ⚠ BREAKING CHANGES

* **platform:** add owner keys to identities, fixed verification of use of owner keys. While these are breaking changes, they will only happen in Protocol V4. (#2215)
* **platform:** matched withdrawal fees to actual processing cost. Since fees change it is is a breaking change that will take effect in v4 of the protocol. (#2186)
* **platform:** withdrawal automatic retries after core rejection. This is a breaking change that will be marked as active in v1.4 (#2185)
* **platform:** withdrawal limits. This is breaking, and will be activated in version 1.4 (#2182)
* **sdk:** Now if network is not specified, JS SDK will connect to mainnet. (#2161)
* **dashmate:** confirm a node reset. This change will break any non interactive execution of reset command so now the force flag must be provided to skip the reset confirmation. (#2160)
* **platform:** withdrawals polishing and fixes for mainnet. Updating in V4 hard fork. (#2166)
* **platform:** do not switch to oldest quorums in validator set update. This is included as a change in protocol version 4. (#2167)


## [1.4.0-dev.8](https://github.com/dashpay/platform/compare/v1.4.0-dev.7...v1.4.0-dev.8) (2024-10-08)


Expand Down
50 changes: 25 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dashevo/platform",
"version": "1.4.0-dev.8",
"version": "1.4.0",
"private": true,
"scripts": {
"setup": "yarn install && yarn run build && yarn run configure",
Expand Down
2 changes: 1 addition & 1 deletion packages/bench-suite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dashevo/bench-suite",
"private": true,
"version": "1.4.0-dev.8",
"version": "1.4.0",
"description": "Dash Platform benchmark tool",
"scripts": {
"bench": "node ./bin/bench.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/check-features/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "check-features"
version = "1.4.0-dev.8"
version = "1.4.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion packages/dapi-grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dapi-grpc"
description = "GRPC client for Dash Platform"
version = "1.4.0-dev.8"
version = "1.4.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

Action Required: Inconsistent Version References Identified

While the version has been successfully updated to 1.4.0 across multiple Cargo.toml and package.json files, the following file still references a development version:

  • packages/dashmate/configs/getConfigFileMigrationsFactory.js:
    • '1.4.0-dev.1'
    • '1.4.0-dev.4'

Please review and update these references if they are intended to align with the stable 1.4.0 release.

🔗 Analysis chain

LGTM: Version updated to 1.4.0

The package version has been correctly updated from a development version to a stable release (1.4.0). This change aligns with the PR objectives of releasing version 1.4.0 of the Dash Platform.

Let's verify if this version change is consistent across other related files in the repository:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for consistency of version 1.4.0 across the repository

# Test 1: Search for version strings in Cargo.toml files
echo "Searching for version strings in Cargo.toml files:"
rg --type toml 'version\s*=\s*"1\.4\.0.*"' -g 'Cargo.toml'

# Test 2: Search for version strings in package.json files
echo "Searching for version strings in package.json files:"
rg --type json '"version":\s*"1\.4\.0.*"' -g 'package.json'

# Test 3: Search for version strings in other potential configuration files
echo "Searching for version strings in other configuration files:"
rg '1\.4\.0' -g '*.{yml,yaml,json,js,ts,md}'

Length of output: 4672

authors = [
"Samuel Westrich <[email protected]>",
"Igor Markin <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion packages/dapi-grpc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dashevo/dapi-grpc",
"version": "1.4.0-dev.8",
"version": "1.4.0",
"description": "DAPI GRPC definition file and generated clients",
"browser": "browser.js",
"main": "node.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/dapi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dashevo/dapi",
"private": true,
"version": "1.4.0-dev.8",
"version": "1.4.0",
"description": "A decentralized API for the Dash network",
"scripts": {
"api": "node scripts/api.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/dash-spv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dashevo/dash-spv",
"version": "2.4.0-dev.8",
"version": "2.4.0",
"description": "Repository containing SPV functions used by @dashevo",
"main": "index.js",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions packages/dashmate/configs/getConfigFileMigrationsFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,14 @@ export default function getConfigFileMigrationsFactory(homeDir, defaultConfigs)
});
return configFile;
},
'1.4.0': (configFile) => {
Object.entries(configFile.configs)
.forEach(([, options]) => {
options.platform.drive.abci.docker.image = 'dashpay/drive:1';
options.platform.dapi.api.docker.image = 'dashpay/dapi:1';
});
return configFile;
},
};
}

Expand Down
Loading
Loading