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
7 changes: 0 additions & 7 deletions .changeset/wise-adults-doubt.md

This file was deleted.

15 changes: 12 additions & 3 deletions apps/website/changelog/lib.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,18 @@ export function excludeTrashUpdates(items) {
.map((tags) => {
const [header, ...body] = tags;

const filteredBody = body.filter(
(item) => !item.at(1).toLowerCase().includes('updated dependencies')
);
const filteredBody = body.filter((item) => {
const updateItem = item.at(1);
if (typeof updateItem !== 'string') {
return true;
}

const isTrashUpdate = updateItem
.toLowerCase()
.includes('updated dependencies');

return !isTrashUpdate;
});

if (filteredBody.length === 0) {
return null;
Expand Down
2 changes: 1 addition & 1 deletion apps/website/docs/api/factories/create_json_mutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Config fields:
- `omit` — do not include credentials
- `same-origin` — include credentials only if the request URL is the same origin
- `include` — include credentials on all requests
- `fetch?`: <Badge type="tip" text="since v0.14.3" /> _Object or [Store](https://effector.dev/docs/api/effector/Store) with Object_, additional [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) options to pass to the underlying fetch request. This allows configuring options like `mode`, `cache`, `redirect`, `referrerPolicy`, `integrity`, `keepalive`, etc. If `credentials` is specified both at the top level and in `fetch`, the top-level value takes precedence.
- `fetch?`: <Badge type="tip" text="since v0.15.0" /> _Object or [Store](https://effector.dev/docs/api/effector/Store) with Object_, additional [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) options to pass to the underlying fetch request. This allows configuring options like `mode`, `cache`, `redirect`, `referrerPolicy`, `integrity`, `keepalive`, etc. If `credentials` is specified both at the top level and in `fetch`, the top-level value takes precedence.

- `response`: declarative rules to handle response from the API.
- `contract`: [_Contract_](/api/primitives/contract) allows you to validate the response and decide how your application should treat it — as a success response or as a failed one.
Expand Down
2 changes: 1 addition & 1 deletion apps/website/docs/api/factories/create_json_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Config fields:
- `omit` — do not include credentials
- `same-origin` — include credentials only if the request URL is the same origin
- `include` — include credentials on all requests
- `fetch?`: <Badge type="tip" text="since v0.14.3" /> _Object or [Store](https://effector.dev/docs/api/effector/Store) with Object_, additional [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) options to pass to the underlying fetch request. This allows configuring options like `mode`, `cache`, `redirect`, `referrerPolicy`, `integrity`, `keepalive`, etc. If `credentials` is specified both at the top level and in `fetch`, the top-level value takes precedence.
- `fetch?`: <Badge type="tip" text="since v0.15.0" /> _Object or [Store](https://effector.dev/docs/api/effector/Store) with Object_, additional [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) options to pass to the underlying fetch request. This allows configuring options like `mode`, `cache`, `redirect`, `referrerPolicy`, `integrity`, `keepalive`, etc. If `credentials` is specified both at the top level and in `fetch`, the top-level value takes precedence.

- `response`: declarative rules to handle response from the API.
- `contract`: [_Contract_](/api/primitives/contract) allows you to validate the response and decide how your application should treat it — as a success response or as a failed one.
Expand Down
7 changes: 7 additions & 0 deletions packages/atomic-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farfetched/atomic-router

## 0.15.0

### Patch Changes

- Updated dependencies [d5b3011]
- @farfetched/core@0.15.0

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/atomic-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/atomic-router",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @farfetched/core

## 0.15.0

### Minor Changes

- d5b3011: Added `request.fetch` feature to createJson\* methods, which allows to apply any valid `RequestInit` setting to underlying `fetch` call

The top-level `request.credentials` is deprecated in favor of `request.fetch.credentials`

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/core",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/dev-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farfetched/dev-tools

## 0.15.0

### Patch Changes

- Updated dependencies [d5b3011]
- @farfetched/core@0.15.0

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dev-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/dev-tools",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/io-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farfetched/io-ts

## 0.15.0

### Patch Changes

- Updated dependencies [d5b3011]
- @farfetched/core@0.15.0

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/io-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/io-ts",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/json-schema/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farfetched/json-schema

## 0.15.0

### Patch Changes

- Updated dependencies [d5b3011]
- @farfetched/core@0.15.0

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/json-schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/json-schema",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/runtypes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farfetched/runtypes

## 0.15.0

### Patch Changes

- Updated dependencies [d5b3011]
- @farfetched/core@0.15.0

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/runtypes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/runtypes",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/solid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farfetched/solid

## 0.15.0

### Patch Changes

- Updated dependencies [d5b3011]
- @farfetched/core@0.15.0

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/solid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/solid",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/superstruct/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farfetched/superstruct

## 0.15.0

### Patch Changes

- Updated dependencies [d5b3011]
- @farfetched/core@0.15.0

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/superstruct/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/superstruct",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/typed-contracts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farfetched/typed-contracts

## 0.15.0

### Patch Changes

- Updated dependencies [d5b3011]
- @farfetched/core@0.15.0

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typed-contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/typed-contracts",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/valibot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farfetched/valibot

## 0.15.0

### Patch Changes

- Updated dependencies [d5b3011]
- @farfetched/core@0.15.0

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/valibot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/valibot",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/zod/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farfetched/zod

## 0.15.0

### Patch Changes

- Updated dependencies [d5b3011]
- @farfetched/core@0.15.0

## 0.14.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/zod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farfetched/zod",
"version": "0.14.2",
"version": "0.15.0",
"publishConfig": {
"access": "public"
},
Expand Down
Loading