-
Notifications
You must be signed in to change notification settings - Fork 10
next release #351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
next release #351
Conversation
This file contains hidden or 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
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
65b1ccd to
c43f069
Compare
c43f069 to
f7fb1e4
Compare
@magicbell/cli
@magicbell/core
@magicbell/embeddable
@magicbell/in-app
magicbell
@magicbell/project-client
@magicbell/magicbell-react
@magicbell/react-headless
@magicbell/user-client
@magicbell/webpush
commit: |
f7fb1e4 to
16b70b1
Compare
16b70b1 to
533b487
Compare
533b487 to
ac4aa0f
Compare
ac4aa0f to
9b435f7
Compare
9b435f7 to
d138e2a
Compare
d138e2a to
30ea97f
Compare
30ea97f to
4e03dc9
Compare
4e03dc9 to
13354d6
Compare
13354d6 to
347ef9a
Compare
347ef9a to
66229fe
Compare
66229fe to
50caa5a
Compare
50caa5a to
6e32618
Compare
6e32618 to
6fa61ef
Compare
6fa61ef to
4efbe5a
Compare
4efbe5a to
d80335e
Compare
d80335e to
2552a21
Compare
2552a21 to
17506e2
Compare
17506e2 to
126b345
Compare
126b345 to
a7a948f
Compare
a7a948f to
abaf0b6
Compare
abaf0b6 to
ffa471f
Compare
ffa471f to
16a7473
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@magicbell/cli@4.0.0
Major Changes
#299
df2c87fThanks @smeijer! - Breaking Change!We've renamed the
categoriesproperty tocategoryand thetopicsproperty totopic, 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
categoriesortopicsfilters onmagicbell user notifications, you'll need to rename them to their singular variants.Minor Changes
#360
95bd18dThanks @smeijer! - Auth tokens are now prioritized over api keys.#349
13e54bcThanks @smeijer! - define more notification delivery statuses, addedskipped,dropped,failed, anddelivered.Patch Changes
#348
39832a3Thanks @smeijer! - removed function to delete push subscriptions, as it doesn't exist on our v1 (current) api.Updated dependencies [
95bd18d,13e54bc,39832a3,e5027a8]:magicbell@4.0.0
Major Changes
#361
e5027a8Thanks @smeijer! - Breaking Change!We've renamed the
categoriesproperty tocategoryand thetopicsproperty totopic, 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
topicsorcategoriesfilters in theUserClient, you'll need to update those params to their singular variant.import { UserClient } from 'magicbell/user-client'; const magicbell = new UserClient({ apiKey: 'your-api-key', userEmail: 'you@example.com', }); const notifications = await magicbell.notifications.list({ - categories: ['billing'], + category: 'billing', - topics: ['invoice-1'], + topic: 'invoice-1', });Minor Changes
#360
95bd18dThanks @smeijer! - Auth tokens are now prioritized over api keys.#349
13e54bcThanks @smeijer! - define more notification delivery statuses, addedskipped,dropped,failed, anddelivered.Patch Changes
39832a3Thanks @smeijer! - removed function to delete push subscriptions, as it doesn't exist on our v1 (current) api.@magicbell/magicbell-react@11.0.0
Major Changes
#361
e5027a8Thanks @smeijer! - Breaking Change!We've renamed the
categoriesproperty tocategoryand thetopicsproperty totopic, 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 different stores or tabs using the
categoriesortopicsproperties, you'll need to rename them to their singular variants.import MagicBell, { FloatingNotificationInbox } from '@magicbell/magicbell-react'; import React from 'react'; const stores = [ { id: 'default', defaultQueryParams: {} }, { id: 'unread', defaultQueryParams: { read: false } }, - { id: 'billing', defaultQueryParams: { categories: ['billing'] } }, + { id: 'billing', defaultQueryParams: { category: 'billing' } }, - { id: 'support', defaultQueryParams: { topics: ['support'] } }, + { id: 'support', defaultQueryParams: { topic: 'support' } }, ]; const tabs = [ { storeId: 'default', label: 'Latest' }, { storeId: 'unread', label: 'Archive' }, { storeId: 'billing', label: 'Billing' }, { storeId: 'support', label: 'Issues' }, ]; export default function Index() { return ( <MagicBell apiKey="__MAGICBELL_API_KEY__" userEmail="__MAGICBELL_USER_EMAIL__" userKey="__MAGICBELL_USER_KEY__" stores={stores} > {(props) => <FloatingNotificationInbox height={450} tabs={tabs} {...props} />} </MagicBell> ); }Patch Changes
e5027a8]:@magicbell/react-headless@5.0.0
Major Changes
#361
e5027a8Thanks @smeijer! - Breaking Change!We've renamed the
categoriesproperty tocategoryand thetopicsproperty totopic, 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 different stores or filters using the
categoriesortopicsproperties, you'll need to rename them to their singular variants.import { MagicBellProvider } from '@magicbell/react-headless'; const stores = [ { id: 'default', defaultQueryParams: {} }, { id: 'unread', defaultQueryParams: { read: false } }, - { id: 'billing', defaultQueryParams: { categories: ['billing'] } }, + { id: 'billing', defaultQueryParams: { category: 'billing' } }, - { id: 'support', defaultQueryParams: { topics: ['support'] } }, + { id: 'support', defaultQueryParams: { topic: 'support' } }, ]; export default function Index({ children }) { return ( <MagicBellProvider apiKey="__MAGICBELL_API_KEY__" userEmail="__MAGICBELL_USER_EMAIL__" userKey="__MAGICBELL_USER_KEY__" stores={stores} > {children} </MagicBell> ); }Patch Changes
95bd18d,13e54bc,39832a3,e5027a8]:@magicbell/project-client@0.2.0
Minor Changes
#363
036278aThanks @smeijer! - use fetch as http client#358
726be74Thanks @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.Patch Changes
8f20ec9Thanks @smeijer! - fix package.json#exports@magicbell/user-client@0.3.0
Minor Changes
#357
139cbb0Thanks @smeijer! - regenerated using liblab v2#363
036278aThanks @smeijer! - use fetch as http clientPatch Changes
8f20ec9Thanks @smeijer! - fix package.json#exports@magicbell/embeddable@3.3.28
Patch Changes
e5027a8]:@magicbell/in-app@0.2.2
Patch Changes
#357
139cbb0Thanks @smeijer! - updated to use new@magicbell/user-clientversionUpdated dependencies [
139cbb0,036278a,8f20ec9]:playground@1.1.0
Minor Changes
e5027a8Thanks @smeijer! - update playground to match singular topic & category params