Skip to content

v0.1.2 - Security & Performance Release

Choose a tag to compare

@smartlabsAT smartlabsAT released this 05 Feb 23:16
· 6 commits to main since this release

🎉 Release v0.1.2

This release brings significant security enhancements, performance improvements, and a much cleaner codebase.

✨ Highlights

🔒 Security Enhancements

  • Added comprehensive input validation and sanitization for all MCP tools
  • Protection against XSS, injection attacks, and path traversal
  • Integrated SecurityValidator into 14 browser automation tools

🚀 Performance Improvements

  • Removed 675 lines of redundant code
  • Eliminated 26 non-functional mcp_* placeholder tools
  • Removed artificial 300ms startup delays from progressive loading system
  • Significantly reduced package size

🐛 Bug Fixes

  • Fixed all 34 TypeScript compilation errors
  • Resolved import and method naming issues in cache-debug commands
  • Added proper error type guards in validation commands
  • Fixed missing await keywords in migration commands

📦 What's Changed

Added

  • SecurityValidator class with comprehensive validation schemas
  • Input sanitization for JavaScript, CSS selectors, URLs, and text
  • Protection against dangerous operations in browser evaluate commands

Removed

  • progressive-tool-loader.ts (246 lines) - No more artificial delays
  • tool-naming-strategy.ts (274 lines) - Eliminated duplicate tool system
  • 153 lines of redundant tool registration logic from server.ts

Fixed

  • TypeScript compilation now passes with 0 errors
  • Build process runs cleanly
  • All functional browser tools preserved and working

📊 Stats

  • Code Removed: 675 lines
  • Tools Simplified: From 52 to 27 (only functional tools remain)
  • TypeScript Errors Fixed: 34
  • Build Time: Improved with cleaner architecture

🔧 Installation

```bash
npm install claude-playwright@0.1.2
```

📚 Documentation

See the README for usage instructions and examples.

Contributors

Full Changelog: v0.1.1...v0.1.2