@@ -7,6 +7,107 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.6.1] ( https://github.com/softwaremill/tracevault/compare/v0.6.0...v0.6.1 ) - 2026-03-29
11+
12+ ### Added
13+
14+ - add keyset pagination types and rewrite IN-subqueries
15+ - add hook adapter architecture with multi-tool detection
16+ - add SQL indexes, materialized views, and tool field migration
17+ - add repository layer for analytics, policies, compliance, pricing, code_stories
18+ - add repository layer for sessions, events, commits
19+ - add repository layer for users, orgs, repos, api_keys
20+ - add AppError type with IntoResponse and permission helper
21+ - add top AI tools section to author detail page and fix DataTable clickability
22+ - register AI tools analytics routes
23+ - add AI tools analytics endpoints and software summary
24+ - add AI tool usage tracking (migration + extraction)
25+ - add top authors leaderboard to dashboard
26+ - add author detail endpoint
27+ - add user_id to AuthorLeaderboard, drop unused fields
28+ - register software analytics routes
29+ - add software user detail endpoint
30+ - add software analytics list endpoint
31+ - extract software usage from Bash events at ingest
32+ - add user_software_usage migration
33+ - add manual pricing sync endpoint and sync status endpoint
34+ - wire startup + daily background pricing sync
35+ - add sync_pricing function with diff, update, and recalculation
36+ - add LiteLLM JSON parsing with model mapping and tests
37+ - add source field to PricingEntry struct and queries
38+ - add pricing sync migration (source column + sync log table)
39+ - * (stream)* extract token usage and costs from transcript chunks in real-time
40+ - * (api)* add traces UI endpoints (sessions, commits, timeline, attribution, branches) and remove old traces module
41+ - * (branch-tracking)* track commits reaching branches and tags via webhooks
42+ - * (attribution)* add line-level attribution engine with confidence scoring
43+ - * (api)* add streaming event endpoint
44+ - * (api)* add commit push endpoint with file-level attribution
45+ - * (schema)* add streaming architecture tables
46+ - * (pricing)* add pricing CRUD and recalculate API endpoints
47+ - * (dashboard)* add handler and register GET /dashboard route
48+ - * (dashboard)* add compliance query
49+ - * (dashboard)* add KPI aggregation and sparkline queries
50+ - * (dashboard)* add types, response struct, and period range helper
51+ - register session detail API route
52+ - add session detail transcript parser with per-call breakdown
53+ - add model_pricing table with seed data
54+
55+ ### Changed
56+
57+ - migrate all handlers to AppError and repo/service layers
58+ - strip non-software data from software user detail endpoint
59+ - slim get_software to org-wide tools only
60+ - remove git-ai, compute attribution server-side from sessions
61+ - clean up v2 references in comments, remove dead code and legacy script
62+ - extract seal fields into commit_seals table in compliance and CI
63+ - extract seal fields into session_seals in dashboard compliance query
64+ - rename sessions_v2/commits_v2 in analytics
65+ - rename sessions_v2/commits_v2 in remaining files
66+ - rename sessions_v2/commits_v2 in traces_ui
67+ - rename sessions_v2/commits_v2 in stream and commit_push endpoints
68+ - consolidate migrations, remove v2 suffixes from schema
69+ - use real session model names for pricing instead of canonical names
70+ - extract shared recalculate_sessions_for_pricing function
71+ - migrate all queries from old sessions table to sessions_v2
72+ - remove old traces.rs and legacy endpoints entirely
73+ - pricing module to support DB-backed rates with fallback
74+
75+ ### Fixed
76+
77+ - remove needless borrows in encryption tests (clippy)
78+ - resolve CI failures — add dead_code allows and avoid CodeQL hard-coded password flag
79+ - use DB pricing rates during ingestion instead of hardcoded fallbacks
80+ - prevent duplicate token/cost accumulation from overlapping transcript batches
81+ - apply repo/author filters to AI summary and filter empty sessions
82+ - apply repo/author filters to software analytics query
83+ - cast SUM(total_tokens) to BIGINT in software user detail query
84+ - resolve TypeScript narrowing errors in software pages
85+ - use git CLI for clone/fetch to support all SSH key formats
86+ - update migration 008 to use renamed sessions table
87+ - populate tool frequency data in session analytics
88+ - compute duration and messages from fallback sources in analytics sessions
89+ - resolve clippy warning in startup sync
90+ - auto-sync repos on startup, improve attribution blame and error UX
91+ - fix attribution confidence scoring and deduplicate file changes
92+ - * (api)* restore legacy POST /traces endpoint for backward compatibility with old CLI
93+ - * (api)* add committed_at to GROUP BY for linked commits query
94+ - * (ui)* fix navigation responsiveness, transcript rendering, file change display, linked commits dedup, and branch tracking from commit-push
95+ - * (stream)* process piggybacked transcript lines on all event types, not just Transcript
96+ - * (dashboard)* cast SUM() results to int8 for sqlx type compatibility
97+ - * (dashboard)* fill sparkline date gaps and parallelize queries
98+ - never drop transcript records when message field is missing
99+ - remove audit log from login to avoid nil org_id FK violation
100+ - fix display github hashes for real commits
101+ - fix warnings
102+ - fix cargo clippy
103+
104+ ### Test
105+
106+ - add Tier 2 repo layer integration tests (api_keys, commits, policies, pricing, repos)
107+ - add API layer unit tests (policies, dashboard, pagination)
108+ - add server unit tests (auth, encryption, error, permissions, signing, pricing, config, attribution, stream)
109+ - add repository layer integration tests
110+
10111## [ 0.6.0] ( https://github.com/softwaremill/tracevault/compare/v0.5.0...v0.6.0 ) - 2026-03-29
11112
12113### Added
0 commit comments