0.20.1
CLI
No-fleets warning
Since the last major release, fleets are required before submitting runs. This update makes that requirement explicit in the CLI.
When a run is submitted for a project that has no fleets, the CLI now shows a dedicated warning. The run status has also been updated in both the CLI and UI to No fleets instead of No offers.
This removes ambiguity around failed runs that previously appeared as No offers.
dstack login
If you're using dstack Sky or dstack Enterprise, you can now authenticate the CLI using a new command, dstack login, instead of manually providing a token.
dstack Sky supports authentication via GitHub. dstack Enterprise supports SSO with providers such as Okta, Microsoft Entra ID, and Google.
Services
Service configurations now support gateway: true.
For services that require gateway features (such as auto-scaling, custom domains, WebSockets, etc), this property makes the requirement explicit. When set, dstack ensures a default gateway is present.
dstack-shim
In addition to the dstack-runner auto-update mechanism introduced in 0.20.0, dstack-shim now also supports auto-updating.
See contributing/RUNNER-AND-SHIM.md for details.
What's changed
- [Docs] Reflect the 0.20 changes related to
working_dirandrepo_dirby @peterschmidt85 in #3356 - [Docs]: Fix environment variables reference layout by @jvstme in #3396
- Add more events about users and projects by @jvstme in #3390
- Implement shim auto-update by @un-def in #3395
- [Fleets] Updated error message and docs by @peterschmidt85 in #3377
- [Blog] dstack 0.20 GA: Fleet-first UX and other important changes by @peterschmidt85 in #3401
- [runner] Get container cgroup path from procfs by @un-def in #3402
- [Internal] Add an index for user email by @peterschmidt85 in #3409
- Don't send
asyncio.CancelledErrorto Sentry by @un-def in #3404 - [Internal] Allow passing
AnyActortoupdate_userby @peterschmidt85 in #3410 - Replace
Instance.termination_reasonvalues with codes by @peterschmidt85 in #3187 - [Docs] Added the
Lambdaexample underClustersby @peterschmidt85 in #3407 - [runner] Revamp
main.goby @un-def in #3411 - Was implemented Event list for job, run and fleet by @olgenn in #3392
- Fix event target type rendering in server logs by @jvstme in #3414
- Support
gateway: truein service configurations by @jvstme in #3413 - Implement
dstack logincommand and CLI OAuth flow by @r4victor in #3415 - Allow users to delete their only project by @jvstme in #3416
- Indicate deleted actors and projects in Events API by @jvstme in #3422
- [UX] Make "No fleets" run status more explicit #3405 by @peterschmidt85 in #3406
- Bump
gpuhunt==0.1.16by @r4victor in #3423
Full changelog: 0.20.0...0.20.1