| 1 | "effect/Brand#all": |
| 2 | replacement: "Brand.all" |
| 3 | note: "Still exported; combines multiple brand constructors and checks." |
| 4 | "effect/Brand#Brand": |
| 5 | replacement: "Brand.Brand" |
| 6 | note: "Still exported, but v4 brand keys are strings rather than symbols." |
| 7 | "effect/Brand#Brand.BrandErrors": |
| 8 | replacement: "Brand.BrandError" |
| 9 | note: "Validation now returns one BrandError wrapping a SchemaIssue.Issue instead of an error array." |
| 10 | "effect/Brand#Brand.RefinementError": |
| 11 | replacement: "Schema.FilterIssue" |
| 12 | note: "Brand.make validators use Schema filter output instead of the old message and meta record." |
| 13 | "effect/Brand#Branded": |
| 14 | replacement: "Brand.Branded" |
| 15 | note: "Still exported, with the brand key restricted to string." |
| 16 | "effect/Brand#BrandTypeId": |
| 17 | replacement: "none" |
| 18 | note: "The public marker was removed; the v4 brand type id is private." |
| 19 | "effect/Brand#error": |
| 20 | replacement: "Brand.make" |
| 21 | note: "Return a string or Schema filter issue directly from a Brand.make validator." |
| 22 | "effect/Brand#nominal": |
| 23 | replacement: "Brand.nominal" |
| 24 | note: "Still exported; the constructor's either method is now result." |
| 25 | "effect/Brand#refined": |
| 26 | replacement: "Brand.make" |
| 27 | note: "Use Brand.make for custom validation or Brand.check for Schema checks." |
| 28 | "effect/Brand#RefinedConstructorsTypeId": |
| 29 | replacement: "none" |
| 30 | note: "The public refined-constructor marker was removed." |
| 31 | "effect/Brand#unbranded": |
| 32 | replacement: "Function.cast" |
| 33 | note: "Brands are runtime-identical to their base value; cast explicitly when an unbranded type is required." |