Skip to content

Commit

Permalink
v3.0.0-alpha.0
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed Jun 10, 2020
1 parent e68b236 commit 42242f7
Show file tree
Hide file tree
Showing 12 changed files with 102 additions and 10 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,36 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-alpha.0](https://github.com/crimx/observable-hooks/compare/v2.3.5...v3.0.0-alpha.0) (2020-06-10)


### Code Refactoring

* **observable-hooks:** add initialState to get and pick state ([63ad94e](https://github.com/crimx/observable-hooks/commit/63ad94ed4d89fa69dffe5f256acb9a3fe4053ef0))
* **observable-hooks:** concurrent mode safe useSubscription ([43f8a8c](https://github.com/crimx/observable-hooks/commit/43f8a8c43541bcfbb97728c1f48baf1be038b301))
* **observable-hooks:** move subscription to commit phase ([10db7bd](https://github.com/crimx/observable-hooks/commit/10db7bd1eb430efc036b786fb99ee3ddff6714bd))
* **observable-hooks:** remove deprecated useObservablePropsCallback ([a6395a8](https://github.com/crimx/observable-hooks/commit/a6395a8625080ffb137b0e4efca32e6556126f6f))
* **observable-hooks:** useObservableState for concurrent mode ([fa6147e](https://github.com/crimx/observable-hooks/commit/fa6147ec34efa0b7826a9081d71b06d0514d6dd5))


### Features

* **observable-hooks:** add useLayoutSubscription ([ef18bca](https://github.com/crimx/observable-hooks/commit/ef18bca61b5b0330276594577c63c4d0e0cf7885))


### BREAKING CHANGES

* **observable-hooks:** useObservableGetState and useObservablePickState has incompatible signatures.
* **observable-hooks:** useSubscription returns a ref object instead of the the RxJS Subscription
* **observable-hooks:** Deprecated useObservablePropsCallback is removed
* **observable-hooks:** 1. Sync values from observables will arrive after first rendering.
2. If `initialState` is function it will be called.
* **observable-hooks:** The subscription happens in commit phase. This means even the Observable emits synchronous values they will arrive after the first rendering.





## [2.3.5](https://github.com/crimx/observable-hooks/compare/v2.3.4...v2.3.5) (2020-04-30)

**Note:** Version bump only for package observable-hooks-mono
Expand Down
8 changes: 8 additions & 0 deletions examples/context/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-alpha.0](https://github.com/crimx/observable-hooks/compare/v2.3.5...v3.0.0-alpha.0) (2020-06-10)

**Note:** Version bump only for package context





## [2.3.5](https://github.com/crimx/observable-hooks/compare/v2.3.4...v2.3.5) (2020-04-30)

**Note:** Version bump only for package context
Expand Down
4 changes: 2 additions & 2 deletions examples/context/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "context",
"version": "2.3.5",
"version": "3.0.0-alpha.0",
"private": true,
"dependencies": {
"@types/jest": "^24.0.15",
Expand All @@ -9,7 +9,7 @@
"@types/react-dom": "^16.9.5",
"bulma": "^0.7.5",
"cross-env": "^5.2.0",
"observable-hooks": "^2.3.5",
"observable-hooks": "^3.0.0-alpha.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts": "^3.3.0",
Expand Down
8 changes: 8 additions & 0 deletions examples/pomodoro-timer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-alpha.0](https://github.com/crimx/observable-hooks/compare/v2.3.5...v3.0.0-alpha.0) (2020-06-10)

**Note:** Version bump only for package pomodoro-timer





## [2.3.5](https://github.com/crimx/observable-hooks/compare/v2.3.4...v2.3.5) (2020-04-30)

**Note:** Version bump only for package pomodoro-timer
Expand Down
4 changes: 2 additions & 2 deletions examples/pomodoro-timer/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "pomodoro-timer",
"version": "2.3.5",
"version": "3.0.0-alpha.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.19",
"@fortawesome/free-solid-svg-icons": "^5.9.0",
"@fortawesome/react-fontawesome": "^0.1.4",
"bulma": "^0.7.5",
"cross-env": "^5.2.0",
"observable-hooks": "^2.3.5",
"observable-hooks": "^3.0.0-alpha.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts": "^3.3.0",
Expand Down
8 changes: 8 additions & 0 deletions examples/suspense/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-alpha.0](https://github.com/crimx/observable-hooks/compare/v2.3.5...v3.0.0-alpha.0) (2020-06-10)

**Note:** Version bump only for package suspense





## [2.3.5](https://github.com/crimx/observable-hooks/compare/v2.3.4...v2.3.5) (2020-04-30)

**Note:** Version bump only for package suspense
Expand Down
4 changes: 2 additions & 2 deletions examples/suspense/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "suspense",
"version": "2.3.5",
"version": "3.0.0-alpha.0",
"private": true,
"dependencies": {
"@types/jest": "^24.0.15",
Expand All @@ -9,7 +9,7 @@
"@types/react-dom": "^16.9.5",
"bulma": "^0.7.5",
"cross-env": "^5.2.0",
"observable-hooks": "^2.3.5",
"observable-hooks": "^3.0.0-alpha.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts": "^3.3.0",
Expand Down
8 changes: 8 additions & 0 deletions examples/typeahead/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-alpha.0](https://github.com/crimx/observable-hooks/compare/v2.3.5...v3.0.0-alpha.0) (2020-06-10)

**Note:** Version bump only for package typeahead





## [2.3.5](https://github.com/crimx/observable-hooks/compare/v2.3.4...v2.3.5) (2020-04-30)

**Note:** Version bump only for package typeahead
Expand Down
4 changes: 2 additions & 2 deletions examples/typeahead/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typeahead",
"version": "2.3.5",
"version": "3.0.0-alpha.0",
"private": true,
"dependencies": {
"@types/jest": "^24.0.15",
Expand All @@ -9,7 +9,7 @@
"@types/react-dom": "^16.9.5",
"bulma": "^0.7.5",
"cross-env": "^5.2.0",
"observable-hooks": "^2.3.5",
"observable-hooks": "^3.0.0-alpha.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts": "^3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages/*",
"examples/*"
],
"version": "2.3.5",
"version": "3.0.0-alpha.0",
"useWorkspaces": true,
"npmClient": "yarn",
"command": {
Expand Down
30 changes: 30 additions & 0 deletions packages/observable-hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,36 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0-alpha.0](https://github.com/crimx/observable-hooks/compare/v2.3.5...v3.0.0-alpha.0) (2020-06-10)


### Code Refactoring

* **observable-hooks:** add initialState to get and pick state ([63ad94e](https://github.com/crimx/observable-hooks/commit/63ad94ed4d89fa69dffe5f256acb9a3fe4053ef0))
* **observable-hooks:** concurrent mode safe useSubscription ([43f8a8c](https://github.com/crimx/observable-hooks/commit/43f8a8c43541bcfbb97728c1f48baf1be038b301))
* **observable-hooks:** move subscription to commit phase ([10db7bd](https://github.com/crimx/observable-hooks/commit/10db7bd1eb430efc036b786fb99ee3ddff6714bd))
* **observable-hooks:** remove deprecated useObservablePropsCallback ([a6395a8](https://github.com/crimx/observable-hooks/commit/a6395a8625080ffb137b0e4efca32e6556126f6f))
* **observable-hooks:** useObservableState for concurrent mode ([fa6147e](https://github.com/crimx/observable-hooks/commit/fa6147ec34efa0b7826a9081d71b06d0514d6dd5))


### Features

* **observable-hooks:** add useLayoutSubscription ([ef18bca](https://github.com/crimx/observable-hooks/commit/ef18bca61b5b0330276594577c63c4d0e0cf7885))


### BREAKING CHANGES

* **observable-hooks:** useObservableGetState and useObservablePickState has incompatible signatures.
* **observable-hooks:** useSubscription returns a ref object instead of the the RxJS Subscription
* **observable-hooks:** Deprecated useObservablePropsCallback is removed
* **observable-hooks:** 1. Sync values from observables will arrive after first rendering.
2. If `initialState` is function it will be called.
* **observable-hooks:** The subscription happens in commit phase. This means even the Observable emits synchronous values they will arrive after the first rendering.





## [2.3.5](https://github.com/crimx/observable-hooks/compare/v2.3.4...v2.3.5) (2020-04-30)

**Note:** Version bump only for package observable-hooks
Expand Down
2 changes: 1 addition & 1 deletion packages/observable-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "observable-hooks",
"version": "2.3.5",
"version": "3.0.0-alpha.0",
"description": "React hooks for RxJS Observables. Simple, flexible, testable and performant.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down

0 comments on commit 42242f7

Please sign in to comment.