Skip to content

v0.1.1 - Test Coverage Improvements & SDK Bug Fixes

Choose a tag to compare

@Dancode-188 Dancode-188 released this 03 Dec 02:44
· 112 commits to main since this release

What's Changed

🐛 Bug Fixes

  • SDK: Fixed document initialization and integration test failures (PR #10 by @matthewcorven)
  • Resolved async initialization race conditions
  • Fixed integration test suite to properly wait for document initialization
  • Improved test reliability and determinism

✨ New Features

  • Binary Protocol Tests: Added comprehensive test coverage for production WebSocket binary protocol
  • 7 new binary protocol integration tests
  • Tests now verify actual production protocol used by SDK clients
  • Validates all message types and encoding/decoding

🔧 Improvements

  • Test Infrastructure: Enhanced test suite to use binary protocol adapters across all test categories

  • All integration tests now use BinaryAdapter (matches production SDK behavior)

  • Load tests updated for binary protocol (73 tests)

  • Chaos tests updated for binary protocol (86 tests)

  • Total test count: 410 tests with 100% pass rate ✅ (up from 385 tests)

  • Improved test realism - tests now verify actual production code paths

  • Code Quality: Removed debug logging and unused code for cleaner production builds

  • Removed verbose debug console.log statements

  • Cleaned up unused methods and dead code

  • Fixed TypeScript warnings

📚 Documentation

  • Updated test coverage documentation across all docs
  • Test count updated from 385 to 410 tests
  • Added binary protocol test category to documentation

📦 Installation

npm install @synckit-js/sdk@0.1.1
npm install @synckit-js/server@0.1.1

🙏 Contributors

Full Changelog: v0.1.0...v0.1.1