From 42242f728b9aedae5a4bee19a7949841afe68cbd Mon Sep 17 00:00:00 2001 From: crimx Date: Wed, 10 Jun 2020 15:52:02 +0800 Subject: [PATCH] v3.0.0-alpha.0 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++ examples/context/CHANGELOG.md | 8 +++++++ examples/context/package.json | 4 ++-- examples/pomodoro-timer/CHANGELOG.md | 8 +++++++ examples/pomodoro-timer/package.json | 4 ++-- examples/suspense/CHANGELOG.md | 8 +++++++ examples/suspense/package.json | 4 ++-- examples/typeahead/CHANGELOG.md | 8 +++++++ examples/typeahead/package.json | 4 ++-- lerna.json | 2 +- packages/observable-hooks/CHANGELOG.md | 30 ++++++++++++++++++++++++++ packages/observable-hooks/package.json | 2 +- 12 files changed, 102 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c38e3755..20942de6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/examples/context/CHANGELOG.md b/examples/context/CHANGELOG.md index 1b7f1fdf..c994012d 100644 --- a/examples/context/CHANGELOG.md +++ b/examples/context/CHANGELOG.md @@ -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 diff --git a/examples/context/package.json b/examples/context/package.json index d28452c5..61e53206 100644 --- a/examples/context/package.json +++ b/examples/context/package.json @@ -1,6 +1,6 @@ { "name": "context", - "version": "2.3.5", + "version": "3.0.0-alpha.0", "private": true, "dependencies": { "@types/jest": "^24.0.15", @@ -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", diff --git a/examples/pomodoro-timer/CHANGELOG.md b/examples/pomodoro-timer/CHANGELOG.md index 658e8fb5..ab65c1f6 100644 --- a/examples/pomodoro-timer/CHANGELOG.md +++ b/examples/pomodoro-timer/CHANGELOG.md @@ -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 diff --git a/examples/pomodoro-timer/package.json b/examples/pomodoro-timer/package.json index 27f1ae3c..2711dc73 100644 --- a/examples/pomodoro-timer/package.json +++ b/examples/pomodoro-timer/package.json @@ -1,6 +1,6 @@ { "name": "pomodoro-timer", - "version": "2.3.5", + "version": "3.0.0-alpha.0", "private": true, "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.19", @@ -8,7 +8,7 @@ "@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", diff --git a/examples/suspense/CHANGELOG.md b/examples/suspense/CHANGELOG.md index 2be52426..f37917d9 100644 --- a/examples/suspense/CHANGELOG.md +++ b/examples/suspense/CHANGELOG.md @@ -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 diff --git a/examples/suspense/package.json b/examples/suspense/package.json index 2c77e305..6e6d52a2 100644 --- a/examples/suspense/package.json +++ b/examples/suspense/package.json @@ -1,6 +1,6 @@ { "name": "suspense", - "version": "2.3.5", + "version": "3.0.0-alpha.0", "private": true, "dependencies": { "@types/jest": "^24.0.15", @@ -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", diff --git a/examples/typeahead/CHANGELOG.md b/examples/typeahead/CHANGELOG.md index 8b7dcc31..3f082f4f 100644 --- a/examples/typeahead/CHANGELOG.md +++ b/examples/typeahead/CHANGELOG.md @@ -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 diff --git a/examples/typeahead/package.json b/examples/typeahead/package.json index 10b1a4ea..0da2eb12 100644 --- a/examples/typeahead/package.json +++ b/examples/typeahead/package.json @@ -1,6 +1,6 @@ { "name": "typeahead", - "version": "2.3.5", + "version": "3.0.0-alpha.0", "private": true, "dependencies": { "@types/jest": "^24.0.15", @@ -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", diff --git a/lerna.json b/lerna.json index 0db399b3..95b5b5c2 100644 --- a/lerna.json +++ b/lerna.json @@ -3,7 +3,7 @@ "packages/*", "examples/*" ], - "version": "2.3.5", + "version": "3.0.0-alpha.0", "useWorkspaces": true, "npmClient": "yarn", "command": { diff --git a/packages/observable-hooks/CHANGELOG.md b/packages/observable-hooks/CHANGELOG.md index 2cafbe9b..2fdebda2 100644 --- a/packages/observable-hooks/CHANGELOG.md +++ b/packages/observable-hooks/CHANGELOG.md @@ -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 diff --git a/packages/observable-hooks/package.json b/packages/observable-hooks/package.json index ca281385..f6fd2f1b 100644 --- a/packages/observable-hooks/package.json +++ b/packages/observable-hooks/package.json @@ -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",