Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .tegami/2026-07-31-ms93ozuq.md

This file was deleted.

6 changes: 3 additions & 3 deletions .tegami/publish-lock.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
core:changelogs:
- content: "---\npackages:\n npm:@tiesen/effect-tanstack-query:\n type: patch\n---\n\n### Refactor & Improvements\n\n- **Shared Stream Processing**: Implemented `Stream.share({ capacity: 'unbounded' })` to split the SSE stream into two parallel branches (`keepAliveStream` and `dataStream`) without re-subscribing to or re-consuming the HTTP body.\n- **Keep-Alive Timeout Handling**: Added an automatic disconnection and reconnection mechanism using `Stream.timeout(keepAliveTimeout)` if no `:keep-alive` ping is received from the server within the specified window.\n- **Robust Reconnection Loop**: Encapsulated the stream execution within an `Effect.gen` runner that explicitly yields `Effect.fail('restart')` upon completion, triggering automatic **retries** with exponential backoff (`Schedule.exponential('3 seconds')`).\n- **Graceful Error Catching**: Explicitly handled `HttpClientError`, ignoring harmless `DecodeError` exceptions while properly delegating other HTTP errors to the `onError` callback.\n- **Enhanced Abort Signal Lifecycle**: Improved integration with `AbortSignal` to guarantee clean fiber cancellation (`Fiber.interrupt`) whenever a subscription is unsubscribed or aborted.\n"
filename: 2026-07-31-ms924ofx.md
- content: "---\npackages:\n npm:@tiesen/effect-tanstack-query:\n type: patch\n---\n\n## Make react optional peerDependency\n\nMade `react` an optional peer dependency for `@tiesen/effect-tanstack-query`.\n"
filename: 2026-07-31-ms93ozuq.md
v: 0.0.0
core:packages:
- changelogIds:
- 2026-07-31-ms924ofx.md
- 2026-07-31-ms93ozuq.md
id: npm:@tiesen/effect-tanstack-query
updated: true
npm:packages:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## @tiesen/effect-tanstack-query@0.0.10

### Make react optional peerDependency

Made `react` an optional peer dependency for `@tiesen/effect-tanstack-query`.

## @tiesen/effect-tanstack-query@0.0.9

### Refactor & Improvements
Expand Down
3 changes: 3 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tiesen/effect-tanstack-query",
"version": "0.0.9",
"version": "0.0.10",
"private": false,
"description": "Effortlessly bridge Effect HTTP API clients with TanStack Query. Enjoy end-to-end type safety, zero-boilerplate options, and built-in streaming support out of the box.",
"keywords": [
Expand Down