-
Notifications
You must be signed in to change notification settings - Fork 9
/
versions.go
29 lines (22 loc) · 1.16 KB
/
versions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2022 Namespace Labs Inc; All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
package versions
// APIVersion represents the overall version of Namespaces's semantics, which
// are built into Namespace itself (i.e. is not versioned as part of the
// foundation repository). Whenever new non-backwards compatible semantics are
// added to Namespace, this number must be bumped.
const APIVersion = 43
const IntroducedGrpcTranscodeNode = 35
// MinimumAPIVersion represents the minimum requested version that this version
// of foundation supports. If a module requests, e.g. a minimum version of 28,
// which is below the version here specified, then Namespace will fail with a
// error that says our version of Namespace is too recent. This is used during
// development when maintaining backwards compatibility is too expensive.
const MinimumAPIVersion = 40
// Embedded into provisioning tools.
const ToolAPIVersion = 4
const ToolsIntroducedCompression = 3
const ToolsIntroducedInlineInvocation = 4
// Allow for global cache invalidation.
const CacheVersion = 1