Skip to content

Commit a3063f0

Browse files
Merge pull request #18 from davidsmfreire/feat/roadmap-and-review-fixes
fix(deps): bump pyo3 to clear RUSTSEC-2025-0020 + docs refresh
2 parents f847d48 + f1bca97 commit a3063f0

9 files changed

Lines changed: 130 additions & 101 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,23 @@ From the first tagged release onward, this file is maintained by
1616
- CI matrix across ubuntu/macos/windows with fmt + clippy + cargo-deny gates.
1717
- `dependabot`, `release-plz`, `cargo-deny`, and `CHANGELOG.md` infrastructure.
1818
- MSRV declared as 1.80 (earliest version supporting `std::sync::LazyLock`).
19+
- Go SQL extractor (`finder/go.rs`): raw / interpreted string literals
20+
and `fmt.Sprintf`-style verbs.
21+
- JavaScript / TypeScript SQL extractor (`finder/javascript.rs`):
22+
single-, double-, and template-string literals across `.js`, `.ts`,
23+
and `.tsx`; `${…}` substitutions stripped before parsing.
24+
- `MERGE INTO … USING … ON … WHEN [NOT] MATCHED` validation
25+
(`validation/clauses/merge.rs`).
26+
- Postgres-aware identifier folding (`schema::sql::fold_ident`):
27+
unquoted identifiers fold to lower case, quoted identifiers preserve
28+
case. Other dialects keep ASCII case-insensitive matching.
29+
- `sqlshield-introspect` crate: live schema reader for Postgres and
30+
SQLite. Wired into the CLI as `--db-url` (and `db_url` in
31+
`.sqlshield.toml`); mutually exclusive with `--schema`.
32+
- First-party VS Code extension under `editors/vscode/` wrapping
33+
`sqlshield-lsp` over stdio.
34+
- LSP filetype coverage extended to `go`, `javascript`, `typescript`,
35+
and `typescriptreact` alongside `python`, `rust`, and `sql`.
1936

2037
### Changed
2138
- `validate_files` now returns `Result` rather than panicking on schema load.

CONTRIBUTING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ Rough recipe:
5050
## Architecture at a glance
5151

5252
```
53-
Source file (*.py, *.rs)
53+
Source file (*.py, *.rs, *.go, *.js, *.ts, *.tsx)
5454
│ tree-sitter extracts string literals
5555
56-
SQL string (with {…} placeholders replaced by `1`)
56+
SQL string (with {…} / ${…} / fmt verbs replaced by `1`)
5757
│ sqlparser parses
5858
5959
AST (Vec<Statement>)
@@ -66,6 +66,9 @@ Vec<SqlValidationError>
6666
- `sqlshield-cli` — thin clap-based CLI wrapper
6767
- `sqlshield-py` — PyO3 bindings exposing `validate_query` / `validate_files`
6868
- `sqlshield-lsp` — Language Server for editor integration
69+
- `sqlshield-introspect` — live schema reader for Postgres / SQLite,
70+
consumed by the CLI's `--db-url` flag
71+
- `editors/vscode` — first-party VS Code extension wrapping `sqlshield-lsp`
6972

7073
## Releases
7174

0 commit comments

Comments
 (0)