Portless von Vercel Labs
v0.6.0: Benutzerdefinierte TLDs und neue Befehle
Portless v0.6.0 führt eine benutzerdefinierte TLD über --tld ein, ergänzt den Befehl portless get und das --name-Flag für portless run, und behebt HTTPS-Proxy- und DNS-Label-Probleme.
Features
- Custom TLD: Use
--tldto set a custom TLD (e.g..test) instead of.localhost. Configurable viaPORTLESS_TLDenv var. The proxy auto-syncs/etc/hostsfor custom TLDs when started with sudo. Warns about risky TLDs like.local(mDNS/Bonjour conflicts) and.dev(Google-owned, HSTS). Recommended:.test(IANA-reserved, no collision risk). (#93) portless getcommand: Print the URL for a service, useful for wiring services together (e.g.BACKEND_URL=$(portless get backend)). Applies worktree prefix detection by default; use--no-worktreeto skip it. (#88)--nameflag forportless run: Override the inferred base name while preserving the worktree prefix (e.g.portless run --name myapp next devin a worktree producesfix-ui.myapp.localhost). (#89)
Bug Fixes
- HTTPS proxy trust and stop on macOS with sudo: Fix CA trust check and
proxy stopwhen the proxy was started with sudo on macOS. (#98) - DNS label length for worktree hostnames: Truncate worktree-prefixed hostnames to respect the 63-character DNS label limit. (#87)