Push /redact to spec versions 1.7 and 1.8

main
Bram van den Heuvel 2023-09-22 16:12:16 +02:00
parent 349ee739e2
commit d8eaca0ac2
2 changed files with 5 additions and 3 deletions

View File

@ -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 || ✔️ | ✔️ |

View File

@ -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