Skip to content

Release v1.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Oct 08:00
· 1 commit to main since this release

echo-sense v1.1.0

Summary

  • Release range: v1.0.11 -> v1.1.0
  • Commits included: 45
  • Compare: v1.0.11...v1.1.0

Detailed Changes

CI & Packaging

  • ci: generate detailed release notes
    • Touched: .github/workflows/release.yml, scripts/generate_release_notes.py
  • chore: the repository is now echo-sense
    • Touched: .github/workflows/documentation.yml, .github/workflows/release.yml, Package.swift, README.md
  • ci: the standard release flow, docs and CI names
    • Touched: .github/docc-target, .github/scripts/generate_release_notes.py, .github/workflows/ci.yml, .github/workflows/documentation.yml, and 1 more
  • ci: release notes list at most the 150 newest commits
    • Touched: .github/scripts/generate_release_notes.py

EchoSense

  • fix: resolve compiler warnings (unused variables)
    • Touched: Sources/EchoSense/Internal/SQLContextParser.swift, Sources/EchoSense/SQLAutoCompletionEngine.swift
  • fix: demote Built-in schema to bottom of suggestions
    • Touched: Sources/EchoSense/Internal/TableSuggestionProvider.swift
  • fix: comprehensive suppression in clean API
    • Touched: Sources/EchoSense/SQLAutoCompletionEngine+Completions.swift
  • fix: suppress after completed WHERE expression
    • Touched: Sources/EchoSense/SQLAutoCompletionEngine+Completions.swift
  • fix: suppress keyword-only results for unresolved dot-paths
    • Touched: Sources/EchoSense/SQLAutoCompletionEngine+Completions.swift
  • feat: add swift-log dependency and targeted diagnostic logging
    • Touched: Package.resolved, Package.swift, Sources/EchoSense/Internal/Logger+EchoSense.swift, Sources/EchoSense/Internal/SQLCompletionEngine.swift, and 2 more
  • feat: cross-database completion support
    • Touched: Sources/EchoSense/Internal/ColumnSuggestionProvider.swift, Sources/EchoSense/Internal/SQLCompletionEngine.swift, Sources/EchoSense/Internal/SQLContextParser.swift, Sources/EchoSense/Internal/SuggestionBuilder.swift, and 8 more
  • fix: suppress database suggestions with empty prefix, add database origin
    • Touched: Sources/EchoSense/Internal/TableSuggestionProvider.swift, Sources/EchoSense/SQLAutoCompletionEngine+Mapping.swift, Tests/EchoSenseTests/CrossDatabaseCompletionTests.swift
  • Fix cross-database schema origin in completion mapper
    • Touched: Sources/EchoSense/SQLAutoCompletionEngine+Mapping.swift
  • Enforce path matching for cross-database completion filtering
    • Touched: Sources/EchoSense/SQLAutoCompletionEngine+Mapping.swift, proxmox_mcp.log
  • Show tables alongside schemas for cross-database completion
    • Touched: Sources/EchoSense/Internal/TableSuggestionProvider.swift
  • Fix cross-DB table insert text to include schema
    • Touched: Sources/EchoSense/Internal/TableSuggestionProvider.swift
  • Fix cross-DB disambiguation: prefer local schema over database name
    • Touched: Sources/EchoSense/Internal/TableSuggestionProvider.swift
  • Fix cross-DB completion: filter default-DB tables and fix origin lookup
    • Touched: Sources/EchoSense/SQLAutoCompletionEngine+Mapping.swift
  • Fix matchesQuery filtering out column suggestions after alias prefix stripping
    • Touched: Sources/EchoSense/SQLAutoCompletionEngine+Mapping.swift
  • feat: statement-scoped autocomplete via keyword-anchored segmenter
    • Touched: Sources/EchoSense/Internal/SQLContextParser.swift, Sources/EchoSense/Internal/SQLStatementSegmenter.swift, Tests/EchoSenseTests/SQLStatementSegmenterTests.swift
  • fix: stabilise CI by repairing schema-dot/db-dot and isolating history
    • Touched: Sources/EchoSense/Internal/TableSuggestionProvider.swift, Sources/EchoSense/SQLAutoCompletionEngine+Mapping.swift, Sources/EchoSense/SQLAutoCompletionEngine+Ranking.swift, Sources/EchoSense/SQLAutoCompletionEngine.swift
  • feat: column facts on suggestions (nullability, primary key, foreign key target)
    • Touched: Sources/EchoSense/SQLAutoCompletionEngine+Mapping.swift, Sources/EchoSense/SQLAutoCompletionModels.swift, Tests/EchoSenseTests/ColumnFactsTests.swift
  • feat(scripts): statement splitting, statement at caret, GO batches and SQLCMD move into EchoSense (public API, tests moved from Echo)
    • Touched: Sources/EchoSense/Scripts/MSSQLBatchSplitter.swift, Sources/EchoSense/Scripts/SQLCMDPreprocessor.swift, Sources/EchoSense/Scripts/SQLStatementAtCaret.swift, Sources/EchoSense/Scripts/TSQLStatementSplitter.swift, and 4 more
  • perf: index catalog lookups by name; map built-in functions without lookups
    • Touched: Sources/EchoSense/Internal/Metadata/SQLMetadataCatalog.swift, Sources/EchoSense/SQLAutoCompletionEngine+Mapping.swift, Tests/EchoSenseTests/SQLMetadataCatalogTests.swift

Other

  • chore: harden .gitignore against agent-generated artifacts
    • Touched: .gitignore

Documentation

  • chore: clean up repo root
    • Touched: .github/scripts/generate_release_notes.py, .github/workflows/release.yml, .gitignore, docs/css/39.cc2d61d1.css, and 876 more

EchoSenseScenarios

  • feat: EchoSenseScenarios, scenarios as data with a runner, a CLI and tests (125 imported from the spec)
    • Touched: Package.swift, Scripts/import-spec-scenarios.py, Sources/EchoSenseScenarioCLI/ScenarioCLI.swift, Sources/EchoSenseScenarios/CompletionScenario.swift, and 26 more
  • fix: Outcome.nothing instead of .none, which collided with Optional.none
    • Touched: Sources/EchoSenseScenarios/CompletionScenario.swift, Sources/EchoSenseScenarios/CompletionScenarioRunner.swift, Sources/EchoSenseScenarios/Scenarios/select-clause.json
  • feat: editor trigger policy in EchoSense (single source for Echo), scenarios run through it; expectations for 62 more spec scenarios
    • Touched: Sources/EchoSense/SQLEditorTriggerPolicy.swift, Sources/EchoSenseScenarios/CompletionScenarioRunner.swift, Sources/EchoSenseScenarios/ScenarioSchemas.swift, Sources/EchoSenseScenarios/Scenarios/cross-database-mssql.json, and 17 more
  • feat: editor acceptance (SQLEditorAcceptance) in EchoSense; scenarios check the editor's popup, selection and text after accepting
    • Touched: Sources/EchoSense/SQLEditorAcceptance.swift, Sources/EchoSenseScenarioCLI/ScenarioCLI.swift, Sources/EchoSenseScenarios/CompletionScenarioRunner.swift, Sources/EchoSenseScenarios/Scenarios/dot-path-completions.json, and 5 more
  • feat: scenarios can accept a suggestion first (afterAccepting, thenTyped) to check post-commit behaviour
    • Touched: Sources/EchoSenseScenarios/CompletionScenario.swift, Sources/EchoSenseScenarios/CompletionScenarioRunner.swift, Sources/EchoSenseScenarios/Scenarios/suppression-rules.json
  • feat: 17 authored scenarios (insert text, quoting, functions by dialect, keywords) and a quoting schema; EchoExpectation.accept
    • Touched: Sources/EchoSenseScenarios/CompletionScenario.swift, Sources/EchoSenseScenarios/CompletionScenarioRunner.swift, Sources/EchoSenseScenarios/ScenarioSchemas.swift, Sources/EchoSenseScenarios/Scenarios/functions-by-dialect.json, and 3 more
  • fix: scenario outcome spelling; triage known issues
    • Touched: Sources/EchoSenseScenarios/Scenarios/functions-by-dialect.json, Sources/EchoSenseScenarios/Scenarios/identifier-quoting.json, Sources/EchoSenseScenarios/Scenarios/insert-text.json, Sources/EchoSenseScenarios/Scenarios/keywords-by-typing.json
  • feat(scenarios): expectations for the last nine spec scenarios; otherdb and procedures in the spec schema
    • Touched: Sources/EchoSenseScenarios/ScenarioSchemas.swift, Sources/EchoSenseScenarios/Scenarios/cross-database-mssql.json, Sources/EchoSenseScenarios/Scenarios/dot-path-completions.json, Sources/EchoSenseScenarios/Scenarios/edge-cases.json, and 3 more
  • feat(scenarios): domain scenarios (statements, statement at caret, GO batches, SQLCMD) with a generic runner and CLI; splitter fixes found by them (line numbers, quoted names, CASE END, BEGIN TRANSACTION, IF ELSE)
    • Touched: Package.swift, Scripts/author-domain-scenarios.py, Sources/EchoSense/Scripts/TSQLStatementSplitter.swift, Sources/EchoSenseScenarioCLI/ScenarioCLI.swift, and 9 more
  • feat(scenarios): domains for error line, run note, connection lost, table preview and grid selection; their logic moves into EchoSense (locale parameter; fixes for second/minute rounding and hexadecimal cells)
    • Touched: Scripts/author-domain-scenarios.py, Sources/EchoSense/Results/GridSelectionSummary.swift, Sources/EchoSense/Results/QueryConnectionLossText.swift, Sources/EchoSense/Results/QueryErrorLocation.swift, and 12 more
  • fix(scenarios): SPEC-24.3 is MSSQL and passes; clear its known issue
    • Touched: Sources/EchoSenseScenarios/Scenarios/cross-database-mssql.json, Sources/EchoSenseScenarios/Scenarios/dot-path-completions.json, Sources/EchoSenseScenarios/Scenarios/edge-cases.json, Sources/EchoSenseScenarios/Scenarios/join.json, and 2 more
  • feat(scenarios): JSON viewer domain; JsonValue moves into EchoSense (paths escape apostrophes, digits, brackets and empty names)
    • Touched: Scripts/author-domain-scenarios.py, Sources/EchoSense/Results/JsonValue.swift, Sources/EchoSenseScenarios/DomainScenarios/json-outline.json, Sources/EchoSenseScenarios/Domains/ScenarioDomains.swift, and 1 more
  • feat(scenarios): table DDL domain; SQLDialectGenerator moves into EchoSense (tests move too); SQL Server default constraints are named per table and quotes in names are escaped
    • Touched: Scripts/author-domain-scenarios.py, Sources/EchoSense/Results/SQLDialectGenerator.swift, Sources/EchoSenseScenarios/DomainScenarios/json-outline.json, Sources/EchoSenseScenarios/DomainScenarios/table-ddl.json, and 2 more
  • feat(scenarios): an expectation reads as checks; the verdict is built from them
    • Touched: Sources/EchoSenseScenarios/CompletionScenario.swift, Sources/EchoSenseScenarios/CompletionScenarioRunner+Checks.swift, Sources/EchoSenseScenarios/CompletionScenarioRunner.swift, Sources/EchoSenseScenarios/ScenarioCheck.swift, and 1 more
  • feat(scenarios): unquoted is public, so a host can match titles the way the checks do
    • Touched: Sources/EchoSenseScenarios/CompletionScenarioRunner.swift
  • feat(scenarios): order always matters; shared rules; comment threads; ranks and priorities
    • Touched: Package.swift, Sources/EchoSenseScenarioCLI/ScenarioCLI.swift, Sources/EchoSenseScenarios/CompletionScenario.swift, Sources/EchoSenseScenarios/CompletionScenarioRunner+Checks.swift, and 31 more
  • feat(scenarios): popup rules: groups of blocks (a kind of thing from a place), judged row by row
    • Touched: Sources/EchoSenseScenarios/CompletionScenario.swift, Sources/EchoSenseScenarios/CompletionScenarioRunner+Checks.swift, Sources/EchoSenseScenarios/CompletionScenarioRunner.swift, Sources/EchoSenseScenarios/PopupExpectation.swift, and 11 more
  • feat(results): the selection summary's figures for round 41.2
    • Touched: Sources/EchoSense/Results/GridSelectionSummary.swift, Sources/EchoSenseScenarios/DomainScenarios/grid-selection.json, Sources/EchoSenseScenarios/Domains/ScenarioDomains.swift
  • feat(results): the selection pill can add the sum and average (a Setting)
    • Touched: Sources/EchoSense/Results/GridSelectionSummary.swift, Sources/EchoSenseScenarios/DomainScenarios/grid-selection.json, Sources/EchoSenseScenarios/Domains/ScenarioDomains.swift