Vue Storefront is now Alokai! Learn More
@vsf-enterprise/redis-sdk

@vsf-enterprise/redis-sdk

2.0.0ri:link

Major Changesri:link

  • CHANGED Guarantee compatibility with @alokai/connect package.
  • CHANGED Updated the package for compatibility with Node.js 22.

Key Updates:ri:link

  • Upgraded to the latest version of Node.js 22
  • Updated CI pipelines to use Node.js 22 for consistency.
  • Updated .nvmrc or .node-version files to specify Node.js version 22.14.
  • Upgraded @types/node to version ^22.13.17 for compatibility with the latest Node.js features.

Recommendations:ri:link

  • Use Node.js version 22.14.0 or higher for optimal performance, security, and compatibility.
  • While Node.js 20 is technically supported, it is not recommended as it may cause compatibility issues with certain packages and has not been thoroughly tested. CHANGED Replaced core dependencies with a new @alokai/connect package. @vue-storefront/middleware, @vue-storefront/sdk, vue-storefront/logger, vue-storefront/unified-data-model, @vue-storefront/multistore were replaced with @alokai/connect. The replacement preserves the same functionality and interface as the original packages. To read more about the @alokai/connect package, please refer to the documentation.

Patch Changesri:link

  • Updated dependencies:
    • @alokai/connect@1.0.0

2.0.0-rc.5ri:link

Patch Changesri:link

  • Updated dependencies:
    • @alokai/connect@1.0.0-rc.4

2.0.0-rc.4ri:link

Major Changesri:link

  • CHANGED Updated the package for compatibility with Node.js 22.

Key Updates:ri:link

  • Upgraded to the latest version of Node.js 22
  • Updated CI pipelines to use Node.js 22 for consistency.
  • Updated .nvmrc or .node-version files to specify Node.js version 22.14.
  • Upgraded @types/node to version ^22.13.17 for compatibility with the latest Node.js features.

Recommendations:ri:link

  • Use Node.js version 22.14.0 or higher for optimal performance, security, and compatibility.
  • While Node.js 20 is technically supported, it is not recommended as it may cause compatibility issues with certain packages and has not been thoroughly tested.

Patch Changesri:link

  • Updated dependencies:
    • @alokai/connect@1.0.0-rc.3

2.0.0-rc.3ri:link

Patch Changesri:link

  • Updated dependencies:
    • @alokai/connect@1.0.0-rc.2

2.0.0-rc.2ri:link

Patch Changesri:link

  • Updated dependencies:
    • @alokai/connect@1.0.0-rc.1

2.0.0-rc.1ri:link

Major Changesri:link

Update packages to work with connect rc version

Patch Changesri:link

  • Updated dependencies:
    • @alokai/connect@1.0.0-rc.0

2.0.0-rc.0ri:link

Major Changesri:link

CHANGED Replaced core dependencies with a new @alokai/connect package. @vue-storefront/middleware, @vue-storefront/sdk, vue-storefront/logger, vue-storefront/unified-data-model were replaced with @alokai/connect. The replacement preserves the same functionality and interface as the original packages. To read more about the @alokai/connect package, please refer to the documentation. You will also find a migration guide in the documentation.

1.1.0ri:link

Minor Changesri:link

  • CHANGED Replaced console with Alokai Logger. To learn more about logger, visit Alokai Logger.

1.0.2ri:link

Patch Changesri:link

  • FIXED Multiple instances of ioredis client created during the application lifetime.
  • ADDED Module configuration object now accepts the id property. Recommended while using multiple instances of the Redis module so that each instance is assigned its own ioredis client instead of sharing one.
import { redisModule } from "@vue-storefront/redis-sdk";
import { createSdk } from "@vue-storefront/next";

export const { getSdk } = createSdk(
  options,
  ({ buildModule, middlewareModule, middlewareUrl, getRequestHeaders }) => ({
    redis_a: buildModule(redisModule, {
      id: "redis-sdk-a",
    }),
    redis_b: buildModule(redisModule, {
      id: "redis-sdk-b",
    }),
  }),
);

1.0.2-rc.0ri:link

Patch Changesri:link

  • FIXED Multiple instances of ioredis client created during the application lifetime.
  • ADDED Module configuration object now accepts the id property. Recommended while using multiple instances of the Redis module so that each instance is assigned its own ioredis client instead of sharing one.
import { redisModule } from "@vue-storefront/redis-sdk";
import { createSdk } from "@vue-storefront/next";

export const { getSdk } = createSdk(
  options,
  ({ buildModule, middlewareModule, middlewareUrl, getRequestHeaders }) => ({
    redis_a: buildModule(redisModule, {
      id: "redis-sdk-a",
    }),
    redis_b: buildModule(redisModule, {
      id: "redis-sdk-b",
    }),
  }),
);

1.0.1ri:link

Patch Changesri:link

  • CHANGED Added exports in package.json, including the browser field to better differentiate between server and client entrypoints.
  • FIXED Fixed empty connector while building a Next app.

1.0.1-rc.0ri:link

Patch Changesri:link

  • CHANGED Added exports in package.json, including the browser field to better differentiate between server and client entrypoints.
  • FIXED Fixed empty connector while building a Next app.

1.0.0ri:link

Major Changesri:link

Initial release of the @vsf-enterprise/redis-sdk package.

Minor Changesri:link

  • CHANGED Separate modules for client and server.
  • CHANGED Prevent using Redis SDK module methods client-side

1.0.0-rc.2ri:link

Minor Changesri:link

  • CHANGED Separate modules for client and server.

1.0.0-rc.1ri:link

Minor Changesri:link

  • CHANGED Prevent using Redis SDK module methods client-side