git.iko.soy/rowtype-yoga/purescript-yoga-postgres
on main help sign in
Bump yoga-sql-types to 0.2 and heterogeneous to 0.7

yoga-postgres pinned yoga-sql-types >=0.1.0 <0.2.0 (the heterogeneous 0.6 line), which prevents it co-installing with current package sets that ship yoga-sql-types 0.2 / heterogeneous 0.7. The consumed API surface is unchanged across the bump: yoga-postgres uses only `class HFoldlWithIndex` from heterogeneous (byte-identical 0.6->0.7, which is purely additive) and `Yoga.SQL.PostgresTypes` from yoga-sql-types (byte-identical 0.1.0->0.2.0), so the library itself needs no source changes. Regenerating the lock also pulls yoga-test-docker 0.1.2, which newtyped ComposeFile/Timeout; updated the two integration-test call sites to match. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

commit0e89acd2443f715d6cbc9518bae3311cb0d89ddc authorAndrew Condon <andrew.condon@gmail.com> dateSat 30 May 2026, 10:53 (4 months ago) parentf2b5e1d
3 files changed+17−16
spago.lock+11−11 spago.yaml+3−3 test/Main.purs+3−2
spago.lock+11−11
@@ -33,7 +33,7 @@
3333 "foreign": ">=7.0.0 <8.0.0"
3434 },
3535 {
36− "heterogeneous": ">=0.6.0 <0.7.0"
36+ "heterogeneous": ">=0.7.0 <0.8.0"
3737 },
3838 {
3939 "integers": ">=6.0.0 <7.0.0"
@@ -90,10 +90,10 @@
9090 "uuid": ">=9.0.0 <10.0.0"
9191 },
9292 {
93− "yoga-json": ">=5.2.0 <6.0.0"
93+ "yoga-json": ">=5.2.1 <6.0.0"
9494 },
9595 {
96− "yoga-sql-types": ">=0.1.0 <0.2.0"
96+ "yoga-sql-types": ">=0.2.0 <0.3.0"
9797 }
9898 ]
9999 },
@@ -475,8 +475,8 @@
475475 },
476476 "heterogeneous": {
477477 "type": "registry",
478− "version": "0.6.0",
479− "integrity": "sha256-nQgk2iHYe5LIi6ZzREgWaCU3y8oCwdhDSukT6xVMWdk=",
478+ "version": "0.7.0",
479+ "integrity": "sha256-pQwcFvhWL8noktxaoD7FlLs2F2lYf3QHoyO0VOWO3I0=",
480480 "dependencies": [
481481 "either",
482482 "foldable-traversable",
@@ -983,8 +983,8 @@
983983 },
984984 "yoga-json": {
985985 "type": "registry",
986− "version": "5.2.0",
987− "integrity": "sha256-M+kkz6E1Gf+C4bKnhqoBFIoVcc74loi3rLULePbB204=",
986+ "version": "5.2.1",
987+ "integrity": "sha256-12I7qIf27oKV/D/YRcHtGpN8n7GQ0Bm3uzvI4ZjOQrs=",
988988 "dependencies": [
989989 "arrays",
990990 "bifunctors",
@@ -1022,8 +1022,8 @@
10221022 },
10231023 "yoga-sql-types": {
10241024 "type": "registry",
1025− "version": "0.1.0",
1026− "integrity": "sha256-vxOgnj3HK8F5gRHCNkIPNirORQtCBEKozG+CnrHtB84=",
1025+ "version": "0.2.0",
1026+ "integrity": "sha256-/fiSiEmSQ8UH2N7vp/E02Eo+Krbs6iGcre9haDV34Q8=",
10271027 "dependencies": [
10281028 "arrays",
10291029 "bifunctors",
@@ -1051,8 +1051,8 @@
10511051 },
10521052 "yoga-test-docker": {
10531053 "type": "registry",
1054− "version": "0.1.1",
1055− "integrity": "sha256-BKyHoGahs1D5PbjqSKL+6vvUJQ62mbpXYJOF9UwaGb8=",
1054+ "version": "0.1.2",
1055+ "integrity": "sha256-J/jgHvvwb04ZOhicRGucmrQhaokrYTc9XJ2dutsktq8=",
10561056 "dependencies": [
10571057 "aff",
10581058 "datetime",
spago.yaml+3−3
@@ -18,7 +18,7 @@ package:
1818 - exceptions: ">=6.1.0 <7.0.0"
1919 - foldable-traversable: ">=6.0.0 <7.0.0"
2020 - foreign: ">=7.0.0 <8.0.0"
21− - heterogeneous: ">=0.6.0 <0.7.0"
21+ - heterogeneous: ">=0.7.0 <0.8.0"
2222 - integers: ">=6.0.0 <7.0.0"
2323 - js-bigints: ">=2.2.1 <3.0.0"
2424 - js-date: ">=8.0.0 <9.0.0"
@@ -37,8 +37,8 @@ package:
3737 - typelevel-prelude: ">=7.0.0 <8.0.0"
3838 - unsafe-coerce: ">=6.0.0 <7.0.0"
3939 - uuid: ">=9.0.0 <10.0.0"
40− - yoga-json: ">=5.2.0 <6.0.0"
41− - yoga-sql-types: ">=0.1.0 <0.2.0"
40+ - yoga-json: ">=5.2.1 <6.0.0"
41+ - yoga-sql-types: ">=0.2.0 <0.3.0"
4242 test:
4343 main: Test.Postgres.Main
4444 dependencies:
test/Main.purs+3−2
@@ -4,6 +4,7 @@ import Prelude
44
55import Data.Either (Either(..))
66import Data.Maybe (Maybe(..))
7+import Data.Time.Duration (Milliseconds(..))
78import Effect (Effect)
89import Effect.Aff (Aff, bracket, launchAff_, throwError, try)
910import Effect.Class (liftEffect)
@@ -433,11 +434,11 @@ main = launchAff_ do
433434 bracket
434435 ( do
435436 liftEffect $ log "Starting Postgres and waiting for it to be ready..."
436− Docker.startService "docker-compose.test.yml" 30
437+ Docker.startService (Docker.ComposeFile "docker-compose.test.yml") (Docker.Timeout (Milliseconds 30000.0))
437438 liftEffect $ log "Postgres is ready!\n"
438439 )
439440 ( \_ -> do
440− Docker.stopService "docker-compose.test.yml"
441+ Docker.stopService (Docker.ComposeFile "docker-compose.test.yml")
441442 liftEffect $ log "Cleanup complete\n"
442443 )
443444 (\_ -> runSpec [ consoleReporter ] spec)