From 0fe240ce0cb0b01382b051af8b258e5ad9452eb7 Mon Sep 17 00:00:00 2001 From: "Ricardo Q. Bazan" Date: Tue, 15 Sep 2026 12:14:23 -0500 Subject: [PATCH] chore: release v0.0.4 Bump to 0.0.4 and add the changelog entry. The release ships --json output from #6 for list, get, doctor, and service status, and the new warning when routes.json cannot be read. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01BSDFAb4giiESfUnAHgHG3S --- CHANGELOG.fork.md | 18 +++++++++++++++--- packages/portless/package.json | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.fork.md b/CHANGELOG.fork.md index b991ed9e..ae603a9e 100644 --- a/CHANGELOG.fork.md +++ b/CHANGELOG.fork.md @@ -2,18 +2,30 @@ Release notes for `@variablelab/portless`. Upstream's own history is in [CHANGELOG.md](./CHANGELOG.md). -## 0.0.3 +## 0.0.4 +Based on upstream [portless v0.15.6](https://github.com/vercel-labs/portless/releases/tag/v0.15.6) (upstream `main` at `1ad573b`), the same base as 0.0.3. + +### Added + +- **JSON output for scripts and agents**: `--json` on `portless list`, `portless get`, `portless doctor`, and `portless service status`. stdout carries only the JSON document, warnings and errors go to stderr, keys are camelCase, and other commands reject the flag. `list --json` returns the routes the proxy serves (live processes and aliases) with their public URLs, and exits 1 when `routes.json` cannot be read or parsed instead of printing an empty list. See the JSON output section of the README. Added in [#6](https://github.com/variableland/portless/pull/6). + +### Changed + +- When `routes.json` cannot be read (for example because of file permissions), commands now print a warning on stderr instead of silently treating it as empty. + + + +## 0.0.3 + Based on upstream [portless v0.15.6](https://github.com/vercel-labs/portless/releases/tag/v0.15.6) (upstream `main` at `1ad573b`), the same base as 0.0.2. ### Fixed - **Wildcard subdomains go to the closest registered parent**: with `--wildcard`, when several registered hostnames are parents of a request (for example `acme.localhost` and `feat-x.acme.localhost` for `tenant.feat-x.acme.localhost`), the closest one now serves it regardless of registration order, and a longer `--path` prefix on a farther parent no longer takes the request from it. If the closest parent has no route for the path, the proxy answers 404 instead of falling through to a farther parent. Upstream issue [vercel-labs/portless#380](https://github.com/vercel-labs/portless/issues/380), fixed in [#4](https://github.com/variableland/portless/pull/4). - - ## 0.0.2 Based on upstream [portless v0.15.6](https://github.com/vercel-labs/portless/releases/tag/v0.15.6) (upstream `main` at `1ad573b`), unchanged since 0.0.1. diff --git a/packages/portless/package.json b/packages/portless/package.json index f85b2771..4412f711 100644 --- a/packages/portless/package.json +++ b/packages/portless/package.json @@ -1,6 +1,6 @@ { "name": "@variablelab/portless", - "version": "0.0.3", + "version": "0.0.4", "description": "Fork of vercel-labs/portless with path-based routing (--path). Replace port numbers with stable, named .localhost URLs and route several apps under one hostname by URL prefix.", "type": "module", "main": "./dist/index.js",