michaelhettmer / web3-integration-testing

MIT License
1 stars 0 forks source link

chore(deps): update dependency truffle to v5.4.17 #34

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
truffle 5.1.41 -> 5.4.17 age adoption passing confidence

Release Notes

trufflesuite/truffle ### [`v5.4.17`](https://togithub.com/trufflesuite/truffle/releases/v5.4.17) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.16...v5.4.17) Hello all! We're back with another Truffle release.πŸ₯³ We have only one small change for you all this week but an important one to say the least. πŸ‘‹ On this week's release we fixed a bug in decoder where a utility wasn't interpreting RPC responses correctly. Phew, glad we caught that one!πŸ˜… That's all for this week, but stay tuned because next week we will be back with more! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle ##### Bug fixes - Fix decoder support for EIP-1193 provider response ([#​4377](https://togithub.com/trufflesuite/truffle/pull/4377) by [@​gnidan](https://togithub.com/gnidan)) ### [`v5.4.16`](https://togithub.com/trufflesuite/truffle/releases/v5.4.16) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.15...v5.4.16) Hello all! We're back with another Truffle release. Some small but significant changes this week from the newest members of the Truffle Team, [@​dongmingh](https://togithub.com/dongmingh) and [@​sukanyaparashar](https://togithub.com/sukanyaparashar) (with [@​kevinweaver](https://togithub.com/kevinweaver) in the background contributing ideas πŸ’‘)... so, hello! πŸ‘‹ First off, `truffle init` will now create new projects with a default Solidity version of 0.8.9. Note the underlying default of 0.5.16, used when no explicit version is set, is still unchanged πŸ•Έ, so existing projects will be unaffected. But to prevent new projects from having to manually set the version to something recent, `truffle init` will now start you off with 0.8.9. Secondly, we've added the `--migrate-none` option to `truffle test`, which will cause it to skip πŸ¦— the migrations step. Note that this is only intended to be used if your tests do not require migrations! If your tests require migrations, you should not use this option. However, if they don't, you can use this to skip an unnecessary step when testing. 🏎 That's all for this week, but as always we'll be back next week with more, so stay tuned! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle ##### Enhancements - Add support of truffle test --migrate-none and event message ([#​4340](https://togithub.com/trufflesuite/truffle/pull/4340) by [@​dongmingh](https://togithub.com/dongmingh)) - Updated default solidity compiler version in truffle init to 0.8.9 ([#​4371](https://togithub.com/trufflesuite/truffle/pull/4371) by [@​sukanyaparashar](https://togithub.com/sukanyaparashar)) ### [`v5.4.15`](https://togithub.com/trufflesuite/truffle/releases/v5.4.15) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.14...v5.4.15) Happy Thursday everyone! We have a quick Truffle update for you. This week yields a saucerful of spruce-ups.πŸ›Έ The one thing worth mentioning is that a bug has been fixed that plagued versions of Solidity earlier than 0.4.20. Now that's a pretty old πŸ‘΄πŸ½ Solidity version at this point, but it still might be important for some of you folks. So then appeared [@​haltman-at](https://togithub.com/haltman-at), and poof! All is well in Truffle/Solidity land. That is all. πŸ†’ Thank you all for coming around and we'll see you next time! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle ##### Bug fix - Repair compiler output from Solidity <0.4.20 ([#​4363](https://togithub.com/trufflesuite/truffle/pull/4363) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Internal improvements - Remove web3-eth from [@​truffle/decoder](https://togithub.com/truffle/decoder) ([#​4346](https://togithub.com/trufflesuite/truffle/pull/4346) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Use object spreads for settings in compile packages ([#​4354](https://togithub.com/trufflesuite/truffle/pull/4354) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.4.14`](https://togithub.com/trufflesuite/truffle/releases/v5.4.14) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.13...v5.4.14) Hello hello and welcome back! Nice to see so many bright and shining faces, looks like it will be a nice weekend!😎 Of note in this week's Truffle release are some updates to support the newest versions of Solidity. In their newest release is a feature for user-defined value types. Super cool, you can read about them [here in this blogpost](https://blog.soliditylang.org/2021/09/27/user-defined-value-types/). The tl;dr is (you might have guessed already!) that you can now define your own custom types!
Take a peek at how it looks when using the debugger. ![udvts](https://user-images.githubusercontent.com/14827965/136452152-64cd57c3-fac5-49d6-b784-30441d51c412.png) You can see how it has display information for the custom type `MyInt`. Nice work [@​haltman-at](https://togithub.com/haltman-at)!
Also worth mentioning is an update to the printed message πŸ–¨οΈ when running `truffle test` with the `--compile-none` flag. We figured we might as well tell you why we're not compiling your contracts when we, uh...don't compile your contracts.πŸ‘Œ Thanks [@​dongmingh](https://togithub.com/dongmingh)! One more thing to add this week is that we have officially dropped support for Node 10! It might still work, but we don't know...it might not. So far we haven't come across any major issues but we can't guarantee it plays well in that sandbox any more. So please enjoy, eat a piece of chocolate, and have a productive weekend everybody! 🍫 #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle ##### Enhancements - Add support for Solidity 0.8.8 and 0.8.9 ([#​4333](https://togithub.com/trufflesuite/truffle/pull/4333) by [@​haltman-at](https://togithub.com/haltman-at)) - Update message for `truffle test --compile-none` ([#​4349](https://togithub.com/trufflesuite/truffle/pull/4349) by [@​dongmingh](https://togithub.com/dongmingh)) ##### Bug fix - Fix `fetchAndCompile` ([#​4341](https://togithub.com/trufflesuite/truffle/pull/4341) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Internal improvements - Remove Node version 10.x from test matrix ([#​4345](https://togithub.com/trufflesuite/truffle/pull/4345) by [@​cds-amal](https://togithub.com/cds-amal)) - Unpin Ubuntu version in GitHub Actions ([#​4343](https://togithub.com/trufflesuite/truffle/pull/4343) by [@​haltman-at](https://togithub.com/haltman-at)) - Only check permissions for monorepo packages ([#​4339](https://togithub.com/trufflesuite/truffle/pull/4339) by [@​cds-amal](https://togithub.com/cds-amal)) ##### Dependency update - Bump [@​ethereumjs/common](https://togithub.com/ethereumjs/common) to ^2.4.0 and [@​ethereumjs/tx](https://togithub.com/ethereumjs/tx) to ^3.3.0 ([#​4273](https://togithub.com/trufflesuite/truffle/pull/4273) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ### [`v5.4.13`](https://togithub.com/trufflesuite/truffle/releases/v5.4.13) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.12...v5.4.13) Hello all! We have a few Truffle updates for you this week. ⬆️ πŸ’œ The main event for this week's release is removing Profiler from [@​truffle/compile-common](https://togithub.com/truffle/compile-common) and transitioning it to its own package which is now called [@​truffle/profiler](https://togithub.com/truffle/profiler)! :tada: βš’οΈ See you next week with more updates! Enjoy the weekend and feel free to reach out to us with any issues or to say hello! :bow: #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle ##### Internal improvement - Ensure all packages have homepage and bugs fields ([#​4334](https://togithub.com/trufflesuite/truffle/pull/4334) by [@​haltman-at](https://togithub.com/haltman-at)) - Pull Profiler out into its own package ([#​4309](https://togithub.com/trufflesuite/truffle/pull/4309) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Dependency Update - Upgrade highlightjs-solidity to v2.0.1 ([#​4330](https://togithub.com/trufflesuite/truffle/pull/4330) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.4.12`](https://togithub.com/trufflesuite/truffle/releases/v5.4.12) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.11...v5.4.12) Happy Friday everyone! We have a short list of Truffle updates this week. πŸ€– πŸ’œ The lead story is `web3.js` is updated to `v1.5.3`. There are two bug fixes πŸ› to improve your testing experience :tada: as well as some internal improvements! βš’οΈ See you next week! Enjoy the weekend and feel free to reach out to us for any issue or to say hello! :bow: #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Bug fixes - Remove gasLimit line from default ganache config in tests ([#​4323](https://togithub.com/trufflesuite/truffle/pull/4323) by [@​fainashalts](https://togithub.com/fainashalts)) - Fix printing of events with no arguments ([#​4324](https://togithub.com/trufflesuite/truffle/pull/4324) by [@​haltman-at](https://togithub.com/haltman-at)) - Fix ethers-compatible nativization of empty bytestring ([#​4312](https://togithub.com/trufflesuite/truffle/pull/4312) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Internal improvement - Change Gitter link in issue template to Zendesk link ([#​4314](https://togithub.com/trufflesuite/truffle/pull/4314) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Dependency Update - Update web3 to v1.5.3 ([#​4321](https://togithub.com/trufflesuite/truffle/pull/4321) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.4.11`](https://togithub.com/trufflesuite/truffle/releases/v5.4.11) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.10...v5.4.11) Greetings and salutations...we come offering more updates for Truffle. πŸ€– πŸ’œ Only a few things to add this week folks. Firstly, we are preparing for the glorious future release of Solidity 0.8.8. To further that end we have added rudimentary support for compilation notices, because you know, we don't like broken things. Additionally in the debugger we've added support for the Solidity builtin `block.basefee`. Next on the list is a fix for the way Truffle handles gas estimation πŸ›’οΈ for transactions. There was a bug where Truffle always used a set of defaults that were not...ideal. So the problem was rooted out and things should now run much more smoothly! To round it off we've added some internal improvements, most notably is an update to the directory in which Truffle stores user-level configuration, the compiler cache, and Truffle DB data. Now Truffle will be using the recommended locations for each respective OS. Happy day! 🌈 Happy Friday, feel free to reach out to us if you have any issues or just want to say hi! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements/Bug fixes - Add support for compilation notices ([#​4304](https://togithub.com/trufflesuite/truffle/pull/4304) by [@​haltman-at](https://togithub.com/haltman-at)) - Add support for `block.basefee` in debugger, and fix a bug with internal function pointers ([#​4300](https://togithub.com/trufflesuite/truffle/pull/4300) by [@​haltman-at](https://togithub.com/haltman-at)) - Use gas estimate as default transaction gas limit ([#​4296](https://togithub.com/trufflesuite/truffle/pull/4296) by [@​fainashalts](https://togithub.com/fainashalts)) ##### Internal improvements - Replace configstore with conf ([#​4299](https://togithub.com/trufflesuite/truffle/pull/4299) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Speed up and simplify yarncheck ([#​4311](https://togithub.com/trufflesuite/truffle/pull/4311) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.4.10`](https://togithub.com/trufflesuite/truffle/releases/v5.4.10) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.9...v5.4.10) Hello again! πŸ‘‹ In this week's release we have a bug fix for you! Our very own [@​haltman-at](https://togithub.com/haltman-at) has ensured that Truffle disallows import paths starting with `//` on Unix systems because these were confusing the Solidity compiler. Enjoy, and see you next week! πŸŽ‰ #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Fixes - Disallow absolute import paths not beginning with project root (for real) ([#​4216](https://togithub.com/trufflesuite/truffle/pull/4216) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.4.9`](https://togithub.com/trufflesuite/truffle/releases/v5.4.9) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.8...v5.4.9) Hi all, and happy September! πŸ‚ We have some small but mighty changes for this week's release. 🦾 Of particular note, [@​tenthirtyone](https://togithub.com/tenthirtyone) has added the provider host and network to error messages related to your network connection. Have you ever been confused about which network Truffle is attempting to use? Now your error should make this apparent! Thank you for the contribution [@​tenthirtyone](https://togithub.com/tenthirtyone), we really appreciate it! πŸ™‡ That's it for this release, we hope you enjoy. See you next week! πŸ‘‹ #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Add provider host to network connection error messages. ([#​4287](https://togithub.com/trufflesuite/truffle/pull/4287) by [@​tenthirtyone](https://togithub.com/tenthirtyone)) ##### Internal Improvement - Update version of Geth used in CI ([#​4292](https://togithub.com/trufflesuite/truffle/pull/4292) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ### [`v5.4.8`](https://togithub.com/trufflesuite/truffle/releases/v5.4.8) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.7...v5.4.8) Hi everyone! πŸ‘‹ We've got just a small dependency update release for you this week, to bring our [highlightjs-solidity](https://togithub.com/highlightjs/highlightjs-solidity) dependency up-to-date with the newly-released v2.0.0. We on the Truffle team have been maintaining highlightjs-solidity for a couple years now, since we make heavy use of it for debugger syntax highlighting (see the [original release notes for this feature](https://togithub.com/trufflesuite/truffle/releases/tag/v5.1.0#debugger-syntax-highlighting).) [@​joshgoebel](https://togithub.com/joshgoebel) (the maintainer of [highlight.js](https://togithub.com/highlightjs/highlight.js)) has done a lot of work over the past couple years to standardize the build processes for highlight.js language plugins, and we're pleased to bring highlightjs-solidity up to snuff with those new practices (allowing us to remove some nasty glue code we've had in Truffle to accommodate the old, wrong way of doing things). Anyway, it's not much, but hey, upgrade now for a slightly smaller installation bundle! 🧳 We hope you enjoy, and see you next week! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Dependency updates - Upgrade highlightjs-solidity to 2.0.0 ([#​4284](https://togithub.com/trufflesuite/truffle/pull/4284) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.4.7`](https://togithub.com/trufflesuite/truffle/releases/v5.4.7) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.6...v5.4.7) Happy weekend, all! 😎 We're pleased to bring you another weekly Truffle release, this time with support for `eth_signTypedData` inside [@​truffle/hdwallet-provider](https://togithub.com/truffle/hdwallet-provider). In case you're not familiar, this functionality (defined in [EIP-712](https://eips.ethereum.org/EIPS/eip-712)) allows applications to use users' Ethereum accounts to sign structured data, without requiring those users to submit on-chain transactions that cost real gas money β›½ 😱 ! Now it's gotten a bit easier to test applications that make use of this functionality: use [@​truffle/hdwallet-provider](https://togithub.com/truffle/hdwallet-provider), and it will handle the signatures for you. Big thanks to [@​theperfectpunk](https://togithub.com/theperfectpunk) for implementing this and to [@​selimerunkut](https://togithub.com/selimerunkut) for helping us make sure this feature meets acceptance criteria πŸ™. Apart from that, this release includes a couple bug fixes related to Truffle's console output (sometimes Truffle was producing console output when it shouldn't have; this release now means there's less of that!) 🀫 Check the changelog below for more! As always, we hope your blockchain application development brings you joy and fulfillment. Until next time! πŸ‘‹ #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Add [@​truffle/hdwallet-provider](https://togithub.com/truffle/hdwallet-provider) support for signTypedMessage ([#​4124](https://togithub.com/trufflesuite/truffle/pull/4124) by [@​theperfectpunk](https://togithub.com/theperfectpunk)) ##### Bug fixes - Fix quiet logging when obtaining solc ([#​4265](https://togithub.com/trufflesuite/truffle/pull/4265) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Turn on quiet option in fetch-and-compile ([#​4264](https://togithub.com/trufflesuite/truffle/pull/4264) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Internal improvements - Use import type in codec wherever possible ([#​4270](https://togithub.com/trufflesuite/truffle/pull/4270) by [@​haltman-at](https://togithub.com/haltman-at)) - Use [@​truffle/resolver](https://togithub.com/truffle/resolver) as devDep for [@​truffle/db](https://togithub.com/truffle/db), instead of [@​truffle/workflow-compile](https://togithub.com/truffle/workflow-compile) ([#​4269](https://togithub.com/trufflesuite/truffle/pull/4269) by [@​gnidan](https://togithub.com/gnidan)) ##### Dependency updates - Upgrade web3 packages to 1.5.2 ([#​4268](https://togithub.com/trufflesuite/truffle/pull/4268) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ### [`v5.4.6`](https://togithub.com/trufflesuite/truffle/releases/v5.4.6) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.5...v5.4.6) Thursday is the day when you get ready for the weekend; the day that you go see what bug fixes πŸ› are available in the newly released version of Truffle! That's right, Truffle just keeps on getting better. Someday it will even make coffee and cake for you...umm, but you might have to give us some time to figure that one out... In the meantime, while you're waiting to download software with some culinary expertise, we can offer you a fix for the console environment! There was a bug introduced recently that caused a de-referencing of some of the globals in the console. What a bummer! πŸ‘Ž This week, however, that issue is fixed and you'll have smooth sailing! πŸ›³οΈ In other bug fixing news, `truffle init`'s `--force` flag has been fixed. Solid! πŸ‘Š Now as we take a trek onward, you'll notice some updated Solidity syntax highlighting. Solidity keeps moving (v0.8.7 as these notes are being written)! Fortunately, [@​haltman-at](https://togithub.com/haltman-at) has been busy and effective at keeping both highlightjs-solidity and Truffle up-to-date with the times. Lastly we want to thank [@​JimLynchCodes](https://togithub.com/JimLynchCodes) for updating the installation instructions in the Truffle docs (we luv u nvm πŸ’œ)! That should help a lot of people overcome permissions errors that pop up during installation. So those fixes, improvements, and some dependency updates make up the release for this week. We hope you all are enjoying summer as it slowly comes to a close. Cheers! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Bug fixes - Fix console globals ([#​4242](https://togithub.com/trufflesuite/truffle/pull/4242) by [@​cds-amal](https://togithub.com/cds-amal)) - Fix incorrect variable name ([#​4245](https://togithub.com/trufflesuite/truffle/pull/4245) by [@​haltman-at](https://togithub.com/haltman-at)) - Mark abi-utils as dependency of codec ([#​4253](https://togithub.com/trufflesuite/truffle/pull/4253) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Documentation improvements - Adds note in README to use nvm when installing Truffle ([#​4255](https://togithub.com/trufflesuite/truffle/pull/4255) by [@​JimLynchCodes](https://togithub.com/JimLynchCodes)) ##### Internal improvements - Use `async-retry` in source-fetcher for retry logic ([#​4250](https://togithub.com/trufflesuite/truffle/pull/4250) by [@​haltman-at](https://togithub.com/haltman-at)) - Add `.eslintrc.json` to Truffle projects in our source tree ([#​4180](https://togithub.com/trufflesuite/truffle/pull/4180) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Dependency updates - Update highlightjs-solidity to 1.2.1 ([#​4236](https://togithub.com/trufflesuite/truffle/pull/4236) by [@​haltman-at](https://togithub.com/haltman-at)) - Update highlightjs-solidity to 1.2.2 ([#​4249](https://togithub.com/trufflesuite/truffle/pull/4249) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.4.5`](https://togithub.com/trufflesuite/truffle/releases/v5.4.5) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/truffle@5.4.4...v5.4.5) Hey everyone, we have a quick Friday release just in time for your post London hard-fork parties! πŸ₯‚ This week's release contains mostly chore PRs that improve the internals of Truffle. But other than those, there are a pair of changes that seem worthy of note. The first of these is that Truffle has been made compatible with the new London hard-fork! πŸ‘ web3.js just needed a version bump, and some new transaction params needed to be whitelisted to take into account EIP-1559 changes. Woohoo! Please do note, however, that Ganache support for EIP-1559 does not exist yet. This means you won't be able to test these new transaction types with Ganache or `truffle test`. But hang tight, it is on the horizon! 🌈 The other noteworthy addition is that the `--require` option for the console has been made a bit more robust. Truffle now injects some of the standard "Truffle environment variables" into the JavaScript that you require. See the [configuration docs](https://www.trufflesuite.com/docs/truffle/reference/configuration#console) for some more info about configuring this option! ℹ️ Lastly we have an announcement to make; **we will be discontinuing support for Node.js version 10 in October**. Following Node.js's release schedule, it has now reached end of life. Please see [the releases page](https://nodejs.org/en/about/releases/) on their website for more information. Thanks for reading everyone, we hope you have a nice weekend! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Make Truffle variables available in `console.require` JS ([#​4213](https://togithub.com/trufflesuite/truffle/pull/4213) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Add London support (minus access lists) to [@​truffle/contract](https://togithub.com/truffle/contract) ([#​4214](https://togithub.com/trufflesuite/truffle/pull/4214) by [@​haltman-at](https://togithub.com/haltman-at)) - Add commented storage options for [@​truffle/db](https://togithub.com/truffle/db) ([#​4227](https://togithub.com/trufflesuite/truffle/pull/4227) by [@​cds-amal](https://togithub.com/cds-amal)) ##### Bug fix - Use `.db` as [@​truffle/db](https://togithub.com/truffle/db)'s storage folder to be consistent ([#​4229](https://togithub.com/trufflesuite/truffle/pull/4229) by [@​cds-amal](https://togithub.com/cds-amal)) ##### Internal improvements - Break [@​truffle/decoder](https://togithub.com/truffle/decoder) interface in preparation for encoder (and remove fs-extra dependencies) ([#​4209](https://togithub.com/trufflesuite/truffle/pull/4209) by [@​haltman-at](https://togithub.com/haltman-at)) - Factor fetch-and-compile into its own package ([#​4200](https://togithub.com/trufflesuite/truffle/pull/4200) by [@​haltman-at](https://togithub.com/haltman-at)) - Remove Spectrum and TravisCI badges from README ([#​4220](https://togithub.com/trufflesuite/truffle/pull/4220) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Remove web3 types from [@​truffle/hdwallet-provider](https://togithub.com/truffle/hdwallet-provider) ([#​4221](https://togithub.com/trufflesuite/truffle/pull/4221) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Add missing TypeScript `devDependency` ([#​4230](https://togithub.com/trufflesuite/truffle/pull/4230) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Dependency updates - Bump web3 libraries to `1.5.1` ([#​4228](https://togithub.com/trufflesuite/truffle/pull/4228) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Add [@​truffle/compile-common](https://togithub.com/truffle/compile-common) to dependencies for [@​truffle/codec](https://togithub.com/truffle/codec) ([#​4234](https://togithub.com/trufflesuite/truffle/pull/4245) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ### [`v5.4.4`](https://togithub.com/trufflesuite/truffle/compare/v5.4.3...truffle@5.4.4) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.3...truffle@5.4.4) ### [`v5.4.3`](https://togithub.com/trufflesuite/truffle/releases/v5.4.3) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.2...v5.4.3) Greetings, everyone! :wave: Wow! Summer is flying by and London treats are on my mind. We have a short one this week which includes a bug :bug: fix to allow Windows users to once again import `truffle/Assert.sol`. Sorry about that yo! We also improved the cli help formatting, refined an error message (Thanks [@​andywang0607](https://togithub.com/andywang0607)! :bow:) and made an internal optimization to [@​truffle/db](https://togithub.com/truffle/db). Finally there is a Web3.js dependency update in preparation for the London hard fork. :fork_and_knife: As always, it's our pleasure to bring you this week's Truffle release. We hope you enjoy! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Standardize option aliases ([#​4194](https://togithub.com/trufflesuite/truffle/pull/4194) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) - Update error message ([#​4197](https://togithub.com/trufflesuite/truffle/pull/4197) by [@​andywang0607](https://togithub.com/andywang0607)) ##### Bug fixes - Fix truffle resolve on windows ([#​4202](https://togithub.com/trufflesuite/truffle/pull/4202) by [@​cds-amal](https://togithub.com/cds-amal)) ##### Internal improvement - Only run Db code when it is enabled ([#​4203](https://togithub.com/trufflesuite/truffle/pull/4203) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Dependency update - Update web3 to 1.5.0 ([#​4208](https://togithub.com/trufflesuite/truffle/pull/4208) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.4.2`](https://togithub.com/trufflesuite/truffle/releases/v5.4.2) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.1...v5.4.2) Good day, folks! πŸ‘‹ Here's a long-absent command line option: `truffle test --grep` (or `-g`), to match [Mocha's `--grep` option](https://mochajs.org/#-grep-regexp-g-regexp) for filtering tests by name. Glad we finally added thatβ€”it'll come in handy when you want to run only a subset of your tests at a time. Check out those linked Mocha docs to see how it works! Apart from that, we've got a few bug fixes, mostly related to how Truffle keeps track of files paths for import statements in Solidity. We've been coordinating with [@​cameel](https://togithub.com/cameel) from the Solidity team to align Truffle's integration with solc best practices moving forward, and there's been a bit of fallout from that. We should have the worst of these bugs fixed now, though! (Please do let us know you run into any problems with things like contracts getting compiled twice in the same `truffle compile` run, or if you encounter any errors that shouldn't happen. We'll be on the lookout! πŸ”Ž πŸ›) All-in-all, we're rather excited about these changes - see Solidity's docs about [Import Path Resolution](https://docs.soliditylang.org/en/latest/path-resolution.html), namely how the Solidity compiler's "virtual filesystem" ensures compilation results are the same across different machines/platforms/etc. As always, it's our pleasure to bring you this week's Truffle release. We hope you enjoy. #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Add `--grep` option to `truffle test` ([#​4179](https://togithub.com/trufflesuite/truffle/pull/4179) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Bug fixes - Disallow non-absolute non-relative FS imports ([#​4190](https://togithub.com/trufflesuite/truffle/pull/4190) by [@​haltman-at](https://togithub.com/haltman-at)) - Use backslashes on Windows while resolving imports ([#​4195](https://togithub.com/trufflesuite/truffle/pull/4195) by [@​haltman-at](https://togithub.com/haltman-at)) - Fix [@​truffle/db](https://togithub.com/truffle/db) error on dry-run ([#​4198](https://togithub.com/trufflesuite/truffle/pull/4198) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Internal improvements - Fix Truffle build on Windows. ([#​4196](https://togithub.com/trufflesuite/truffle/pull/4196) by [@​cds-amal](https://togithub.com/cds-amal)) ##### Dependency updates - Cleanup unused dependencies ([#​4149](https://togithub.com/trufflesuite/truffle/pull/4149) by [@​cds-amal](https://togithub.com/cds-amal)) ### [`v5.4.1`](https://togithub.com/trufflesuite/truffle/releases/v5.4.1) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.4.0...v5.4.1) Howdy howdy! More Truffle coming at ya... 🌿 Don't you hate it when you implement a feature and then it doesn't work after you bundle your code? Ooops! 🀀 Sorry about that! Last week's `console.require` feature had an issue after bundling. Not to worry though, we have a fix in this release! So go wild and write your own snippets of code to use in the console environment! See [the release notes from last week](https://togithub.com/trufflesuite/truffle/releases/tag/v5.4.0) for more information about this feature. Other than that great news we have a couple more mentionables. 🧐 The debugger has been made even better with some more robust syntax highlighting. Highlighting for operators and punctuation was added. And props to [@​tansaku](https://togithub.com/tansaku) for refining the tips found commented out in the `truffle init` project. Thanks for the addition buddy! Nice to see you again and we'll be here again next week. Adios! πŸŽ‰ #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancement - Add syntax highlighting for operators and punctuation (in debugger) ([#​4177](https://togithub.com/trufflesuite/truffle/pull/4177) by [@​haltman-at](https://togithub.com/haltman-at)) - Remove `infuraKey` references in init project ([#​4164](https://togithub.com/trufflesuite/truffle/pull/4164) by [@​tansaku](https://togithub.com/tansaku)) - Add `BASEFEE` opcode to code-utils ([#​4184](https://togithub.com/trufflesuite/truffle/pull/4184) by [@​haltman-at](https://togithub.com/haltman-at)) - Make source not found error clearer ([#​4189](https://togithub.com/trufflesuite/truffle/pull/4189) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Bug fixes - Don't change backslashes to slashes on Linux ([#​4186](https://togithub.com/trufflesuite/truffle/pull/4186) by [@​haltman-at](https://togithub.com/haltman-at)) - Use original-require to import user modules ([#​4171](https://togithub.com/trufflesuite/truffle/pull/4171) by [@​cds-amal](https://togithub.com/cds-amal)) ##### Internal improvements - Replace always-true expression with `true` ([#​4176](https://togithub.com/trufflesuite/truffle/pull/4176) by [@​haltman-at](https://togithub.com/haltman-at)) - Run all integration tests in CI ([#​4178](https://togithub.com/trufflesuite/truffle/pull/4178) by [@​cds-amal](https://togithub.com/cds-amal)) ### [`v5.4.0`](https://togithub.com/trufflesuite/truffle/releases/v5.4.0) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.3.14...v5.4.0) Hello all, we've got quite the release for you this week! Isn't it annoying when you find yourself typing a bunch of boilerplate every time you start up Truffle Console or Truffle Develop? Well, now you can add a `console.require` property to your Truffle config that will run scripts and populate variables each time the console starts up. Just prepare 🍲 and store πŸ₯« a script and you don't need to worry about boilerplate anymore. For instance, suppose your Truffle Config consisted of the following: ```javascript module.exports = { console: { require: "./food.js" } }; ``` And suppose that `food.js` read as follows: ```javascript module.exports = { breakfast: "yes please" }; ``` Then, on starting up the console, one would find the `breakfast` variable already populated with the value `"yes please"`. Of course, a script can obviously do much more than that, but that's a basic example. Indeed, `console.require` is more flexible 🀸 than that. For instance, suppose your Truffle Config read as follows: ```javascript module.exports = { console: { require: [ "./food.js", { path: "./myStuff.js" }, { path: "./someOtherStuff.js", as: "myVariables" } ] } }; ``` Then not only `food.js`, but also `myStuff.js` and `someOtherStuff.js` would also be executed. Moreover, the variables exported by `someOtherStuff.js` would not be loaded directly into the console's global namespace, but rather would be namespaced under `myVariables`, packed up neatly 🧳. See the [PR description](https://togithub.com/trufflesuite/truffle/pull/4127) for more about this feature, and we should have full documentation up shortly. In addition to this week's new feature, we have some bug fixes. Errors occurring during unboxing should now be a bit more transparent πŸͺŸ, and [@​PierreJeanjacquot](https://togithub.com/PierreJeanjacquot) πŸ™‡ fixed a potential crash. We'll be back next week with more! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### New features - Run user-supplied scripts to populate the console ([#​4127](https://togithub.com/trufflesuite/truffle/pull/4127) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Bug fixes - Preserve non 404 errors when unboxing ([#​4169](https://togithub.com/trufflesuite/truffle/pull/4169) by [@​cds-amal](https://togithub.com/cds-amal)) - Fix inferLanguage error with undefined sourcePath ([#​4168](https://togithub.com/trufflesuite/truffle/pull/4168) by [@​PierreJeanjacquot](https://togithub.com/PierreJeanjacquot)) ### [`v5.3.14`](https://togithub.com/trufflesuite/truffle/releases/v5.3.14) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.3.13...v5.3.14) Hello all! We had a hotfix πŸ”₯ release earlier this week, now it's time for the regular release. We've fixed a problem with [in-test debugging](https://www.trufflesuite.com/docs/truffle/getting-started/debugging-your-contracts#in-test-debugging), so you can get back to debugging your tests. πŸ•΅ Also, we've altered our Solidity compilation so that absolute paths should no longer appear in contract metadata, so that you don't leak πŸ’§ information about your file system if you want to, say, verify your contracts on [Sourcify](https://togithub.com/ethereum/sourcify). We've also updated our web3.js version to 1.4.0. Note however that we have not yet added support for access lists into Truffle Contract; that will come at a later date. See you all next week! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Bug fixes - Fix in-test debugging ([#​4151](https://togithub.com/trufflesuite/truffle/pull/4151) by [@​haltman-at](https://togithub.com/haltman-at)) - Change "project://" to "project:/" ([#​4157](https://togithub.com/trufflesuite/truffle/pull/4157) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Internal improvements - Replace project directory in metadata with "project://" ([#​4137](https://togithub.com/trufflesuite/truffle/pull/4137) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Dependency updates - Update web3 to 1.4.0 ([#​4155](https://togithub.com/trufflesuite/truffle/pull/4155) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.3.13`](https://togithub.com/trufflesuite/truffle/releases/v5.3.13) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.3.12...v5.3.13) I guess it's true: you never know what you're going to get! πŸ’ This release fixes a bug to `truffle unbox` that caused community Truffle Boxes to fail to download. Thanks [@​CaleTeeter](https://togithub.com/CaleTeeter) and [@​patrickalphac](https://togithub.com/patrickalphac) for identifying this problem. Apologies to anyone who ran into this bug... hope this fixes things for you! πŸ™‡ #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Bug fixes - Fix unbox to remove repo name restriction ([#​4145](https://togithub.com/trufflesuite/truffle/pull/4145) by [@​cds-amal](https://togithub.com/cds-amal)) ##### Internal improvements - Allow a few missing values in artifactor/compile-common internals ([#​4126](https://togithub.com/trufflesuite/truffle/pull/4126) by [@​bergarces](https://togithub.com/bergarces)) ### [`v5.3.12`](https://togithub.com/trufflesuite/truffle/releases/v5.3.12) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.3.11...v5.3.12) Hi there! πŸ‘‹ Another week, another release from your friendly neighborhood Truffle engineers! This week, we have a couple of bug fixes, an internal improvement, and one dependency update. Notably, we've fixed a debugger crash related to cross-compilation reverts. 😱 Many thanks to [@​regata](https://togithub.com/regata) for bringing the debugger issue to our attention and providing a detailed set of reproduction steps! πŸ™‡ We also updated the `solc-js` version used by the `compile-solidity` package, to make it possible to use Solidity 0.8.2 with Truffle. Happy coding! πŸ’» And as always, please feel free to reach out through [one of these resources](https://www.trufflesuite.com/community). #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Fixes - Fix debugger crash from cross-compilation revert ([#​4131](https://togithub.com/trufflesuite/truffle/pull/4131) by [@​haltman-at](https://togithub.com/haltman-at)) - Add crypto lib and method to silence warning ([#​4128](https://togithub.com/trufflesuite/truffle/pull/4128) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Dependency updates - Update solc/wrapper to 0.6.9 ([#​4136](https://togithub.com/trufflesuite/truffle/pull/4136) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Internal improvements - Up timeout in debugger test ([#​4138](https://togithub.com/trufflesuite/truffle/pull/4138) by [@​haltman-at](https://togithub.com/haltman-at)) - Remove unnecessary awaits & simplify associated test ([#​4122](https://togithub.com/trufflesuite/truffle/pull/4122) by [@​cds-amal](https://togithub.com/cds-amal)) ### [`v5.3.11`](https://togithub.com/trufflesuite/truffle/releases/v5.3.11) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.3.10...v5.3.11) Salutations and happy Friday! πŸ‘‹πŸΎ We have another release for you! This week offers a couple of bug fixes, internal improvements and version updates. `truffle unbox` will now recognize branches that have slashes, like `truffle unbox /repo#branch/with/slashes`. In case you didn't know you can [create your own Truffle boxes](https://www.trufflesuite.com/docs/truffle/advanced/creating-a-truffle-box) which is a great way to bootstrap your Truffle project: hooray! :tada: Enjoy, and as always please feel free to reach out through [one of these resources](https://www.trufflesuite.com/community). #### Changelog ##### Fixes - Handle unbox with slashes in branch name Fix/unbox 1676 ([#​4088](https://togithub.com/trufflesuite/truffle/pull/4088) by [@​cds-amal](https://togithub.com/cds-amal)) - Remove --network option from `truffle compile` ([#​4116](https://togithub.com/trufflesuite/truffle/pull/4116) by [@​cds-amal](https://togithub.com/cds-amal)) ##### Dependency updates - Update highlightjs-solidity to `v1.1.1` ([#​4111](https://togithub.com/trufflesuite/truffle/pull/4111) by [@​haltman-at](https://togithub.com/haltman-at)) - Upgrade [@​truffle/codec](https://togithub.com/truffle/codec)'s typedoc to `v0.20.36` ([#​4112](https://togithub.com/trufflesuite/truffle/pull/4112) by [@​gnidan](https://togithub.com/gnidan)) ##### Internal improvements - Fix/testy rejections ([#​4118](https://togithub.com/trufflesuite/truffle/pull/4118) by [@​cds-amal](https://togithub.com/cds-amal)) - Make consistent use of `import type` in most TS packages ([#​4110](https://togithub.com/trufflesuite/truffle/pull/4110) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.3.10`](https://togithub.com/trufflesuite/truffle/releases/v5.3.10) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.3.9...v5.3.10) Hi all! Happy weekend! **Top story for this release is that we finally fixed one of the most pernicious Truffle bugs in a long time.**
Have you ever encountered this behavior? Where tons of minified JavaScript fills your terminal's scrollback? πŸ˜“ Screen Shot 2021-06-12 at 4 13 16 PM
Gosh! That's so awful! And I normally like impressionist ASCII art. πŸ€“ This bug has been eluding us for quite some time, but thankfully we finally figured it out! It turns out we were over-optimistically removing Node's error handling mechanisms, resulting in all that gobbledygook. Major props to [@​cds-amal](https://togithub.com/cds-amal) for finally finding the thread that unraveled this mystery, and to [@​eggplantzzz](https://togithub.com/eggplantzzz) and [@​davidmurdoch](https://togithub.com/davidmurdoch) for their efforts to form a coherent understanding of the big picture here.
Look what happens now! πŸŽ‰ Screen Shot 2021-06-12 at 4 17 38 PM
**... but wait, there's more!** Besides the above (which we're *so* glad to put behind us), we've added support for [Solidity v0.8.4 and later's custom errors](https://blog.soliditylang.org/2021/04/21/custom-errors/), removed a limitation around setting breakpoints in files with the same name, and begun to add support for fetching external sources from Optimism networks. Check the changelog below for the full deets. We hope you enjoy! πŸ™‡ #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancements - Support custom errors in debugger/decoder (from Solidity v0.8.4 and later) ([#​4015](https://togithub.com/trufflesuite/truffle/pull/4015) by [@​haltman-at](https://togithub.com/haltman-at)) - Allow setting breakpoints when two sources have the same name ([#​4087](https://togithub.com/trufflesuite/truffle/pull/4087) by [@​haltman-at](https://togithub.com/haltman-at)) - Detect solc version from CBOR if absent in artifact ([#​4094](https://togithub.com/trufflesuite/truffle/pull/4094) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Bug fixes - Only remove listeners left around by soljson ([#​4092](https://togithub.com/trufflesuite/truffle/pull/4092) by [@​gnidan](https://togithub.com/gnidan)) - Also remove `unhandledRejection` to soljson wrapper ([#​4098](https://togithub.com/trufflesuite/truffle/pull/4098) by [@​cds-amal](https://togithub.com/cds-amal)) - Fix use of Docker with --fetch-external ([#​4101](https://togithub.com/trufflesuite/truffle/pull/4101) by [@​haltman-at](https://togithub.com/haltman-at)) - Prevent (extremely unlikely) crash from cbor null ([#​4100](https://togithub.com/trufflesuite/truffle/pull/4100) by [@​haltman-at](https://togithub.com/haltman-at)) - Fix two debugger/decoder crashes ([#​4095](https://togithub.com/trufflesuite/truffle/pull/4095) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Internal improvements - Add initial support for fetching source code from Etherscan for Optimism networks ([#​4106](https://togithub.com/trufflesuite/truffle/pull/4106) by [@​fainashalts](https://togithub.com/fainashalts)) ##### Dependency updates - Replace deprecated ethereum-ens with [@​ensdomains/ensjs](https://togithub.com/ensdomains/ensjs) v2.0.1 ([#​4089](https://togithub.com/trufflesuite/truffle/pull/4089) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ### [`v5.3.9`](https://togithub.com/trufflesuite/truffle/releases/v5.3.9) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.3.8...v5.3.9) Hi there and happy Friday! πŸ‘‹ We have a short and sweet release for you this week. Many thanks to our external contributor [@​suchris](https://togithub.com/suchris) for making the init command experience more straightforward. More information on next steps is now logged after running `truffle init`. External contributions are always appreciated, πŸ™‡ and we are happy to help if you have an idea for how to make our code better! Besides that, our very own [@​haltman-at](https://togithub.com/haltman-at) has fixed an issue with line numbering in `truffle debug --fetch-external`. Thanks Harry! Enjoy, and as always please reach out through [one of these resources](https://www.trufflesuite.com/community)! πŸ’» #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Improvements - Add next steps for init command ([#​4082](https://togithub.com/trufflesuite/truffle/pull/4082) by [@​suchris](https://togithub.com/suchris)) ##### Bug fixes - Add header to single sources downloaded from Etherscan ([#​4072](https://togithub.com/trufflesuite/truffle/pull/4072) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.3.8`](https://togithub.com/trufflesuite/truffle/releases/v5.3.8) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.3.7...v5.3.8) πŸ’‘ - We now return you to your regularly scheduled program... - πŸ“Ί Here, have another release! They never stop coming, do they? And we are already at mighty version v5.3.8! Careful with this one when you install it... πŸ’ͺ This week we don't have a ton worth mentioning but did update the default for the `gasPrice` parameter. πŸ›’οΈ We realized that Truffle's default for `gasPrice` is a bit out-of-date. So we removed the default and decided to go with what web3 recommends for calculating price. Hopefully that will help things run a bit more smoothly when deploying etc. Added to this [@​truffle/expect](https://togithub.com/truffle/expect) was rewritten in TypeScript and a bug was fixed where progress spinners did not respect the `quiet` option while using `truffle unbox`. We want to also say thank you to [@​0xfoobar](https://togithub.com/0xfoobar) for catching a bug in the debugger where argument variables were sometimes corrupted. Thanks for the sleuthing [@​0xfoobar](https://togithub.com/0xfoobar)! πŸ” We have that issue fixed with this one: happy debugging! As always, we hope you stay well. Until next week! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancement - Allow different blockchain network architectures in [@​truffle/reporters](https://togithub.com/truffle/reporters) ([#​3983](https://togithub.com/trufflesuite/truffle/pull/3983) by [@​bergarces](https://togithub.com/bergarces)) - Remove default `gasPrice` ([#​4073](https://togithub.com/trufflesuite/truffle/pull/4073) by [@​bergarces](https://togithub.com/bergarces)) ##### Bug fixes - Allow node-based breakpoints to work without AST (fix sub-line breakpoints for Vyper and Yul) ([#​4030](https://togithub.com/trufflesuite/truffle/pull/4030) by [@​haltman-at](https://togithub.com/haltman-at)) - Prevent function argument corruption after bare block ([#​4061](https://togithub.com/trufflesuite/truffle/pull/4061) by [@​haltman-at](https://togithub.com/haltman-at)) - Fix deprecated ts-jest config ([#​4063](https://togithub.com/trufflesuite/truffle/pull/4063) by [@​gnidan](https://togithub.com/gnidan)) - Make spinners respect `quiet` options for unbox ([#​4069](https://togithub.com/trufflesuite/truffle/pull/4069) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Internal improvements - Separate PouchDB adapter interface from existing Workspace interface in [@​truffle/db](https://togithub.com/truffle/db) ([#​4031](https://togithub.com/trufflesuite/truffle/pull/4031) by [@​gnidan](https://togithub.com/gnidan)) - Convert [@​truffle/expect](https://togithub.com/truffle/expect) to TypeScript ([#​4066](https://togithub.com/trufflesuite/truffle/pull/4066) by [@​gnidan](https://togithub.com/gnidan)) ### [`v5.3.7`](https://togithub.com/trufflesuite/truffle/releases/v5.3.7) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.3.6...v5.3.7) Hey folks, how is May going for you?🌻 Welcome, welcome: another release! πŸ‘ This week, a couple of commands were added to the debugger. `Y`? Yes! Use the `Y` and `y` commands to go to the last error that was thrown or the final error after getting a stacktrace. Check out the writeup in [https://github.com/trufflesuite/truffle/pull/4029](https://togithub.com/trufflesuite/truffle/pull/4029) for more info on this one. Let's see, what else? Oh! We have updated Yul highlighting which should make things easier to look at as well as some bug fixes for source-fetcher and the debugger. πŸ†’ Other than that, there is some miscellaneous housekeeping and a quick bump to web3. We also need to say a quick thanks to [@​jinyang1994](https://togithub.com/jinyang1994) and [@​0xfoobar](https://togithub.com/0xfoobar) for contributing to this weeks release. Thanks a lot and we'll see you next week! #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancement - Add partial match, contract name, and constructor arguments support to Sourcify source-fetcher ([#​4020](https://togithub.com/trufflesuite/truffle/pull/4020) by [@​haltman-at](https://togithub.com/haltman-at)) - Add `y` and `Y` commands to debugger to return to last error ([#​4029](https://togithub.com/trufflesuite/truffle/pull/4029) by [@​haltman-at](https://togithub.com/haltman-at)) - Update to proper Yul highlighting ([#​4047](https://togithub.com/trufflesuite/truffle/pull/4047) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Internal improvements - Implement reset for `txlog` ([#​4034](https://togithub.com/trufflesuite/truffle/pull/4034) by [@​haltman-at](https://togithub.com/haltman-at)) - Add `returnData` to `txlog` ([#​4038](https://togithub.com/trufflesuite/truffle/pull/4038) by [@​haltman-at](https://togithub.com/haltman-at)) - Delete circle ci config ([#​4045](https://togithub.com/trufflesuite/truffle/pull/4045) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Bug fixes - Check if `error.response` exists ([#​4046](https://togithub.com/trufflesuite/truffle/pull/4046) by [@​jinyang1994](https://togithub.com/jinyang1994)) - Prevent error from missing `error.response` in source-fetcher ([#​4048](https://togithub.com/trufflesuite/truffle/pull/4048) by [@​haltman-at](https://togithub.com/haltman-at)) - Fix truffle debug `badCompilations` error ([#​4051](https://togithub.com/trufflesuite/truffle/pull/4051) by [@​0xfoobar](https://togithub.com/0xfoobar)) - Prevent `Y` command from returning to non-error returns ([#​4060](https://togithub.com/trufflesuite/truffle/pull/4060) by [@​haltman-at](https://togithub.com/haltman-at)) ##### Dependency update - Update web3 (and etc) to 1.3.6 ([#​4033](https://togithub.com/trufflesuite/truffle/pull/4033) by [@​haltman-at](https://togithub.com/haltman-at)) ### [`v5.3.6`](https://togithub.com/trufflesuite/truffle/releases/v5.3.6) [Compare Source](https://togithub.com/trufflesuite/truffle/compare/v5.3.5...v5.3.6) Back again so soon? Get ready to receive the goods!🍫🍬 So this week hopefully ends a headache that a lot of you may have had in the past couple of weeks (that's right, I'm looking at you [EIP-155 πŸ‘€](https://eips.ethereum.org/EIPS/eip-155)). Recently Geth has by default required transactions that are EIP-155 compliant. With this new version of [@​truffle/hdwallet-provider](https://togithub.com/truffle/hdwallet-provider), you should be good to go straight out of the box! This will also work with custom chain ids as well. Happy EIP-155ing! Another interesting item in this release is a tweak to the axios configuration. Some users were having issues when behind a proxy and it seems like it may have been due to a limitation of axios's default configuration. To try and solve this, we took the knob, and cranked it to 11! 🎸 Let us know if you are still experiencing issues. Other than that, we added a slightly more sophisticated way of handling some globally available options and fixed a debugger-related error. As always, we hope you enjoyand that the rest of the week goes well!🌷 #### How to upgrade We recommend upgrading to the latest version of Truffle by running: npm uninstall -g truffle npm install -g truffle #### Changelog ##### Enhancement - Fetch chain id for more robust support for EIP155 compliant transactions ([#​4019](https://togithub.com/trufflesuite/truffle/pull/4019) by [@​eggplantzzz](https://togithub.com/eggplantzzz)) ##### Internal improvements - Disable warning for `--config` by adding system for global command options ([#​4022](https://togithub.com/trufflesuite/truffle/pull/4022) by [@​fainashalts](https://togithub.com/fainashalts)) ##### Bug fixes - Replace old name for `unsafeNativizeVari

Configuration

πŸ“… Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

renovate[bot] commented 3 years ago

Branch automerge failure

This PR was configured for branch automerge, however this is not possible so it has been raised as a PR instead.


stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically closed since there has not been any more activity after it was marked as stale. Please open a new issue for related bugs.