Skip to content

Releases: ngxs/store

v3.8.2

30 Nov 22:41
Compare
Choose a tag to compare

What's Changed

  • build: add angular 17 support by @jpraetorius in #2079
  • docs: update options.md by @arturovt in #2023
  • refactor(store): remove isAngularInTestMode by @arturovt in #2024
  • refactor(store): do not create new functions in each @State decorator by @arturovt in #2022
  • refactor(store): do not create new functions per each new context by @arturovt in #2025
  • perf(store): tree-shake selectors validation errors by @arturovt in #2020
  • docs: fix upsertItem operator example by @nilzen in #2028
  • fix(store): patch operator must handle existing nulls by @TheKingDave in #2064
  • fix(devtools-plugin): do not re-enter Angular zone when resetting state by @arturovt in #2038
  • fix(storage-plugin): access local and session storages globals only in browser by @arturovt in #2034
  • fix(storage-plugin): require only getItem and setItem on engines by @arturovt in #2036
  • ci: update node images and browser tools by @arturovt in #2039
  • refactor(*): replace get type() with type = in actions by @arturovt in #2035

New Contributors

Full Changelog: v3.8.1...v3.8.2

v3.8.1

16 May 20:05
e73ea48
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.8.0...v3.8.1

v3.8.0

29 Mar 11:50
Compare
Choose a tag to compare

Note: In this release we are publishing in the new Ivy packaging format, and therefore have dropped support for Angular 11 and earlier.

What's Changed

  • feat(store): strongly type ofAction* methods by @bbarry in #1808
  • feat(store): expose ActionContext and ActionStatus by @arturovt in #1766
  • feat(store): warn on unhandled actions by @arturovt in #1870
  • feat(store): allow prodiving warnOnUnhandledActions as boolean by @arturovt in #1951
  • feat(store): build packages in Ivy format by @arturovt in #1945
  • feat(store): improve create selector types by @markwhitfeld in #1982
  • feat(operators): improve publicly exposed types by @markwhitfeld in #1956
  • feat(operators): improve type checking and intellisense for State Operators by @markwhitfeld in #1947
  • feat(selector-utils): add advanced selector utils by @Carniatto in #1824
  • perf(store): tree-shake patch errors by @arturovt in #1955
  • fix(store): do not infer T from argument to patch by @david-shortman in #1806
  • fix(store): get descriptor explicitly when considered as class prop by @arturovt in #1961
  • fix(store): avoid delayed updates from state stream by @arturovt in #1981
  • feat(storage-plugin): allow providing namespace for keys by @arturovt in #1841
  • feat(storage-plugin): enable providing storage engine individually by @arturovt in #1935
  • feat(router-plugin): provide more actions and navigation timing option by @arturovt in #1932
  • feat(form-plugin): allow ngxsFormDebounce to be string by @arturovt in #1972
  • feat(devtools-plugin): add trace options to NgxsDevtoolsOptions by @Dyqmin in #1968
  • feat(devtools-plugin): add new options to the NgxsDevtoolsOptions interface by @oleksandr-codefresh in #1879
  • chore(deps): update dependency express to v4.17.3 [security] by @renovate in #1949
  • test(unit): update unit test setup, revise existing unit tests by @rfprod in #1846
  • docs: update action-handlers.md by @maxaxehax in #1973

New Contributors

Full Changelog: v3.7.6...v3.8.0

v3.7.6

23 Nov 21:56
Compare
Choose a tag to compare

What's Changed

  • fix(store): use isObservable to test whether actions return an observable by @arturovt in #1925
  • fix(storage-plugin): do not skip deserialization for keys with dot notation by @arturovt in #1924
  • fix(store): call ngxsOnChanges whenever state changes (even through plugins) by @arturovt in #1926
  • fix(store): complete Actions stream once root view is removed by @arturovt in #1933
  • fix(store): do not delegate errors to ErrorHandler if users catch them manually by @arturovt in #1927
  • chore: add support for Angular 15 by @arturovt in #1938
  • build: bump RxJS version to repair Cypress postinstall by @arturovt in #1934
  • test(store): ensure Actions stream leave NGXS execution strategy and cause CDs by @arturovt in #1936
  • perf(store): run CD once for all Actions subscribers by @arturovt in #1939

Full Changelog: v3.7.5...v3.7.6

v3.7.5

08 Aug 21:12
Compare
Choose a tag to compare

What's Changed

  • ci(github): migrate ci from circleci to github by @rfprod in #1852
  • ci(publish): check the repo owner before executing publish steps by @rfprod in #1864
  • fix(store): do not try to decorate factory asynchronously by @arturovt in #1861
  • ci(bundlemon): replace bundlesize with bundlemon by @rfprod in #1865
  • fix(storage-plugin): provide more meaningful error message when the storage quota exceeds by @arturovt in #1863
  • fix(store): do not check if the state class is injectable within the decorator since the Ι΅prov will not exist in JIT mode by @arturovt in #1867
  • perf(store): tree-shake no type on the action error by @arturovt in #1858
  • fix(store): revert select decorator changes and add deprecation note by @arturovt in #1871
  • fix(devtools-plugin): enable time-traveling for navigation actions by @arturovt in #1868
  • fix(store): give back control to developmentMode config property by @arturovt in #1878
  • fix(store): do not use refCount() since it makes the stream cold by @arturovt in #1883
  • ci: add process for accepting bundlemon differences by @markwhitfeld in #1886
  • chore(store): improve Select deprecation message and add notice to the docs by @arturovt in #1888
  • fix(storage-plugin): ensure the deserialization is not skipped for master key by @arturovt in #1887
  • fix(store): remove ? from ctx parameter of lifecycle hooks since they are never undefined by @arturovt in #1889
  • fix(form-plugin): prevent actions infinite loop with multiple ngxsForm directives by @arturovt in #1890
  • test(router-plugin): silence navigation warnings by @arturovt in #1891
  • docs(store): add "Typing Operators" section to operators.md by @arturovt in #1892
  • ci: remove bundlemon approval step by @markwhitfeld in #1902
  • chore(store): remove @Select deprecation notice [for patch release] by @arturovt in #1899
  • fix(router-plugin): prevent router overriding valid navigation by @arturovt in #1907
  • fix(store): avoid incorrectly ordered state observable events by @arturovt in #1908

New Contributors

Full Changelog: v3.7.4...v3.7.5

v3.7.4

09 Jun 07:05
Compare
Choose a tag to compare

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 and isAngularInTestMode 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

Full Changelog: v3.7.3...v3.7.4

v3.7.3

09 Jun 06:48
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.7.2...v3.7.3

v3.7.2

18 May 11:39
Compare
Choose a tag to compare
chore: release v3.7.2

v3.7.1

24 Nov 15:35
Compare
Choose a tag to compare
chore: release v3.7.1

v3.7.0

02 Oct 06:33
Compare
Choose a tag to compare
chore: release v3.7.0