Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 24 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# v2.5.0 (Thu Aug 28 2025)

#### πŸš€ Enhancement

- Updated backend URL endpoints for improved connectivity and reliability.

#### Authors: 1

- Damian Jachyra ([@damianjachyra](https://github.com/damianjachyra))

---

# v2.4.1 (Tue Apr 23 2024)

#### πŸ› Bug Fix
Expand Down Expand Up @@ -93,6 +105,7 @@
# v2.0.0 (July 10, 2023)

## Summary

- πŸš€ **Added:** Magic Connect developers can now use the Admin SDK to validate DID tokens. [#111](https://github.com/magiclabs/magic-admin-js/pull/111) ([@magic-ravi](https://github.com/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](https://github.com/magiclabs/magic-admin-js/pull/111) ([@magic-ravi](https://github.com/magic-ravi))
- πŸ›‘οΈ **Security:** Additional validation of `aud` (client ID) is now being done during initialization of the SDK. [#111](https://github.com/magiclabs/magic-admin-js/pull/111) ([@magic-ravi](https://github.com/magic-ravi))
Expand All @@ -102,6 +115,7 @@
### πŸš€ Added

#### Admin SDK for MC

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

**Details**
Expand All @@ -117,6 +131,7 @@ The existing constructor has been deprecated in place of a new async `init` meth
The `init` method will pull clientId from Magic servers if one is not provided in the `options` parameter.

**Previous Version**

```javascript
const magic = new Magic(secretKey);
try {
Expand All @@ -132,17 +147,18 @@ try {
```

**Current Version**

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

Expand All @@ -156,7 +172,6 @@ try {

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.
Expand All @@ -169,7 +184,7 @@ None, all changes are fully backwards compatiable.

#### πŸ› Bug Fix

- * add file extension [#112](https://github.com/magiclabs/magic-admin-js/pull/112) ([@Ethella](https://github.com/Ethella))
- - add file extension [#112](https://github.com/magiclabs/magic-admin-js/pull/112) ([@Ethella](https://github.com/Ethella))

#### Authors: 1

Expand Down Expand Up @@ -253,6 +268,7 @@ None, all changes are fully backwards compatiable.
- Ben Griffin ([@bengriffin1](https://github.com/bengriffin1))

---

# v1.8.0 (Fri Feb 17 2023)

#### πŸš€ Enhancement
Expand All @@ -264,6 +280,7 @@ None, all changes are fully backwards compatiable.
- Justin Herrera ([@justinnout](https://github.com/justinnout))

---

# v1.4.1 (Sat Apr 16 2022)

#### πŸ› Bug Fix
Expand Down Expand Up @@ -380,7 +397,7 @@ None, all changes are fully backwards compatiable.
- Add vulnerabilities and circleci badges [#35](https://github.com/magiclabs/magic-admin-js/pull/35) ([@FYJen](https://github.com/FYJen))
- Add issue templates and contributing guide [#26](https://github.com/magiclabs/magic-admin-js/pull/26) ([@smithki](https://github.com/smithki))
- Encode query URI components and implement logout v2 [#22](https://github.com/magiclabs/magic-admin-js/pull/22) ([@smithki](https://github.com/smithki))
- Add 'getUserBy*' methods and generalize REST API services [#18](https://github.com/magiclabs/magic-admin-js/pull/18) ([@smithki](https://github.com/smithki))
- Add 'getUserBy\*' methods and generalize REST API services [#18](https://github.com/magiclabs/magic-admin-js/pull/18) ([@smithki](https://github.com/smithki))
- Validate `nbf` field [#40](https://github.com/magiclabs/magic-admin-js/pull/40) ([@smithki](https://github.com/smithki))
- fix name of logout request body [#14](https://github.com/magiclabs/magic-admin-js/pull/14) ([@Dizigen](https://github.com/Dizigen))
- Add logoutByIssuer method [#13](https://github.com/magiclabs/magic-admin-js/pull/13) ([@smithki](https://github.com/smithki))
Expand Down