0.20.1-v1
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
You can now authenticate the CLI using a new command, dstack login, instead of manually providing a token.
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 dstackai/dstack#3356 - [Docs]: Fix environment variables reference layout by @jvstme in dstackai/dstack#3396
- Add more events about users and projects by @jvstme in dstackai/dstack#3390
- Implement shim auto-update by @un-def in dstackai/dstack#3395
- [Fleets] Updated error message and docs by @peterschmidt85 in dstackai/dstack#3377
- [Blog] dstack 0.20 GA: Fleet-first UX and other important changes by @peterschmidt85 in dstackai/dstack#3401
- [runner] Get container cgroup path from procfs by @un-def in dstackai/dstack#3402
- [Internal] Add an index for user email by @peterschmidt85 in dstackai/dstack#3409
- Don't send asyncio.CancelledError to Sentry by @un-def in dstackai/dstack#3404
- [Internal] Allow passing
AnyActortoupdate_userby @peterschmidt85 in dstackai/dstack#3410 - Replace
Instance.termination_reasonvalues with codes by @peterschmidt85 in dstackai/dstack#3187 - [Docs] Added the
Lambdaexample underClustersby @peterschmidt85 in dstackai/dstack#3407 - [runner] Revamp main.go by @un-def in dstackai/dstack#3411
- Was implemented Event list for job, run and fleet by @olgenn in dstackai/dstack#3392
- Fix event target type rendering in server logs by @jvstme in dstackai/dstack#3414
- Support
gateway: truein service configurations by @jvstme in dstackai/dstack#3413 - Implement
dstack logincommand and CLI OAuth flow by @r4victor in dstackai/dstack#3415 - Allow users to delete their only project by @jvstme in dstackai/dstack#3416
- Indicate deleted actors and projects in Events API by @jvstme in dstackai/dstack#3422
- [UX] Make "No fleets" run status more explicit #3405 by @peterschmidt85 in dstackai/dstack#3406
- No fleets notification #373 by @olgenn in dstackai/dstack#3418
- Bump gpuhunt==0.1.16 by @r4victor in dstackai/dstack#3423
- Revert "No fleets notification #373 (#3418)" by @r4victor in dstackai/dstack#3424
Full Changelog: dstackai/dstack@0.20.0...0.20.1