diff --git a/.changeset/anthropic-streaming-cached-input-tokens.md b/.changeset/anthropic-streaming-cached-input-tokens.md deleted file mode 100644 index 66387941d84..00000000000 --- a/.changeset/anthropic-streaming-cached-input-tokens.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@effect/ai-anthropic": patch ---- - -populate `cachedInputTokens` in streaming responses from `cache_read_input_tokens` diff --git a/.changeset/fix-cron-next-missing-day-overflow.md b/.changeset/fix-cron-next-missing-day-overflow.md deleted file mode 100644 index 601e09f87e3..00000000000 --- a/.changeset/fix-cron-next-missing-day-overflow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"effect": patch ---- - -Fix `Cron.next` skipping earlier matching days when the upcoming day-of-month does not exist in the current month. For an expression like `0 0 1,16,31 * *`, advancing from a date past the 16th selected day 31; in a month without 31 days this overflowed into the following month and landed on a later matching day (e.g. the 16th), silently skipping the 1st. `Cron.next` now wraps to the first matching day of the next month in that case, matching the behaviour of `Cron.prev` and other cron implementations. diff --git a/.changeset/fix-httplayerrouter-shared-error-encoder.md b/.changeset/fix-httplayerrouter-shared-error-encoder.md deleted file mode 100644 index bf6c7684fec..00000000000 --- a/.changeset/fix-httplayerrouter-shared-error-encoder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@effect/platform": patch ---- - -Fix `HttpLayerRouter.addHttpApi` so two registered APIs no longer share error encoders. Previously each call's middleware was added to a shared context map and applied to every route, so a 500 response from one API was sometimes encoded against the other API's error schema. The fix scopes each API's middleware to its own endpoints (matched by method + path) and wraps each route handler directly. diff --git a/packages/ai/anthropic/CHANGELOG.md b/packages/ai/anthropic/CHANGELOG.md index cf96912c9a8..be592770a19 100644 --- a/packages/ai/anthropic/CHANGELOG.md +++ b/packages/ai/anthropic/CHANGELOG.md @@ -1,5 +1,15 @@ # @effect/ai-anthropic +## 0.26.1 + +### Patch Changes + +- [#6288](https://github.com/Effect-TS/effect/pull/6288) [`cfa2bbf`](https://github.com/Effect-TS/effect/commit/cfa2bbf7f290e88e2c57480eb9b2d7b058389cda) Thanks @davidgoli! - populate `cachedInputTokens` in streaming responses from `cache_read_input_tokens` + +- Updated dependencies [[`95c7d2e`](https://github.com/Effect-TS/effect/commit/95c7d2ed435cf4cc954cf015304952a0fffbebc7), [`99d5575`](https://github.com/Effect-TS/effect/commit/99d5575a1401b375b5a73f87fb5bf7e46c372f2f)]: + - effect@3.21.5 + - @effect/platform@0.96.3 + ## 0.26.0 ### Patch Changes diff --git a/packages/ai/anthropic/package.json b/packages/ai/anthropic/package.json index b63e9272b68..bacd6b990c6 100644 --- a/packages/ai/anthropic/package.json +++ b/packages/ai/anthropic/package.json @@ -1,7 +1,7 @@ { "name": "@effect/ai-anthropic", "type": "module", - "version": "0.26.0", + "version": "0.26.1", "license": "MIT", "description": "Effect modules for working with AI apis", "homepage": "https://effect.website", diff --git a/packages/effect/CHANGELOG.md b/packages/effect/CHANGELOG.md index e8b4477a400..3c1847040de 100644 --- a/packages/effect/CHANGELOG.md +++ b/packages/effect/CHANGELOG.md @@ -1,5 +1,11 @@ # effect +## 3.21.5 + +### Patch Changes + +- [#6285](https://github.com/Effect-TS/effect/pull/6285) [`95c7d2e`](https://github.com/Effect-TS/effect/commit/95c7d2ed435cf4cc954cf015304952a0fffbebc7) Thanks @chatman-media! - Fix `Cron.next` skipping earlier matching days when the upcoming day-of-month does not exist in the current month. For an expression like `0 0 1,16,31 * *`, advancing from a date past the 16th selected day 31; in a month without 31 days this overflowed into the following month and landed on a later matching day (e.g. the 16th), silently skipping the 1st. `Cron.next` now wraps to the first matching day of the next month in that case, matching the behaviour of `Cron.prev` and other cron implementations. + ## 3.21.4 ### Patch Changes diff --git a/packages/effect/package.json b/packages/effect/package.json index 77a5e69c9fb..84684866eee 100644 --- a/packages/effect/package.json +++ b/packages/effect/package.json @@ -1,6 +1,6 @@ { "name": "effect", - "version": "3.21.4", + "version": "3.21.5", "type": "module", "license": "MIT", "description": "The missing standard library for TypeScript, for writing production-grade software.", diff --git a/packages/effect/src/internal/version.ts b/packages/effect/src/internal/version.ts index c8a2a54d7fe..e561636bbd7 100644 --- a/packages/effect/src/internal/version.ts +++ b/packages/effect/src/internal/version.ts @@ -1,4 +1,4 @@ -let moduleVersion = "3.21.4" +let moduleVersion = "3.21.5" export const getCurrentVersion = () => moduleVersion diff --git a/packages/platform/CHANGELOG.md b/packages/platform/CHANGELOG.md index 4274711e692..483ab086644 100644 --- a/packages/platform/CHANGELOG.md +++ b/packages/platform/CHANGELOG.md @@ -1,5 +1,14 @@ # @effect/platform +## 0.96.3 + +### Patch Changes + +- [#6244](https://github.com/Effect-TS/effect/pull/6244) [`99d5575`](https://github.com/Effect-TS/effect/commit/99d5575a1401b375b5a73f87fb5bf7e46c372f2f) Thanks @spokodev! - Fix `HttpLayerRouter.addHttpApi` so two registered APIs no longer share error encoders. Previously each call's middleware was added to a shared context map and applied to every route, so a 500 response from one API was sometimes encoded against the other API's error schema. The fix scopes each API's middleware to its own endpoints (matched by method + path) and wraps each route handler directly. + +- Updated dependencies [[`95c7d2e`](https://github.com/Effect-TS/effect/commit/95c7d2ed435cf4cc954cf015304952a0fffbebc7)]: + - effect@3.21.5 + ## 0.96.2 ### Patch Changes diff --git a/packages/platform/package.json b/packages/platform/package.json index c6e1c29a375..099c89493c2 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,7 +1,7 @@ { "name": "@effect/platform", "type": "module", - "version": "0.96.2", + "version": "0.96.3", "license": "MIT", "description": "Unified interfaces for common platform-specific services", "homepage": "https://effect.website",