22.09.0b1
Pre-release
Pre-release
github-actions
released this
18 Aug 03:19
·
1521 commits
to main
since this release
Features
- Add
owner
(replacing theshared_by
field) andtype
fields ("project" or "user") to thelist_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 usingpython-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 configservice.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 raisingBackendAPIError
. (#652) - Add
status_history
to the query field ofget_container_stats_for_period
to know when the status of the session within a given period has changed. (#653) - Define interface
generate_mounts
andget_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 fromredis-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 useai.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).