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

@vsf-enterprise/redis-sdk

2.0.0

Major Changes

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

Key Updates:

  • 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:

  • 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 Changes

  • Updated dependencies:
    • @alokai/connect@1.0.0

2.0.0-rc.5

Patch Changes

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

2.0.0-rc.4

Major Changes

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

Key Updates:

  • 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:

  • 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 Changes

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

2.0.0-rc.3

Patch Changes

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

2.0.0-rc.2

Patch Changes

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

2.0.0-rc.1

Major Changes

Update packages to work with connect rc version

Patch Changes

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

2.0.0-rc.0

Major Changes

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.0

Minor Changes

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

1.0.2

Patch Changes

  • 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.0

Patch Changes

  • 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.1

Patch Changes

  • 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.0

Patch Changes

  • 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.0

Major Changes

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

Minor Changes

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

1.0.0-rc.2

Minor Changes

  • CHANGED Separate modules for client and server.

1.0.0-rc.1

Minor Changes

  • CHANGED Prevent using Redis SDK module methods client-side