Skip to content

Commit 4de2b1a

Browse files
Release 0.14 (#549)
* Add release page * Delete `attachOperation` (#548) * Update docs * Delete code * Migration path * Delete `attachOperation` operator * Decrease size * Delete `concurrency` field (#550) * Update docs * Delete `concurrency` field in favour of `concurrency` operator * Delete code * Decrease size * Fix docs * Export `ExecutionMeta` (#551) * Export execution meta * Export `ExecutionMeta` * Export `attachObservability` Add missed files * Fix streaming in edge runtimes (#552) * Fix checkEmptyResponse in case of edge runtime * Fix apiRequestFx in case of edge runtime * Get rid off `response.clone()` to support streaming in edge runtimes" * Update dry-comics-shop.md * Increase size * Make test more stable * Use drain instead of cancel * DevTools `logErrorsToConsole` (#553) * Log all errors to console in case of enabled in config * Docs * Add option `logErrorsToConsole` * Added a new feature - `mapError` mapper Add docs Added a new feature - `mapFailure` mapper to all Queries Bump size-limit Fix formatting issues Update apps/website/docs/api/factories/create_json_query.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Update apps/website/docs/recipes/data_flow.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> `mapFailure` -> `mapError` Support mapError for Mutations fix format errors `mapFailure` -> `mapError` for tests too Improve mapError in query tests Update types to support mapError properly `.watch` -> `createWatch` fix ci fix formatting * Fix retry filter bugs (#557) Fix retry ethernal pending bug * Fix inflight reset (#558) Fix reset logic * Fix concurrency and retry combo (#559) * Name release * Add why Rawai --------- Co-authored-by: AlexandrHoroshih <xad71rus@gmail.com> Co-authored-by: Alexander Khoroshikh <32790736+AlexandrHoroshih@users.noreply.github.com>
2 parents 2469a9a + 02f536b commit 4de2b1a

63 files changed

Lines changed: 2352 additions & 1159 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/brave-eyes-kiss.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@farfetched/core": patch
3+
---
4+
5+
Fix retry operator to not retry abort errors from concurrency policies. Previously, when using `concurrency` with `TAKE_LATEST` strategy alongside `retry`, abort errors could leak through the retry mechanism, causing unnecessary retry attempts for intentionally cancelled requests. Now abort errors are automatically filtered out before retry logic is applied.

.changeset/curly-spiders-smash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@farfetched/core": minor
3+
---
4+
5+
Delete `concurrency` field in favour of `concurrency` operator

.changeset/dry-comics-shop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@farfetched/core": patch
3+
---
4+
5+
Get rid off `response.clone()` to support streaming in edge runtimes
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@farfetched/core": minor
3+
---
4+
5+
Delete `attachOperation` operator

.changeset/metal-dragons-teach.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@farfetched/dev-tools": minor
3+
---
4+
5+
Add option `logErrorsToConsole`

.changeset/old-onions-juggle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@farfetched/core": patch
3+
---
4+
5+
Export `ExecutionMeta`
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@farfetched/core': minor
3+
---
4+
5+
Added a new feature - `mapError` mapper to all Queries and Mutations

.changeset/strange-apes-heal.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@farfetched/core": patch
3+
---
4+
5+
Export `attachObservability`

apps/showcase-solid-real-world-rick-morty/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ import { App } from './app';
55

66
render(() => <App />, document.getElementById('root') as HTMLElement);
77

8-
attachFarfetchedDevTools();
8+
attachFarfetchedDevTools({ logErrorsToConsole: true });

apps/website/docs/.vitepress/config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@ export default withMermaid(
209209
{ text: 'concurrency', link: '/api/operators/concurrency' },
210210
{ text: 'applyBarrier', link: '/api/operators/apply_barrier' },
211211
{ text: 'update', link: '/api/operators/update' },
212-
{
213-
text: 'attachOperation',
214-
link: '/api/operators/attach_operation',
215-
},
216212
{ text: 'connectQuery', link: '/api/operators/connect_query' },
217213
],
218214
},
@@ -407,6 +403,7 @@ export default withMermaid(
407403
{
408404
text: 'Releases',
409405
items: [
406+
{ text: 'v0.14 Rawai', link: '/releases/0-14' },
410407
{ text: 'v0.13 Naiharn', link: '/releases/0-13' },
411408
{ text: 'v0.12 Talat Noi', link: '/releases/0-12' },
412409
{ text: 'v0.11 Namtok Ngao', link: '/releases/0-11' },

0 commit comments

Comments
 (0)