From b70e00d7dfd12735a8e8351d820772279c8b09ed Mon Sep 17 00:00:00 2001 From: Jake Leahy Date: Sun, 26 Apr 2026 12:43:32 +1000 Subject: [PATCH 1/4] Remove the conditional dependency Breaking change, so bumped it also --- lowdb.nimble | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lowdb.nimble b/lowdb.nimble index c5dc11c..49f80d2 100644 --- a/lowdb.nimble +++ b/lowdb.nimble @@ -1,12 +1,11 @@ -version = "0.2.1" +version = "0.3.0" author = "Philipp Doerner" # Original Author of the package description = "Low level db_sqlite and db_postgres forks with a proper typing" license = "MIT" srcDir = "src" -requires "nim >= 1.4.0" -when NimMajor == 2 or (NimMajor >= 1 and NimMinor >= 9): - requires "db_connector >= 0.1.0" +requires "nim >= 2.0.0" +requires "db_connector >= 0.1.0" skipDirs = @["tests"] @@ -54,4 +53,4 @@ task stopContainers, "Stops a postgres container used for norm tests": if commandLineParams.asSudo(): command = fmt"sudo {command}" - exec command \ No newline at end of file + exec command From e63d8d6ccf358e92e78bd951075b4e583be008b7 Mon Sep 17 00:00:00 2001 From: Jake Leahy Date: Sun, 26 Apr 2026 12:49:26 +1000 Subject: [PATCH 2/4] Set it to the minimum that `db_connector` requires --- lowdb.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lowdb.nimble b/lowdb.nimble index 49f80d2..b759eec 100644 --- a/lowdb.nimble +++ b/lowdb.nimble @@ -4,7 +4,7 @@ description = "Low level db_sqlite and db_postgres forks with a proper typing" license = "MIT" srcDir = "src" -requires "nim >= 2.0.0" +requires "nim >= 1.7.3" requires "db_connector >= 0.1.0" skipDirs = @["tests"] From f752e7d73ce83e87c0273f111432468fc0d9b3cf Mon Sep 17 00:00:00 2001 From: Jake Leahy Date: Sun, 26 Apr 2026 12:52:21 +1000 Subject: [PATCH 3/4] Revert "Set it to the minimum that `db_connector` requires" This reverts commit e63d8d6ccf358e92e78bd951075b4e583be008b7. --- lowdb.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lowdb.nimble b/lowdb.nimble index b759eec..49f80d2 100644 --- a/lowdb.nimble +++ b/lowdb.nimble @@ -4,7 +4,7 @@ description = "Low level db_sqlite and db_postgres forks with a proper typing" license = "MIT" srcDir = "src" -requires "nim >= 1.7.3" +requires "nim >= 2.0.0" requires "db_connector >= 0.1.0" skipDirs = @["tests"] From 91541cc915908b2a4d43c77614666b7162f19795 Mon Sep 17 00:00:00 2001 From: Jake Leahy Date: Sun, 26 Apr 2026 12:52:57 +1000 Subject: [PATCH 4/4] Bump the workflow minimum version --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d2e9ea6..29fa325 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - nim-version: ['1.4.0', 'stable', 'devel'] + nim-version: ['2.0.0', 'stable', 'devel'] services: postgres: