| 1 | effect/TRandom#TRandom: |
| 2 | replacement: "none" |
| 3 | note: "The transactional random service was deliberately removed; use Random outside retried transactions where possible." |
| 4 | effect/TRandom#TRandomTypeId: |
| 5 | replacement: "none" |
| 6 | note: "TRandom and its public type id were removed; v4 has no TxRandom module." |
| 7 | effect/TRandom#Tag: |
| 8 | replacement: "Random.Random" |
| 9 | note: "Use the v4 Random Context.Reference; the transactional random service was removed." |
| 10 | effect/TRandom#next: |
| 11 | replacement: "Random.next" |
| 12 | note: "TxRandom was removed. Random.next is an ordinary Effect and may be re-executed if used inside a retried transaction." |
| 13 | effect/TRandom#nextBoolean: |
| 14 | replacement: "Random.nextBoolean" |
| 15 | note: "TxRandom was removed. This ordinary Effect is not rollback-safe under transaction retry." |
| 16 | effect/TRandom#nextInt: |
| 17 | replacement: "Random.nextInt" |
| 18 | note: "TxRandom was removed. This ordinary Effect is not rollback-safe under transaction retry." |
| 19 | effect/TRandom#nextIntBetween: |
| 20 | replacement: "Random.nextIntBetween(low, high, { halfOpen: true })" |
| 21 | note: "TxRandom was removed; request half-open bounds explicitly to preserve the v3 range behavior." |
| 22 | effect/TRandom#nextRange: |
| 23 | replacement: "Random.nextBetween" |
| 24 | note: "The operation was renamed and is no longer backed by rollback-safe transactional random state." |
| 25 | effect/TRandom#shuffle: |
| 26 | replacement: "Random.shuffle" |
| 27 | note: "TxRandom was removed. This ordinary Effect is not rollback-safe under transaction retry." |