← What's New
Auth commands added; null fields stripped
Minor Changes
- fbd856f: Add
releases authcommands (login,logout,status,token) to store a verified API token in~/.releases/credentials(0600).whoaminow aliasesauth status. Tokens are verified againstGET /v1/tokens/mebefore saving; the env varRELEASED_API_KEYstill takes precedence.
Patch Changes
- 69a38dc: Strip null/undefined fields from the
POST /v1/sourcesrequest body increateSource(). The API's Zod schema treatsz.string().optional()as "string or absent" — an explicit"productId": nullin the JSON body trips the validator and 400s. Sending--org <slug>without--productpreviously triggered this. The fix filters null/undefined values before serialization so optional fields drop out cleanly.