github mr-karan/logchef v0.5.0

latest releases: cli-v0.1.4, v1.3.0, cli-v0.1.3...
4 months ago

What's New

Improved Query Language UX ✨

  • Pipe operator (|) to build custom SELECT with specific columns instead of default SELECT *
    • Example: namespace="prod" | namespace msg.level
    • Example: msg.level="ERROR" | timestamp msg.request.method
  • Dot notation (.) to parse infinite nested JSON columns, for both WHERE and SELECT
    • Dotted notation: log_attributes.user.name = "john"
    • Quoted field support: log_attributes."user.name" = "alice"
  • Type-aware SQL generation for Map, JSON, and String columns
image

Query History

  • localStorage-based query history per team-source
  • Shows last 10 recently executed queries
image

Enhanced Source Stats

  • Table schema information with column details and types
  • TTL expressions from CREATE TABLE statements
  • Sort keys and primary key display
  • Distributed table engine support
image

Improved Type Safety

  • Preserve quoted literals to avoid precision loss
  • Harden numeric coercion for large integers
  • BigInt checks for safe integer range

Structured Error Handling

  • Position-aware error reporting with line/column info
  • Parser continues after errors (shows all problems at once)
  • User-friendly error messages with suggestions
  • Comprehensive error codes with examples

Changelog

  • fee581e Merge pull request #54 from mr-karan/ql
  • ec9b162 chore: update sqlc
  • 7d24422 feat: add pipe operator for custom SELECT fields in LogchefQL
  • 167a549 feat: add query history UI components and service
  • cc145fc feat: complete LogChefQL P1 roadmap features
  • 2c55ea8 feat: enhance source stats with schema and TTL information
  • 2ef5b4c feat: implement P1 structured error handling for LogChefQL
  • 313bd8f feat: implement Phase 2 P0 safety improvements for LogchefQL
  • ba3b97f feat: implement advanced JSON/Map field querying in LogchefQL
  • 34fc0cb feat: implement query history with localStorage storage
  • 202488a fix(logchefql): preserve quoted literals and harden numeric coercion to avoid precision loss

Don't miss a new logchef release

NewReleases is sending notifications on new releases.