Files
effect/migration/annotations/effect__sql-sqlite-node__SqliteClient.yaml

19 lines
1.7 KiB
YAML

"@effect/sql-sqlite-node/SqliteClient#SqliteClient":
replacement: "@effect/sql-sqlite-node/SqliteClient#SqliteClient"
note: "Retained on node:sqlite, but the byte-export member was removed; use backup(destination) for file backup. The SqliteClient interface no longer extends SqlClient.SqlClient. Yielding the service still gives SqliteClient & SqlClient, but an effect that requires SqliteClient no longer type-checks against a SqlClient requirement annotation, and a SqlClient-only layer no longer satisfies SqliteClient. Annotate a layer chosen between drivers as Layer.Layer<SqlClient.SqlClient, E>."
"@effect/sql-sqlite-node/SqliteClient#SqliteClientConfig":
replacement: "@effect/sql-sqlite-node/SqliteClient#SqliteClientConfig"
note: "Retained; prepareCacheTTL now uses Duration.Input."
"@effect/sql-sqlite-node/SqliteClient#make":
include: true
replacement: "SqliteClient.make"
note: "Database opening and initialization now fail with SqlError instead of defects. Handle the typed setup error, or use Effect.orDie when setup failures should remain fatal."
"@effect/sql-sqlite-node/SqliteClient#layer":
include: true
replacement: "SqliteClient.layer"
note: "The layer now has a SqlError error channel for database opening and initialization failures. Handle setup failures, or use Layer.orDie when they should remain fatal."
"@effect/sql-sqlite-node/SqliteClient#layerConfig":
include: true
replacement: "SqliteClient.layerConfig"
note: "The layer now fails with ConfigError | SqlError: configuration errors remain typed, and database opening and initialization failures are also typed. Handle SqlError as well, or use Layer.orDie if all setup failures should be fatal."