UNPKG

@guanghechen/viewmodel

Version:
295 lines (182 loc) 12.9 kB
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## 1.0.0-alpha.22 (2024-09-19) - :art: improve(viewmodel): add new method updateState to align the React setState method ([110f439](https://github.com/guanghechen/sora/commit/110f439)) # Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## 1.0.0-alpha.21 (2024-09-19) - :art: improve(viewmodel): support to create Computed from another Computed ([5fc89ba](https://github.com/guanghechen/sora/commit/5fc89ba)) # Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## 1.0.0-alpha.20 (2024-09-18) - :rotating_light: improve: fix lint ([3083212](https://github.com/guanghechen/sora/commit/3083212)) - :wrench: chore: upgrade devDependencies and fix configs ([230fb63](https://github.com/guanghechen/sora/commit/230fb63)) # Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [1.0.0-alpha.19](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.18...@guanghechen/viewmodel@1.0.0-alpha.19) (2024-03-10) ### Bug Fixes - 🐛 cannot access 'unsubscribable' before initialization ([78ba9ed](https://github.com/guanghechen/sora/commit/78ba9ed20e47cb0a5f107c3c34783c8b2da9263c)) # Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [1.0.0-alpha.18](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.17...@guanghechen/viewmodel@1.0.0-alpha.18) (2024-03-10) ### Performance Improvements - 🎨 re-export subscriber and disposable ([391f42f](https://github.com/guanghechen/sora/commit/391f42f68f1a0fe8893f64025b8cfec2728d368d)) # Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [1.0.0-alpha.17](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.16...@guanghechen/viewmodel@1.0.0-alpha.17) (2024-03-10) ### Performance Improvements - 🎨 refaactor viewmodel with subscriber ([6064024](https://github.com/guanghechen/sora/commit/60640240a369e9731f9e4f7e8c16ccc3952049c7)) # Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [1.0.0-alpha.16](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.15...@guanghechen/viewmodel@1.0.0-alpha.16) (2024-03-10) ### Performance Improvements - 🎨 add @guanghechen/monitor back ([4c75f05](https://github.com/guanghechen/sora/commit/4c75f05441f57eb2428c086aea20c733f4a730c5)) # Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [1.0.0-alpha.15](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.14...@guanghechen/viewmodel@1.0.0-alpha.15) (2024-03-09) ### Performance Improvements - :art: format codes ([177eb54](https://github.com/guanghechen/sora/commit/177eb5407fe9209269541a327d42084901a63090)) # Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [1.0.0-alpha.14](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.13...@guanghechen/viewmodel@1.0.0-alpha.14) (2024-03-09) ### Performance Improvements - :art: refactor viewmodel & remove viewmodel.types ([5df71bd](https://github.com/guanghechen/sora/commit/5df71bd7d35f01b287df7e4d91ff4af09716756e)) # Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [1.0.0-alpha.13](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.12...@guanghechen/viewmodel@1.0.0-alpha.13) (2024-02-03) ### Performance Improvements - 💄 fix lint ([2d5bb6f](https://github.com/guanghechen/sora/commit/2d5bb6f03d0312a42c1117d95181df8b69de827a)) - 🔧 fix nx scripts ([47bc4e6](https://github.com/guanghechen/sora/commit/47bc4e66df825cb37127219bccf60dc81d6a9b48)) - 🔧 update tsconfig ([98855bc](https://github.com/guanghechen/sora/commit/98855bcc245d98c61217c5bafc6a1b2506b7824d)) # Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [1.0.0-alpha.12](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.11...@guanghechen/viewmodel@1.0.0-alpha.12) (2024-01-02) **Note:** Version bump only for package @guanghechen/viewmodel # [1.0.0-alpha.11](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.10...@guanghechen/viewmodel@1.0.0-alpha.11) (2023-12-04) **Note:** Version bump only for package @guanghechen/viewmodel # [1.0.0-alpha.10](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.9...@guanghechen/viewmodel@1.0.0-alpha.10) (2023-12-03) **Note:** Version bump only for package @guanghechen/viewmodel # [1.0.0-alpha.9](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.8...@guanghechen/viewmodel@1.0.0-alpha.9) (2023-12-02) ### Bug Fixes - 🎨 fix lint and move noopUnsubscribable to @guanghechen/internal ([3cad5ba](https://github.com/guanghechen/sora/commit/3cad5ba5fb837d74f40c6a7c3e6e3ef1862bc65d)) ### Features - ✨ separate disposable ans subscribe to independant packages ([4379af0](https://github.com/guanghechen/sora/commit/4379af0ec4c284eaf8a0bed9d6baad0d04a9d737)) # [1.0.0-alpha.8](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.7...@guanghechen/viewmodel@1.0.0-alpha.8) (2023-11-29) ### Performance Improvements - 🔧 no longer to require node engine version in packages ([6dc2014](https://github.com/guanghechen/sora/commit/6dc2014122dd44bcadc893e2ee98697265e7d61e)) # [1.0.0-alpha.7](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.6...@guanghechen/viewmodel@1.0.0-alpha.7) (2023-11-18) **Note:** Version bump only for package @guanghechen/viewmodel # [1.0.0-alpha.6](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.5...@guanghechen/viewmodel@1.0.0-alpha.6) (2023-11-18) ### Performance Improvements - ⬆️ upgrade devDependencies ([e6c018d](https://github.com/guanghechen/sora/commit/e6c018dbb4242ca52f0175f2e30e7758da268972)) - 🔧 upgrade engine version requirement from '>= 16.0.0' to '>= 18.0.0' ([ddb9521](https://github.com/guanghechen/sora/commit/ddb9521b529b2ca838554794339b9e27ac80b8aa)) # [1.0.0-alpha.5](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.4...@guanghechen/viewmodel@1.0.0-alpha.5) (2023-11-07) **Note:** Version bump only for package @guanghechen/viewmodel # [1.0.0-alpha.4](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.3...@guanghechen/viewmodel@1.0.0-alpha.4) (2023-10-16) ### Performance Improvements - 🔧 remove unnecessary devDependencies ([944f3ae](https://github.com/guanghechen/sora/commit/944f3aee64e68ce52ca30237c7d0240a82c9c58f)) # [1.0.0-alpha.3](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.2...@guanghechen/viewmodel@1.0.0-alpha.3) (2023-10-10) **Note:** Version bump only for package @guanghechen/viewmodel # [1.0.0-alpha.2](https://github.com/guanghechen/sora/compare/@guanghechen/viewmodel@1.0.0-alpha.1...@guanghechen/viewmodel@1.0.0-alpha.2) (2023-10-09) **Note:** Version bump only for package @guanghechen/viewmodel # 1.0.0-alpha.1 (2023-10-04) ### Features - ✨ add @guanghechen/viewmodel (migrited from react-kit) ([87ad2f6](https://github.com/guanghechen/sora/commit/87ad2f6147192aea74427e120570be5e0aa73741)) - ✨ add @guanghechen/viewmodel.types ([7c928c6](https://github.com/guanghechen/sora/commit/7c928c64ada396ce7edef2f1c1afa9be986f3643)) ### Performance Improvements - ⬆️ format codes and upgrade devDependencies ([6c6f382](https://github.com/guanghechen/sora/commit/6c6f382a0ac20e4c331778cc259f197d292f0eb3)) - ⬆️ the version of subpackage devDependencies is not matter ([3287c22](https://github.com/guanghechen/sora/commit/3287c22fb150af6620c1c9f6f4b186498aea815b)) # [0.4.0](https://github.com/guanghechen/react-kit/compare/@guanghechen/viewmodel@0.3.0...@guanghechen/viewmodel@0.4.0) (2023-08-30) ### Features - ✨ support ObservableMap and ObservableSet ([d5c160e](https://github.com/guanghechen/react-kit/commit/d5c160e294e6c6c215a13de53f0dad82d31c79ef)) ### Performance Improvements - ✅ update tests ([5312e8e](https://github.com/guanghechen/react-kit/commit/5312e8e21654e809cd0172ae1de212f99593a08d)) - ⬆️ upgrade dependencies ([95a3132](https://github.com/guanghechen/react-kit/commit/95a31328273c4763ffb3d7a275496bc81512f49b)) # [0.3.0](https://github.com/guanghechen/react-kit/compare/@guanghechen/viewmodel@0.2.0...@guanghechen/viewmodel@0.3.0) (2023-08-20) ### Features - ✨ export new method startTransaction ([9bf4954](https://github.com/guanghechen/react-kit/commit/9bf4954cd1f0e8ea757df5c6735e703e7a778dc9)) ### Performance Improvements - ⚡️ support to specify throttle for ticker ([11c20e5](https://github.com/guanghechen/react-kit/commit/11c20e51e3e9b94bece8139b0c67f5a0b7930813)) # [0.2.0](https://github.com/guanghechen/react-kit/compare/@guanghechen/viewmodel@0.1.3...@guanghechen/viewmodel@0.2.0) (2023-08-20) ### Features - ✨ add schedulable ([fe98ef5](https://github.com/guanghechen/react-kit/commit/fe98ef5f14abe14ab9bc78366ce9848bcea744b7)) - ✨ support ObservableCollection ([32ac134](https://github.com/guanghechen/react-kit/commit/32ac134058c322019a73b6437555903caa950be8)) ### Performance Improvements - ⚡️ support to run changes in transaction to avoid unncessary notify ([1453caf](https://github.com/guanghechen/react-kit/commit/1453cafa705913505b91e7b1141d1612543a166c)) - ✅ update tests ([76009d9](https://github.com/guanghechen/react-kit/commit/76009d9c8f31f1b2d088d716c83acee5454afd36)) - ✅ update tests for observable ([83c75e1](https://github.com/guanghechen/react-kit/commit/83c75e1c780019dc178ac2e86bd0062cd9186a89)) - ✅ update tests for observable-collection ([284195d](https://github.com/guanghechen/react-kit/commit/284195da86ba8bc06f8ff6456575307a7588249d)) - ✅ update tests for schedulable ([9173279](https://github.com/guanghechen/react-kit/commit/91732791883c22c58a4097be99e7924feeabe51a)) ## [0.1.3](https://github.com/guanghechen/react-kit/compare/@guanghechen/viewmodel@0.1.2...@guanghechen/viewmodel@0.1.3) (2023-08-19) ### Performance Improvements - 🎨 update types ([1c50ce6](https://github.com/guanghechen/react-kit/commit/1c50ce6d352c491579b42e241438ba4b3084256d)) ## [0.1.2](https://github.com/guanghechen/react-kit/compare/@guanghechen/viewmodel@0.1.1...@guanghechen/viewmodel@0.1.2) (2023-08-16) ### Performance Improvements - :art: refactor disposable ([9cc28d6](https://github.com/guanghechen/react-kit/commit/9cc28d64beb16d0f96833b9f14f315f8cbb4f2f2)) - ⬆️ upgrade dependencies ([e443448](https://github.com/guanghechen/react-kit/commit/e4434481d1834f7567944788042ac478eb5fd503)) ## [0.1.1](https://github.com/guanghechen/react-kit/compare/@guanghechen/viewmodel@0.1.0...@guanghechen/viewmodel@0.1.1) (2023-08-07) ### Performance Improvements - ✅ update tests ([97756c1](https://github.com/guanghechen/react-kit/commit/97756c1b040b578d83f2032713204d69ca52f891)) - ⬆️ upgrade dependencies ([85deb61](https://github.com/guanghechen/react-kit/commit/85deb61590539a1e038bbafdacbc0825e19555ff)) - 🎨 refactor Disposable to support collect multiple disposables ([0b1aa48](https://github.com/guanghechen/react-kit/commit/0b1aa48c7e9161ee8f713d94848957bd9ae9585f)) # 0.1.0 (2023-07-29) ### Bug Fixes - 🐛 not notify initial value ([21fa208](https://github.com/guanghechen/react-kit/commit/21fa208826f94ccffdbbc3570d592deb822d61a8)) ### Features - ✨ implement @guanghechen/viewmodel ([1722905](https://github.com/guanghechen/react-kit/commit/17229050e8d335c66ec7dc3c8ef68925a4954957)) ### Performance Improvements - ⬆️ upgrade devDependencies ([9e53d3a](https://github.com/guanghechen/react-kit/commit/9e53d3a6abdbe7a1590de360621046652ffb841c))