Skip to content

v1.3.5 - device-code poll sends client_id; describe via schemas route

Latest

Choose a tag to compare

@payez-jon payez-jon released this 08 Oct 05:43
a98d15a

v1.3.5 — 2026-10-07

PAY-1977. vsql login (device code) could not complete against an IdP whose poll endpoint requires client_id in the body: the CLI polled with only {device_code}, got a 400 "ClientId is required", and reported Unknown error: unknown.

Fixed

  • The device-code poll now sends client_id in the request body as well as the X-Client-Id header (RFC 8628 puts it in the form body; the header stays for older servers).

Note

  • Versions before 1.3.0 (the 1.1.x line on npm) rewrote a dev IdP host to http://<host>:3600/auth/device and ignored the verification URL the IdP returned. 1.3.x shows the IdP's verification_url as given; there is no rewrite left. Upgrade if vsql login prints a :3600 address.

1.3.4 — 2026-10-06

PAY-2052. vsql describe was the one command still on raw SQL; the hosted API refuses information_schema to a tenant key (403, measured by Nextpert-Scout on dev-93, mail 69331), so describe failed for every key-mode user, as tables did before 1.3.3.

Changed

  • vsql describe <table> [collection] reads the active schema from GET /v1/schemas (HMAC-only, the same route tables uses) instead of information_schema.columns. Output columns are now column_name, type, format, pk, auto_increment, nullable. Differences from the SQL version: nullable is derived as "not in the table's required list", columns come in schema order (there is no ordinal), and it does not print a column's default or enum values (a schema can set default and enum on a column; describe shows neither, so use schema show <collection> to read them). Works with a KeelBase secret.
  • A table name that exists in more than one collection now fails with AMBIGUOUS_TABLE and names the collections; pass the collection as the second argument. An unknown table or collection fails with TABLE_NOT_FOUND / COLLECTION_NOT_FOUND.

Install:

npm install -g https://github.com/PayEz-Net/vsql/releases/download/v1.3.5/vsql-1.3.5.tgz

v1.3.4 was never released separately; its changes (vsql describe on the schemas route) are included here.