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

v0.19.0

New Features

  • Sharing and tunnels: added NetBird sharing via --netbird (PORTLESS_NETBIRD=1) with access controls (--netbird-password, --netbird-pin, --netbird-groups), custom and static ngrok URLs via --ngrok-url (PORTLESS_NGROK_CUSTOM_URL), pinned Tailscale ports via --tailscale-port (PORTLESS_TAILSCALE_PORT), and Tailscale Service exposure via --tailscale-service[=<name>] (PORTLESS_TAILSCALE_SERVICE). --tailscale now detects whether MagicDNS is enabled and falls back to HTTP over TCP on the node's Tailscale IP when it is off. Failed Tailscale share cleanups keep stale routes so portless prune or a later portless clean can retry, and sharing settings and credentials are stripped from child environments and sudo elevation. (#629)
  • Child environments and portless env: added portless env (including portless env <name>, portless env VAR=name, and --json) and the matching env MCP tool to export CA trust, LAN mode, and service URLs for sibling processes. Monorepo runs now inject PORTLESS_URL_<APP> for every proxied app, --port-var and --host-var (PORTLESS_PORT_VAR, PORTLESS_HOST_VAR, and config fields portVar and hostVar) rename the injected port and host variables, pre-set NODE_EXTRA_CA_CERTS bundles are merged with the portless CA instead of overwritten, and Tailscale and Funnel share hostnames are added to __VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS for Vite dev servers. (#628) …

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

v0.18.1

Bug Fixes

  • Concurrent Turbo runs: concurrent root Turbo runs no longer share one ~/.portless/dev-manifest.json, so one run cannot overwrite or delete another's entries and start its apps with PORT undefined. Each run publishes and retires only its own data file, a relative PORTLESS_STATE_DIR works, data from dead runs is swept, and processes that outlive the run can still start Node. (#599)
  • Command flags: get, alias, list, prune, doctor, hosts sync, and proxy start now accept only the global flags in their own flag spec, so --cloudflare, --ngrok, --tailscale, --funnel, and --script are rejected instead of silently ignored. --lan and --ip keep working on proxy start, service install, and doctor, leading flags before a command go to that command, a repeated --script or --ip exits 2, run --lan=1 reports that --lan takes no value, proxy start --https --no-tls exits 2, and a mismatched --cert/--key fails before the daemon starts. (#600)
  • Alias removal: portless alias --remove now removes an alias's static routes on TLDs the proxy no longer serves, and --tld on remove accepts those TLDs. Routes under configured TLDs are matched exactly the way alias adds them, so overlapping TLDs no longer remove another alias's routes, a former TLD nested under a configured one can be selected with --tld, and a long name no longer fails on a route under a longer former TLD. (#601)

Contributors

  • @lahfir

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

v0.18.0

New Features

  • JSON output: portless list, portless get, and portless doctor accept --json and write one JSON document to stdout, so scripts can read routes, URLs, upstream settings, and doctor findings without parsing tables. list --json keeps the tunnel fields, including tailscaleFunnel, and doctor --json reports every finding and the summary counts and exits 1 when a finding fails. The MCP tools can pass --json too. (#558)

Improvements

  • Help text: portless --help is shorter and lists only what the root command accepts. Proxy options moved to portless proxy --help, and --name, --force, and --app-port are listed under the commands that take them. The documented precedence now holds: --https wins over PORTLESS_HTTPS=0, PORTLESS_APP_PORT wins over portless.json appPort, and --script wins over a per-app script. (#560)
  • TypeScript 7: move the remaining packages to TypeScript 7. The published package is unchanged. (#580)

Bug Fixes …

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

v0.17.0

New Features

  • HTTPS alias backends: Added --upstream to portless alias to route an alias to an HTTPS or HTTP service on loopback. --upstream https enables TLS and keeps the incoming Host header. --upstream https://<host>[:<port>] also sets Host to that authority and sends a DNS hostname as SNI, and http://<host>[:<port>] sets Host without TLS. Upstream TLS supports HTTP/1.1 backends and does not verify the backend certificate. Restart the proxy after upgrading. (#568)
  • Worktree hostnames: Added a worktree option to portless.json and the package.json "portless" key. worktree.prefix: "branch" uses the whole branch as the label, so team-a/login becomes team-a-login, and worktree.hostnameTemplate such as tenant.{worktree}-{name} replaces the whole hostname. Root values apply to every app in a workspace. Set the label directly with portless run --prefix <label> or PORTLESS_PREFIX, with "" for none. Duplicate proxied hostnames fail before any app starts. (#548)
  • Alias TLD selection: Added --tld to portless alias and portless alias --remove to cover only selected configured TLDs. Repeat the flag or pass a comma-separated list. A missing or unconfigured TLD fails before any route changes. (#546)

Bug Fixes …

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

v0.16.0

New Features

  • Docker Compose: Added portless compose to run a Compose project with named URLs. Each published HTTP port moves to a fixed port on 127.0.0.1 and gets a <service>.<project>.localhost route, so two projects can publish the same host port. Database, cache, and UDP ports keep their published port. Configure services with the portless.enable, portless.name, and portless.ports labels. (#543, #547)

Bug Fixes

  • Self-daemonizing commands: Keep the route when a command starts a server in the background and exits, as Astro 7 does in agentic environments. The route moves to the server's PID, portless list shows it, and it drops once the server stops. (#444)
  • Upstream connections: Pool connections to the dev server and limit concurrent dials per backend, so a cold HTTP/2 page load no longer overflows the server's accept backlog. Long-lived responses like SSE don't block other requests. (#477)
  • HTTP/2 request bodies: Send HTTP/2 request bodies that have no content-length with chunked encoding, so GET, DELETE, and OPTIONS requests with a body no longer get a 400. (#478)

Contributors

  • @Railly
  • @Umbranoxio
  • @Tiancheng-Xu
  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

v0.15.13

New Features

  • Unprivileged proxy mode: Added --unprivileged and PORTLESS_UNPRIVILEGED=1 to bind supported low ports without sudo, accept only loopback peers, and preserve the mode across restarts and service installation. (#529)

Bug Fixes

  • Proxy privileges: Check whether the requested listener needs root before asking for sudo. If elevation fails, stop with an error instead of silently switching ports. (#528)

Documentation

  • Added shared technical writing guidance for documentation changes. (#524)

Contributors

  • @Railly
  • @ctate
  • @bensabic

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

v0.15.12

New Features

  • MCP server: Added portless mcp with tool profiles for route lookup, static aliases, proxy management, and diagnostics. (#513)
  • VitePress support: Inject the assigned port and bind address for VitePress dev, serve, and preview commands. (#508)
  • Wrangler support: Inject the assigned port and --ip bind address for wrangler dev. (#509)

Bug Fixes

  • npm exec framework flags: Pass injected framework options through npm exec and npm x after npm's option separator, while leaving ambiguous commands untouched. (#511)
  • Misdirected requests: Return 421 for hostnames outside the configured TLDs instead of showing the app list, using HTML or JSON to match the client. (#512)
  • WSL-hosted containers: Use the Linux trust store in containers that inherit a WSL2 kernel without Windows integration tools. (#507)

Contributors

  • @lahfir
  • @ericclemmons
  • @KennyMcSimpson
  • @alistair3149
  • @corvus-vardelabs
  • @desilvakai
  • @tlq5l

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

v0.15.11

Bug Fixes

  • Static aliases: Allow --force to replace a static alias without treating it as a running process, and explain when the alias must be re-added. (#476)
  • Configuration source: Report whether the configured app name came from package.json or portless.json. (#490)
  • Route liveness: Keep live routes when the current user lacks permission to signal their processes. (#498)
  • Tailscale ports: Account for ports held by foreground serve and funnel sessions when assigning HTTPS ports. (#499)
  • Astro global options: Inject the assigned port and host when global options appear before the Astro subcommand. (#500)
  • Certificate scope: Reject TLS server names outside the configured TLDs or with invalid hostname characters, and limit new macOS CA trust to SSL. (#497)
  • Certificate clock skew: Backdate CA, server, and host certificates by five minutes on OpenSSL 3.4 or newer so clients with slightly slower clocks can connect. (#501)
  • Windows helper processes: Hide console windows for OpenSSL and other helper commands when running without a terminal. (#502)
  • Backend failures: Drain the remaining request body after a backend error so client connections do not stall. (#489)

Contributors

  • @lahfir
  • @tlq5l
  • @bercedev
  • @sensei-woo
  • @gyanu2507
  • @snomiao
  • @arturo-tikamaru

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

v0.15.10

Bug Fixes

  • Host certificates: Omit invalid sibling wildcard names from two-label host certificates and regenerate cached certificates that contain them, fixing TLS rejection on Apple platforms. (#491)
  • Proxy error responses: Return JSON for portless-generated 404, 502, and 508 errors when the client does not accept HTML. (#485)
  • Port validation: Reject malformed port values instead of accepting leading digits across CLI flags, environment variables, aliases, and service configuration. (#493)

Contributors

  • @lahfir
  • @BlvckParrot
  • @BetterAndBetterII

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

v0.15.9

New Features

  • Added Cloudflare quick tunnels with --cloudflare to share apps through a public URL (#480)
  • Added route uptime to the proxy app list and portless list (#472)
  • Added hostname filtering and a newest-first toggle to the proxy's 404-page app list (#473, #474)

Bug Fixes

  • Fixed uppercase URL schemes so HTTP and HTTPS prefixes are removed correctly from hostnames (#484)

Contributors

  • @lahfir
  • @kumburovicbranko682-boop

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Vercel Labs: Portless v0.15.8

Beim Schließen des Terminals werden nun auch direkt, über Turbo oder im Multi-App-Modus gestartete Entwicklungsserver gestoppt; 'portless run' und 'portless prune' beenden verwaiste Prozessgruppen abgestürzter Sitzungen, und unter Windows wird die Prozesskette nun vollständig beendet.

Bug Fixes

  • Terminal close cleanup: Closing the terminal now stops dev servers launched directly, through Turbo, or in multi-app mode instead of leaving them running on their ports. (#450)
  • Crashed session cleanup: portless run and portless prune now stop orphaned command process groups from crashed sessions, including descendants outside the route port, while checking process identity before signaling. (#451)
  • Windows command cleanup: Normal exits and force-kills now terminate the command tree, including Turbo and its dev servers, so orphaned processes no longer keep consuming shell input. (#438)

Contributors

  • @Railly

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless 0.15.7: Turbo-Orchestrierung und mehrere Fehlerbehebungen

Portless 0.15.7 nutzt für Workspaces mit nur turbo.jsonc die Turbo-Orchestrierung, warnt bei nicht auflösbaren Hostnamen und behebt mehrere Fehler (Hosts-Sync-Datenverlust, doppelte Basic-Constraints-Erweiterung in der lokalen CA, Proxy-Absturz bei Backend-Neustart, Wildcard-Fallback-Reihenfolge, belegte App-Ports), während die Doku auf Geistdocs mit WebMCP umgezogen ist.

New Features

  • Turbo JSONC workspaces: Workspaces that only have turbo.jsonc now use Turbo orchestration, the same as turbo.json. (#422)
  • Unresolved hostname warning: After registering a route, portless asks the proxy to sync the hosts file and warns when the hostname still does not resolve. (#374)
  • WebMCP documentation site: The docs moved to Geistdocs and expose their pages to agents through WebMCP. (#427)

Bug Fixes

  • Hosts sync data loss: Manual hosts sync refuses to write when the hosts file cannot be read, verifies what it wrote, and removes stale managed entries when no routes remain. (#424)
  • Local CA certificate: The generated CA no longer carries a duplicate Basic Constraints extension on OpenSSL 1.1.1 and LibreSSL, which macOS and OpenSSL 3 rejected and left *.localhost untrusted. (#443)
  • Proxy crash on backend restart: The proxy no longer forwards client hop-by-hop headers, which left backend sockets open and crashed the proxy with ECONNRESET when a backend restarted. (#445)
  • Wildcard fallback order: With --wildcard, an unregistered subdomain now routes to the most specific registered parent instead of the first one stored. (#446)
  • Occupied app ports: Free app ports are checked on 127.0.0.1, ::1, 0.0.0.0 and ::, so portless no longer assigns a port another server already holds. (#447) …

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless 0.15.6: Doku als Markdown für Agents und Fehlerbehebungen

Portless 0.15.6 stellt die Dokumentation für Agents als Markdown-Seiten samt llms.txt-Index bereit und behebt Fehler bei der Übergabe von --port/--host an Frameworks über Paketskripte, beim Windows-Startdienst und bei der Prozessbereinigung nach Ctrl+C.

New Features

  • Agent-readable documentation: The documentation site now exposes clean Markdown pages and an llms.txt index so agents can discover and consume the docs directly. (#387)

Bug Fixes

  • Framework flags through package scripts: Frameworks that ignore PORT now receive the assigned --port and --host flags when launched through supported package-manager scripts, while non-server and unsafe scripts are left untouched. (#366)
  • Windows service lifetime: The Windows startup service now registers a UTF-16 Task Scheduler definition with no execution time limit and replaces existing tasks atomically. (#381)
  • Ctrl+C process cleanup: Interrupt handling now waits for the command's process tree to exit and terminates remaining descendants after a short grace period. (#385)

Contributors

  • @Railly
  • @EfeDurmaz16
  • @JohnPhamous

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless 0.15.5: Mehrteilige TLDs und WebSockets über HTTP/2

Portless 0.15.5 akzeptiert mit --tld und PORTLESS_TLD nun mehrteilige TLDs wie dev.example.com und überbrückt WebSockets über HTTP/2, was HMR in Dev-Servern für Browser mit h2-Aushandlung behebt.

Bug Fixes

  • Multi-segment custom TLDs: --tld and PORTLESS_TLD now accept dotted DNS names such as dev.example.com, so local URLs can mirror production structure. validateTld checks per-label DNS rules and the 253-character total limit, overlapping TLDs resolve by longest match, and cert cache filenames stay under the filesystem name limit for long hostnames. (#365)
  • WebSocket over HTTP/2: Proxy now advertises RFC 8441 extended CONNECT and bridges :protocol websocket streams to an HTTP/1.1 upgrade against the backend, fixing dev server HMR for browsers that negotiate h2 over ALPN. Plain-HTTP upgrades on the TLS port are proxied instead of dropped, and a backend that rejects the handshake or answers with a bad Sec-WebSocket-Accept now gets a 502 instead of a silently destroyed socket. (#363)

Contributors

  • @Railly
  • @KingPsychopath
  • @erichurkman
  • @sanjevirau

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless 0.15.4: Proxy nur noch an Loopback-Adressen gebunden

Portless 0.15.4 bindet Proxy und HTTP-Redirect-Listener außerhalb des LAN-Modus nur noch an 127.0.0.1 und ::1, sodass Routen nicht über LAN, VPN oder andere Netzwerkschnittstellen erreichbar sind.

Bug Fixes

  • Loopback-only proxy binding: Outside LAN mode, the proxy and HTTP redirect listeners now bind only to 127.0.0.1 and ::1, so Portless routes cannot be reached through LAN, VPN, or other network interfaces. LAN mode still binds to all interfaces explicitly. (#361)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless 0.15.3: Verbesserter sudo-Status und lokale CA unter WSL

Portless 0.15.3 ermittelt den Nutzerstatus unter sudo aus dem Home-Verzeichnis des ursprünglichen Nutzers und installiert bzw. entfernt die lokale CA unter WSL in den Trust-Stores von Linux und Windows.

Bug Fixes

  • State directory under sudo: Portless now resolves per-user state from the original sudo user's home, so an elevated proxy and unprivileged app processes share the same routes instead of writing to separate state directories. (#357)
  • Windows and WSL CA trust: On WSL, portless trust now installs the local CA in both Linux and Windows trust stores, while portless clean removes the exact certificate from both. Failed trust-store cleanup preserves the CA identity for safe retries, including on native Windows. (#357)

Contributors

  • @ctate
  • @gerardbalaoro

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless 0.15.2: Fixes für Tailscale, ::1-Server und Worktree-Hostnamen

Portless 0.15.2 behebt 404-Fehler bei Tailscale-Funnel- und Serve-Hostnamen, 502-Fehler bei Dev-Servern, die nur an ::1 lauschen, sowie Hostname-Kollisionen im Multi-App-Modus in Worktrees durch Anwendung des Branch-Präfixes.

Bug Fixes

  • Tailscale funnel routing: Proxy now routes requests addressed to a route's Tailscale funnel or serve hostname, so --funnel and --tailscale apps reached at <device>.ts.net no longer return a 404, including when several apps share one hostname on different ports. (#352)
  • IPv6-only dev servers return 502: Proxy now dials upstreams over both loopback families, fixing 502s when a dev server binds ::1 only, such as Vite on Node 17+. (#353)
  • Worktree prefix in multi-app mode: Bare portless in a monorepo worktree now applies the branch prefix in multi-app mode as it already did for single apps, so hostnames no longer collide across worktrees. (#355)

Contributors

  • @Railly
  • @ahfoysal

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.15.1

Unterstützung für mehrere TLDs pro Proxy hinzugefügt, sodass dieselben App-Namen über verschiedene Top-Level-Domains verfügbar sind.

New Features

  • Multi-TLD proxy support: --tld is now repeatable and PORTLESS_TLD accepts comma separated values, so one proxy can serve the same app names across multiple TLDs. Routes, TLS, service state, hosts sync, framework environment, and workspace launches now use the full configured TLD list. (#344)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.15.0

Neuer Diagnosebefehl portless doctor und Fehlerbehebungen für HTTP/2-Host-Weiterleitung und Aufräumen bei erzwungener Übernahme.

New Features

  • portless doctor: New read only diagnostics command checks Node.js, the state directory, proxy liveness, route entries, hostname resolution, HTTPS CA trust, and LAN prerequisites, then prints suggested fixes. (#337)

Bug Fixes

  • HTTP/2 Host forwarding: Proxy now forwards HTTP/2 :authority as Host to HTTP/1.1 backends, fixing apps that depend on Host and previously saw 127.0.0.1 for browser traffic. (#328)
  • --force takeover cleanup: Exit cleanup now removes only routes still owned by the exiting process, so a forced takeover does not deregister the new owner's route. (#328)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden

Portless von Vercel Labs

Portless v0.14.0 mit ngrok-Unterstützung

Der neue --ngrok-Flag stellt Portless-Apps öffentlich über ngrok bereit; konfigurierbar per PORTLESS_NGROK=1, Kindprozesse erhalten PORTLESS_NGROK_URL und portless list zeigt aktive ngrok-URLs.

New Features

  • ngrok sharing: New --ngrok flag exposes portless apps publicly through ngrok while keeping the local .localhost URL. Also configurable with PORTLESS_NGROK=1; child processes receive PORTLESS_NGROK_URL, and portless list shows active ngrok URLs. (#323)

Improvements

  • ngrok tunnel lifecycle: Portless now checks for the ngrok CLI before starting an app, surfaces install and authentication guidance, removes stopped ngrok URLs from route state, and terminates tunnel processes during app cleanup. (#323)

Contributors

  • @ctate

Originalquelle(öffnet in neuem Tab)Problem melden