@beyondwork/wb-cli 0.1.37 → 0.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.1.38
4
+
5
+ - wb-cli waits 95 seconds longer for the answer to a request before it reports "Request timed out". A request without a time limit now fails after 125 seconds instead of 30 seconds. A devenv tenant stops its Python and TypeScript runners when nobody used them for more than about 1 hour. The next request that needs a runner can wait up to 90 seconds for a runner to start, before the request's own time limit starts. Before this version, wb-cli stopped waiting after 30 seconds, or 5 seconds after the request's time limit, and reported "Request timed out" while the tenant still ran the request.
6
+
3
7
  ## v0.1.37
4
8
 
5
9
  - `login <host>` signs you in to a tenant in your browser, and stores the sign-in in `credentials.json` instead of an API token. The sign-in uses OAuth: an authorization code with PKCE, sent back to a loopback address on your machine. wb-cli renews the access token, which expires after 15 minutes, with the stored refresh token. You sign in again when the refresh token expires after 30 days, or after you revoke the sign-in under Settings → Profile → Connected applications. When the browser runs on another machine than wb-cli, paste the address that the browser ended on at the prompt. `--no-browser` prints the sign-in address and does not open a browser. `login` needs a tenant whose platform release has the Beyond Work CLI OAuth client. On an older tenant, store an API token with `add-tenant`.