Skip to content

v16.0.0 Nx 23 update

Latest

Choose a tag to compare

@ZenSoftware ZenSoftware released this 14 Oct 00:33
· 14 commits to base since this release

This update includes some major refactoring to upgrade everything to the latest versions of depenencies.

  • Migrated the Nx monorepo from v19 to v23
  • Updated all git feature branches to the latest working dependencies
  • Updated Node v22 to Node v24
  • Updated from postgres:17 to postgres:18
  • Updated from Kendo v19 to v25
  • Replaced Jest with Vitest as the testing framework throughout the repository.
  • Replaced the Angular assets directory in favor of the public directory to house public assets.
  • Upgraded @apollo/client from v3 to v4 and apollo-angular v11 to v14. This requires updating all Queries, Mutations and Subscriptions to utilize the new combined parameters introduced in the updated packages. To illustrate this:
class MyComponent {
  myQuery = inject(MyQuery);
  myMutation = inject(MyMutation);
  mySubscription = inject(MySubscription);

  constructor() {
-    myQuery.watch({ myVariable: 'foo' }, { fetchPolicy: 'cache-and-network' });
+    myQuery.watch({ variables: { myVariable: 'foo' }, fetchPolicy: 'cache-and-network' })

-    myMutation.mutate({ myVariable: 'foo' }, { errorPolicy: 'ignore' });
+    myMutation.mutate({ variables: { myVariable: 'foo' }, errorPolicy: 'ignore' });

-    mySubscription.subscribe({ myVariable: 'foo' }, { fetchPolicy: 'network-only' });
+    mySubscription.subscribe({ variables: { myVariable: 'foo' }, fetchPolicy: 'network-only' });
  }
}