Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 829 Bytes

CHANGELOG.md

File metadata and controls

28 lines (23 loc) · 829 Bytes

[0.15.0] - 2022-04-06

💥 Breaking Changes

  • [#48] Parse scopes to match Ueberauth typespec (@bismark)

This change updates the Ueberauth.Auth.Credentials.scopes attribute to a list of strings instead of a comma separated string. This aligns the attribute with the Ueberauth typespec and other Ueberauth strategies.

To migrate to this version, any code expecting Credentials.scopes to be a string will need to be updated to expect a list of strings.

# Previous format
%Ueberauth.Auth{
  credentials: %Ueberauth.Auth.Credentials{
    scopes: "scope1,scope2",
    ...
  },
  ...
}

# New format
%Ueberauth.Auth{
  credentials: %Ueberauth.Auth.Credentials{
    scopes: ["scope1","scope2"],
    ...
  },
  ...
}