diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d12f06f1..5322a7910 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,29 @@ -#### 2023-03-22 +#### 1.6.0 (2023-05-09) + +##### Chores + +* Update subnet images and contract (775b662e) +* Set genesis block time to current system time (6d89401) + +*Note* Previously whenever a simnet was started, the genesis block’s time (the `burn_block_time` field) was set to 0. Subsequent blocks were assigned a time of `1800 * block_height`, because they were based off of a genesis block with a time of 0. + +Because this isn’t a very realistic genesis block time, we’ve updated the genesis block to use the current system time. Subsequent blocks are still given times at an interval of 1800ms, but they are based off of the genesis block’s time, so they are calculated as `genesis.burn_block_time + (1800 * block_height)`. + +While this is unlikely to be a breaking change in most places, any code that relies on a specific block time could be impacted by this change. + +##### New Features + +* Allow specifying filename with test coverage (5977ec18) + +##### Bug Fixes + +* Handle clarity-version in the dependency detector (f91f8f8e) +* Handle lsp default configuration (61792b65) +* Use chrono to get genesis time (504b4fd6) +* Don't prompt to write files to project dir when using `--allow-write` flag (#981) (d5c654eb) +* Remove `[[ustx_balance]]` from subnet config to work with subnets v0.5.0 (7f0e2355) + +#### 1.5.3 (2023-03-22) ##### Other Changes diff --git a/Cargo.lock b/Cargo.lock index 187d4a88a..f7df9181e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -814,7 +814,7 @@ dependencies = [ [[package]] name = "clarinet-cli" -version = "1.5.4" +version = "1.6.0" dependencies = [ "aes 0.7.5", "ansi_term", @@ -831,7 +831,7 @@ dependencies = [ "clarinet-files", "clarinet-utils 1.0.0", "clarity-lsp", - "clarity-repl 1.5.4", + "clarity-repl 1.6.0", "crossbeam-channel", "crossterm 0.22.1", "ctrlc", @@ -936,7 +936,7 @@ dependencies = [ "bitcoincore-rpc-json", "clarinet-files", "clarinet-utils 1.0.0", - "clarity-repl 1.5.4", + "clarity-repl 1.6.0", "libsecp256k1 0.7.1", "reqwest", "serde", @@ -955,7 +955,7 @@ dependencies = [ "bitcoin", "chainhook-types", "clarinet-utils 1.0.0", - "clarity-repl 1.5.4", + "clarity-repl 1.6.0", "js-sys", "libsecp256k1 0.7.1", "serde", @@ -997,7 +997,7 @@ dependencies = [ "clap", "clap_generate", "clarinet-files", - "clarity-repl 1.5.4", + "clarity-repl 1.6.0", "serde", "serde_derive", "serde_json", @@ -1009,7 +1009,7 @@ name = "clarity-jupyter-kernel" version = "1.0.0" dependencies = [ "chrono", - "clarity-repl 1.5.4", + "clarity-repl 1.6.0", "colored", "dirs", "failure", @@ -1031,7 +1031,7 @@ version = "1.0.0" dependencies = [ "clarinet-deployments", "clarinet-files", - "clarity-repl 1.5.4", + "clarity-repl 1.6.0", "console_error_panic_hook", "js-sys", "lazy_static", @@ -1085,7 +1085,7 @@ dependencies = [ [[package]] name = "clarity-repl" -version = "1.5.4" +version = "1.6.0" dependencies = [ "ansi_term", "atty", @@ -5891,7 +5891,7 @@ dependencies = [ [[package]] name = "stacks-devnet-js" -version = "1.5.4" +version = "1.6.0" dependencies = [ "clarinet-deployments", "clarinet-files", @@ -5919,7 +5919,7 @@ dependencies = [ "clarinet-deployments", "clarinet-files", "clarinet-utils 1.0.0", - "clarity-repl 1.5.4", + "clarity-repl 1.6.0", "crossbeam-channel", "crossterm 0.22.1", "ctrlc", @@ -5943,7 +5943,7 @@ name = "stacks-rpc-client" version = "1.0.0" dependencies = [ "clarinet-utils 1.0.0", - "clarity-repl 1.5.4", + "clarity-repl 1.6.0", "reqwest", "serde", "serde_derive", @@ -7159,7 +7159,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", - "rand 0.8.5", + "rand 0.6.5", "static_assertions", ] diff --git a/components/clarinet-cli/Cargo.toml b/components/clarinet-cli/Cargo.toml index 15ddd144f..4aa05c220 100644 --- a/components/clarinet-cli/Cargo.toml +++ b/components/clarinet-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clarinet-cli" -version = "1.5.4" +version = "1.6.0" authors = ["Ludo Galabru ", "Brice Dobry "] edition = "2021" description = "Clarinet is a simple, modern and opinionated runtime for testing, integrating and deploying Clarity smart contracts." diff --git a/components/clarity-repl/Cargo.toml b/components/clarity-repl/Cargo.toml index 1524bf6c9..8075e3ba5 100644 --- a/components/clarity-repl/Cargo.toml +++ b/components/clarity-repl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clarity-repl" -version = "1.5.4" +version = "1.6.0" description = "Clarity REPL" authors = [ "Ludo Galabru ", diff --git a/components/stacks-devnet-js/Cargo.toml b/components/stacks-devnet-js/Cargo.toml index 3730de935..000ce4fa1 100644 --- a/components/stacks-devnet-js/Cargo.toml +++ b/components/stacks-devnet-js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stacks-devnet-js" -version = "1.5.4" +version = "1.6.0" license = "ISC" edition = "2018" exclude = ["index.node"] diff --git a/components/stacks-devnet-js/package.json b/components/stacks-devnet-js/package.json index dfffb8abc..bab439df9 100644 --- a/components/stacks-devnet-js/package.json +++ b/components/stacks-devnet-js/package.json @@ -1,6 +1,6 @@ { "name": "@hirosystems/stacks-devnet-js", - "version": "1.5.4", + "version": "1.6.0", "description": "stacks-devnet-js is a library for writing end to end tests for protocols interacting with the Stacks blockchain and the Bitcoin blockchain.", "author": "Ludo Galabru", "repository": "https://github.com/hirosystems/clarinet/tree/main/components/stacks-devnet-js", diff --git a/package.json b/package.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/package.json @@ -0,0 +1 @@ +{}