From d8eaca0ac2c97c0224b060f727da1f2a640fe68f Mon Sep 17 00:00:00 2001 From: Bram van den Heuvel Date: Fri, 22 Sep 2023 16:12:16 +0200 Subject: [PATCH] Push /redact to spec versions 1.7 and 1.8 --- src/Internal/Api/README.md | 6 +++--- src/Internal/Api/Redact/Main.elm | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Internal/Api/README.md b/src/Internal/Api/README.md index 0ccf4d0..ad1f6fc 100644 --- a/src/Internal/Api/README.md +++ b/src/Internal/Api/README.md @@ -20,9 +20,9 @@ Note that **under development** doesn't always mean that it _will be_ supported. | **Spec version** | | Syncing | Redaction | | ---------------- | - | ------- | --------- | -| v1.8 || ⚡ | ⚡ | -| v1.7 || ⚡ | ⚡ | -| v1.6 || ⚠️ | ⚠️ | +| v1.8 || ⚡ | ✔️ | +| v1.7 || ⚡ | ✔️ | +| v1.6 || ⚠️ | ✔️ | | v1.5 || ✔️ | ✔️ | | v1.4 || ✔️ | ✔️ | | v1.3 || ✔️ | ✔️ | diff --git a/src/Internal/Api/Redact/Main.elm b/src/Internal/Api/Redact/Main.elm index 90dd2d4..6fe7b09 100644 --- a/src/Internal/Api/Redact/Main.elm +++ b/src/Internal/Api/Redact/Main.elm @@ -32,6 +32,8 @@ redact context input = |> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.5" |> VC.sameForVersion "v1.6" + |> VC.sameForVersion "v1.7" + |> VC.sameForVersion "v1.8" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input