Broadleaf Microservices
  • v1.0.0-latest-prod

Auth SDK Release Notes

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