Skip to content

Releases: Ackee-Blockchain/wake

v4.19.0

17 Jun 17:04
Compare
Choose a tag to compare

Features & improvements:

  • added new lsp-public-functions printer that lists all public functions of a contract when triggered from the code lens button [language server]
  • EIP-7702 code delegations are now automatically unset for chain testing accounts on forking [testing framework]

v4.18.1

20 May 18:28
Compare
Choose a tag to compare

Fixes & improvements:

  • fixed missing import when accessing VariableDeclaration.declaration_string, which mainly manifested as language server crashes [core]
  • removed mistakenly leftover debugging prints from the IR [core]
  • LSP document symbols and workspace symbols now use function declarations with parameter types to avoid deduplication on the LSP client side [language server]
  • fixed LSP document symbols' last changed declaration not being propagated due to aggressive caching [language server]
  • fixed LSP compilation errors not being cleared for deleted files [language server]
  • changed command-line relevant code highlighting from color to underline [static analysis]
  • added missing burn_erc1155 import to wake.testing [testing framework]
  • fixed ValueError occurring on failing chain connections [testing framework]

v4.18.0

08 May 15:59
Compare
Choose a tag to compare

Features & improvements:

  • added support for Solidity 0.8.30 [core]
  • improved LSP hover text for declarations [language server]
    • added missing NatSpec documentation to enums and structs
    • added indexed keyword to event parameters
  • go to definition and hover LSP features now point to contract's constructor instead of the contract where appropriate [language server]
  • @inheritdoc is now expanded in LSP hover [language server]
  • added highlighting of relevant code for command-line detections output [static analysis]
  • implemented chainlink-deprecated-function, unused-error, and unused-event detectors [static analysis]

Fixes:

  • fixed compilation of files with structurally different ASTs [core]
  • extra dictionary is no longer cleared after LSP printers run as it may be used by command callbacks [language server]

v4.17.2

29 Apr 19:57
Compare
Choose a tag to compare

Fixes:

  • added missing modifies_state.py file [core]
  • bumped typing-extension to >=4.12 to reflect recent changes [core]

v4.17.1 (yanked)

29 Apr 09:29
Compare
Choose a tag to compare

Fixes:

  • fixed compilation of injected contracts when target_version set [core]
  • fixed all detections without subdetections filtered out with known contracts filtering enabled [static analysis]

v4.17.0 (yanked)

28 Apr 14:51
Compare
Choose a tag to compare

Features & improvements:

  • implemented --no-logging CLI option [cli]
  • implemented --no-header CLI option for wake print [cli]
  • wake up pytypes now accepts paths to generate pytypes for [cli]
  • absolute paths are now supported in compilation [core]
  • exclude_paths and ignore_paths are now set accordingly when importing Foundry config [core]
  • evm_version is now auto-downgraded with a warning if not supported by the current solc [core]
  • added a database of known contracts and implemented automatic ignoring of detections in such contracts [static analysis]

Fixes:

  • fixed multiple sources of memory leaks [core]
  • fixed compilation crash on file removal regression [core]
  • fixed IR Module type and its attributes [core]
  • fixed progressive compilation (recompilation of all files except for errored ones) regression [language server]
  • fixed while loops in control flow graphs [static analysis]
  • fixed injected IERC20Metadata.sol compilation with older versions of solc [testing & deployment framework]

v4.16.1

10 Apr 18:26
Compare
Choose a tag to compare

Fixes:

  • fixed the appendCBOR compilation option being passed to solc versions not supporting it, causing a compilation error [core]
  • fixed compilation crash during subprojects compilation when files being imported from another subproject contain a compilation error [core]
  • fixed wake open incorrectly complaining about absolute paths when fetching from Etherscan with standard JSON format [core]
  • fixed control statements not indexed correctly in control flow graphs [static analysis]
  • fixed resolution of renamed events & errors causing AttributeError in some cases [testing & deployment framework]

v4.16.0

25 Mar 21:09
Compare
Choose a tag to compare

Features & improvements:

  • added support for Solidity 0.8.29 and Osaka EVM [core]
  • optimized solc compilers JSON list to only download when necessary [core]
  • implemented wake up gitignore command [core]
  • added JSON export functionality to wake open command [core]
  • wake open now uses different exit codes on errors [core]
  • implemented Foundry compilation config options importing with wake up [core]
  • implemented detections filtering for on-chain scanning [static analysis]
  • improved text output format in single process testing [testing framework]
  • migrated to Sourcify v2 & Etherscan v2 APIs; using only one API key for Etherscan [testing & deployment framework]
  • implemented Sourcify & Etherscan fetched ABI in-memory caching [testing & deployment framework]
  • Reth nodes are now recognized without warning [testing & deployment framework]

Fixes:

  • fixed source paths resolving issue incorrectly marking source path as ambiguous during compilation [core]
  • clarified docs that linearized_base_contracts includes self [core]
  • fixed handling of JSON-RPC error returned when no accounts for signing available [testing & deployment framework]

v4.15.0

20 Feb 17:57
Compare
Choose a tag to compare

Features:

  • added Sourcify support to wake open command & improved command UX [core]
  • Sourcify & Etherscan responses are now cached [core]
  • improved Returns section in pytypes docstrings [testing & deployment framework]

v4.14.1

29 Jan 13:48
Compare
Choose a tag to compare

Fixes:

  • fixed compilation contract info missing (often manifesting as AssertionError) when compiling Solidity >= 0.8.28 [core]
  • fixed PermissionError when accessing "modified files" during compilation [core]
  • fixed fetching ABI from explorers in call traces [testing & deployment framework]
  • fixed ABI decoding in call traces with leftover bytes [testing & deployment framework]