Broadleaf Microservices
  • v1.0.0-latest-prod

Auth SDK Release Notes

Table of Contents

1.6.x

Tip
Active
Note
Compatible with Release Trains 2.3.x, 2.2.x, 2.1.x, 2.0.x, 1.8.x

1.4.x

Tip
Maintenance
Note
Compatible with Release Train 1.7.x

Upgrading Guidance

Consider adding the following script to your storefront project to make upgrading AuthSDK dependencies easier:

+

#!/bin/sh

GREEN=$'\e[0;32m'
CYAN=$'\e[0;36m'
NC=$'\e[0m'

echo "Upgrading Auth SDK versions to $1..."

yarn add @broadleaf/auth-react@$1 --exact

echo "\n${GREEN}Finished${NC}"

And then add this to the scripts in your package.json

{
  "scripts": {
    "upgrade:auth": "./upgrade-auth-version.sh"
  }
}

Then you can upgrade to the latest version of each module using this from the command line:

# for latest 1.6 patch of each module, although it's usually just auth-react
yarn upgrade:auth latest-1.6