Skip to content

Releases: julia-vscode/StaticLint.jl

v8.2.2

30 May 00:59
Compare
Choose a tag to compare

StaticLint v8.2.2

Diff since v8.2.1

Merged pull requests:

v8.2.1

05 Apr 10:56
0b846cc
Compare
Choose a tag to compare

StaticLint v8.2.1

Diff since v8.2.0

Merged pull requests:

  • fix: add ModuleStore check for import lookup (#383) (@pfitzseb)

v8.2.0

08 Jan 16:42
e219224
Compare
Choose a tag to compare

StaticLint v8.2.0

Diff since v8.1.0

Merged pull requests:

  • Fix kwarg ref/binding handling (#323) (@pfitzseb)
  • Type declarations on global variables are supported on 1.8 (#328) (@N5N3)
  • Julia Package Butler Updates (#331) (@github-actions[bot])
  • Large file limits for linting (#333) (@pfitzseb)
  • Nothing comparison with ==/!=: also check LHS for nothing (#334) (@fredrikekre)
  • Properly mark bindings for const-fields in mutable structs (#336) (@pfitzseb)
  • LoopOverLength check (#338) (@pfitzseb)
  • "Fix" is_overwritten_in_loop check (#339) (@pfitzseb)
  • Julia Package Butler Updates (#341) (@github-actions[bot])
  • Julia Package Butler Updates (#343) (@github-actions[bot])
  • recommend isnothing for comparing against nothing (#348) (@nsajko)
  • Julia Package Butler Updates (#350) (@github-actions[bot])
  • Fix field mismatch in setup_server (#359) (@jonathan-conder-sm)
  • Fix resolve_getfield for non standard identifiers (#360) (@BenPH)
  • Julia Package Butler Updates (#365) (@github-actions[bot])
  • fix(inf): improve type inference with destrcturing assignment (#371) (@pfitzseb)
  • fix(lint): fix unused farg detection nospecialize and kwargs (#372) (@pfitzseb)
  • feat: improve followinclude to check ref (#373) (@pfitzseb)
  • fix: correctly follow find definitions for macros (#374) (@pfitzseb)
  • Fix ERROR: type DataTypeStore has no field val (#376) (@staticfloat)
  • feat: print file path on failure in loadfile (#377) (@pfitzseb)
  • Julia Package Butler Updates (#379) (@github-actions[bot])

Closed issues:

  • Add lint for for i=1:length(v) (#337)
  • support for const fields of Julia 1.8? (#340)
  • Recommend pairs over enumerate (#347)
  • Undetected syntax error (#353)
  • FileServer has no field symbolserver (#358)
  • align_matrix yields invalid matrix in combination with missing float "0" (#363)
  • Path separator recognized as binary operator in Markdown file (#364)

v8.1.0

23 Dec 00:28
Compare
Choose a tag to compare

StaticLint v8.1.0

Diff since v8.0.1

Closed issues:

  • Unused variable warning for global assignment (#296)
  • local is ignored? (#293)
  • "Possible method call error" for function arguments (#294)
  • Core.eval "Possible method call error" (#295)
  • Compare against nothing (#297)
  • Linter bug with documented function (#309)
  • Missing "Assigned but not used" warning when same symbol used in local function (#314)

Merged pull requests:

v8.0.1

29 Jul 22:06
Compare
Choose a tag to compare

StaticLint v8.0.1

Diff since v8.0.0

Merged pull requests:

  • Allow using statements to access packages loaded within workspace (#103) (@ZacLN)
  • fix import as linting for incomplete expressions (#289) (@pfitzseb)
  • disable non-at-eval macrocall linting (#290) (@pfitzseb)
  • fix check call for a binding::Function without methods (#300) (@ZacLN)
  • Disable workspace packages for now (#301) (@davidanthoff)

v8.0.0

25 May 19:30
Compare
Choose a tag to compare

StaticLint v8.0.0

Diff since v7.0.0

Closed issues:

  • Possible method call error showing up on some simple code (#256)
  • Wrong "cannot define a function it already has a value" (#277)
  • Broken scopes in JMDs (#280)
  • no method hasparent(::StaticLint.Binding) (#284)

Merged pull requests:

  • Fix some bugs, improve type inference, a bit of a tidy (#250) (@ZacLN)
  • add infrastructure for file-specific environments (#251) (@ZacLN)
  • be more careful when trying to resolve export statements early (#252) (@ZacLN)
  • Fix traverse order for :parameters, typealias bindings and add repeated func names check (#254) (@ZacLN)
  • check for unused bindings (#255) (@ZacLN)
  • fix rem_wheres_decls use (#257) (@ZacLN)
  • fix sig unwrapping (#258) (@ZacLN)
  • check_call fix (don't match sig against nothing) (#259) (@ZacLN)
  • Clean Binding references more thoroughly (#260) (@ZacLN)
  • stop overwriting struct params (#261) (@ZacLN)
  • add get_named_toplevel_module default method (#262) (@ZacLN)
  • Type inf improvements (#263) (@ZacLN)
  • check bincall length (#264) (@ZacLN)
  • binding check (#266) (@ZacLN)
  • Add check for NULL in possible paths (#267) (@ZacLN)
  • infer where type param types (#268) (@pfitzseb)
  • respect soft scope and stop clobbering bindings (#269) (@pfitzseb)
  • Tidy (#270) (@ZacLN)
  • fix loose_refs (#271) (@ZacLN)
  • fix collection of parameters w/o default vals (#272) (@ZacLN)
  • Julia Package Butler Updates (#273) (@github-actions[bot])
  • handle import .. as .. syntax (#276) (@ZacLN)
  • fix (#278) (@ZacLN)
  • Julia Package Butler Updates (#283) (@github-actions[bot])
  • add check for is a EXPR (#285) (@ZacLN)
  • check isid before valofid (#286) (@ZacLN)
  • CompatHelper: bump compat for "SymbolServer" to "7.0" (#287) (@github-actions[bot])

v7.0.0

26 Jan 01:47
Compare
Choose a tag to compare

StaticLint v7.0.0

Diff since v6.0.1

Merged pull requests:

v6.0.1

23 Jan 00:44
Compare
Choose a tag to compare

StaticLint v6.0.1

Diff since v6.0.0

Merged pull requests:

  • CompatHelper: bump compat for "SymbolServer" to "6.0" (#246) (@github-actions[bot])

v6.0.0

22 Jan 22:25
Compare
Choose a tag to compare

StaticLint v6.0.0

Diff since v5.0.0

Closed issues:

  • API functions for CLI / REPL usage (#17)

Merged pull requests:

v5.0.0

11 Jan 18:00
Compare
Choose a tag to compare

StaticLint v5.0.0

Diff since v4.5.0

Closed issues:

  • Add check for assignment within lazy conditional checks (#100)
  • crash from accessing non-existant field FunctionStore.type (#188)
  • Fields in @NamedTuple (#210)
  • A non-DataType has been used in a type declaration when using alias (#216)
  • Linter: "Invalid redefinition of constant" in if-else block (#218)
  • Varargs notation ::Any... is incorrectly flagged as unsused variable (#226)
  • Splatting creates spurious warning about extending function without using module defined typed arguments (#224)

Merged pull requests: