Skip to content

Commit 00269f6

Browse files
committed
Bump the deprecated API version to REv2.2
With support for REv2.0 and REv2.1 specific features removed, we should go ahead and bump the deprecated API version to REv2.2. This will force clients to stop using these old features, or simply stop working altogether.
1 parent 4bf3279 commit 00269f6

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pkg/scheduler/in_memory_build_queue.go

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -288,14 +288,13 @@ var inMemoryBuildQueueCapabilitiesProvider = capabilities.NewStaticProvider(&rem
288288
// - REv2.2 moves the platform properties from Command to Action.
289289
// - REv2.3 changes the way Command.arguments[0] is interpreted.
290290
//
291-
// For some of these features we still support the old behavior
292-
// by enabling configuration options in the scheduler and
293-
// worker. However, these options will be removed after
294-
// 2026-04-01.
291+
// We should set the deprecated API version to REv2.3 as well,
292+
// as we always process Commands.arguments[0] according to the
293+
// new semantics. However, that would break compatibility with
294+
// Bazel 8.x and below.
295295
//
296-
// TODO: Bump the deprecated API version when the legacy options
297-
// are removed.
298-
DeprecatedApiVersion: &semver.SemVer{Major: 2, Minor: 0},
296+
// TODO: Bump the deprecated API version to REv2.3 on 2027-07-01.
297+
DeprecatedApiVersion: &semver.SemVer{Major: 2, Minor: 2},
299298
LowApiVersion: &semver.SemVer{Major: 2, Minor: 3},
300299
HighApiVersion: &semver.SemVer{Major: 2, Minor: 11},
301300
})

0 commit comments

Comments
 (0)