Skip to content

Releases: scalytics/kshark-core

kshark v1.1.0

27 Mar 09:05

Choose a tag to compare

What's New in v1.1.0

Architecture

  • Extract scan.go from main.go — scan orchestration logic split into its own file (main.go: 1011 → 685 lines)
  • Context threadingcheckDNS, checkTCP, wrapTLS now accept context.Context for proper cancellation propagation
  • DialContext in neighborhood scan — replaced DialTimeout with DialContext for correct timeout semantics

Test Coverage

  • 61 new test functions across 10 test files (total: 261 unit + 3 fuzz)
  • Statement coverage: 40.5% → 61.6% (cmd/kshark)
  • Key functions now covered: checkDNS (100%), checkTCP (100%), wrapTLS (100%), runScan (66%), runConnectorProbe (64%), mtuCorrelation (100%), writeHTMLReport (77%)
  • Context cancellation tests for DNS and TCP probes
  • New connector_test.go covering MongoDB, PostgreSQL, unsupported types, password redaction

Bug Fixes

  • Fixed 4 go vet mutex-copy warnings in diff_test.go and trend_test.go
  • Removed unused crypto/tls import from redis.go

Documentation

  • Added Code Quality section to README with coverage metrics
  • Updated Project Structure to reflect scan.go extraction
  • Added MySQL, SQL Server, Oracle, Redis, Elasticsearch to Supported Connectors table
  • Added acceptance protocol document

Quality Metrics

Metric Value
Coverage (cmd/kshark) 61.6%
Coverage (connectapi) 75.7%
Coverage (probe) 72.3%
Test functions 261 + 3 fuzz
go vet warnings 0
Race conditions 0

Supported Connector Targets

MongoDB, PostgreSQL, IBM DB2, MySQL, SQL Server, Oracle, Redis, Elasticsearch

Full Changelog

v0.26.0...v1.1.0

kshark v0.26.0

25 Mar 23:28

Choose a tag to compare

kshark v0.26.0

Cross-platform Kafka connectivity diagnostic tool.

Changelog

Features

  • 39d31a7 feat: add connector config probe (SPEC-002) + SSRF protection + AI prompt improvements
  • dc4e6d6 feat: add integration testbed + fix Connect API fallback to WARN
  • 2763881 feat: extract SASL credentials from sasl.jaas.config as fallback

Other


Full Changelog: v0.25.4...v0.26.0

kshark v0.25.4

11 Feb 14:25

Choose a tag to compare

kshark v0.25.4

Cross-platform Kafka connectivity diagnostic tool.

Changelog

Other

  • 8cf0deb Fix consume probe: use FirstOffset instead of LastOffset

Full Changelog: v0.25.3...v0.25.4

kshark v0.25.3

11 Feb 14:18

Choose a tag to compare

kshark v0.25.3

Cross-platform Kafka connectivity diagnostic tool.

Changelog

Other

  • ecbc9e7 Fix consume probe timeout on Confluent Cloud
  • bb5b11f Update kshark binary with produce/consume Confluent Cloud fixes

Full Changelog: v0.25.2...v0.25.3

kshark v0.25.2

11 Feb 13:59

Choose a tag to compare

kshark v0.25.2

Cross-platform Kafka connectivity diagnostic tool.

Changelog

Other

  • ea61d88 Fix produce probe protocol corruption on Confluent Cloud
  • 3963be8 Release v0.25.2

Full Changelog: v0.25.1...v0.25.2

kshark v0.25.1

11 Feb 12:22
478b61b

Choose a tag to compare

kshark v0.25.1

Cross-platform Kafka connectivity diagnostic tool.

Changelog

Other

  • 80bea07 Fix NOT_LEADER_FOR_PARTITION error with Confluent Cloud
  • 478b61b Merge pull request #8 from scalytics/claude/fix-kshark-confluent-error-XOQbE

Full Changelog: v0.25.0...v0.25.1

kshark v0.25.0

11 Feb 10:54

Choose a tag to compare

kshark v0.25.0

Cross-platform Kafka connectivity diagnostic tool.

Changelog

Other


Full Changelog: v0.24.0...v0.25.0

kshark v0.24.0

11 Feb 10:50

Choose a tag to compare

kshark v0.24.0

Cross-platform Kafka connectivity diagnostic tool.

Changelog

Other


Full Changelog: v0.21.8...v0.24.0

kshark v0.23.0

11 Feb 10:37

Choose a tag to compare

kshark v0.23.0

Cross-platform Kafka connectivity diagnostic tool.

Changelog

Other


Full Changelog: v0.21.8...v0.23.0

kshark v0.22.1

11 Feb 10:19

Choose a tag to compare

kshark v0.22.1

Cross-platform Kafka connectivity diagnostic tool.

Changelog

Other


Full Changelog: v0.21.8...v0.22.1