Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 54 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,63 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## v2.40.1 - 2026-02-12

### Fixed

- github: fix commenting via rust_crypto features in jsonwebtoken (#929). Thanks @lokiwins!

### Added

- parser: parse leading from clauses but warn they're not supported (#927)

```sql
from t select c;
```

now gives:

```
error[syntax-error]: Leading from clauses are not supported in Postgres
╭▸ stdin:1:1
1 │ from t select c;
╰╴━━━━━━
```

We also check for solo from clauses:

```sql
from t;
```

gives:

```
error[syntax-error]: Missing select clause
╭▸ stdin:1:1
1 │ from t
╰╴━
```

- parser: fix parsing any/all/some in exprs (#926)

```sql
select * from t order by all
```

now properly errors:

```sql
error[syntax-error]: expected expression in atom_expr
╭▸ stdin:1:26
1 │ select * from t order by all
╰╴ ━
```

Before it parsed `all` as a name reference.

- ide: goto def func call in on conflict (#925)
- ide: include language in sql builtins (#924)
- build(deps): bump the npm_and_yarn group across 4 directories with 8 updates (#923)
- build(deps): bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /squawk-vscode in the npm_and_yarn group across 1 directory (#921)
- build(deps): bump lodash from 4.17.15 to 4.17.23 in the npm_and_yarn group across 1 directory (#919)
- build(deps): bump webpack from 5.101.3 to 5.105.0 in /docs in the npm_and_yarn group across 1 directory (#922)
- build(deps): bump diff from 5.2.0 to 5.2.2 in /squawk-vscode in the npm_and_yarn group across 1 directory (#920)
- build(deps): bump tar from 7.4.3 to 7.5.7 in /playground in the npm_and_yarn group across 1 directory (#918)

## v2.40.0 - 2026-02-06

Expand Down
28 changes: 27 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ proc-macro2 = "1.0.95"
snapbox = { version = "0.6.0", features = ["diff", "term-svg", "cmd"] }
smallvec = "1.13.2"
tabled = "0.17.0"
etcetera = "0.11.0"

# local
# we have to make the versions explicit otherwise `cargo publish` won't work
Expand Down
14 changes: 14 additions & 0 deletions crates/squawk_ide/src/builtins.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub const BUILTINS_SQL: &str = include_str!("builtins.sql");

#[cfg(test)]
mod test {
use squawk_syntax::ast;

use crate::builtins::BUILTINS_SQL;

#[test]
fn no_errors() {
let parse = ast::SourceFile::parse(BUILTINS_SQL);
assert_eq!(parse.errors(), vec![]);
}
}
Loading
Loading