Browse Source

[DOCS] SQL: Update client version compatability for 7.17 (#81869)

Replaces a 7.x reference with the `{prev-major-last}` variable, which will use the last minor of the previous major (currently 7.17 for 8.x).

Relates to #70451.
James Rodewig 3 years ago
parent
commit
adca5b9dc5
1 changed files with 2 additions and 3 deletions
  1. 2 3
      docs/reference/sql/endpoints/version-compat.asciidoc

+ 2 - 3
docs/reference/sql/endpoints/version-compat.asciidoc

@@ -9,7 +9,7 @@ For example, A 7.10.0 server is not compatible with {version} drivers.
 | Compatible driver versions
 | Example
 
-ifeval::[ "{major-version}" != "7.x" ]
+ifeval::[ "{major-version}" == "8.x" ]
 
 ifeval::[ "{minor-version}" != "8.0" ]
 | 8.0.0–{version}
@@ -28,8 +28,7 @@ ifeval::[ "{minor-version}" == "8.0" ]
 compatible with 7.7.0 and later 7.x drivers.
 endif::[]
 
-// After 8.0 release, replace 7.x with last 7.x version
-| 7.7.1-7.x
+| 7.7.1-{prev-major-last}
 | * The same version
   * An earlier 7.x version, back to 7.7.0.
 | A 7.10.0 server is compatible with 7.7.0-7.10.0 drivers.