Comparing version 0.2.1 to 0.4.0
@@ -7,2 +7,5 @@ # Changelog | ||
[0.4.0]: https://github.com/paulrberg/prb-math/compare/v0.3.1...v0.4.0 | ||
[0.3.1]: https://github.com/paulrberg/prb-math/compare/v0.3.0...v0.3.1 | ||
[0.3.0]: https://github.com/paulrberg/prb-math/compare/v0.2.1...v0.3.0 | ||
[0.2.1]: https://github.com/paulrberg/prb-math/compare/v0.2.0...v0.2.1 | ||
@@ -13,4 +16,36 @@ [0.2.0]: https://github.com/paulrberg/prb-math/compare/v0.1.3...v0.2.0 | ||
[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.1.0]: https://github.com/PaulRBerg/prb-test/releases/tag/v0.1.0 | ||
## [0.4.0] - 2023-02-14 | ||
### Changed | ||
- Improve documentation (@PaulRBerg) | ||
- Name return argument in `addr` cheatcode (@PaulRBerg) | ||
- Upgrade Node.js dependencies (@PaulRBerg) | ||
### Added | ||
- Add named alternatives to `contains` and `eq` (@PaulRBerg) | ||
- Add `parseJson` cheatcodes with type coercion (@PaulRBerg) | ||
- Sync `Vm` with forge-std (@PaulRBerg) | ||
## [0.3.1] - 2022-12-12 | ||
### Changed | ||
- Improve argument names in `Vm` (@PaulRBerg) | ||
## [0.3.0] - 2022-12-06 | ||
### Added | ||
- Add `envOr` cheatcodes (@PaulRBerg) | ||
- Add `fsMetadata` cheatcode (@PaulRBerg) | ||
### Fixed | ||
- Make `accesses` non-view (@PaulRBerg) | ||
- Make `getRecordedLogs` non-view (@PaulRBerg) | ||
## [0.2.1] - 2022-12-04 | ||
@@ -20,3 +55,3 @@ | ||
- Fix Prettier formatting issues | ||
- Fix Prettier formatting issues (@PaulRBerg) | ||
@@ -27,21 +62,21 @@ ## [0.2.0] - 2022-12-04 | ||
- 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 | ||
- Improve wording in CHANGELOG (@PaulRBerg) | ||
- Name arguments in `Vm` interface functions (@PaulRBerg) | ||
- Sync `Vm` with forge-std (@PaulRBerg) | ||
- Set cheatcode mutability/ visibility (@PaulRBerg) | ||
- Split `Vm` in `Vm` and `VmSafe` interfaces (@PaulRBerg) | ||
### 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 | ||
- Add `allowCheatcodes` cheatcode (@PaulRBerg) | ||
- Add `broadcast` and `startBroadcast` private key overloads (@PaulRBerg) | ||
- Add `deriveKey` and `rememberKey` cheatcodes (@PaulRBerg) | ||
- Add `difficulty` cheatcode (@PaulRBerg) | ||
- Add fork-related cheatcodes (@PaulRBerg) | ||
- Add `getDeployedCode` (@PaulRBerg) | ||
- Add parsing cheatcodes (@PaulRBerg) | ||
- Add `parseJson` helper functions in `Vm` (@PaulRBerg) | ||
- Add `projectRoot` cheatcode (@PaulRBerg) | ||
- Add `transact` cheatcode (@PaulRBerg) | ||
- Add emitter in `Log` struct (@PaulRBerg) | ||
@@ -52,11 +87,11 @@ ## [0.1.3] - 2022-10-29 | ||
- Fix typos in README (@jordaniza, @paulrberg) | ||
- Improve usage guides in README (@paulrberg) | ||
- Make `IS_TEST` virtual (@paulrberg) | ||
- Remove superfluous `bytes20` cast (@paulrberg) | ||
- Update fuzzing configuration in `foundry.toml` (@paulrberg) | ||
- Fix typos in README (@jordaniza, @PaulRBerg) | ||
- Improve usage guides in README (@PaulRBerg) | ||
- Make `IS_TEST` virtual (@PaulRBerg) | ||
- Remove superfluous `bytes20` cast (@PaulRBerg) | ||
- Update fuzzing configuration in `foundry.toml` (@PaulRBerg) | ||
### Added | ||
- Add more information in README (@paulrberg) | ||
- Add more information in README (@PaulRBerg) | ||
@@ -68,3 +103,3 @@ ## [0.1.2] - 2022-07-17 | ||
- Switch to global import to fix the overload type checker bug in Solidity v0.8.12 | ||
([#5](https://github.com/paulrberg/prb-test/issues/5)) (@jordaniza, @paulrberg) | ||
([#5](https://github.com/PaulRBerg/prb-test/issues/5)) (@jordaniza, @PaulRBerg) | ||
@@ -75,3 +110,3 @@ ## [0.1.1] - 2022-07-15 | ||
- Add `pinst` as Node.js dev dependency to disable the `postinstall` life cycle script in production (@paulrberg) | ||
- Add `pinst` as Node.js dev dependency to disable the `postinstall` life cycle script in production (@PaulRBerg) | ||
@@ -82,2 +117,2 @@ ## [0.1.0] - 2022-07-15 | ||
- First release (@paulrberg) | ||
- First release (@PaulRBerg) |
{ | ||
"name": "@prb/test", | ||
"description": "Modern collection of testing assertions and logging utilities for Solidity", | ||
"version": "0.2.1", | ||
"version": "0.4.0", | ||
"author": { | ||
@@ -10,16 +10,16 @@ "name": "Paul Razvan Berg", | ||
"bugs": { | ||
"url": "https://github.com/paulrberg/prb-test/issues" | ||
"url": "https://github.com/PaulRBerg/prb-test/issues" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.3.0", | ||
"@commitlint/config-conventional": "^17.3.0", | ||
"commitizen": "^4.2.5", | ||
"@commitlint/cli": "^17.4.3", | ||
"@commitlint/config-conventional": "^17.4.3", | ||
"commitizen": "^4.3.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"husky": "^8.0.2", | ||
"lint-staged": "^13.0.4", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^13.1.2", | ||
"pinst": "^3.0.0", | ||
"prettier": "^2.8.0", | ||
"prettier-plugin-solidity": "^1.0.0", | ||
"rimraf": "^3.0.2", | ||
"solhint": "^3.3.7", | ||
"prettier": "^2.8.4", | ||
"prettier-plugin-solidity": "^1.1.2", | ||
"rimraf": "^4.1.2", | ||
"solhint": "^3.3.8", | ||
"solhint-plugin-prettier": "^0.0.5" | ||
@@ -31,3 +31,3 @@ }, | ||
], | ||
"homepage": "https://github.com/paulrberg/prb-test#readme", | ||
"homepage": "https://github.com/PaulRBerg/prb-test#readme", | ||
"keywords": [ | ||
@@ -43,3 +43,3 @@ "assertions", | ||
"license": "MIT", | ||
"packageManager": "yarn@3.2.4", | ||
"packageManager": "yarn@3.4.1", | ||
"publishConfig": { | ||
@@ -50,7 +50,4 @@ "access": "public" | ||
"type": "git", | ||
"url": "https://github.com/paulrberg/prb-test" | ||
"url": "https://github.com/PaulRBerg/prb-test" | ||
}, | ||
"resolutions": { | ||
"solhint/@solidity-parser/parser": "^0.14.5" | ||
}, | ||
"scripts": { | ||
@@ -57,0 +54,0 @@ "clean": "rimraf cache out", |
# PRBTest [![Github Actions][gha-badge]][gha] [![Foundry][foundry-badge]][foundry] [![Styled with Prettier][prettier-badge]][prettier] [![License: MIT][license-badge]][license] | ||
[gha]: https://github.com/paulrberg/prb-test/actions | ||
[gha-badge]: https://github.com/paulrberg/prb-test/actions/workflows/ci.yml/badge.svg | ||
[gha]: https://github.com/PaulRBerg/prb-test/actions | ||
[gha-badge]: https://github.com/PaulRBerg/prb-test/actions/workflows/ci.yml/badge.svg | ||
[foundry]: https://getfoundry.sh/ | ||
@@ -30,3 +30,3 @@ [foundry-badge]: https://img.shields.io/badge/Built%20with-Foundry-FFDB1C.svg | ||
```sh | ||
forge install --no-commit paulrberg/prb-test@0.2.1 | ||
forge install --no-commit PaulRBerg/prb-test@0.3.1 | ||
``` | ||
@@ -38,5 +38,5 @@ | ||
[submodule "lib/prb-test"] | ||
branch = "0.2.1" | ||
branch = "0.3.1" | ||
path = "lib/prb-test" | ||
url = "https://github.com/paulrberg/prb-test" | ||
url = "https://github.com/PaulRBerg/prb-test" | ||
``` | ||
@@ -82,3 +82,2 @@ | ||
} | ||
``` | ||
@@ -123,3 +122,2 @@ | ||
} | ||
``` | ||
@@ -176,4 +174,4 @@ | ||
smart contracts. Refactoring a code base from Hardhat or Truffle to Foundry takes time, and it may not always be | ||
possible to do it in one fell swoop. Thus, to ensure backwards compatibility, PRBTest is available as a | ||
[Node.js package](#node-js) in the npm package registry. | ||
possible to do it in one fell swoop. Thus, to ensure backwards compatibility, PRBTest is available as a Node.js package | ||
in the npm package registry. | ||
@@ -203,3 +201,3 @@ For more details about this, see this discussion [here](https://github.com/dapphub/ds-test/issues/35). | ||
```sh | ||
$ git clone --recurse-submodules -j8 git@github.com:paulrberg/prb-test.git | ||
$ git clone --recurse-submodules -j8 git@github.com:PaulRBerg/prb-test.git | ||
``` | ||
@@ -215,2 +213,8 @@ | ||
### Syntax Highlighting | ||
You will need the following VSCode extensions: | ||
- [vscode-solidity](https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity) | ||
## Acknowledgements | ||
@@ -217,0 +221,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89324
232