This release includes 1 breaking change for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
ReleasePort's take
Light signalIn v0.7.3 of SLayer, search, model summary, and inspection API responses now return compact previews by default, lowering token usage.
Why it matters: Compact previews reduce token cost for affected API calls; upgrade to v0.7.3 if you rely on these endpoints.
Summary
AI summarySearch and model summary responses are compact by default, reducing token cost.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Medium |
search, models_summary, and inspect_model now return compact previews by default. search, models_summary, and inspect_model now return compact previews by default. Source: llm_adapter@2026-06-10 Confidence: high |
— |
| Feature | Medium |
Optional short description (≤500 characters) can be attached to saved memories. Optional short description (≤500 characters) can be attached to saved memories. Source: llm_adapter@2026-06-10 Confidence: high |
— |
| Feature | Medium |
DatasourceConfig.description is now indexed for lexical and embedding search. DatasourceConfig.description is now indexed for lexical and embedding search. Source: llm_adapter@2026-06-10 Confidence: high |
— |
| Feature | Low |
edit_datasource refreshes datasource description embedding when changed (best-effort). edit_datasource refreshes datasource description embedding when changed (best-effort). Source: granite4.1:30b@2026-06-10-audit Confidence: low |
— |
| Feature | Low |
Cypher pre-filters can target Memory.description, Datasource.description, and Aggregation.description. Cypher pre-filters can target Memory.description, Datasource.description, and Aggregation.description. Source: granite4.1:30b@2026-06-10-audit Confidence: low |
— |
| Performance | Medium |
Compact defaults reduce MCP token cost on agent workloads by ~25%. Compact defaults reduce MCP token cost on agent workloads by ~25%. Source: granite4.1:30b@2026-06-10-audit Confidence: low |
— |
| Bugfix | Medium |
`slayer datasources create demo` no longer crashes on Windows with non‑Latin‑1 glyphs. `slayer datasources create demo` no longer crashes on Windows with non‑Latin‑1 glyphs. Source: llm_adapter@2026-06-10 Confidence: high |
— |
| Refactor | Low |
SQL dialect helpers consolidated under `slayer/sql/dialects/`; SQLite UDF import path updated. SQL dialect helpers consolidated under `slayer/sql/dialects/`; SQLite UDF import path updated. Source: llm_adapter@2026-06-10 Confidence: high |
— |
Full changelog
v0.7.3
A token-cost release for agents using SLayer over MCP: search and model summaries are now compact by default.
Smaller default responses
search, models_summary, and inspect_model now return short description previews instead of full bodies. On agent workloads this cuts MCP token cost by roughly 25%. Pass compact=False (or slayer search --verbose) to get the verbose pre-0.7.3 shape.
Memory descriptions
You can now attach an optional short summary (up to 500 characters) to each memory you save. Pass --description to slayer memory save, or set the description field on MCP save_memory / POST /memories. Memory descriptions are indexed for both lexical and embedding search, and they're what surfaces in compact search hits.
Datasource descriptions are now searchable
DatasourceConfig.description is indexed for lexical and embedding search, and edit_datasource refreshes the embedding when you change the description (best-effort if the embedding provider is unreachable). You can also write Cypher pre-filters against Memory.description, Datasource.description, and Aggregation.description.
Bug fixes
slayer datasources create demo no longer crashes on Windows when jafgen emits non-Latin-1 glyphs.
Dialect-specific code has been consolidated under slayer/sql/dialects/. If you previously imported the SQLite UDF helper from slayer.sql.sqlite_udfs, update to from slayer.sql.dialects.sqlite import register_sqlite_udfs.
Breaking Changes
- Renamed import path for SQLite UDF helper: `slayer.sql.sqlite_udfs` → `slayer.sql.dialects.sqlite.register_sqlite_udfs`
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Track SLayer, a semantic layer maintained by your agent
Get notified when new releases ship.
Sign up freeAbout SLayer, a semantic layer maintained by your agent
All releases →Related context
Related tools
Earlier breaking changes
- v0.7.1 Changes `search()` response to a single flat `results` list capped by `max_results`, removing separate `memories`, `example_queries`, and `entities` buckets.
- v0.7.1 Changes `search()` to return a single flat `results` list, removing per‑bucket caps.
- v0.6.3 Datasource names now reject dots, slashes, nulls, empty/whitespace; existing names containing '.' will fail validation on upgrade.
- v0.6.0 recall_memories surface entirely removed with no deprecation shim.
- v0.5.1 Two-mode reference semantics enforced: SQL mode accepts arbitrary SQL; DSL mode strictly resolves identifiers.
Beta — feedback welcome: [email protected]