Skip to content

Linter Fix, Parser & VSCode Improvements

Choose a tag to compare

@sbdchd sbdchd released this 20 Oct 02:20
· 594 commits to master since this release
8b6a435

Added

  • parser: improve error recovery for option lists in reindex, prepare,
    vacuum, copy, drop database, create type, create function,
    create table, create index (#684)

  • parser: improved error recovery for CTEs (#683)

    with
      a as (
         select 1
      ) -- <-- missing a comma
      b as (
         select 3
      )
    select 2;

    squawk now identifies the missing comma correctly:

      error[syntax-error]: missing comma
      ╭▸ stdin:4:6
      │
    4 │     ) -- <-- missing a comma
      ╰╴     ━
    
  • parser: improve error recovery of group by & distinct on (#695)

  • vscode: improved commenting behavior (#690)

Fixed

  • linter: fixed false positive with constraint-missing-not-valid (#694)

  • lexer: lex empty dollar quoted strings ($$$$) correctly (#691)

  • linter: identify table statement as fast (#688)

  • lsp: server logs no longer contain ansi codes which vscode garbles (#681)