1"@effect/sql/Model#Any":
2 replacement: "effect/schema/Model#Any"
3 note: "Moved; v4 schemas track DecodingServices and EncodingServices separately instead of one Context type."
4"@effect/sql/Model#AnyNoContext":
5 replacement: "effect/schema/Model#Any"
6 note: "The distinct no-context alias was removed; Model.Any propagates decoding and encoding services. Constrain both service types to never when required."
7"@effect/sql/Model#BooleanFromNumber":
8 replacement: "effect/Schema#BooleanFromBit"
9 note: "Use the core 0 | 1 to boolean schema; Model.BooleanSqlite is the ready-made model field."
10"@effect/sql/Model#Class":
11 replacement: "effect/schema/Model#Class"
12 note: "Moved; model variants remain select, insert, update, json, jsonCreate, and jsonUpdate."
13"@effect/sql/Model#Date":
14 replacement: "effect/schema/Model#Date"
15 note: "Moved; still serializes DateTime.Utc as a YYYY-MM-DD string."
16"@effect/sql/Model#DateTimeFromDate":
17 replacement: "effect/Schema#DateTimeUtcFromDate"
18 note: "Moved to core Schema and retains Date to DateTime.Utc conversion."
19"@effect/sql/Model#extract":
20 replacement: "effect/schema/Model#extract"
21 note: "Retained after moving the model variant helpers into core Effect's unstable schema package."
22"@effect/sql/Model#fieldFromKey":
23 replacement: "effect/Schema#encodeKeys"
24 note: "The field helper was removed; apply encodeKeys to each concrete struct or model-variant schema that crosses the naming boundary."
25"@effect/sql/Model#Generated":
26 replacement: "effect/schema/Model#GeneratedByDb"
27 note: "Renamed and now read-only, with select and json variants only. Use Model.Field with select, update, and json to preserve writable v3 behavior."
28"@effect/sql/Model#makeDataLoaders":
29 replacement: "effect/sql/SqlModel#makeResolvers"
30 note: "Returns RequestResolvers instead of callable loaders; execute with SqlResolver.request and use RequestResolver delay/batch combinators for batching controls. The insert resolver requires model decoding services as well as insert-schema encoding services."
31"@effect/sql/Model#Override":
32 replacement: "effect/schema/Model#Override"
33 note: "Moved with the same explicit-default override purpose."
34"@effect/sql/Model#fields":
35 replacement: "effect/schema/Model#fields"
36 note: "Moved with the variant-model helpers into core Effect's unstable schema package."