What's Changed
- fix: add support for Angular 14 by @arturovt in #1850
- fix(store): do not re-use the global
Store
instance between different apps by @arturovt in #1740 - fix(store): do not run
Promise.then
within synchronous tests when decorating factory by @arturovt in #1753 - fix(store): allow
@Select()
decorated properties to be accessed within constructors by @arturovt in #1804 - fix(store): handle mixed async scenarios for action handlers by @markwhitfeld in #1762
- fix(store): cancel uncompleted should unsubscribe before next by @markwhitfeld in #1763
- fix(store): provide
NoopNgxsExecutionStrategy
explicitly when the zone is nooped by @arturovt in #1819 - fix(store): complete the state stream once the root view is removed by @arturovt in #1830
- fix(store): be more explicit when checking if Angular is in test mode by @arturovt in #1831 & #1832
- fix(store): lint issue from PR by @arturovt in #1847
- fix(router-plugin): cleanup subscriptions when the root view is destroyed by @arturovt in #1754
- fix(devtools-plugin): do not connect when
disabled
is truthy by @arturovt in #1761 - fix(websocket-plugin): cleanup subscriptions and close the connection when the root view is destroyed by @arturovt in #1755
- fix(storage-plugin): only restore state if key matches addedStates by @rhutchison in #1746
- fix(form-plugin): do not destructure primitive types by @arturovt in #1845
- perf(store): run change detection once for all selectors when asynchronous action has been completed by @arturovt in #1828
- perf(store): tree-shake
isAngularInTestMode()
by @arturovt in #1739 - perf(store): tree-shake
ConfigValidator
,HostEnvironment
andisAngularInTestMode
by @arturovt in #1741 - perf(store): tree-shake
deepFreeze
by @arturovt in #1821 - perf(store): tree-shake
SelectFactory
by @arturovt in #1744 - perf(store): tree-shake errors and warnings by @arturovt in #1732
- perf(storage-plugin): tree-shake console.* calls and expand message by @arturovt in #1727
- perf(router-plugin): tree-shake
isAngularInTestMode()
by @arturovt in #1738 - docs: replace controls prop with value by @destus90 in #1788
- docs: add svg logos by @adisreyaj in #1742
- docs: add ngxs-history-plugin in the README file by @profanis in #1759
- docs: snippets by @joaqcid in #1769
- docs: snippets by @joaqcid in #1770
- docs: update
StorageEngine
section by @peterblazejewicz in #1781 - docs: module federation recipe by @adrian-goe in #1789
- docs(state): fix link to immer by @do-nat in #1810
- docs(installation): remove unused
ZooState
by @benceHornyak in #1834 - test: add integration test with Angular 12 (Ivy) by @splincode in #1750
- test: handle async action scenarios by @joaqcid in #1663
- test(store): ensure that selectors are leaving NGXS execution strategy and cause CD by @arturovt in #1825
- chore: clean up action test to follow AAA syntax with setup function by @markwhitfeld in #1751
- chore(store): add initial version of new strongly typed createSelector by @markwhitfeld in #1823
- build: handle tagged build failure correctly by @markwhitfeld in #1779
- build: disallow failure dev build job by @splincode in #1778
- build: temporarily skip faulty integration test in circle ci by @markwhitfeld in #1780
- ci: bundlesize checks should run reliably by @markwhitfeld in #1812
New Contributors
- @adisreyaj made their first contribution in #1742
- @profanis made their first contribution in #1759
- @peterblazejewicz made their first contribution in #1781
- @destus90 made their first contribution in #1788
- @adrian-goe made their first contribution in #1789
- @do-nat made their first contribution in #1810
- @benceHornyak made their first contribution in #1834
Full Changelog: v3.7.3...v3.7.4