Skip to content

Commit

Permalink
v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mnasyrov committed Aug 15, 2021
1 parent 691d67b commit 5bfd61b
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 37 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.2.1](https://github.com/mnasyrov/rx-effects/compare/v0.2.0...v0.2.1) (2021-08-15)

### Bug Fixes

- Added a missed export for `useController()` hook ([a5e5c92](https://github.com/mnasyrov/rx-effects/commit/a5e5c92da8a288f44c41dac2cb70c96d788eea38))

# [0.2.0](https://github.com/mnasyrov/rx-effects/compare/v0.1.0...v0.2.0) (2021-08-09)

### Features
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.0",
"version": "0.2.1",
"hoist": "**",
"forceLocal": true,
"command": {
Expand Down
4 changes: 4 additions & 0 deletions packages/examples/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.2.1](https://github.com/mnasyrov/rx-effects/compare/v0.2.0...v0.2.1) (2021-08-15)

**Note:** Version bump only for package rx-effects-examples

# [0.2.0](https://github.com/mnasyrov/rx-effects/compare/v0.1.0...v0.2.0) (2021-08-09)

### Features
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"private": true,
"name": "rx-effects-examples",
"version": "0.2.0",
"version": "0.2.1",
"type": "module",
"sideEffects": false,
"dependencies": {
"rx-effects": "0.2.0",
"rx-effects-react": "0.2.0"
"rx-effects": "0.2.1",
"rx-effects-react": "0.2.1"
},
"peerDependencies": {
"react": ">=17.0.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/rx-effects-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.2.1](https://github.com/mnasyrov/rx-effects/compare/v0.2.0...v0.2.1) (2021-08-15)

### Bug Fixes

- Added a missed export for `useController()` hook ([a5e5c92](https://github.com/mnasyrov/rx-effects/commit/a5e5c92da8a288f44c41dac2cb70c96d788eea38))

# [0.2.0](https://github.com/mnasyrov/rx-effects/compare/v0.1.0...v0.2.0) (2021-08-09)

### Features
Expand Down
12 changes: 6 additions & 6 deletions packages/rx-effects-react/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ If the factory is provided, it is called only once.

#### Defined in

[rx-effects-react/src/useConst.ts:12](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects-react/src/useConst.ts#L12)
[rx-effects-react/src/useConst.ts:12](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects-react/src/useConst.ts#L12)

---

Expand Down Expand Up @@ -74,7 +74,7 @@ included explicitly when it is needed.

#### Defined in

[rx-effects-react/src/useController.ts:17](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects-react/src/useController.ts#L17)
[rx-effects-react/src/useController.ts:17](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects-react/src/useController.ts#L17)

---

Expand Down Expand Up @@ -113,7 +113,7 @@ const value = useObservable<string>(source$, undefined);

#### Defined in

[rx-effects-react/src/useObservable.ts:19](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects-react/src/useObservable.ts#L19)
[rx-effects-react/src/useObservable.ts:19](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects-react/src/useObservable.ts#L19)

---

Expand Down Expand Up @@ -153,7 +153,7 @@ useObserver(source$, observer);

#### Defined in

[rx-effects-react/src/useObserver.ts:21](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects-react/src/useObserver.ts#L21)
[rx-effects-react/src/useObserver.ts:21](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects-react/src/useObserver.ts#L21)

---

Expand Down Expand Up @@ -199,7 +199,7 @@ const value = useSelector<{ data: Record<string, string> }>(

#### Defined in

[rx-effects-react/src/useSelector.ts:26](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects-react/src/useSelector.ts#L26)
[rx-effects-react/src/useSelector.ts:26](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects-react/src/useSelector.ts#L26)

---

Expand Down Expand Up @@ -227,4 +227,4 @@ Returns a value which is provided by the query.

#### Defined in

[rx-effects-react/src/useStateQuery.ts:9](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects-react/src/useStateQuery.ts#L9)
[rx-effects-react/src/useStateQuery.ts:9](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects-react/src/useStateQuery.ts#L9)
4 changes: 2 additions & 2 deletions packages/rx-effects-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rx-effects-react",
"version": "0.2.0",
"version": "0.2.1",
"description": "Reactive state and effects management. Tooling for React.js",
"license": "MIT",
"author": "Mikhail Nasyrov (https://github.com/mnasyrov)",
Expand Down Expand Up @@ -47,7 +47,7 @@
"watch": "rollup -c --watch"
},
"dependencies": {
"rx-effects": "0.2.0"
"rx-effects": "0.2.1"
},
"peerDependencies": {
"react": ">=17.0.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/rx-effects/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.2.1](https://github.com/mnasyrov/rx-effects/compare/v0.2.0...v0.2.1) (2021-08-15)

**Note:** Version bump only for package rx-effects

# [0.2.0](https://github.com/mnasyrov/rx-effects/compare/v0.1.0...v0.2.0) (2021-08-09)

### Features
Expand Down
48 changes: 24 additions & 24 deletions packages/rx-effects/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ submitForm.even$.subscribe((formData) => {

#### Defined in

[action.ts:22](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/action.ts#L22)
[action.ts:22](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/action.ts#L22)

---

Expand Down Expand Up @@ -94,7 +94,7 @@ type LoggerController = Controller<{

#### Defined in

[controller.ts:17](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/controller.ts#L17)
[controller.ts:17](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/controller.ts#L17)

---

Expand All @@ -120,7 +120,7 @@ unsubscribe from them and deactivate the effect.

#### Defined in

[effect.ts:56](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/effect.ts#L56)
[effect.ts:56](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/effect.ts#L56)

---

Expand Down Expand Up @@ -153,7 +153,7 @@ Handler for an event. It can be asynchronous.

#### Defined in

[effect.ts:12](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/effect.ts#L12)
[effect.ts:12](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/effect.ts#L12)

---

Expand Down Expand Up @@ -184,7 +184,7 @@ Details about performing the effect.

#### Defined in

[effect.ts:27](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/effect.ts#L27)
[effect.ts:27](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/effect.ts#L27)

---

Expand All @@ -202,7 +202,7 @@ Options for handling an action or observable.

#### Defined in

[effect.ts:19](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/effect.ts#L19)
[effect.ts:19](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/effect.ts#L19)

---

Expand All @@ -217,7 +217,7 @@ It collects all subscriptions which are made by child entities and provides

#### Defined in

[scope.ts:15](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/scope.ts#L15)
[scope.ts:15](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/scope.ts#L15)

---

Expand All @@ -235,7 +235,7 @@ Declaration of a state.

#### Defined in

[stateDeclaration.ts:12](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/stateDeclaration.ts#L12)
[stateDeclaration.ts:12](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/stateDeclaration.ts#L12)

---

Expand Down Expand Up @@ -268,7 +268,7 @@ state.

#### Defined in

[stateDeclaration.ts:7](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/stateDeclaration.ts#L7)
[stateDeclaration.ts:7](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/stateDeclaration.ts#L7)

---

Expand All @@ -291,10 +291,10 @@ This function mutates the state.
It is recommended to return a new state or the previous one.

Actually, the function can change the state in place, but it is responsible
of a developer to provide `stateCompare` function to the store which handles
for a developer to provide `stateCompare` function to the store which handles
the changes.

For making changes use curring function to provide arguments:
For making changes use a currying function to provide arguments:

```ts
const addPizzaToCart =
Expand All @@ -317,7 +317,7 @@ a next state

#### Defined in

[stateMutation.ts:19](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/stateMutation.ts#L19)
[stateMutation.ts:19](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/stateMutation.ts#L19)

---

Expand All @@ -342,7 +342,7 @@ Provider for a value of a state.

#### Defined in

[stateQuery.ts:7](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/stateQuery.ts#L7)
[stateQuery.ts:7](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/stateQuery.ts#L7)

---

Expand All @@ -360,7 +360,7 @@ Read-only type of the state store.

#### Defined in

[store.ts:10](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/store.ts#L10)
[store.ts:10](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/store.ts#L10)

---

Expand All @@ -376,7 +376,7 @@ Read-only type of the state store.

#### Defined in

[store.ts:40](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/store.ts#L40)
[store.ts:40](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/store.ts#L40)

## Functions

Expand All @@ -396,7 +396,7 @@ Read-only type of the state store.

#### Defined in

[action.ts:29](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/action.ts#L29)
[action.ts:29](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/action.ts#L29)

---

Expand Down Expand Up @@ -434,7 +434,7 @@ const sumEffect = createEffect<{ a: number; b: number }, number>((event) => {

#### Defined in

[effect.ts:83](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/effect.ts#L83)
[effect.ts:83](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/effect.ts#L83)

---

Expand All @@ -450,7 +450,7 @@ Creates `Scope` instance.

#### Defined in

[scope.ts:67](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/scope.ts#L67)
[scope.ts:67](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/scope.ts#L67)

---

Expand Down Expand Up @@ -479,7 +479,7 @@ Creates the state store.

#### Defined in

[store.ts:56](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/store.ts#L56)
[store.ts:56](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/store.ts#L56)

---

Expand Down Expand Up @@ -508,7 +508,7 @@ Declares the state.

#### Defined in

[stateDeclaration.ts:29](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/stateDeclaration.ts#L29)
[stateDeclaration.ts:29](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/stateDeclaration.ts#L29)

---

Expand Down Expand Up @@ -540,7 +540,7 @@ This helper creates `Effect` from `handler` and subscribes it to `source`.

#### Defined in

[handleAction.ts:8](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/handleAction.ts#L8)
[handleAction.ts:8](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/handleAction.ts#L8)

---

Expand Down Expand Up @@ -571,7 +571,7 @@ function.

#### Defined in

[stateQuery.ts:22](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/stateQuery.ts#L22)
[stateQuery.ts:22](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/stateQuery.ts#L22)

---

Expand Down Expand Up @@ -603,7 +603,7 @@ and merges them into a single value.

#### Defined in

[stateQuery.ts:39](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/stateQuery.ts#L39)
[stateQuery.ts:39](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/stateQuery.ts#L39)

---

Expand Down Expand Up @@ -633,4 +633,4 @@ You can use this helper to apply multiple changes at the same time.

#### Defined in

[stateMutation.ts:26](https://github.com/mnasyrov/rx-effects/blob/a5e5c92/packages/rx-effects/src/stateMutation.ts#L26)
[stateMutation.ts:26](https://github.com/mnasyrov/rx-effects/blob/691d67b/packages/rx-effects/src/stateMutation.ts#L26)
2 changes: 1 addition & 1 deletion packages/rx-effects/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rx-effects",
"description": "Reactive state and effects management",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",
"author": "Mikhail Nasyrov (https://github.com/mnasyrov)",
"homepage": "https://github.com/mnasyrov/rx-effects",
Expand Down

0 comments on commit 5bfd61b

Please sign in to comment.