-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5027a8
commit 2552a21
Showing
29 changed files
with
212 additions
and
178 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,39 @@ | ||
# @magicbell/cli | ||
|
||
## 4.0.0 | ||
|
||
### Major Changes | ||
|
||
- [#299](https://github.com/magicbell/magicbell-js/pull/299) [`df2c87f`](https://github.com/magicbell/magicbell-js/commit/df2c87fc1889f02c5e3c96b75aac4850531d0985) Thanks [@smeijer](https://github.com/smeijer)! - **Breaking Change**! | ||
|
||
We've renamed the `categories` property to `category` and the `topics` property to `topic`, to reflect that these properties only support a single value. We haven't been supporting multiple categories or topics for a while now, and believe that renaming this property is the right thing to do. It requires a small change on your end, but the clear naming reduces the number of potential bugs caused by misunderstanding. | ||
|
||
If you make use of the `categories` or `topics` filters on `magicbell user notifications`, you'll need to rename them to their singular variants. | ||
|
||
```diff | ||
- magicbell user notifications list --topics support | ||
+ magicbell user notifications list --topic support | ||
|
||
- magicbell user notifications mark-all-read --topics billing | ||
+ magicbell user notifications mark-all-read --topic billing | ||
|
||
- magicbell user notifications mark-all-seen --topics other | ||
+ magicbell user notifications mark-all-seen --topic other | ||
``` | ||
|
||
### Minor Changes | ||
|
||
- [#360](https://github.com/magicbell/magicbell-js/pull/360) [`95bd18d`](https://github.com/magicbell/magicbell-js/commit/95bd18dd99be576321a947cacad407679501385a) Thanks [@smeijer](https://github.com/smeijer)! - Auth tokens are now prioritized over api keys. | ||
|
||
- [#349](https://github.com/magicbell/magicbell-js/pull/349) [`13e54bc`](https://github.com/magicbell/magicbell-js/commit/13e54bcea17510814685c32bc6cd0f6f34b360d6) Thanks [@smeijer](https://github.com/smeijer)! - define more notification delivery statuses, added `skipped`, `dropped`, `failed`, and `delivered`. | ||
|
||
### Patch Changes | ||
|
||
- [#348](https://github.com/magicbell/magicbell-js/pull/348) [`39832a3`](https://github.com/magicbell/magicbell-js/commit/39832a3f5d35ee4c3aba7b0788a7cfc893c07b08) Thanks [@smeijer](https://github.com/smeijer)! - removed function to delete push subscriptions, as it doesn't exist on our v1 (current) api. | ||
|
||
- Updated dependencies [[`95bd18d`](https://github.com/magicbell/magicbell-js/commit/95bd18dd99be576321a947cacad407679501385a), [`13e54bc`](https://github.com/magicbell/magicbell-js/commit/13e54bcea17510814685c32bc6cd0f6f34b360d6), [`39832a3`](https://github.com/magicbell/magicbell-js/commit/39832a3f5d35ee4c3aba7b0788a7cfc893c07b08), [`e5027a8`](https://github.com/magicbell/magicbell-js/commit/e5027a817d7e85d3291099e4df93bd5b409be44b)]: | ||
- [email protected] | ||
|
||
## 3.6.1 | ||
|
||
### Patch Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@magicbell/cli", | ||
"version": "3.6.1", | ||
"version": "4.0.0", | ||
"description": "Work with MagicBell from the command line", | ||
"author": "MagicBell <[email protected]> (https://magicbell.com)", | ||
"contributors": [ | ||
|
@@ -41,7 +41,7 @@ | |
"size": "size-limit" | ||
}, | ||
"dependencies": { | ||
"magicbell": "3.3.0" | ||
"magicbell": "4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@magicbell/codegen": "0.2.7", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,41 @@ | ||
# magicbell | ||
|
||
## 4.0.0 | ||
|
||
### Major Changes | ||
|
||
- [#361](https://github.com/magicbell/magicbell-js/pull/361) [`e5027a8`](https://github.com/magicbell/magicbell-js/commit/e5027a817d7e85d3291099e4df93bd5b409be44b) Thanks [@smeijer](https://github.com/smeijer)! - **Breaking Change**! | ||
|
||
We've renamed the `categories` property to `category` and the `topics` property to `topic`, to reflect that these properties only support a single value. We haven't been supporting multiple categories or topics for a while now, and believe that renaming this property is the right thing to do. It requires a small change on your end, but the clear naming reduces the number of potential bugs caused by misunderstanding. | ||
|
||
If you use `topics` or `categories` filters in the `UserClient`, you'll need to update those params to their singular variant. | ||
|
||
```diff | ||
import { UserClient } from 'magicbell/user-client'; | ||
|
||
const magicbell = new UserClient({ | ||
apiKey: 'your-api-key', | ||
userEmail: '[email protected]', | ||
}); | ||
|
||
const notifications = await magicbell.notifications.list({ | ||
- categories: ['billing'], | ||
+ category: 'billing', | ||
- topics: ['invoice-1'], | ||
+ topic: 'invoice-1', | ||
}); | ||
``` | ||
|
||
### Minor Changes | ||
|
||
- [#360](https://github.com/magicbell/magicbell-js/pull/360) [`95bd18d`](https://github.com/magicbell/magicbell-js/commit/95bd18dd99be576321a947cacad407679501385a) Thanks [@smeijer](https://github.com/smeijer)! - Auth tokens are now prioritized over api keys. | ||
|
||
- [#349](https://github.com/magicbell/magicbell-js/pull/349) [`13e54bc`](https://github.com/magicbell/magicbell-js/commit/13e54bcea17510814685c32bc6cd0f6f34b360d6) Thanks [@smeijer](https://github.com/smeijer)! - define more notification delivery statuses, added `skipped`, `dropped`, `failed`, and `delivered`. | ||
|
||
### Patch Changes | ||
|
||
- [#348](https://github.com/magicbell/magicbell-js/pull/348) [`39832a3`](https://github.com/magicbell/magicbell-js/commit/39832a3f5d35ee4c3aba7b0788a7cfc893c07b08) Thanks [@smeijer](https://github.com/smeijer)! - removed function to delete push subscriptions, as it doesn't exist on our v1 (current) api. | ||
|
||
## 3.3.0 | ||
|
||
### Minor Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "magicbell", | ||
"version": "3.3.0", | ||
"version": "4.0.0", | ||
"description": "MagicBell API wrapper", | ||
"author": "MagicBell <[email protected]> (https://magicbell.com)", | ||
"contributors": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @magicbell/project-client | ||
|
||
## 0.2.0 | ||
|
||
### Minor Changes | ||
|
||
- [#358](https://github.com/magicbell/magicbell-js/pull/358) [`726be74`](https://github.com/magicbell/magicbell-js/commit/726be74fa92eb729113eec25a6852f4c8a2b7698) Thanks [@smeijer](https://github.com/smeijer)! - An early release of @magicbell/project-client, a project/admin facing client, to be used on the server, focussing on the MagicBell v2 API. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.