Features
portless runsubcommand: Automatically infer the project name frompackage.json, git root, or directory name instead of specifying it manually. (#55)portless aliascommand: Register routes for services not spawned by portless (e.g. Docker containers with published ports). Aliases persist across stale-route cleanup. (#73)PORTLESS_URLenv var: Child processes now receivePORTLESS_URLcontaining the public.localhostURL (e.g.http://myapp.localhost:1355) so apps can self-reference their own URL. (#56)--app-portflag: Specify a fixed port for the app instead of automatic assignment. Also configurable viaPORTLESS_APP_PORTenv var. Useful when integrating with tools that provide their own port. (#72)- Wildcard subdomain routing: Subdomains now match registered hostnames (e.g.
tenant.myapp.localhostmatchesmyapp.localhost). Exact matches take priority over wildcard matches. (#71) /etc/hostssync: Automatically sync.localhosthostnames to/etc/hostsfor environments where.localhostdoes not resolve to127.0.0.1by default. (#74)- Multi-distro Linux CA trust:
portless trustnow supports Arch, Fedora/RHEL/CentOS, and openSUSE in addition to Debian/Ubuntu. Falls back to command probing when/etc/os-releasedetection fails. (#45) - Expo and React Native support: Auto-inject
--portand--hostflags forexpo startandreact-native start. (#42) - Branded error and status pages: The proxy now renders styled HTML pages for 404, 502, 508, and other status codes instead of plain text. (#70)
Bug Fixes
- Stream errors: Handle proxy stream errors gracefully to prevent unhandled exceptions from crashing the proxy. (#57)
Install / Upgrade
npm install -g portless@0.5.0