- Fixed language server crashes caused by
distutils
not being available in Python 3.12
- Fixed issue caused by dependent extension for Graphviz preview being removed from the marketplace
solc
binaries are automatically re-installed if corrupted- Fixed language server crashes on Windows caused by unicode characters in printed messages
- Fixed
wake
path detection when usingpipx
- Wake Detections UI in Activity Bar
- Ignore detections
- Support auto-installation using pipx
- Woke -> Wake migration
- Fixed language server crashes caused by overloaded functions imported in import directives
- Fixed language server crashes caused by new expressions being top-level expressions in expression statements
- Fixed language server crashes caused by
woke
process stdout/stderr buffer overflow
- Fixed compilation crashes
- Fixed secondary locations of solc compiler errors not provided
- Fixed vulnerability detectors causing crashes
- Fixed language server crashes on macOS and Windows
- Implemented hover with helper text for Yul instructions
- Implemented auto-completions for imports
- Implemented quick-fixes for some compiler warnings and errors
- References count in code lens is now clickable
- Document links for imports now work even with compilation errors
- Fixed LSP crashes caused by source unit aliases created in import directives
- Configured
autoClosingPairs
(brackets, quotes, multi-line comments) for Solidity files - Fixed LSP crash when an identifier path part references a source unit
- Added
Tools for Solidity: Show Coverage
andTools for Solidity: Hide Coverage
commands to show/hide coverage information generated by the Woke development and testing framework
- Fixed an issue when the first
woke
installation found was taken as canonical instead of searching for other installation locations
- Added experimental support for Python 3.11
- Fixed potential problems with
woke
installation, especially on macOS
- Added support for Solidity 0.8.19
- Added new command
Tools for Solidity: Generate Imports Graph
- Improved highlighted range of some vulnerability/code quality detections
- Updated minimal version of Woke to 2.0.0
- Some LSP features may be available during compilation
- Stability improvements
- Added
woke.detectors.ignore_paths
andwoke.lsp.compilation_delay
config options - Added
venv
towoke.compiler.ignore_paths
config default value - Added
joaompinto.vscode-graphviz
to extension dependencies
- Introduced new
Tools for Solidity: Import Foundry Remappings
command to automatically configure remappings for Foundry projects - Added
lib
directory to defaultignore_paths
- Fixed an issue when
woke
instances would have been left running on an LSP server crash
- Fixed Woke auto-install not working with
python
executable (withoutpython3
alias) - Fixed reusing LSP build artifacts causing code lens glitches
- EXPERIMENTAL: Use old LSP compilation artifacts when cannot successfully compile current version of sources
- Implemented for
Go to definition
,Document links
(imports),Hover
andGo to type definition
- Implemented for
- Reduced LSP server compilation time by merging compilation units
- Ignore all detections originating in
ignore_paths
and having all subdetections also inignore_paths
- Fixed re-entrancy detector not able to detect issues in overridden functions
- Fixed LSP list config options parsing issue
- Fixed
unsafe-address-balance-use
detector reporting alladdr.balance
uses
- Added new Head Overflow Calldata Tuple ABI-Reencoding Bug detector
- Added
woke.detectors.exclude
andwoke.detectors.only
config options to exclude some detectors from the analysis / to only run certain detectors - Added new Axelar
contractId
detector - Added LSP code lens with click-to-copy selectors above each (public/external) function / variable / error / event declaration
- LSP diagnostics originating from the solc compiler run are now marked with the
Woke(solc)
label - Added
woke.lsp.force_rerun_detectors
LSP command - Improved detection of ownable pattern
- Implemented LSP commands to generate:
- function control flow graphs
- contract inheritance graph
- contract C3 linearized inheritance graph
- inheritance graph of a whole project
- Improved re-entrancy and ownable detectors
- LSP code lens no longer disappear when editing a file
- enabled LSP code lens by default
- Fixed a compilation bug when a project contains multiple files with the same content
- Other small fixes
- Extension description updated
- Fixed LSP features for Solidity symbols in inline assembly blocks not working
- Fixed compiler errors not properly cleared
- Initial release