Skip to content

v0.14.0 - Advanced Code Analysis & JavaScript Validation

Choose a tag to compare

@jwesleye jwesleye released this 24 Nov 18:54
· 5 commits to main since this release

🚀 New Features

Advanced Code Analysis Module (#7)

Comprehensive security, performance, and compliance detection capabilities:

Dependency Analyzers (3 tools):

  • detect_circular_imports - DFS-based circular dependency detection
  • find_unused_dependencies - Identify declared but unused packages
  • analyze_import_cycles - Comprehensive import graph analysis

Security Scanners (3 tools):

  • detect_sql_injection_patterns - SQL injection vulnerability detection
  • find_xss_vulnerabilities - Cross-site scripting pattern detection
  • scan_for_hardcoded_credentials - Credential and secret scanning

Performance Detectors (3 tools):

  • identify_n_squared_loops - O(n²) nested loop anti-pattern detection
  • detect_memory_leak_patterns - Memory leak pattern identification
  • find_blocking_io - Blocking I/O operation detection

Compliance Checkers (3 tools):

  • check_gdpr_compliance - GDPR compliance validation
  • validate_accessibility - WCAG accessibility checking
  • detect_license_violations - License compatibility verification

JavaScript/TypeScript Validation Module (#20)

12 validation tools for modern JavaScript/TypeScript development:

  • validate_javascript_syntax - Parse and validate JavaScript/TypeScript syntax
  • validate_typescript_types - TypeScript type validation
  • check_javascript_security - Security vulnerability detection (XSS, eval, etc.)
  • analyze_javascript_complexity - Cyclomatic complexity analysis
  • extract_javascript_functions - Function signature extraction
  • validate_jsx_syntax - React JSX validation
  • check_import_usage - Import statement validation
  • validate_async_patterns - Async/await pattern validation
  • check_promise_handling - Promise error handling validation
  • analyze_event_handlers - Event handler analysis
  • validate_module_structure - ES6 module structure validation
  • detect_javascript_antipatterns - Anti-pattern detection

Dependency Analysis Module (#11)

12 tools for comprehensive dependency management:

  • analyze_package_json - Parse and analyze package.json files
  • check_dependency_conflicts - Detect version conflicts
  • find_outdated_dependencies - Identify outdated packages
  • analyze_dependency_tree - Build and analyze dependency trees
  • detect_circular_dependencies - Find circular dependency chains
  • analyze_requirements_txt - Parse Python requirements.txt
  • check_pyproject_dependencies - Validate pyproject.toml dependencies
  • find_unused_packages - Identify unused installed packages
  • analyze_gemfile - Parse Ruby Gemfile
  • analyze_cargo_toml - Parse Rust Cargo.toml
  • analyze_go_mod - Parse Go go.mod files
  • compare_lock_files - Compare lock file versions

📊 Statistics

  • Total Tools: 322 (+36 from v0.13.0)
  • Test Coverage: 84% overall
  • Test Pass Rate: 99% (1,959/1,981 tests passing)
  • Code Quality: 100% ruff + 100% mypy compliance

🔧 Improvements

  • Applied ruff formatting to 22 files
  • Fixed 17 ruff linting issues
  • Updated helper tests for correct tool count
  • Enhanced test coverage for new modules

📦 Installation

pip install coding-open-agent-tools==0.14.0

🔗 Full Changelog

v0.13.0...v0.14.0