Skip to content

Commit

Permalink
Bump allowed version of atmoic-router to 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkamyshev committed Dec 9, 2023
1 parent 05d01f0 commit 3f09dc5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .changeset/tasty-timers-lick.md
@@ -0,0 +1,5 @@
---
'@farfetched/atomic-router': patch
---

Bump allowed version of `atmoic-router` to 0.9.1
6 changes: 3 additions & 3 deletions apps/website/docs/api/routers/atomic-router.md
Expand Up @@ -25,7 +25,7 @@ npm install atomic-router @farfetched/atomic-router
## API

::: warning
Atomic Router is still in development, so the API is not stable yet. This integration is tested with `atomic-router@0.6.3`, but it should work with any version of `atomic-router`.
Atomic Router is still in development, so the API is not stable yet. This integration is tested with `atomic-router@0.9.1`, but it should work with any version of `atomic-router`.
:::

Integration provides the way to use any [_Query_](/api/primitives/query) in [`chainRoute` operator](https://atomic-router.github.io/api/chain-route.html). It has two options to transform [_Query_](/api/primitives/query) to the shape that `chainRoute` expects:
Expand All @@ -37,7 +37,7 @@ After opening a route with `freshChain`, `.refresh` [_Event_](https://effector.d
```ts
import { createJsonQuery } from '@farfetched/core';
import { freshChain } from '@farfetched/atomic-router';
import { chainRoute, createRoute } from 'atmoic-router';
import { chainRoute, createRoute } from 'atomic-router';

const postRoute = createRoute<{ postId: string }>();

Expand All @@ -58,7 +58,7 @@ After opening a route with `startChain`, `.start` [_Event_](https://effector.dev
```ts
import { createJsonQuery } from '@farfetched/core';
import { startChain } from '@farfetched/atomic-router';
import { chainRoute, createRoute } from 'atmoic-router';
import { chainRoute, createRoute } from 'atomic-router';

const postRoute = createRoute<{ postId: string }>();

Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -69,8 +69,8 @@
"vue": "^3.2.37"
},
"dependencies": {
"atomic-router": "0.6",
"atomic-router-solid": "0.5",
"atomic-router": "0.9.1",
"atomic-router-solid": "0.8.1",
"effector-react": "23.0.0",
"effector-solid": "0.23.0",
"forest": "^0.21.2",
Expand Down
28 changes: 14 additions & 14 deletions pnpm-lock.yaml

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

0 comments on commit 3f09dc5

Please sign in to comment.