v0.14 Rawai
Mostly about improving and cleaning the APIs of Farfetched. We are preparing for the big release v1.0, so as promised, all 0.X releases will be about improving the existing features and cleaning the APIs.
Why Rawai?
Rawai is a neighborhood at the southern tip of Phuket. This place holds special significance for Farfetched, as it is where most of the actual design and development of the library have happened 🧑💻
Migration guide
attachOperation operator
This operator is deprecated since v0.12 and removed in v0.14. Please read this ADR for more information and migration guide.
concurrency operator
Field concurrency in createJsonQuery and createJsonMutation is deprecated since v0.12 and removed in v0.14. It has to be replaced by the concurrency operator. Please read this ADR for more information and migration guide.
Full changelog
0.14.2
0.14.1
0.14.0
@farfetched/core
Minor Changes
- 9e89fb8: Delete
concurrencyfield in favour ofconcurrencyoperator - 0d3bcb0: Delete
attachOperationoperator - 4035fee: Added a new feature -
mapErrormapper to all Queries and Mutations
Patch Changes
- 3a319bc: Fix retry operator to not retry abort errors from concurrency policies. Previously, when using
concurrencywithTAKE_LATESTstrategy alongsideretry, 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. - 6efc16a: Get rid off
response.clone()to support streaming in edge runtimes - e12648e: Export
ExecutionMeta - 3c0c3a9: Export
attachObservability