diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d472b9..458b5ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,36 @@ All notable changes to this project will be documented in this file. The format is based on [Common Changelog](https://common-changelog.org/). -[0.1.3]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.3 -[0.1.2]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.2 -[0.1.1]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.1 +[0.2.0]: https://github.com/paulrberg/prb-math/compare/v0.1.3...v0.2.0 +[0.1.3]: https://github.com/paulrberg/prb-math/compare/v0.1.2...v0.1.3 +[0.1.2]: https://github.com/paulrberg/prb-math/compare/v0.1.1...v0.1.2 +[0.1.1]: https://github.com/paulrberg/prb-math/compare/v0.1.0...v0.1.1 [0.1.0]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.0 +## [0.2.0] - 2022-12-04 + +### Changed + +- Improve wording in CHANGELOG +- Name arguments in `Vm` interface functions +- Sync `Vm` with forge-std +- Set cheatcode mutability/ visibility +- Split `Vm` in `Vm` and `VmSafe` interfaces + +### Added + +- Add `allowCheatcodes` cheatcode +- Add `broadcast` and `startBroadcast` private key overloads +- Add `deriveKey` and `rememberKey` cheatcodes feat: +- Add `difficulty` cheatcode +- Add fork-related cheatcodes +- Add `getDeployedCode` +- Add parsing cheatcodes +- Add `parseJson` helper functions in `Vm` +- Add `projectRoot` cheatcode +- Add `transact` cheatcode +- Add emitter in `Log` struct + ## [0.1.3] - 2022-10-29 ### Changed diff --git a/README.md b/README.md index 24b7f13..dc83f93 100644 --- a/README.md +++ b/README.md @@ -27,16 +27,16 @@ replacement for DSTest. First, run the install step: ```sh -forge install --no-commit paulrberg/prb-test@0.1.3 +forge install --no-commit paulrberg/prb-test@0.2.0 ``` Your `.gitmodules` file should now contain the following entry: ```toml [submodule "lib/prb-test"] - branch = "0.1.3" - path = "lib/prb-test" - url = "https://github.com/paulrberg/prb-test" + branch = "0.2.0" + path = "lib/prb-test" + url = "https://github.com/paulrberg/prb-test" ``` Finally, add this to your `remappings.txt` file: diff --git a/package.json b/package.json index 8928144..86ef3f9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@prb/test", "description": "Modern collection of testing assertions and logging utilities for Solidity", - "version": "0.1.3", + "version": "0.2.0", "author": { "name": "Paul Razvan Berg", "url": "https://github.com/paulrberg"