Skip to content

Commit

Permalink
feat: Bump the manager API version to v8.20240315 (#1938)
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Feb 28, 2024
1 parent 1465806 commit b6c4181
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions changes/1938.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump the manager API version to v8.20240315 with some big changes memo'ed in manager/server.py
4 changes: 2 additions & 2 deletions src/ai/backend/client/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class Undefined(enum.Enum):
_config = None
_undefined = Undefined.token

API_VERSION = (7, "20230615")
MIN_API_VERSION = (5, "20191215")
API_VERSION = (8, "20240615")
MIN_API_VERSION = (7, "20230615")

DEFAULT_CHUNK_SIZE = 16 * (2**20) # 16 MiB
MAX_INFLIGHT_CHUNKS = 4
Expand Down
11 changes: 10 additions & 1 deletion src/ai/backend/manager/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@
# added user & project resource policies
# deprecated per-vfolder quota configs (BREAKING)
"v7.20230615",
# added /vfolders API set to replace name-based refs to ID-based refs to work with vfolders
# set pending deprecation for the legacy /folders API set
# added vfolder trash bin APIs
# changed the image registry management API to allow per-project registry configs (BREAKING)
# TODO: added an initial version of RBAC for projects and vfolders
# TODO: replaced keypair-based resource policies to user-based resource policies
# TODO: began SSO support using per-external-service keypairs (e.g., for FastTrack)
"v8.20240315",
])
LATEST_REV_DATES: Final = {
1: "20160915",
Expand All @@ -121,8 +129,9 @@
5: "20191215",
6: "20230315",
7: "20230615",
8: "20240315",
}
LATEST_API_VERSION: Final = "v7.20230615"
LATEST_API_VERSION: Final = "v8.20240315"

log = BraceStyleAdapter(logging.getLogger(__spec__.name)) # type: ignore[name-defined]

Expand Down

0 comments on commit b6c4181

Please sign in to comment.