Skip to content

Releases: mr-tanta/portkill

v3.1.0 — Stability & Cross-Platform Release

08 Mar 02:46

Choose a tag to compare

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 fixedset -e no longer kills the script on arithmetic operations
  • Config file security — replaced source with safe key=value parser
  • JSON output — properly escapes quotes, backslashes, and control characters
  • macOS Bash 3.2 compatibility — removed mapfile dependency
  • Process detection — added ss as fallback; netstat no longer required
  • netstat parsing — platform-specific column extraction (was broken on Linux)
  • Docker return codeskill_docker_container_by_port no 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-color flag 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
  • netstat moved from required to optional dependency

PortKill v3.0.0

26 Sep 20:27

Choose a tag to compare

🚀 Release v3.0.0

📦 Installation

brew tap mr-tanta/portkill
brew install portkill

🔧 Usage

portkill 3000

PortKill v2.3.2

25 Sep 17:34

Choose a tag to compare

🚀 Release v2.3.2

📦 Installation

brew tap mr-tanta/portkill
brew install portkill

🔧 Usage

portkill 3000

PortKill v2.3.1

25 Sep 13:29

Choose a tag to compare

🚀 Release v2.3.1

📦 Installation

brew tap mr-tanta/portkill
brew install portkill

🔧 Usage

portkill 3000

Full Changelog: v2.3.0...v2.3.1

PortKill v2.3.0

25 Sep 09:39

Choose a tag to compare

🚀 Release v2.3.0

📦 Installation

brew tap mr-tanta/portkill
brew install portkill

🔧 Usage

portkill 3000

Full Changelog: v2.2.2...v2.3.0

PortKill v2.2.2

25 Sep 09:15

Choose a tag to compare

🚀 Release v2.2.2

📦 Installation

brew tap mr-tanta/portkill
brew install portkill

🔧 Usage

portkill 3000

Full Changelog: v2.2.1...v2.2.2

PortKill v2.2.0

25 Sep 01:39

Choose a tag to compare

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 portkill

Manual Installation

curl -sSL https://raw.githubusercontent.com/mr-tanta/portkill/main/install.sh | bash

Usage

# 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 menu

PortKill v2.1.0 - Port History & Analytics

25 Sep 01:17

Choose a tag to compare

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 entries

Enhanced 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 portkill

Manual 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