diff --git a/.github/common_edge_cases.md b/.github/common_edge_cases.md index c9fa1dda17f..63bdcbd288c 100644 --- a/.github/common_edge_cases.md +++ b/.github/common_edge_cases.md @@ -14,3 +14,5 @@ Consider SQL pitfalls: - `x IN ()` statements must never called with empty list - `ARRAY_AGG(x)` may have nullable values (use `ARRAY_REMOVE(ARRAY_AGG(x), null)` instead) - Complex SQL queries may have a fanout effect due to multiple left joins, leading to duplicates + +When changing the API version, also adapt `ApiVersioning.CURRENT_API_VERSION` diff --git a/app/utils/ApiVersioning.scala b/app/utils/ApiVersioning.scala index b3435239f86..81e8267cef1 100644 --- a/app/utils/ApiVersioning.scala +++ b/app/utils/ApiVersioning.scala @@ -4,7 +4,7 @@ import play.api.mvc.RequestHeader trait ApiVersioning { - protected def CURRENT_API_VERSION: Int = 7 + protected def CURRENT_API_VERSION: Int = 8 protected def OLDEST_SUPPORTED_API_VERSION: Int = 3