Skip to content

Version Packages (beta)#2045

Open
effect-bot wants to merge 1 commit intomainfrom
changeset-release/main
Open

Version Packages (beta)#2045
effect-bot wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@effect-bot
Copy link
Copy Markdown
Contributor

@effect-bot effect-bot commented Apr 16, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@effect/ai-anthropic@4.0.0-beta.51

Patch Changes

@effect/ai-openai@4.0.0-beta.51

Patch Changes

@effect/ai-openai-compat@4.0.0-beta.51

Patch Changes

@effect/ai-openrouter@4.0.0-beta.51

Patch Changes

@effect/atom-react@4.0.0-beta.51

Patch Changes

@effect/atom-solid@4.0.0-beta.51

Patch Changes

@effect/atom-vue@4.0.0-beta.51

Patch Changes

effect@4.0.0-beta.51

Patch Changes

  • #2049 778d2af Thanks @bohdanbirdie! - Add RpcSerialization.makeMsgPack for creating MessagePack serialization with custom msgpackr options. On Cloudflare Workers with allow_eval_during_startup (default for compatibility_date >= 2025-06-01), pass { useRecords: false } to prevent msgpackr's JIT code generation via new Function(), which is blocked during request handling. Also fixes silent error swallowing in the msgPack decode path — non-incomplete errors are now rethrown instead of returning [].

  • #2010 4e24dcf Thanks @tim-smart! - process schema properties / elements concurrently

  • 4b1c015 Thanks @gcanti! - Schema: expand FilterOutput and add FilterIssue for richer filter failures.

    The return type of a Schema.makeFilter predicate now supports two additional shapes:

    • { path, issue } where issue is string | SchemaIssue.Issue (previously only { path, message: string } was accepted). The issue arm lets you attach a fully-formed Issue at a nested path without manually constructing a Pointer.
    • ReadonlyArray<Schema.FilterIssue> to report several failures at once. An empty array is success, a single-element array is equivalent to returning that element, and multi-entry arrays are grouped into an Issue.Composite. This removes the need to import SchemaIssue and hand-build a Composite for multi-field validators.

    The single-failure shapes (undefined, true, false, string, SchemaIssue.Issue) are unchanged.

    Breaking: the object shape renamed from { path, message } to { path, issue }. Call sites that used the old shape must rename the field; the migration is mechanical.

    // before
    Schema.makeFilter((o) => ({ path: ["a"], message: "bad" }));
    
    // after
    Schema.makeFilter((o) => ({ path: ["a"], issue: "bad" }));

    Also renamed { path, message } to { path, issue } in the accepted return type of SchemaGetter.checkEffect.

  • #2047 454f8ad Thanks @gcanti! - Fix SchemaAST.isJson rejecting DAGs as cycles, closes #2021.

    The previous implementation marked every visited object in a single seen set and never removed it, so any value that referenced the same object through two different paths (a DAG, e.g. { x: shared, y: shared }) was treated as a cycle and returned false. Cycle detection now tracks only the current recursion path (popping on exit) and memoizes fully validated subtrees, so DAGs are accepted while true cycles are still rejected.

  • #2051 6754a0c Thanks @tim-smart! - disable sql traces for EventLog, RunnerStorage

  • #2046 d7e1519 Thanks @gcanti! - Remove the options parameter from OpenApi.fromApi.

    The parameter only carried additionalProperties, but the function caches results in a WeakMap keyed solely on the api instance. Passing different options across calls for the same api was silently ignored, making the parameter order-dependent and effectively single-shot. No call sites were using it, so the signature is now simply fromApi(api).

  • #2044 72a8122 Thanks @tim-smart! - ensure envelope payloads are correctly encoded for notify path

@effect/opentelemetry@4.0.0-beta.51

Patch Changes

@effect/platform-browser@4.0.0-beta.51

Patch Changes

@effect/platform-bun@4.0.0-beta.51

Patch Changes

@effect/platform-node@4.0.0-beta.51

Patch Changes

@effect/platform-node-shared@4.0.0-beta.51

Patch Changes

@effect/sql-clickhouse@4.0.0-beta.51

Patch Changes

@effect/sql-d1@4.0.0-beta.51

Patch Changes

@effect/sql-libsql@4.0.0-beta.51

Patch Changes

@effect/sql-mssql@4.0.0-beta.51

Patch Changes

@effect/sql-mysql2@4.0.0-beta.51

Patch Changes

@effect/sql-pg@4.0.0-beta.51

Patch Changes

@effect/sql-sqlite-bun@4.0.0-beta.51

Patch Changes

@effect/sql-sqlite-do@4.0.0-beta.51

Patch Changes

@effect/sql-sqlite-node@4.0.0-beta.51

Patch Changes

@effect/sql-sqlite-react-native@4.0.0-beta.51

Patch Changes

@effect/sql-sqlite-wasm@4.0.0-beta.51

Patch Changes

@effect/openapi-generator@4.0.0-beta.51

Patch Changes

@effect/vitest@4.0.0-beta.51

Patch Changes

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 16, 2026

📊 JSDoc Documentation Analysis

📈 Current Analysis Results
Analyzing 135 TypeScript files in packages/effect/src/ (including schema and config subdirectories)...

============================================================
         EFFECT JSDOC ANALYSIS REPORT
============================================================

📊 SUMMARY STATISTICS
------------------------------
Total files analyzed: 135
Total exported members: 4312
Missing @example: 2179 (50.5%)
Missing @category: 396 (9.2%)

🎯 TOP FILES NEEDING ATTENTION
----------------------------------------
1. Schema.ts
   📝 517 missing examples, 🏷️  202 missing categories
   📦 517 total exports
2. Array.ts
   📝 135 missing examples, 🏷️  2 missing categories
   📦 140 total exports
3. SchemaRepresentation.ts
   📝 96 missing examples, 🏷️  12 missing categories
   📦 96 total exports
4. SchemaAST.ts
   📝 77 missing examples, 🏷️  21 missing categories
   📦 77 total exports
5. Cause.ts
   📝 79 missing examples, 🏷️  2 missing categories
   📦 79 total exports
6. Channel.ts
   📝 81 missing examples, 🏷️  0 missing categories
   📦 152 total exports
7. SchemaTransformation.ts
   📝 42 missing examples, 🏷️  30 missing categories
   📦 42 total exports
8. Option.ts
   📝 66 missing examples, 🏷️  3 missing categories
   📦 66 total exports
9. Sink.ts
   📝 64 missing examples, 🏷️  2 missing categories
   📦 81 total exports
10. Predicate.ts
   📝 57 missing examples, 🏷️  0 missing categories
   📦 57 total exports
11. SchemaGetter.ts
   📝 51 missing examples, 🏷️  0 missing categories
   📦 51 total exports
12. Result.ts
   📝 46 missing examples, 🏷️  0 missing categories
   📦 46 total exports
13. Config.ts
   📝 35 missing examples, 🏷️  6 missing categories
   📦 35 total exports
14. Types.ts
   📝 39 missing examples, 🏷️  0 missing categories
   📦 39 total exports
15. Effect.ts
   📝 31 missing examples, 🏷️  2 missing categories
   📦 253 total exports

✅ PERFECTLY DOCUMENTED FILES
-----------------------------------
   Chunk.ts (86 exports)
   Clock.ts (5 exports)
   FiberHandle.ts (15 exports)
   FiberMap.ts (19 exports)
   FiberSet.ts (14 exports)
   HKT.ts (4 exports)
   HashMap.ts (44 exports)
   HashSet.ts (21 exports)
   Match.ts (57 exports)
   MutableRef.ts (17 exports)
   NonEmptyIterable.ts (3 exports)
   Random.ts (9 exports)
   Redacted.ts (9 exports)
   RegExp.ts (3 exports)
   Symbol.ts (1 exports)
   Trie.ts (29 exports)
   TxChunk.ts (22 exports)
   TxDeferred.ts (7 exports)
   TxHashMap.ts (41 exports)
   TxHashSet.ts (24 exports)
   TxPriorityQueue.ts (19 exports)
   TxReentrantLock.ts (17 exports)
   TxRef.ts (7 exports)
   TxSemaphore.ts (14 exports)
   TxSubscriptionRef.ts (12 exports)
   Unify.ts (8 exports)
   index.ts (0 exports)

🔍 SAMPLE MISSING ITEMS FROM Schema.ts
-----------------------------------
   Optionality (type, line 151): missing example, category
   Mutability (type, line 160): missing example, category
   ConstructorDefault (type, line 170): missing example, category
   MakeOptions (interface, line 184): missing example, category
   Bottom (interface, line 212): missing example, category
   declareConstructor (interface, line 270): missing example
   declareConstructor (function, line 334): missing example
   declare (interface, line 361): missing example
   declare (function, line 394): missing example
   revealBottom (function, line 434): missing example, category

📋 BREAKDOWN BY EXPORT TYPE
-----------------------------------
const: 1123 missing examples, 114 missing categories
interface: 344 missing examples, 90 missing categories
type: 253 missing examples, 79 missing categories
function: 353 missing examples, 93 missing categories
namespace: 48 missing examples, 20 missing categories
class: 58 missing examples, 0 missing categories

📈 DOCUMENTATION PROGRESS
------------------------------
Examples: 2133/4312 (49.5% complete)
Categories: 3916/4312 (90.8% complete)

============================================================
Analysis complete! 2575 items need attention.
============================================================

📄 Detailed results saved to: jsdoc-analysis-results.json

This comment is automatically updated on each push. View the analysis script for details.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 16, 2026

Bundle Size Analysis

File Name Current Size Previous Size Difference
basic.ts 6.73 KB 6.73 KB 0.00 KB (0.00%)
batching.ts 9.23 KB 9.23 KB 0.00 KB (0.00%)
brand.ts 6.45 KB 6.45 KB 0.00 KB (0.00%)
cache.ts 9.98 KB 9.98 KB 0.00 KB (0.00%)
config.ts 18.44 KB 18.44 KB 0.00 KB (0.00%)
differ.ts 16.86 KB 16.86 KB 0.00 KB (0.00%)
http-client.ts 20.12 KB 20.12 KB 0.00 KB (0.00%)
logger.ts 9.20 KB 9.20 KB 0.00 KB (0.00%)
metric.ts 8.57 KB 8.57 KB 0.00 KB (0.00%)
optic.ts 7.61 KB 7.61 KB 0.00 KB (0.00%)
pubsub.ts 14.09 KB 14.09 KB 0.00 KB (0.00%)
queue.ts 11.08 KB 11.08 KB 0.00 KB (0.00%)
schedule.ts 10.29 KB 10.29 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 26.17 KB 26.17 KB 0.00 KB (0.00%)
schema-string-transformation.ts 12.05 KB 12.05 KB 0.00 KB (0.00%)
schema-string.ts 10.36 KB 10.36 KB 0.00 KB (0.00%)
schema-template-literal.ts 13.98 KB 13.98 KB 0.00 KB (0.00%)
schema-toArbitraryLazy.ts 18.51 KB 18.51 KB 0.00 KB (0.00%)
schema-toCodeDocument.ts 21.19 KB 21.19 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 17.72 KB 17.72 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 17.68 KB 17.68 KB 0.00 KB (0.00%)
schema-toFormatter.ts 17.52 KB 17.52 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 20.03 KB 20.03 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 18.08 KB 18.08 KB 0.00 KB (0.00%)
schema.ts 17.09 KB 17.09 KB 0.00 KB (0.00%)
stm.ts 11.93 KB 11.93 KB 0.00 KB (0.00%)
stream.ts 9.26 KB 9.26 KB 0.00 KB (0.00%)

@effect-bot effect-bot force-pushed the changeset-release/main branch 6 times, most recently from e32c9fb to 86ef815 Compare April 18, 2026 10:03
@effect-bot effect-bot force-pushed the changeset-release/main branch from 86ef815 to 22accfa Compare April 18, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schema.Json: isJson rejects JSON values that share non-cyclic references

1 participant