Skip to content

22.09.0b1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 18 Aug 03:19
· 1521 commits to main since this release
22.09.0b1

Features

  • Add owner (replacing the shared_by field) and type fields ("project" or "user") to the list_shared_vfolders API to accurately distinguish the owner and the folder type (#521)
  • Add keypair_resource.max_session_lifetime option field to client following the latest schema. (#543)
  • client: Read .env files if present to configure the API session using python-dotenv (#566)
  • Accept the explicit "s" (seconds) unit suffix as well in common.validators.TimeDuration (#570)
  • Add a paginated query for the virtual folder permission list for superadmin. (#571)
  • Add manager REST APIs, agent RPC APIs and backend implementations to commit a running session container as a tar.gz file and check the status of long-running commit tasks (for the docker agent only) (#601)
  • Add common.logging.LocalLogger to improve logging outputs in test cases, which does not use the relay handler to send log records to another (parent) process but just the standard Python logging subsystem (#630)
  • Add a new API router (/func/saml) and a config service.single_sign_on_vendors to integrate SSO login, especially SAML 2.0 in this case. Also, the redirect responses (30X) are now transparently delivered to the downstream without raising BackendAPIError. (#652)
  • Add status_history to the query field of get_container_stats_for_period to know when the status of the session within a given period has changed. (#653)
  • Define interface generate_mounts and get_docker_networks on compute plugin (#654)
  • webserver: Include the feature flag service.enable_container_commit in /config.toml which allows users to commit their running session containers and save as images inside the configured path in the corresponding agent host (#660)
  • Use the full terminal width when formatting CLI help texts for better readability (#662)

Fixes

  • web: Force the keypair-based auth mode regardless to env-vars (#564)
  • Correct misspelled word in ImageNotFound exception message. (#615)
  • Pin hiredis version to 1.1.0 (the version auto-inferred from redis-py is 2.0) to avoid a potential memory corruption error, such as "free(): invalid pointer" upon termination (#636)
  • Improve null-checks when querying allowed vfolder hosts to prevent internal server errors when there are no allowed vfolder hosts (#638)
  • Fix a spurious insufficient privilege error when running backend.ai run command as a normal user due to a mishandling of the default value of --assign-agent CLI option (#639)
  • Fix FileLock not acquiring lock forever when lock file is created without write permission to manager processes' owner (#642)
  • Change client.cli to use ai.backend.cli.main:main as its root CommandGroup. (#650)
  • Fix kernel stats not being updated to database (#661)

Miscellaneous

  • Introduce ExitCode enum to give concrete semantics to numeric CLI exit codes (#559)
  • Upgrade Pants to 2.12.0 to 2.13.0rc0 to take advantage of the latest bug fixes and improvements (#589)
  • Revamp and refactor BUILD files to make Pants to handle fine-grained target selection better via per-directory BUILD files and utilize automatic internal-dependency inferences whenever possible, with unification of the source target names to :src (previously, :lib and :service) (#627)

Full Changelog

Check out the full changelog until this release (22.09.0b1).