Skip to content

Releases: Consensys/vscode-solidity-auditor

Version 0.2.0

13 Oct 11:35
804eced
Compare
Choose a tag to compare

v0.2.0 - 🍂🍁🍃 Booh! 👻🎃🎃🎃🌾👨🏼‍🌾

  • fix: includes parser performance optimizations with [email protected] (🙏 @vquelque)
  • update: completely refactored function signature computation - #127
  • fix: performance optimizations - #127
  • new: command solidity-va.tools.function.signatures.forWorkspace to show all function signatures for files in the workspace - #127
  • fix: ftrace error in cockpit view due to non-existent filepath being passed to surya - #127
  • fix: draw.io/plantuml mistakenly named receive()|fallback() as constructor - #127
  • fix: function signature extraction only returns public|external interfaces - #127
  • fix: external function call list in cockpit view faile to resolve one-liner function declarations - #127
  • fix: inheritance hover showing "object" instead of inherited contract name
  • update: dependencies (solidity parser / solidity workspace)
  • fix: constructor/fallback showing up as 'null' in cockpit
  • fix: redecorate editor only if changes were detected (performance)
  • fix: abort decoration if content hash not found in cache (keep current decoration if file is unparseable)
  • fix: cockpit view for overridden functions (#138)
  • fix: debounce onDidChange events (performance while typing)

Version 0.1.5

17 Jan 11:06
Compare
Choose a tag to compare

v0.1.5 - 🏂

  • fix: find all references not working - #119

Version 0.1.4

10 Oct 15:38
673e7bf
Compare
Choose a tag to compare

v0.1.4 - 🍁

  • fix: incompatibility with vscode update v1.72.0 - Extension "[...] has provided an invalid tree item." - #114
  • new: optionally disable highlighting in the overview ruler - #115

image

image image

  • fix: more consistent highlighting when clicking on an item in the cockpit ExternalCalls/PublicStatechanging views - #110

    • clicking on a function name highlights the first line of the function instead of the full function block in the editor
    • clicking on an external call/modifier highlights the invocation in the editor
  • fix: semantic highlighting for supercall and modifier arguments - #112 #117

image

Version 0.1.3

21 Jul 19:44
35d86d3
Compare
Choose a tag to compare

v0.1.3

  • new: customize semantic highlighting mode #105 #108
    • color and symbol - default (decorate + "arrow")
    • color only - only decorate identifiers declared in the function argument scope
    • symbol only - only show an "arrow" next to an identifier declared in the function argument scope

image

  • fix: uml - fix null-deref when parsing 'using-for *' #106 #107
  • update: configurable trailing "arrow" for semantic function argument highlighting #104 #100

Version 0.1.2

15 Apr 09:38
Compare
Choose a tag to compare

v0.1.2

  • new: decorate/highlight immutable state vars (#9932cc) - #97 (thanks @RomiRand)

image

  • update: dependencies ([email protected])
  • new: configuration option to enable the surya.mdreport "negative Modifiers" feature, see surya#162
    • enabling solidity-va.tools.surya.option.negModifiers will list all modifiers observed in the file with the ones that are not being used with the listed method being striked-through

image

Note that the report can be generated either via the report codelense or by selecting files in the Solidity Visual Developer View → right-click → Surya: generate report.

image

image

Version 0.1.1

17 Dec 10:19
Compare
Choose a tag to compare

Change Log

ℹ️ Customize this extension to fit your needs! Show/Hide/Enable/Disable features in Preference → Settings → Solidity Visual Developer: solidity-va.*, select one of the customized security-aware color themes in Preferences → Color Themes.

v0.1.1 - ❄️🎄🏂🎄❄️

Version 0.1.0

18 Jun 19:16
Compare
Choose a tag to compare

//major

Solidity Visual Developer

Change Log

Note: Don't forget to check out preferences → Settings → Solidity Visual Developer to customize features, look and feel.

v0.1.0 - with a lot of new features 🥳

  • new: 🥳 major parser refactoring #67 and we published the parser as standalone lib "solidity-workspace"

  • new: ⚠️ annotations for potential external calls (yellow gutter icon)

    • best-effort - might miss some external calls depending on whether it is possible to easily resolve them (e.g. accessing addresses in nested structures/mappings).
  • new: cockpit view that lists external calls in the currently selected contract (click into a contract in the editor for the view to update)

    image

  • new: we can now resolve inherited names (hover: declaration link)

    image

  • new: we now decorate identifiers that are storage references (treating them like state-vars)

  • new: unit-test stub/template for Hardhat/Ethers #70 (preferences → Settings → Solidity Visual Developer: solidity-va.test.defaultUnittestTemplate)

  • new: (debug) option to enable/disable stacktraces for parser errors (preferences → Settings → Solidity Visual Developer: solidity-va.debug)

  • new: show codelenses (inline actions) for abstract contracts

  • new: customize which codelenses to show or hide (preferences → Settings → Solidity Visual Developer: solidity-va.codelens.*) #76

  • new: expose new command solidity-va.surya.graphThis #76

  • new: use internal ("dumb" lexical) flattener by default. Optionally allow to select truffle-flattener (preferences → Settings → Solidity Visual Developer: solidity-va.flatten.mode)

  • update: enable draw.io csv export codelens by default

  • fix: misplaced decoration when document changes

  • fix: function selector is incorrect if there's a comment in the function signature definition #68

  • update: code cleanup; refactored decoration logic and moved it to its own submodule

Version 0.1.0 - preview 3 **pre-release**

28 May 16:18
Compare
Choose a tag to compare

//preview //beta
//feature release //major refactor

report issues → #67

v0.1.0 - preview 3 🥳

  • new: major parser refactor #67
  • new: highlighting of external calls (yellow gutter icon)
    • this is best effort highlighting and we might miss some external calls depending on whether it is possible to resolve them.
    • do not completly rely on this feature :)
  • new: cockpit view that lists external calls in the currently selected contract (click into a contract in the editor for the view to update)
  • fix: typeError "cannot read property length of undefined"
  • fix: misplaced decoration when document changes
  • new: adjusted graphviz view titles
  • new: decorate identifiers that are storage references (treating them like state-vars)
  • update: code cleanup; refactored decoration logic and moved it to submodule

Installation: code --install-extension solidity-visual-auditor-0.1.0-preview-3.vsix

editor - gutter icons for external calls (⚠️)

image

cockpit - list external calls for current contract

image

hover - resolve inherited names (clickable declarations)

image

Version 0.0.33

27 May 15:26
Compare
Choose a tag to compare

//maintenance update to v0.0.32

Solidity Visual Developer

v0.0.32 - v0.0.33

Maintenance release until v0.1.0 is ready.

  • new: adjusted graphviz titles to reflect type of graph
  • fix: vscode API adjustments ("crippled" events): "Cannot read property length of 'undefined'"
  • fix: check if statevar highlighting is enabled - #73
  • update: solidity parser to 0.12.2
  • fix: vscode API adjustments ("crippled" events) for cockpit view

Version 0.0.32

27 May 15:09
Compare
Choose a tag to compare

//maintenance

Solidity Visual Developer

v0.0.32

Maintenance release until v0.1.0 is ready.

  • new: graphviz view titles were adjusted
  • fix: vscode API adjustments ("crippled" events): "Cannot read property length of 'undefined'"
  • fix: check if statevar highlighting is enabled - #73
  • update: solidity parser to 0.12.2