Skip to content

v1.0.12 — Every address in routes

Choose a tag to compare

@xanojustin xanojustin released this 14 Oct 22:01
· 22 commits to main since this release

xanosdk routes now lists every address a frontend uses, not only HTTP routes: realtime servers, channels and MCP servers too. The --json listing changes shape to match. The public repository is also ready for launch: a contributing policy, bug-only issue forms, and a clone that builds as-is.

npm install @xano/sdk@1.0.12

xanosdk routes lists realtime servers, channels and MCP servers

Each address prints next to the HTTP routes, ending with the routes.gen.ts call that builds it (socketUrl("chat", baseUrl), channelPath("lobby"), mcpUrl("notes_mcp", baseUrl)). A workspace with only realtime or only MCP servers is now listed, instead of being told "No API queries registered". A server whose canonical resolves nowhere is named in the listing, as --emit already did.

⚠️ xanosdk routes --json returns all four address kinds

The listing used to be { routes }. It is now { routes, realtimeServers, channels, mcpServers }, with every key always present. A script that reads .routes keeps working; one that checks the object's exact keys needs updating. The --emit --json document gains realtimeServers and mcpServers, and its summary counts everything it writes.

mcpUrl is documented

typed-frontend.md and the README now cover mcpUrl, which shipped in 1.0.11 without docs. guides/codes.md gives real meanings for the two unresolved-server warning codes.

The public repository takes bug reports, and builds from a fresh clone

Issues are for bugs; questions, ideas and feature requests go to the Xano community. A new CONTRIBUTING.md says so, and a fresh clone's npm run build and npm run typecheck work without the files that stay private.

Notes

The README now states the licensing: the SDK is MIT, and the Xano Engine it downloads is free to run but not open source.