Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @ngxs/store to v19 #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 3, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@ngxs/store ~3.4.3 -> ~19.0.0 age adoption passing confidence

Release Notes

ngxs/store (@​ngxs/store)

v19.0.0

Compare Source

  • Build: Add Angular 19 support #​2269

v18.1.6

Compare Source

  • Refactor: Use field initializers for injectees #​2258
  • Refactor: Allow tree-shaking of dev-only code #​2259
  • Fix(store): Allow plain functions in withNgxsPlugin #​2255
  • Fix(store): Run plugins in injection context #​2256
  • Fix(store): Setup unhandled error handler during NGXS initialization #​2263
  • Fix(websocket-plugin): Do not dispatch action when root injector is destroyed #​2257
  • Refactor(store): Replace exhaustMap #​2254
  • Refactor(store): Tree-shake development options token #​2260
  • Performance(store): Prevent initializing state factory at feature levels #​2261
  • Revert: Revert router state changes #​2264

v18.1.5

Compare Source

  • Fix(store): Prevent writing to state once action handler is unsubscribed #​2231
  • Performance(store): Replace instanceof Function with typeof #​2247
  • Refactor(store): Use Object.is as default equality check #​2245
  • Refactor(store): Tree-shake internal state tokens #​2246
  • Refactor(router-plugin): Mark selectors as pure #​2248
  • Refactor(storage-plugin): Mark engine tokens as pure #​2249

v18.1.4

Compare Source

  • Fix(store): Disallow nullable actions in dispatch() #​2221
  • Fix(logger-plugin): Run filter function in injection context #​2236

v18.1.3

Compare Source

  • Build: Copy LICENSE after build #​2234

v18.1.2

Compare Source

  • Fix(store): Allow selector utils usage within state class #​2210
  • Fix(store): Register feature plugins correctly #​2228
  • Fix(store): Memoize selectors which return NaN #​2230
  • Performance(store): Avoid going over states list every time action is dispatched #​2219
  • Refactor(store): Add action registry #​2224

v18.1.1

Compare Source

  • Fix(store): allow dispatch within effect #​2201
  • Fix(store): use computed in selectSignal #​2201

v18.1.0

Compare Source

  • Feature(store): Debounce selectSignal by default #​2190
  • Feature(store): Add withExperimentalNgxsPendingTasks #​2186
  • Fix(store): Decouple state signal updates from synchronous changes #​2189
  • Fix(schematics): remove local ng utils for schematics #​2184

v18.0.0

Compare Source

  • Feature(store): Improve action decorator types #​2158
  • Feature(store): Improve selector decorator types #​2042
  • Feature(store): Add preboot feature and recipe #​2156
  • Feature(store): Add dispatch utility #​2143
  • Feature(store): Add signals utilities #​2141
  • Feature(store): Implement NGXS unhandled error handler #​2137
  • Feature(store): Export selector util types privately #​2140
  • Feature(store): Expose withNgxsDevelopmentOptions standalone API #​2134
  • Feature(store): Add selectSignal #​2097
  • Feature(store): Deprecate state children #​2136
  • Feature(store): Deprecate @Select #​2135
  • Fix(store): Do not rely on private token when checking whether zone is enabled #​2151
  • Fix(store): Update ActionDef new to return any #​2149
  • Fix(store): Created maps properties should be enumerable #​2150
  • Fix(store): Remove RequireAtLeastOneProperty to make it simpler #​2147
  • Fix(store): Remove deprecated stuff #​2119
  • Fix(store): Remove defaultsState config property #​2118
  • Fix(store): Do not inject container state by default #​2117
  • Fix(store): select,selectOnce,selectSnapshot should only accept typed selector #​2116
  • Fix(store): setState and patchState should both return <void> #​2114
  • Fix(store): ofActionErrored should return ActionCompletion #​2112
  • Fix(store): Enable throwing errors from selectors by default #​2111
  • Fix(store): dispatch return observable should be <void> #​2109
  • Fix(store): Ensure features are initialized after root state #​2083
  • Fix(store): Log feature states added before store is initialized #​2067
  • Fix(store): Show error when state initialization order is invalid #​2066, #​2067
  • Fix(store): Change instanceof Promise to isPromise to allow any promisable object #​2093
  • Fix(store): Router Plugin - Expose NGXS_ROUTER_PLUGIN_OPTIONS privately #​2037
  • Performance(store): Select prop getter implementation only once #​2107
  • Performance(store): Improve compliant prop getter #​2106
  • Feature(schematics): Schematics support a project option and standalone detection #​2089
  • Feature(storage-plugin): Migrate to the property 'keys' #​2108
  • Feature(storage-plugin): Allow providing feature states #​1994
  • Feature(storage-plugin): Require explicit options when providing storage plugin #​2100
  • Fix(schematics): Dasherize the state and store file name #​2090
  • Fix(websocket-plugin): WebSocket title casing should be consistent #​2115
  • Refactor(store): Move metadata into internals #​2062
  • Refactor(store): Rely on ngDevMode to be always defined #​2138
  • Refactor(schematics): Enhance schematics behavior for monorepos #​2165
  • Build: Flatten .d.ts files #​2131
  • Build: Upgrade workspace to Angular 17 #​2087
  • Build: Add Angular 18 support #​2168

v3.8.2

Compare Source

  • Fix: patch state operator must handle existing nulls #​2064
  • Fix: Storage Plugin - Access local and session storages globals only in browser #​2034
  • Fix: Storage Plugin - Require only getItem and setItem on engines #​2036
  • Fix: Devtools Plugin - Do not re-enter Angular zone when resetting state #​2038
  • Performance: Tree-shake selectors validation errors #​2020
  • Build: Add Angular 17 support #​2079
  • Refactor: Replace get type() with type = in actions #​2035
  • Refactor: WebSocket Plugin - Get rid off rxjs/webSocket and use WebSocket directly #​2033

v3.8.1

Compare Source

  • Fix: Check if state is injectable in JIT #​1988
  • Fix: State stream should always return latest value even if update is queued up #​1995
  • Fix: Ensure StateFactory does not connect actions multiple times #​2010
  • Build: Add Angular 16 support #​2008
  • Refactor: Set singletons as "providedIn: root" #​2015

v3.8.0

Compare Source

  • Feature: Build packages in Ivy format #​1945
  • Feature: Add advanced selector utilities #​1824
  • Feature: Expose ActionContext and ActionStatus #​1766
  • Feature: ofAction* methods should have strong types #​1808
  • Feature: Improve contextual type inference for state operators #​1806 #​1947
  • Feature: Enable warning on unhandled actions #​1870 #​1951
  • Feature: Router Plugin - Provide more actions and navigation timing option #​1932
  • Feature: Storage Plugin - Allow providing namespace for keys #​1841
  • Feature: Storage Plugin - Enable providing storage engine individually #​1935
  • Feature: Devtools Plugin - Add new options to the NgxsDevtoolsOptions interface #​1879
  • Feature: Devtools Plugin - Add trace options to NgxsDevtoolsOptions #​1968
  • Feature: Form Plugin - Allow ngxsFormDebounce to be string #​1972
  • Performance: Tree-shake patch errors #​1955
  • Fix: Get descriptor explicitly when it's considered as a class property #​1961
  • Fix: Avoid delayed updates from state stream #​1981

v3.7.6

Compare Source

  • Performance: Run change detection once for all Actions subscribers once the stream emits #​1939
  • Fix: Use isObservable to test whether actions return an observable #​1925
  • Fix: Call ngxsOnChanges whenever state changes (even through plugins) #​1926
  • Fix: Do not delegate errors to ErrorHandler if users catch them manually #​1927
  • Fix: Complete Actions stream once root view is removed #​1933
  • Fix: Storage Plugin - Do not skip deserialization for keys with dot notation #​1924

v3.7.5

Compare Source

  • Performance: Tree-shake no type on the action error #​1858
  • Fix: Give back control to developmentMode config property #​1878
  • Fix: Do not use refCount() since it makes selectable stream cold #​1883
  • Fix: Remove ? from ctx parameter of lifecycle hooks since they are never undefined #​1889
  • Fix: Avoid incorrectly ordered state observable events #​1908
  • Fix: Router Plugin - Prevent router overriding valid navigation #​1907
  • Fix: Storage Plugin - Provide more meaningful error message when the storage quota exceeds #​1863
  • Fix: Storage Plugin - Ensure the deserialization is not skipped for master key #​1887
  • Fix: Storage Plugin - Do not re-hydrate the whole state when the feature state is added #​1887
  • Fix: Devtools Plugin - Enable time-traveling for navigation actions #​1868
  • Fix: Form Plugin - Prevent actions infinite loop with multiple ngxsForm directives #​1890
  • Fix: Do not check if the state class is injectable within the decorator since the ɵprov will not exist in JIT mode #​1867
  • Revert: revert select decorator changes and add deprecation note #​1871

v3.7.4

Compare Source

  • Build: include support for Angular 14 #​1850
  • Fix: Do not re-use the global Store instance between different apps #​1740 and #​1804 (Note: reverted in v3.7.5)
  • Fix: Handle mixed async scenarios for action handlers #​1762
  • Fix: An action with cancelUncompleted enabled should unsubscribe before the next action handler is called #​1763
  • Fix: Do not run Promise.then within synchronous tests when decorating factory #​1753 (Note: reverted in v3.7.5)
  • Fix: Provide NoopNgxsExecutionStrategy explicitly when the zone is nooped #​1819
  • Fix: Complete the state stream once the root view is removed #​1830
  • Fix: Be more explicit when checking if Angular is in test mode #​1831, #​1832
  • Fix: Devtools Plugin - Do not connect to devtools when the plugin is disabled #​1761
  • Fix: Router Plugin - Cleanup subscriptions when the root view is destroyed #​1754
  • Fix: WebSocket Plugin - Cleanup subscriptions and close the connection when the root view is destroyed #​1755
  • Fix: Storage Plugin - Only restore state if key matches addedStates #​1746
  • Fix: Forms Plugin - Do not destructure primitive types #​1845
  • Performance: Tree-shake errors and warnings #​1732
  • Performance: Tree-shake ConfigValidator, HostEnvironment and isAngularInTestMode #​1741
  • Performance: Tree-shake SelectFactory #​1744
  • Performance: Tree-shake deepFreeze #​1819
  • Performance: Run change detection once for all selectors when asynchronous action has been completed #​1828
  • Performance: Router Plugin - Tree-shake isAngularInTestMode() #​1738
  • Performance: Tree-shake isAngularInTestMode() #​1739
  • Performance: Storage Plugin - Tree-shake console.* calls and expand error messages #​1727
  • CI: Bundlesize checks should run reliably #​1812

v3.7.3

Compare Source

  • Chore: Add official support for Angular 13 #​1798
  • CI: Add angular 13 ivy integration test #​1798

v3.7.2

Compare Source

  • Chore: Add official support for Angular 12 #​1752
  • Fix: Allow to inject the Store into the custom error handler #​1708
  • CI: Add angular 12 ivy integration test #​1750
  • CI: Add bundlesize check for the latest integration app #​1710

v3.7.1

Compare Source

  • Chore: Add official support for Angular 11 #​1697
  • Fix: Release NGXS resources when the root module gets destroyed #​1669
  • Fix: Resilient select if requested before state added #​1701
  • Fix: Deep merge options with default options #​1686
  • Fix: Storage Plugin - Resolve state name correctly if the state class has been provided #​1670
  • CI: Add angular 11 ivy integration test with Ivy on #​1694 and off #​1696

v3.7.0

Compare Source

  • Feature: Throw an error when actions do not have a static type property #​1625
  • Feature: Storage Plugin - Add before and after serialize hooks #​1513
  • Feature: Logger Plugin - Add filter for Logger Plugin #​1571
  • Feature: Form Plugin - Add reset form action #​1604
  • Feature: Form Plugin - ngxsFormClearOnDestroy should allow the attribute with no value #​1662
  • Performance: Logger Plugin - Plugin should lazy inject the store once #​1550
  • Fix: ofAction* methods should prevent passing anything except of ActionType #​1616
  • Fix: Remove the recent @Select type safety check due to issues with private/protected properties #​1623
  • Fix: Actions are not canceled when any Observable returned by any handler is completed without emitting #​1615
  • Fix: Router Plugin - Update state after route successfully activates #​1606
  • Fix: HMR Plugin - Show error when use Angular Ivy with JIT mode #​1607
  • Fix: Logger Plugin - Filter out only undefined payloads #​1617
  • Fix: Devtools Plugin - Actions with "action" property should not be logged as #​1628
  • Test: Add integration tests for Angular 10 with Ivy #​1641 and without Ivy #​1647
  • Test: Add integration tests for Angular 9 without Ivy #​1649
  • Build: Upgrade TS to 3.9.5 to ensure that no breaking changes get added #​1626
  • Build: Compile using Angular 9 #​1596

NGXS-Labs

Data-plugin v3.0.0 2020-05-05

v3.6.2

Compare Source

  • Fix: Handle empty array dispatch edge case #​1521
  • Fix: Fix regression after upgrade to angular.rc-11 #​1526

v3.6.1

Compare Source

  • Fix: Selectors should not be declaration order sensitive #​1514
  • Fix: Selectors should be deterministic based on store being used #​1508
  • Fix: Add support for using State Tokens in sub states #​1509
  • Fix: Optimize selector runtime binding #​1510
  • Build: Add router-plugin back to Ivy integration test #​1506
  • Build: Run ngcc synchronously to get Ivy build working again #​1497

NGXS-Labs

Data-plugin v2.0.0 2019-12-16
  • Feature: Support NGXS 3.6
BREAKING CHANGES
  • Compatible only with NGXS 3.6+
  • Now patchState, setState return void
  • No longer support options in NgxsDataPluginModule.forRoot()
  • No longer support @query decorator

v3.6.0

Compare Source

  • Feature: Add ngxsOnChanges lifecycle hook #​1389
  • Feature: Expose StateContextFactory, StateFactory #​1325
  • Feature: Improved type safety for children states #​1388
  • Feature: Improved type safety for @Select decorator #​1453
  • Feature: Add StateToken<T> construct #​1436
  • Feature: Warn about undecorated state class if Ivy is enabled in dev (both JIT/AOT) #​1472, #​1474
  • Feature: Storage Plugin - Use state classes as keys #​1380
  • Feature: Form Plugin - Implement propertyPath parameter in the UpdateFormValue #​1215
  • Feature: WebSocket Plugin - Implement WebSocketConnected action #​1371
  • Feature: HMR Plugin - Add hmrIsReloaded utility #​1435
  • Fix: Use generic ModuleWithProviders type for Ivy compatiblility #​1469
  • Fix: Explicit typings for state operators #​1395, #​1405
  • Fix: Warn if the zone is not actual "NgZone" #​1270
  • Fix: Do not re-throw error to the global handler if custom is provided #​1379
  • Fix: Group Actions subscriptions to remove memory leak #​1381
  • Fix: Upgrade ng-packagr to fix Ivy issues #​1397
  • Fix: Router Plugin - resolve infinite redirects and browser hanging #​1430
  • Fix: Router Plugin - build compatibility with Angular 9 (Ivy) #​1459
  • Fix: Devtools Plugin - remove NgxsModule from imports to ensure Ivy compatibility #​1491
  • Build: Add build integration test with Angular 9 (Ivy) #​1278
  • Build: Run SSR tests with cypress #​1281
  • Build: Add E2E tests for the Ivy integration #​1492
BREAKING CHANGES
  • If you are using TypeScript 2.7 and Angular 5 you will need to update to TypeScript 2.8.1 and Angular 6.1.0 at a minimum. We were forced to drop support for these in order to provide support for Ivy. These versions are also no longer supported the Angular team either. This has not resulted in a major version change for NGXS due to the fact that it is not our API that has changed, rather a dependency.

NGXS-Labs

v3.5.1

Compare Source

  • Fix: Ensure that @Action() is not usable with static methods #​1203
  • Fix: Router Plugin - normalize URL by stripping base href #​1178
  • Fix: Router Plugin - revert state back after "RouterCancel" is dispatched #​1236
  • Fix: Router Plugin - "includeHash" must be truthy requesting path #​1265
  • Fix: HMR Plugin - trigger ngOnDestroy for all components in app tree #​1192
  • Fix: HMR Plugin - remove @angularclass/hmr peer dependency #​1205
  • Fix: Forms Plugin - reduce UpdateFormStatus action dispatching #​1217
  • Fix: Logger Plugin - print next state even if error was thrown #​1247
  • Fix: Devtoos Plugin - send action to the dev tools even if error was thrown #​1249
  • Build: dtslint must use current version of TypeScript #​1182
  • Build: add bundle size checker for improved infrastructure #​1199
  • Build: configure typescript-eslint package #​1201
  • Build: add cypress for E2E testing #​1258

NGXS-Labs

Dispatch Decorator v2.1.0
  • Fix: remove DispatchAction and unnecessary closures #​252
Dispatch Decorator v2.0.0
  • Build: prepare package for the Angular 8+ compatibility and support NGXS 3.5 #​247
  • Build: configure cypress for SSR and E2E testing #​248
  • Feat: implement cancelUncompleted option #​250
Emitter-plugin v2.0.0
  • Feature: Support NGXS 3.5, TypeScript 3.5 #​317
  • Fix: change action type to instance property #​316

v3.5.0

Compare Source

  • Feature: upgrade to support Angular 8 #​1156
  • Feature: selector option to disable supressing errors #​1015, #​1087
  • Feature: expose NgxsModuleOptions as a named type #​1031
  • Feature: expose SelectorOptions decorator #​1029, #​1047
  • Feature: expose StateClass as a named type #​1042, #​1070
  • Feature: Router Plugin - add RouterDataResolved action #​1059
  • Feature: WebSocket Plugin - add WebSocketConnectionUpdated action #​1094
  • Performance: replace array spread with slice #​1066, #​1071
  • Fix: Life-cycle events not triggering in root state #​1048
  • Fix: Logger Plugin - replace Object.entries as it breaks IE11 #​931
  • Fix: Router Plugin - trigger navigation on the QueryParams change #​924
  • Fix: Router Plugin - redirect to the manually entered route #​920, #​1159
  • Fix: Router Plugin - add RouterDataResolved to the union RouterAction type #​1093
  • Fix: Router Plugin - manual path check should not fail for SSR #​1158
  • Fix: HMR Plugin - remove old styles after reload #​1001
  • Fix: HMR Plugin - correct persistence state in runtime #​1048
  • Fix: HMR Plugin - does not properly restore state #​1139
  • Fix: Form Plugin - introduce conditional debounce #​1061
  • Fix: WebSocket Plugin - don't stop WebSocketSubject stream after dispatching WebSocketDisconnected #​1091
  • Fix: Storage Plugin - undefined localStorage error during SSR #​1119
  • Build: CI - decouple build infrastructure from root package.json #​1163
  • Build: use jest internally for testing #​1068

NGXS-Labs

Select-snapshot v1.0.0
Immer-adapter v3.0.0
  • Feature: immutable state context decorator
  • Feature: immutable selector decorator
  • Feature: support immer v3.x
  • Deprecated: produce operator

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 4am every weekday,every weekend" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants