Skip to content

Latest commit

 

History

History
496 lines (300 loc) · 17.4 KB

CHANGELOG.md

File metadata and controls

496 lines (300 loc) · 17.4 KB

v2.4.1 (Tue Apr 23 2024)

🐛 Bug Fix

Authors: 1


v2.4.0 (Thu Apr 04 2024)

🚀 Enhancement

Authors: 1


v2.3.0 (Thu Apr 04 2024)

🚀 Enhancement

Authors: 2


v2.2.0 (Wed Apr 03 2024)

🚀 Enhancement

🐛 Bug Fix

  • Pdeexp 594 update admin sdk dependency versions to support web 3 #123 (@Ethella)

Authors: 2


v2.1.0 (Fri Jan 19 2024)

🚀 Enhancement

Authors: 1


v2.0.1 (Wed Oct 04 2023)

🐛 Bug Fix

Authors: 1


v2.0.0 (Mon Jul 10 2023)

💥 Breaking Change

Authors: 1


v2.0.0 (July 10, 2023)

Summary

  • 🚀 Added: Magic Connect developers can now use the Admin SDK to validate DID tokens. #111 (@magic-ravi)
  • ⚠️ Changed: After creating the Magic instance, it is now necessary to call a new initialize method for Magic Connect developers that want to utilize the Admin SDK. #111 (@magic-ravi)
  • 🛡️ Security: Additional validation of aud (client ID) is now being done during initialization of the SDK. #111 (@magic-ravi)

Developer Notes

🚀 Added

Admin SDK for MC

Magic Connect developers can now use the Admin SDK to validate DID tokens.

Details There is full support for all TokenResource SDK methods for MC. This is intended to be used with client side magic-js SDK which will now emit an id-token-created event with a DID token upon login via the connectWithUI method.

This functionality is replicated on our other SDKs on Python and Ruby.

⚠️ Changed

Constructor initialization

The existing constructor has been deprecated in place of a new async init method. The init method will pull clientId from Magic servers if one is not provided in the options parameter.

Previous Version

const magic = new Magic(secretKey);
try {
  magic.token.validate(DIDT);
} catch (e) {
  console.log(e);
}
try {
  await magic.users.getMetadataByToken(DIDT);
} catch (e) {
  console.log(e);
}

Current Version

const magic = await Magic.init(mcSecretKey);
try {
    magic.token.validate(DIDT);
} catch (e) {
   console.log(e);
}
try {
    await magic.users.getMetadataByToken(DIDT);
} catch (e) {
    console.log(e);
}

Attachment Validation

  • Skip validation of attachment if 'none' is passed in validate.

🛡️ Security

Client ID Validation

Additional validation of aud (client ID) is now being done during initialization of the SDK. This is for both Magic Connect and Magic Auth developers.

🚨 Breaking

None, all changes are fully backwards compatiable.

Authors: 1

v1.10.1 (Fri Jul 07 2023)

🐛 Bug Fix

Authors: 1


v1.10.0 (Wed May 03 2023)

🚀 Enhancement

Authors: 1


v1.9.2 (Fri Mar 24 2023)

🐛 Bug Fix

Authors: 1


v1.9.1 (Fri Mar 24 2023)

🐛 Bug Fix

  • [FIX]: updating response from API server to fit new schema #106 (@bengriffin1)

Authors: 1


v1.9.1 (Wed Mar 22 2023)

🐛 Bug Fix

  • Update modules/mint/index.ts to account for new API response format #106 (@bengriffin1)

Authors: 1


v1.9.0 (Wed Mar 22 2023)

🚀 Enhancement

🐛 Bug Fix

Authors: 2


v1.9.0 (Mon Mar 20 2023)

🚀 Enhancement

Authors: 1


v1.8.0 (Fri Feb 17 2023)

🚀 Enhancement

Authors: 1


v1.4.1 (Sat Apr 16 2022)

🐛 Bug Fix

Authors: 1


v1.4.0 (Tue Mar 29 2022)

🚀 Enhancement

  • feature: make package environment agnostic #81 (@f5io)

⚠️ Pushed to master

  • Update CircleCI to use Node 16 (@smithki)

🏠 Internal

Authors: 3


v1.3.4 (Thu Dec 23 2021)

🐛 Bug Fix

🔩 Dependency Updates

Authors: 3


v1.3.3 (Thu Dec 23 2021)

🐛 Bug Fix

  • getMetadata calls now return phone number #74 (@hcote)

Authors: 1


v1.3.2 (Fri Nov 12 2021)

🐛 Bug Fix

  • allow getMetadata calls to return social provider #71 (@hcote)

Authors: 1


v1.3.1 (Tue Oct 05 2021)

🐛 Bug Fix

🏠 Internal

Authors: 2


v1.3.0 (Tue Nov 17 2020)

🚀 Enhancement

  • Add continuous delivery via 'auto' package #46 (@smithki)

🐛 Bug Fix

⚠️ Pushed to master

🔩 Dependency Updates

Authors: 5


Upcoming Changes

Fixed

  • ...

Changed

  • ...

Added

  • ...

1.2.2 - 06/11/2020

Fixed

  • Fixed a logical error that would incorrectly parse the nbf field.

1.2.1 - 06/11/2020

Changed

  • Added "files" field to package.json to make the NPM package less cumbersome.

1.2.0 - 06/11/2020

Added

  • Enforce the nbf field for DID Tokens parsed via TokenModule.validate.

1.1.0 - 05/25/2020

Added

  • Introduced UtilsModule along with a parseAuthorizationHeader helper method.

1.0.0 - 04/09/2020

This is the first release our changelog records. Future updates will be logged in the following format:

Fixed

  • Bug fixes and patches will be described here.

Changed

  • Changes (breaking or otherwise) to current APIs will be described here.

Added

  • New features or APIs will be described here.