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
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ All notable changes to sqlguardllm are documented here. The format follows [Keep

## [Unreleased]

## [0.5.0a7] - 2026-11-27

Fixes the macOS engine packages on npm (they could not run after `npm install`); see Fixed.

### Fixed
- **npm: the macOS engine packages could not run.** npm does not keep symlinks in packages, and the macOS engine (Python.framework) has four, so after `npm install` its digest no longer matched the built-in one and the client refused to start it (`engine_digest_mismatch`). The packages now carry real copies instead of symlinks, and CI unpacks every packed platform package and checks the digest of the installed engine, which a file list cannot show. Affects 0.5.0-alpha.5 and 0.5.0-alpha.6 on macOS (Linux and Windows were not affected).


## [0.5.0a6] - 2026-11-27

The NuGet package now carries the engine for five runtimes and the integrations package is published with it; Node and .NET local mode are tested on Linux, macOS and Windows.
Expand Down Expand Up @@ -176,7 +179,8 @@ First alpha. Installed with `pip install sqlguardllm` and imported as `import sq
- Table functions are rejected, even harmless ones like `generate_series`.
- No command-line tool yet (planned for v0.2).

[Unreleased]: https://github.com/jmmana/sqlguardllm/compare/v0.5.0a6...HEAD
[Unreleased]: https://github.com/jmmana/sqlguardllm/compare/v0.5.0a7...HEAD
[0.5.0a7]: https://github.com/jmmana/sqlguardllm/compare/v0.5.0a6...v0.5.0a7
[0.5.0a6]: https://github.com/jmmana/sqlguardllm/compare/v0.5.0a5...v0.5.0a6
[0.5.0a5]: https://github.com/jmmana/sqlguardllm/compare/v0.5.0a4...v0.5.0a5
[0.5.0a4]: https://github.com/jmmana/sqlguardllm/compare/v0.5.0a3...v0.5.0a4
Expand Down
2 changes: 1 addition & 1 deletion README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Tu modelo escribe SQL. **sqlguardllm** se asegura de que solo pueda leer lo perm
</div>

> [!NOTE]
> **Estado: alfa.** La versión `0.5.0a6` está en [PyPI](https://pypi.org/project/sqlguardllm/) (`pip install sqlguardllm`, `import sqlguardllm`), con las reglas de [docs/DESIGN.md](docs/DESIGN.md), límites opcionales de complejidad y un corpus de desarrollo de 148 casos. La API puede cambiar antes de la 1.0; los códigos de violación son estables. Dale ⭐ para seguir el avance y opina en [Discussions](https://github.com/jmmana/sqlguardllm/discussions).
> **Estado: alfa.** La versión `0.5.0a7` está en [PyPI](https://pypi.org/project/sqlguardllm/) (`pip install sqlguardllm`, `import sqlguardllm`), con las reglas de [docs/DESIGN.md](docs/DESIGN.md), límites opcionales de complejidad y un corpus de desarrollo de 148 casos. La API puede cambiar antes de la 1.0; los códigos de violación son estables. Dale ⭐ para seguir el avance y opina en [Discussions](https://github.com/jmmana/sqlguardllm/discussions).
>
> La documentación técnica está en inglés para llegar a más desarrolladores. Los issues y PR en español son bienvenidos.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Your model writes SQL. **sqlguardllm** makes sure it can only read what it's all
</div>

> [!NOTE]
> **Status: alpha.** `0.5.0a6` is on [PyPI](https://pypi.org/project/sqlguardllm/) (`pip install sqlguardllm`, `import sqlguardllm`), with the rules of [docs/DESIGN.md](docs/DESIGN.md), optional complexity limits and a 148-case development corpus. The API may still change before 1.0; violation codes are stable. ⭐ Star the repo to follow along, and tell us what you think in [Discussions](https://github.com/jmmana/sqlguardllm/discussions).
> **Status: alpha.** `0.5.0a7` is on [PyPI](https://pypi.org/project/sqlguardllm/) (`pip install sqlguardllm`, `import sqlguardllm`), with the rules of [docs/DESIGN.md](docs/DESIGN.md), optional complexity limits and a 148-case development corpus. The API may still change before 1.0; violation codes are stable. ⭐ Star the repo to follow along, and tell us what you think in [Discussions](https://github.com/jmmana/sqlguardllm/discussions).

---

Expand Down
2 changes: 1 addition & 1 deletion clients/dotnet/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- One version for the four packages (SqlGuardLlm, SqlGuardLlm.Extensions, SqlGuardLlm.EntityFrameworkCore,
SqlGuardLlm.SemanticKernel). release.yml requires it to equal the engine release (pyproject.toml). -->
<PropertyGroup>
<Version>0.5.0-alpha.6</Version>
<Version>0.5.0-alpha.7</Version>
<!-- SourceLink (built into the .NET SDK), symbol packages (.snupkg) and reproducible builds. -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
Expand Down
4 changes: 2 additions & 2 deletions clients/dotnet/smoke/Smoke.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<!-- Consumes the PACKED SqlGuardLlm package (clients/dotnet/out), the way a user does. Not part of SqlGuardLlm.sln.
Restore with the version just packed: dotnet publish -p:SqlGuardLlmVersion=0.5.0-alpha.6 -r <rid> ... -->
Restore with the version just packed: dotnet publish -p:SqlGuardLlmVersion=0.5.0-alpha.7 -r <rid> ... -->
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<SqlGuardLlmVersion Condition="'$(SqlGuardLlmVersion)' == ''">0.5.0-alpha.6</SqlGuardLlmVersion>
<SqlGuardLlmVersion Condition="'$(SqlGuardLlmVersion)' == ''">0.5.0-alpha.7</SqlGuardLlmVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions clients/node/package-lock.json

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

2 changes: 1 addition & 1 deletion clients/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sqlguardllm",
"version": "0.5.0-alpha.6",
"version": "0.5.0-alpha.7",
"description": "Official Node.js/TypeScript client for the sqlguardllm SQL firewall server",
"license": "Apache-2.0",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion docs/PROTOCOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Every request has an `id` (string or integer) and a `type`; the response echoes

```
→ {"id": 1, "type": "hello"}
← {"id": 1, "type": "hello", "protocol": 1, "engine_version": "0.5.0a6", "dialects": ["bigquery", …]}
← {"id": 1, "type": "hello", "protocol": 1, "engine_version": "0.5.0a7", "dialects": ["bigquery", …]}
→ {"id": 2, "type": "load_policy", "policy": {"dialect": "postgres", "tables": ["invoices"]}}
← {"id": 2, "type": "load_policy", "handle": "p1"}
→ {"id": 3, "type": "check", "handle": "p1", "sql": "SELECT id FROM invoices", "context": null}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "sqlguardllm"
version = "0.5.0a6"
version = "0.5.0a7"
description = "The SQL firewall for LLM apps: validate SQL written by AI and rewrite it read-only, allowlisted, row-filtered and limited."
readme = "docs/pypi.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

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

Loading