Gasoline v5.7.0 Released
What’s New in v5.7.0
Section titled “What’s New in v5.7.0”This release focuses on reliability and developer experience improvements, with a new graceful shutdown system and improved extension connectivity.
Graceful Server Shutdown
Section titled “Graceful Server Shutdown”Stop running servers cleanly with the new --stop flag:
gasoline-mcp --stop # Stop server on default port (7890)gasoline-mcp --stop --port 8080 # Stop server on specific portThe shutdown uses a hybrid approach for maximum reliability:
- PID file (fast) - Reads process ID from
~/.gasoline-{port}.pid - HTTP endpoint (graceful) - Sends shutdown request to
/shutdown - lsof fallback - Finds process by port if other methods fail
Sync Protocol
Section titled “Sync Protocol”The extension now uses a server-sent events based /sync endpoint instead of polling. This means:
- Lower CPU usage when idle
- Faster response to server queries
- More reliable connection state tracking
Server Always Runs as Daemon
Section titled “Server Always Runs as Daemon”The --persist flag has been removed. The server now always runs as a background daemon that persists until explicitly stopped with --stop.
Internal Improvements
Section titled “Internal Improvements”- New regression test framework in
tests/regression/ - Comprehensive UAT test suite with shutdown tests
- Major documentation cleanup (40+ obsolete files removed)
- Better error handling for multi-client scenarios
Upgrade
Section titled “Upgrade”npx gasoline-mcp@5.7.0Or if you’ve installed globally:
npm install -g gasoline-mcp@5.7.0Full Changelog
Section titled “Full Changelog”See the complete list of changes on GitHub.