Zum Inhalt springen

Portless Updates & Release Notes

Einträge
41
Quellen
1
Zuletzt aktualisiert

Folge Portless, um die Release Notes in deinen Feed zu holen.

Portless von Vercel Labs

Portless v0.13.1 mit konfigurierbaren Diensten

portless service install speichert nun Proxy-Optionen dauerhaft in nativen Diensten; Fehlerbehebungen für Dienst-Neuinstallation und Validierung; erfordert Node.js 24 oder neuer.

New Features

  • Configurable startup services: portless service install now persists proxy options such as --port, --no-tls, --lan, --ip, --tld, --wildcard, --cert, --key, and --state-dir into launchd, systemd, and Task Scheduler. portless service status now reports the installed service port, HTTPS mode, TLD, LAN mode, wildcard mode, and state directory.

Bug Fixes

  • Service reinstall port changes: Reinstalling the startup service with a different port now stops any existing proxy on the previous port before starting the new service.
  • Service install validation: LAN service installs now fail early on platforms that cannot publish mDNS records, and service paths such as ~ are normalized before writing native service files.

Requirements

  • Node.js 24: The published package now requires Node.js 24 or newer, and repository development uses pnpm 11 with a minimum release age policy. (#307)

Contributors

  • @ctate
  • @skaldebane
  • @ItalianScallian
  • @neefrehman

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.13.0 mit Autostart-Dienst

Neue Befehle portless service install, status und uninstall verwalten einen nativen Startdienst für den HTTPS-Proxy; --tailscale und --funnel prüfen nun Voraussetzungen vor dem Start.

New Features

  • OS startup service: New portless service install, portless service status, and portless service uninstall commands manage a native startup service for the HTTPS proxy across macOS launchd, Linux systemd, and Windows Task Scheduler. The service starts clean .localhost URLs after reboot, and portless clean removes it during cleanup. (#289)

Bug Fixes

  • Tailscale readiness preflight: --tailscale and --funnel now check Tailscale HTTPS and Funnel prerequisites before starting the child process, surfacing actionable errors instead of hanging during registration. (#282)

Contributors

  • @ctate
  • @Anshuman71

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.12.0 mit Tailscale-Freigabe

Neue Flags --tailscale und --funnel teilen Apps über das Tailscale-Netzwerk bzw. öffentlich; Kindprozesse erhalten PORTLESS_TAILSCALE_URL und portless list zeigt Tailnet-URLs.

New Features

  • Tailscale sharing: New --tailscale flag shares any portless app over your Tailscale network with zero framework config. Each app is root-mounted on its own Tailscale HTTPS port (443, 8443, 8444, ...) so no basePath configuration is needed. Works as a global flag, per-app flag (portless myapp --tailscale next dev), or env var (PORTLESS_TAILSCALE=1). (#262)
  • Tailscale Funnel: New --funnel flag exposes apps to the public internet through Tailscale Funnel. Implies --tailscale. Also configurable via PORTLESS_FUNNEL=1. (#262)
  • PORTLESS_TAILSCALE_URL env var: Child processes receive PORTLESS_TAILSCALE_URL containing the Tailscale HTTPS URL so apps can reference their public address. (#262)
  • Tailscale URLs in portless list: The list command now shows tailnet URLs alongside local URLs when Tailscale sharing is active. (#262)

Improvements

  • portless prune cleans stale Tailscale registrations: Prune now removes orphaned tailscale serve entries left behind by dead CLI sessions. (#262)
  • portless clean removes Tailscale serve state: Clean now tears down any Tailscale serve/funnel registrations alongside the usual CA and hosts file cleanup. (#262)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.11.1 räumt verwaiste Prozesse auf

Der neue Befehl portless prune beendet verwaiste Entwicklungs-Server; Kindprozesse werden abgetrennt und Signale beenden die gesamte Prozessgruppe statt nur des Kindes.

New Features

  • portless prune command: Safety net to find and kill orphaned dev servers left behind by dead CLI sessions. Reads stale route entries, checks if something is still listening on each port, and terminates the orphan.

Bug Fixes

  • Zombie process orphaning on CLI crash: Spawn child processes with detached:true on Unix so they get their own process group. Signal handlers now kill the entire group instead of just the immediate child, preventing orphaned dev servers from surviving CLI crashes or kill -9.

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.11.0 mit Null-Argument-Modus

Portless erkennt Entwicklungs-Skripte automatisch, orchestriert mehrere Apps in Monorepos, integriert Turborepo, unterstützt portless.json und Rsbuild.

New Features

  • Zero-arg mode: Run bare portless from any project directory to auto-discover the dev script from package.json and start it through the proxy. No arguments, no config required. (#251)
  • Multi-app orchestration: In monorepos, bare portless auto-discovers workspace packages (pnpm, npm, yarn, bun) and starts all dev scripts concurrently through the proxy. Each package gets a subdomain derived from its npm scope (e.g. @acme/docs becomes docs.acme.localhost). (#251)
  • Turborepo integration: When turbo.json is present, portless delegates to turbo run <script> instead of spawning each app individually. Per-app PORT, HOST, and PORTLESS_URL are injected via a lightweight --require loader so turbo retains dependency ordering and task graph awareness. Set turbo: false in config to opt out. (#251)
  • portless.json config file: Configure app name, script, port, and turbo settings without embedding portless in package.json scripts. Also supports a "portless" key in package.json as an inline alternative. (#251)
  • --script flag: Override the default "dev" script for a single invocation (e.g. portless --script start). (#251)
  • Rsbuild support: Auto-inject --port and --host CLI flags for Rsbuild dev server (#250)

Bug Fixes …

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.10.3 behebt TLD-Fehler

Ein Fehler wurde behoben, bei dem der Proxy nach einem Neustart eine veraltete TLD wie .local beibehielt.

Bug Fixes

  • Stale TLD persisting across proxy restart: Fix the proxy reverting to a stale TLD (e.g. .local) after restart because transient state markers were not cleaned up on stop (#235)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.10.2 mit CA-Zertifikat-Weitergabe

Kindprozesse erhalten automatisch NODE_EXTRA_CA_CERTS; mehrere Fehlerbehebungen für Proxy-Start, Sperrkonflikte, HTTP/2-Fehler und nicht-interaktive Terminals.

New Features

  • Auto-inject NODE_EXTRA_CA_CERTS: Child processes spawned by portless run now automatically receive NODE_EXTRA_CA_CERTS pointing to the portless CA certificate, so Node.js subprocesses trust the local CA without manual configuration (#220)

Bug Fixes

  • Proxy startup on slow macOS security command: Fix the proxy failing to start when the macOS security command takes longer than expected to verify CA trust (#229)
  • Lock contention with parallel commands: Fix lock contention that could cause failures when multiple portless commands run simultaneously (#230)
  • ERR_HTTP2_PROTOCOL_ERROR during HMR: Fix HTTP/2 stream reset flood during hot module replacement causing protocol errors (#231)
  • Proxy auto-start in non-interactive terminals: Fix auto-start failing in non-interactive terminals (e.g. IDE task runners) and when previous proxy config exists (#232)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.10.1 mit portless clean

Der neue Befehl portless clean entfernt Proxy, CA-Zertifikat, Zustandsdateien und Hosts-Einträge; Hosts-Datei wird standardmäßig synchronisiert.

New Features

  • portless clean: New command stops the proxy if it is running, removes the local CA from the OS trust store when it was installed by portless, deletes allowlisted files under known state directories, and removes the portless-managed block from the hosts file. Custom --cert and --key paths are never removed. (#213)

Improvements

  • Hosts file sync by default: The proxy now keeps the hosts file in sync with active routes automatically (improves Safari and other setups where .localhost subdomains do not resolve to loopback). Set PORTLESS_SYNC_HOSTS=0 to opt out. The managed block is removed from the hosts file when the proxy exits. (#213)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.10.0 mit LAN-Modus

Der neue --lan-Flag macht Dienste über mDNS im lokalen Netzwerk erreichbar und unterstützt VitePlus; *.local-Hostnamen erhalten HTTPS-Zertifikate.

New Features

  • LAN mode: New --lan flag exposes portless services to phones and other devices on the same network via mDNS .local hostnames. Auto-detects the active LAN IP, follows network changes, and supports --ip / PORTLESS_LAN_IP overrides for VPN or multi-interface setups. Publishes mDNS records with platform-native tools (dns-sd on macOS, avahi-publish-address on Linux). Adds *.local to generated certificate SANs so HTTPS works for LAN hostnames. (#168)
  • VitePlus support: Auto-inject --port for VitePlus (vp) dev server (#147)

Contributors

  • @gabimoncha
  • @carderne

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless 0.9.6

Memory-Leck im WebSocket-Proxy durch das Hinzufügen von Socket-Close-/End-Handlern behoben.

Bug Fixes

  • WebSocket proxy memory leak: Add socket close/end handlers to prevent memory leaks in the WebSocket proxy (#208)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless 0.9.5

Der Proxy beendet nun den Prozess, der eine konkurrierende Route besitzt, und sendet das CA-Zertifikat als Teil der TLS-Kette.

Bug Fixes

  • --force kills existing process: --force now terminates the process that owns the conflicting route before registering a new one, instead of only removing the stale route entry (#204)
  • CA certificate included in TLS chain: The proxy now sends the CA certificate as part of the TLS chain, fixing UNABLE_TO_VERIFY_LEAF_SIGNATURE errors in clients that do not have the portless CA in their trust store (#203)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless 0.9.4

Die veröffentlichte npm-Paket enthält nun die README-Datei.

Bug Fixes

  • README missing from npm package: The published npm package now includes its README. Previously .gitignore excluded the copied README during packing; an .npmignore override fixes this. (#197)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless 0.9.3

Das Umschreiben der Origin- und Referer-Header wurde entfernt, da es Probleme mit bestimmten Backend-Frameworks verursachte.

Breaking Changes

  • Origin/Referer header rewriting removed: The proxy no longer rewrites Origin and Referer headers. The feature introduced in 0.9.2 caused issues with certain backend frameworks and has been removed. (#195)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless 0.9.2

Der Proxy schreibt nun Origin- und Referer-Header für verwaltete Hostnamen um, schließt vom Browser blockierte Ports von der automatischen Auswahl aus und behebt Probleme bei sudo-Erhöhung und Windows-OpenSSL-Erkennung.

New Features

  • Origin/Referer header rewriting: The proxy now rewrites Origin and Referer headers for portless-managed hostnames so backend CSRF protections accept proxied requests (#189)

Bug Fixes

  • Browser-blocked ports excluded from auto-selection: Ports that browsers refuse to connect to (e.g. 6666, 6667) are now excluded from automatic port assignment (#192)
  • State directory preserved during sudo elevation: Fix portless trust losing the state directory when elevating to sudo (#187)
  • Windows OpenSSL config detection: Auto-detect openssl.cnf location on Windows when OPENSSLDIR points to a non-existent path (#183)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless 0.9.1

Portless kann nun als Projekt-Dev-Abhängigkeit installiert werden und der Befehl "portless trust" funktioniert auch bei einer frischen Installation ohne vorhandenes CA-Zertifikat.

New Features

  • Project dev dependency install: portless can now be installed as a project dev dependency (npm install -D portless) in addition to the global install. The npx/dlx guard now only blocks one-off downloads, not locally installed packages. (#179)

Bug Fixes

  • portless trust on fresh install: Fix portless trust failing on a fresh install when no CA certificate exists yet. The command now generates the CA and server certificates automatically before trusting. (#177)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless 0.9.0

Der Proxy nutzt nun standardmäßig HTTPS auf Port 443 mit automatischer sudo-Erhöhung, leitet HTTP auf Port 80 zu HTTPS um und verwendet saubere URLs wie https://myapp.localhost.

Breaking Changes

  • HTTPS on port 443 is now the default: The proxy defaults to HTTPS on port 443 instead of HTTP on port 1355. Auto-elevates with sudo on macOS/Linux to bind privileged ports. Use --no-tls for plain HTTP on port 80, or -p 1355 for the previous unprivileged port. (#172)
  • PORTLESS_HTTPS env var inverted: HTTPS is on by default; set PORTLESS_HTTPS=0 to disable (replaces the old PORTLESS_HTTPS=1 opt-in). (#172)

New Features

  • HTTP-to-HTTPS redirect: When the HTTPS proxy runs on port 443, a companion HTTP server on port 80 automatically redirects all requests to HTTPS. (#172)
  • Auto-sudo for proxy lifecycle: portless proxy start auto-elevates with sudo when binding privileged ports. portless proxy stop does the same when the running proxy is owned by root. (#172)
  • Clean URLs: URLs are now https://myapp.localhost instead of http://myapp.localhost:1355. No port numbers to remember. (#172)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless 0.8.0

Strikte Subdomain-Routing ist jetzt Standard (optional mit --wildcard), Zertifikatsgenerierung mit Punkten im Home-Pfad behoben und Windows-Warnungen sowie Pfad-Duplikate behoben.

Breaking Changes

  • Strict subdomain routing is now the default -- Subdomains no longer automatically match parent hostnames (e.g. api.myapp.localhost no longer routes to myapp.localhost). Use the --wildcard flag or PORTLESS_WILDCARD=1 env var to restore the previous behavior. (#158)

New Features

  • --wildcard flag -- Opt in to wildcard subdomain routing where subdomains match registered parent hostnames. Configurable via PORTLESS_WILDCARD env var. (#158)

Bug Fixes

  • Cert generation with dots in $HOME -- Fix TLS certificate generation failing when the home directory path contains dots (#157)
  • DNS label limit for --name flag -- Fix regression where long --name values could exceed the 63-character DNS label limit (#144)
  • Windows DEP0190 deprecation warning -- Silence Node.js deprecation warning on Windows by replacing shell: true with explicit cmd.exe /d /s /c spawning (#160)
  • Windows duplicate PATH entries -- Deduplicate PATH environment variables in child process spawn on Windows (#155)

Improvements

  • Removed chalk dependency -- Replaced chalk with lightweight ANSI color utilities to reduce install size (#170)
  • Automated release process -- Added CI workflow for automated npm publishing and GitHub releases (#169)

Contributors

  • @ctate
  • @mynameistito

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless 0.7.2

Behebt Probleme mit --port-Injektion bei Paketmanagern, TLS-Zertifikatsgenerierung, Proxy-Absturz bei ECONNRESET und Windows-Fehler bei der Node-Erkennung.

Bug Fixes

  • --port injection for package runners — Fix --port injection for commands run via package runners like npx, pnpm dlx, etc. (#150)
  • TLS cert generation — Fix TLS cert generation for long hostnames and proxy startup races (#149)
  • Proxy crash on ECONNRESET — Handle ECONNRESET errors on TLS wrapper sockets to prevent proxy crash (#127)
  • Windows node not recognized — Resolve node not recognized error on Windows when running portless run (#126)

Documentation

  • Added Windows to docs requirements section (#122)

Improvements

  • Added GitHub Action to automatically publish packages to npm on release (#130)

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless 0.7.1

Behebt die Erkennung benutzerdefinierter TLDs auf macOS, wenn der Proxy mit sudo gestartet wurde, indem SYSTEM_STATE_DIR auf /tmp/portless gesetzt wird.

Fix

  • Fix custom TLD discovery on macOS: The proxy client now correctly reads TLD/TLS state from the proxy when started with sudo. Previously, os.tmpdir() returned different paths for root vs. non-root users on macOS (/tmp vs /var/folders/...), causing the client to miss the proxy's TLD configuration and fall back to .localhost. SYSTEM_STATE_DIR is now hardcoded to /tmp/portless on Unix.

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

v0.7.0: Windows-Support und Korrekturen

Portless v0.7.0 unterstützt nun Windows vollständig, behebt die Bereinigung von --name-Werten, wendet Worktree-Präfixe nur bei verknüpften Worktrees an und nutzt plattformabhängige Hosts-Dateipfade.

Features

  • Windows support: Full cross-platform support for Windows. Uses os.tmpdir() for state directory, netstat for port detection, certutil for CA trust, and platform-aware command spawning. Includes Windows CI. (#6)

Bug Fixes

  • --name sanitization in portless run: Stop replacing dots with hyphens in --name values. Dots are valid and intentional in hostnames like local.metaview. (#108)
  • Worktree prefix only for linked worktrees: Only prepend the branch name for linked worktrees, not the root worktree. Previously any non-main branch got a prefix when multiple worktrees existed. (#108)
  • Windows hosts file paths: Use platform-aware hosts file path and error messages (Administrator vs sudo). (#113)

Contributors

  • @bensabic
  • @RobHannay

Originalquelle(öffnet in neuem Tab)Problem melden