Releases: mr-tanta/portkill
Releases · mr-tanta/portkill
v3.1.0 — Stability & Cross-Platform Release
What's New
20 bug fixes focused on stability, correctness, and wider platform support.
Bug Fixes
- Kill logic rewritten — proper SIGTERM → wait → SIGKILL escalation
- Silent exit crashes fixed —
set -eno longer kills the script on arithmetic operations - Config file security — replaced
sourcewith safe key=value parser - JSON output — properly escapes quotes, backslashes, and control characters
- macOS Bash 3.2 compatibility — removed
mapfiledependency - Process detection — added
ssas fallback;netstatno longer required - netstat parsing — platform-specific column extraction (was broken on Linux)
- Docker return codes —
kill_docker_container_by_portno longer returns error on success - lsof cache — consistent PID extraction between cached and fresh paths
- Whitelist parsing — fixed operator precedence bug
- Monitor display — dynamic line count instead of hardcoded 20
- Benchmark math — fallback path no longer requires
bc - Security scan — removed duplicate port entry
New Features
--no-colorflag for piped/scripted output- Automatic TTY detection (colors disabled when piping)
- All global variables properly initialized
Improvements
- Script reorganized into 10 labeled sections with table of contents
- History file only trimmed when exceeding threshold (was every write)
- Terminal scrollback preserved (no more
clear) - Help text includes NOTES section
- Version synced across all 20 packaging/documentation files
Packaging
- All packaging updated: Homebrew, DEB, RPM, AUR
netstatmoved from required to optional dependency
PortKill v3.0.0
🚀 Release v3.0.0
📦 Installation
brew tap mr-tanta/portkill
brew install portkill🔧 Usage
portkill 3000PortKill v2.3.2
🚀 Release v2.3.2
📦 Installation
brew tap mr-tanta/portkill
brew install portkill🔧 Usage
portkill 3000PortKill v2.3.1
🚀 Release v2.3.1
📦 Installation
brew tap mr-tanta/portkill
brew install portkill🔧 Usage
portkill 3000Full Changelog: v2.3.0...v2.3.1
PortKill v2.3.0
🚀 Release v2.3.0
📦 Installation
brew tap mr-tanta/portkill
brew install portkill🔧 Usage
portkill 3000Full Changelog: v2.2.2...v2.3.0
PortKill v2.2.2
🚀 Release v2.2.2
📦 Installation
brew tap mr-tanta/portkill
brew install portkill🔧 Usage
portkill 3000Full Changelog: v2.2.1...v2.2.2
PortKill v2.2.0
Release v2.2.0
What's New
- fix: add permissions for GitHub release creation
- fix: correct tar command path for GitHub Actions workspace
- fix: temporarily skip tests in release workflow
- fix: update tests to match v2.2.0 and work on macOS
- feat: add Process Tree Visualization with hierarchical display
Installation
Homebrew (Recommended)
brew tap mr-tanta/portkill
brew install portkillManual Installation
curl -sSL https://raw.githubusercontent.com/mr-tanta/portkill/main/install.sh | bashUsage
# Kill processes on port 3000
portkill 3000
# Kill processes on multiple ports
portkill 3000 8080 9000
# Kill processes on port range
portkill 3000-3005
# Interactive mode
portkill menuPortKill v2.1.0 - Port History & Analytics
PortKill v2.1.0 - Port History & Analytics
🚀 NEW FEATURE: Comprehensive Port History & Analytics
This release introduces powerful new capabilities to track, analyze, and export your port usage data.
🆕 What's New
Port History & Analytics System
- History Tracking: Automatic logging of all port operations with timestamps
- Usage Analytics: Discover your most frequently used ports and usage patterns
- Action Breakdown: See statistics on KILL, LIST, SCAN, and MONITOR operations
- Recent Activity: Track daily and weekly port usage trends
- Data Export: Export history in CSV, JSON, or raw formats
New Commands
portkill history # View recent port usage history
portkill history --analytics # Show comprehensive usage analytics
portkill history --csv # Export history in CSV format
portkill history --export json # Export in JSON format
portkill history --clear # Clean old history entriesEnhanced Interactive Menu
- Option 7: View operation history
- Option 8: Port usage analytics
- Option 9: Export history data
Developer Insights
This feature helps developers:
- Understand their development workflow patterns
- Identify most commonly used ports
- Track port management activity over time
- Export data for further analysis
📦 Installation
Homebrew (Recommended)
brew tap mr-tanta/portkill
brew install portkillManual Installation
curl -sSL https://raw.githubusercontent.com/mr-tanta/portkill/main/install.sh | bash🔧 Usage Examples
# Kill processes on port 3000
portkill 3000
# View your port usage history
portkill history
# Analyze your usage patterns
portkill history --analytics
# Export data for analysis
portkill history --export csv
# Interactive mode with new features
portkill menu🐛 Bug Fixes
- Resolved ShellCheck warnings for better code quality
- Improved error handling in history functions
- Enhanced shell compatibility
🚀 Coming Next
- Web dashboard for history visualization
- Port usage recommendations
- Advanced filtering options
Full Changelog: v2.0.0...v2.1.0