Releases: novuhq/novu
v0.10.1 - Webhook filters
This release includes support for webhook filters of steps and also various small improvements and bug fixes.
Webhook Filters
The webhook filter support for steps allows users to filter a particular step execution based on the response received from the webhook. This can be useful in scenarios where it is necessary to take different actions based on the response from the webhook. With this feature, users have greater control over the execution of their workflows and can customize them to meet their specific needs.
Read more about step filters here.
What else has changed
- feat: add webhook filter support by @djabarovgeorge in #2338
- fix: nested and array vars in trigger snippet and test workflow by @ainouzgali in #2169
- feat: add scope request for events controller by @scopsy in #2362
- fix: pass credentials to the provider by @BiswaViraj in #2368
- fix: fix errors of reading undefined in var manager by @ainouzgali in #2374
- fix: should not save system variables to trigger by @ainouzgali in #2363
- fix: set sns as supported by @ilteoood in #2380
- fix(web): the email editor brand logo issue by @LetItRock in #2386
- fix(ws|webhook): socket versions match by @p-fernandez in #2384
- Nv 1239 bug report unable to remove cta buttons by @BiswaViraj in #2342
- docs: rephrased line 20 for better clarity by @sumitsaurabh927 in #2381
- fix: change streamToString to streamToBuffer in storage service by @jainpawan21 in #2370
- fix: update redirection url text by @jainpawan21 in #2397
- docs: warning wasn't rendered correctly by @mocherfaoui in #2401
- fix: catch compile errors in preview email and show error notification in ui by @ainouzgali in #2407
- chore(notification-center): fix for ssr issues by @LetItRock in #2395
- fix: add try catch condition in handlebar template compilation by @jainpawan21 in #2317
- change environment parameter from 'production' to 'prod' by @isurumaldeniya in #2416
- Add fcm data messages (#2007) by @raikasdev in #2135
New Contributors
- @ilteoood made their first contribution in #2380
- @sumitsaurabh927 made their first contribution in #2381
- @isurumaldeniya made their first contribution in #2416
Full Changelog: v0.10.0...v0.10.1
v0.10.0 Release - Topics and new e-mail editor
We are excited to announce the latest release of Novu, which includes several new and improved features. One of the requested features has been the addition of Topics, which allows users to easily send notifications to groups for subscribers using a single identifier. We have also added avatar support, so notifications in the notification center can now include subscriber avatars. Another significant addition is the new e-mail editor and preview in the web UI. In addition to these new features, we have also made various performance improvements and bug fixes to enhance the overall experience. Let’s dive deeper:
Topics
We are excited to announce Topics, which allows you to create custom groups of subscribers and send targeted notifications to those groups. Using our API, you can easily create new topics and assign subscribers to them. Once a topic has been created, it is now possible to send notifications to that topic using the unique topic key.
Let’s see how it works in action.
First, we will need to create a topic:
import { Novu } from '@novu/node';
const novu = new Novu(process.env.NOVU_API_KEY);
const result = await novu.topics.create({
key: 'posts:comments:123456',
name: 'Post comments',
});
Assign subscriber to it:
import { Novu } from '@novu/node';
const novu = new Novu(process.env.NOVU_API_KEY);
const topicKey = 'posts:comments:123456';
const response = await novu.topics.addSubscribers(topicKey, {
subscribers: ['subscriber-id-1', 'subscriber-id-2', ...],
});
And then trigger a notification for this topic:
const topicKey = 'posts:comments:123456';
await novu.trigger('<REPLACE_WITH_EVENT_NAME_FROM_ADMIN_PANEL>', {
to: [{ type: TriggerRecipientsTypeEnum.TOPIC, topicKey: topicKey }],
payload: {},
});
Read more about Topics on our documentation page.
New e-mail editor and preview
We are also excited to announce the release of a new e-mail editor that makes it easier than ever to customize and send e-mails. The editor includes a list of available variables that you can insert into the e-mail templates and a preview feature that allows seeing how the final e-mail will look. We have also added autocomplete support for variables to make it easier to use them in your e-mails. Another helpful feature is the ability to send a test e-mail to your own account, so you can see exactly how the e-mail will look and make any necessary adjustments before sending it out to your subscribers.
Notification Center as a Vue, Angular, and Web Component (Beta)
We have converted our notification center component to be available as a vue, angular, and web component. This will allow to easily integrate the notification center into their projects regardless of their preferred front-end framework. The notification center provides a central location for users to view and manage their notifications, and we believe that making it available in multiple formats will make it even more accessible.
Let’s explore the usage of the Vue component:
import { createApp } from 'vue';
import NotificationCenterPlugin from '@novu/notification-center-vue';
import '@novu/notification-center-vue/dist/style.css';
import App from './App.vue';
createApp(App).use(NotificationCenterPlugin).mount('#app');
And then use it as a component:
<script lang="ts">
export default {
data() {
return {
applicationIdentifier: import.meta.env.VITE_NOVU_APP_IDENTIFIER,
subscriberId: import.meta.env.VITE_NOVU_SUBSCRIBER_ID,
};
},
methods: {
sessionLoaded() {
console.log('Notification Center Session Loaded!');
},
},
};
</script>
<template>
<NotificationCenterComponent
:subscriberId="subscriberId"
:applicationIdentifier="applicationIdentifier"
:sessionLoaded="sessionLoaded"
/>
</template>
Read more about the component information in our documentation.
Are you experienced in one of the new components? Help us improve the API and developer experience by submitting an issue on GitHub.
Actors and Avatars
Now you can add an actor when triggering a notification and display their avatar on the notification feed. This allows a recipient of the notification better understand the context of a particular notification and who sent it. To use this feature, users simply need to include the actor's avatar URL when creating a notification.
import { Novu } from '@novu/node';
export const novu = new Novu('<REPLACE_WITH_API_KEY_FROM_ADMIN_PANEL>');
await novu.trigger('<REPLACE_WITH_EVENT_NAME_FROM_ADMIN_PANEL>',
{
to: {
subscriberId: '<USER_IDENTIFIER>',
email: 'email@email.com'
},
actor: {
subscriberId: '<ACTION_PERFORMING USER>',
avatar: 'http://path-to-avatar.com/profile.png'
},
payload: {
customVariables: 'Hello'
}
}
);
Request caching
We have also introduced an optional cache layer to cache frequent requests for the notification feed, you can optionally enable cache by specifying the following environment variable when running the novu API
REDIS_CACHE_HOST
- The path for your Redis instanceREDIS_CACHE_PORT
- The port of the Redis instance defaults to the default port.
Webhook support
You can now connect webhooks from supported delivery providers to get better visibility on bounces, email opens, and more… Click on the integration, if supported a webhook URL will appear, copy it, and paste it on your provider delivery dashboard.
The webhook information will appear when inspecting and item in the activity feed. Read more about it on our documentation.
Notable features
- Activity feed list can now be filtered using
transactiondId
- Upgraded Socket.IO to version 4
- Security fixes and best practices for the API
- New Info Bip SMS Provider
- New Burst SMS Provider
- New Sparkpost SMS Provider
- New Outlook365 Provider
Other changes in this release
- feat: add scrolling to user preference list by @ainouzgali in #1985
- fix: remove blog.johnnyreilly.com Google Analytics tag by @johnnyreilly in #1992
- Update README.md by @amarkmcconn in #1994
- feat: add transaction id filter to activity list by @ainouzgali in #1984
- Spelling by @jsoref in #1923
- Updated architecture.md by @Kritika30032002 in #1893
- added Bashkir language translations by @myshri123 in #1844
- Fix several grammar issues and typos in docs by @wanderer163 in #1933
- fix: web manifest update by @MaximFedarau in #1999
- remove use of deprecated api endpoint by @djabarovgeorge in #2009
- fix(cypress): notifications editor flaky tests by @p-fernandez in #1644
- modified .eslintrc.js by @MuzzammilRafiq in #1835
- fix: validate mongo object id by @djabarovgeorge in #2024
- react interface tests by @djabarovgeorge in #2001
- fix: missing entity validations by @djabarovgeorge in #2027
- fix: so empty state can be provided to popover notification center by @davidsoderberg in #2028
- feat: update vercel integration by @BiswaViraj in #2021
- feat: Abstracted content engine by @Swahjak in #2003
- feat(infra): add dev env setup script and plug it in jarvis by @p-fernandez in #1975
- fix: missing initialisation for content engine by @BiswaViraj in #2036
- fix: copy bell theme instead of using merge by @sofferjacob in #2010
- chore(docs): local env setup script doc by @p-fernandez in #2037
- fix(api): if no webhookurl provided there is a typeerror by @p-fernandez in #2047
- fix(api): send ...
v0.9.0 - Hacktoberfest Release
Excited to announce our biggest release so far at Novu. This release is the work of our team and over 100 contributors from all around the world. Welcome to version 0.9.0. Let's explore what's new!
Notification Observability
We have overhauled how we store and display the execution of the notification workflow. This change allows much more visibility on the errors or successful execution happening. Here are some of the highlights of the activity feed:
- Each step workflow can be inspected
- Execution details for each step are displayed with information and timestamps
- Inspect raw provider error response
- Understand delayed and digested events
We hope that this release will provide a ground for improvement and iteration to later support webhook information, etc... Looking forward to hearing your thoughts!
Seen and Read for notification center - Breaking Change
Since our initial launch, we've been asked countless times to provide a true seen functionality and, on top of that, to allow distinguish read
from seen
.
Currently, we've only had a seen
property that was behaving like a read
, in this release, we have introduced another property named read
and the actual seen
behavior is only triggered once the user has seen the notification center.
BREAKING CHANGE
seen
behavior has changed to now be modified for when the user sees the notification, and the new read
property should be updated on click of the notification.
Testing workflows from the UI
Want quickly to test your new notification template? From now you can easily trigger a notification and specify the payload variable without leaving the template editor.
APNS integration (beta)
Recently we have introduced the Push channel with support for FCM. From this release, you will be able to send notifications using APNS. This integration is still in beta, and we would love to hear your feedback or suggestions.
Subscribers List Page
In this version new subscribers list page was added to inspect your registered subscribers, right now we don't allow creating or editing subscribers. This will be implemented in the upcoming versions.
Integrated provider credentials check
Hearing your feedback for onboarding to Novu, we now test the providers during the integration phase by performing a test email to the provider using the credentials provided. Errors will be displayed inline when you try to integrate.
We hope this will help to identify issues much faster when connecting new providers.
New navigation Spotlight
Scheduled delay notifications
It is now possible to specify a delayed key following the ISO format, and the delay functionality will be delayed until this timestamp. This could be useful to delay the execution of a message until a predefined dynamic date rather than a hardcoded number of minutes or days.
Adding steps in the middle of the workflow
Steps could be now added in the middle between 2 existing nodes in the UI
Other notable changes
- Regenerating API Keys is now possible by visiting the settings page
- The novu notification center is available in 45+ new languages! 🌍
- Novu is now available at the Vercel marketplace, for easier integration with your vercel deployed projects
- New MS Teams chat provider
- Various UI and bug fixes resolved (more details in the change list)
- Documentation improvements
- Better Kubernetes examples and support
- Fixed invite link for self-hosted deployments
- Improved API support in our
@novu/node
SDK - Implemented delivery providers webhook parsing, will be supported fully in next release
- Higher unit tests coverage for our WEB platform components
- A lot more!
Changelist
- remove last ; by @matigumma in #1260
- feat: add subscibers list page by @jainpawan21 in #1182
- feat: Add new provider for MS Teams by @dcamarasa in #1238
- feat: ability to invite existing user by @venarius in #1244
- fix: curl req for notification-groups gets error 500 by @ainouzgali in #1262
- Fix embed runtime env variables by @djabarovgeorge in #1266
- Fix for BUG #1269 by @JakovGlavac in #1270
- test: fix so test are testing so defaults are not overriding trigger payload by @davidsoderberg in #1272
- chore: small design improvements for the README file by @andrewgolovanov in #1273
- fix bug #1275 by @JakovGlavac in #1276
- style: bg-color of step card and zindex of error tooltip by @DanishOnGit in #1268
- APNS Integration by @ainouzgali in #1264
- Add SendGrid provider doc by @scopsy in #1281
- fix(jarvis): run docs script branch by @p-fernandez in #1284
- feat: Add Global and Service Specific Context Path Capibility to all Novu Apps by @Cliftonz in #1285
- fix: smaller fixes for subscriber table by @venarius in #1293
- feat: Add Capability to set Custom Redis Prefix by @Cliftonz in #1287
- Add save button for digest by @Wyfy0107 in #1172
- feat: added functionality to test providers creds during creation by @BiswaViraj in #1254
- fix: add run local doc link in readme by @jainpawan21 in #1296
- feat: Add interface to prepare for webhook feature by @davidsoderberg in #1279
- feat: add so limit can be provided to endpoint by @davidsoderberg in #1277
- refactor: workflow queue service by @davidsoderberg in #1288
- feat: add spotlight for navigation and some actions by @davidsoderberg in #1257
- feat(wip): scheduled delay feature by @ainouzgali in #1283
- feat(api): Inforce API key generation is unique by @p-fernandez in #1299
- Regenerate api keys by @florian-lefebvre in #1292
- fix: api script for e2e tests in root package.json by @jainpawan21 in #1298
- fix: missing error message due object object print by @djabarovgeorge in #1290
- feat: add empty workflow file for webhook service by @davidsoderberg in #1309
- fix: webhook deploy in main by @davidsoderberg in #1310
- Changed the Contribution Guidelines link by @mohanthilak in #1314
- Copyedit the Getting Started Page under Notification Center in Novu Docs Website by @Rutam21 in #1340
- Added how to get Novu's swag by @iampearceman in #1332
- test describe wrong by @LucasLeandroBR in #1325
- docs: add gitpod quick open by @krshkun in #1329
- [NV-796] - i18n - Sanskrit Support by @Rutam21 in #1338
- (docs): fix typos in multiple files by @stanulilic in #1335
- [NV-933] - Activity Feed - fix month day by @ozanuslan in #1351
- NV-1327 i18n - Odia Support by @Rutam21 in #1328
- feat: add webhook endpoint for email providers by @davidsoderberg in #1265
- feat: add mark all as read functionality by @jainpawan21 in #1080
- fix: so messages endpoints are shown in swagger json by @davidsoderberg in #1360
- Fix some typos by @Chii-Onan in #1354
- Add Nepali language support for @novu/notification-center by @diwash007 in #1361
- feat: add invite link by @djabarovgeorge in #1308
- Seen read test by @djabarovgeorge in #1295
- Updated the API Key insertion step for SendGrid. by @mohanthilak in #1364
- fix: close button acts as submit button by @geisterfurz007 in #1369
- Fix typo in architecture.md by @kVarunkk in #1388
- Grammatical errors fixed by @VasuDevrani in https://github.com/novuhq/novu/pu...
v0.8.0 - Delay and Step Filters
Exciting news to share with you all! This cycle was a bit shorter because the team was on our very first company offsite, and it was the first time we met in person 😍
Nonetheless, we prepared some of the long-awaited features based on your request. So let's dive in!
Delay Step
Starting with the v0.8.0
release, you will be able to add a new Delay step type that will delay the sending of the next step by the time you specify it too. This is useful if you wish to wait a day or an hour before sending something to the user.
In the next feature, we will also allow passing a dynamic delay timestamp on the API request so you can create reminders and snooze for users based on a dynamic field. Exciting times 🤯 And thanks to our fantastic @ainouzgali, that took ownership of this one.
Step Filters
You can now filter step execution based on the request criteria from subscriber
and payload
. This can help customize flows for translation and only send specific steps based on subscriber properties such as paying customers, etc...
Kudus to @davidsoderberg 🇸🇪 for making this a reality!
Integration Store Encryption
From this version, all secret credentials on the integration store will be encrypted on the database and decrypted in real time when needed to send an actual request. @djabarovgeorge made sure this feature is backward compatible, but you must add a new secret environment key when upgrading to v0.8.0
.
Migration guide
You must pass a STORE_ENCRYPTION_KEY
environment variable to your docker-compose .env
file. This key should be 32 characters long and stored in a secret store.
Multiple organizations switch on the web
Thanks to @venarius you can now switch between multiple organizations you are part of. Look at the new organization switcher at the left bottom part of the navigation menu 😍
Template variable protection and defaults
One of the most exciting features of this release was done by the one and only @venarius. On the template level, you can make some variables required or provide polyfill values for each.
No more Hello null
!
And much more!
- feat: add ability for users to switch and create multiple organizations by @venarius in #1127
- feat: add on tab click property to notification center by @davidsoderberg in #1194
- i18n - Chinese support by @miles170 in #1195
- feat: allow disabling of user registration in docker environment by @venarius in #1142
- Linked License, Contribution Guidelines and Contributors List in README.md by @AmanNegi in #1192
- fix: social image and add keywords by @jainpawan21 in #1179
- feat: add the externalUrlRegex param for Algolia by @andrewgolovanov in #1185
- i18n - Bengali support by @samaranand in #1139
- Fixed broken link to react components page by @SpencerMiller23 in #1201
- feat: add pagination support in templates page by @jainpawan21 in #1131
- Delete message endpoint by @davidsoderberg in #1193
- feat: added handlebar variable checker and defaults by @venarius in #1145
- fix: flow editor height by @venarius in #1210
- fix: added new languages to docs by @venarius in #1212
- feat(readme): change contributors link to community heroes by @nevo-david in #1216
- feat: added env variables & explanation to docs by @venarius in #1213
- Feat position notification center by @BiswaViraj in #1184
- fix: workaround with validation pipe nan casting by @scopsy in #1217
- added croatian by @JakovGlavac in #1214
- fix: sentry reporting errors by @scopsy in #1218
- test: basic e2e tests for delay by @ainouzgali in #1219
- Provider api key encryption by @djabarovgeorge in #1207
- docs: delay doc by @ainouzgali in #1221
- fix: embed <--> widget communication issue on safari by @LetItRock in #1197
- remove mongoose import by @ainouzgali in #1226
- feat: upgrade widget cypress version by @scopsy in #1228
- fix: update api key creator when he is removed by @scopsy in #1233
- fix: fcm fallback by @djabarovgeorge in #1235
- fix: fix inactive integrations still being used by @venarius in #1250
- fix: add red dot in node if content is empty by @jainpawan21 in #1143
- feat: iframe callbacks by @venarius in #1243
- fix: added base url for mailgun provider by @venarius in #1253
- feat: add endpoint to fetch messages by @davidsoderberg in #1227
New Contributors
- @miles170 made their first contribution in #1195
- @AmanNegi made their first contribution in #1192
- @samaranand made their first contribution in #1139
- @JakovGlavac made their first contribution in #1214
Full Changelog: v0.7.3...v0.8.0
v0.7.3 - Small improvements and bug fixes
What's Changed
- docs: Twilio example with numbers by @eddiejaoude in #1159
- feat: Allow adding a custom header to the notification center component by @davidsoderberg in #1163
- fix: Fix subscriber endpoints for the notifications feed by @davidsoderberg in #1166
- fix: Margin issue in settings page by @adarshajit in #1133
- feat: Update redirects for API documentation by @andrewgolovanov in #1170
- refactor: Introduce a @novu/client package to handle reusable js front-end logic by @wpoynter in #1113
- feat: Add a step to deploy API documentation by @andrewgolovanov in #1154
- fix: Slug for redirects on API pages by @andrewgolovanov in #1171
- refactor: Use date-fns instead of moment by @venarius in #1122
- docs: Updated the readme documentation to make email param as array. by @mrajen27 in #1161
- fix: Redirects for API documentation by @andrewgolovanov in #1175
- fix: Add set credentials info in push by @jainpawan21 in #1178
- Added documentation for triggering events when self-hosting by @SpencerMiller23 in #1168
New Contributors
- @eddiejaoude made their first contribution in #1159
- @adarshajit made their first contribution in #1133
- @wpoynter made their first contribution in #1113
- @mrajen27 made their first contribution in #1161
- @SpencerMiller23 made their first contribution in #1168
Full Changelog: v0.7.2...v0.7.3
v0.7.2 - Community Patch Release
A small patch release with work created by the community and our core team.
What's changed
- Support for notification identifier update by @jainpawan21 in #1089
- Support custom language for iframe embed widget by @venarius in #1115
- Use react-router link for navbar menu instead of a tag by @venarius in #1094
- Add showLastUpdateAuthor and showLastUpdateTime in docs by @jainpawan21 in #1096
- Redis installation docs by @KarlGusta in #1110
- Update the links and logo in the navbar by @andrewgolovanov in #1121
- Add ability for admin to change member roles by @venarius in #1091
- Added better errors for signup by @venarius in #1116
- Normalize email on password reset by @venarius in #1117
- Add seen unseen combined count check by @djabarovgeorge in #1106
- Refactor auth provider by @djabarovgeorge in #1123
- Refactor web user preference design by @djabarovgeorge in #1112
- Add rebuild command by @djabarovgeorge in #1108
- Fix minor spelling errors by @asgeirf in #1126
- Add in app editor error alert by @djabarovgeorge in #1119
- Cleanup email workflow visuals by @venarius in #1132
- Remove max width in hmac desc by @jainpawan21 in #1134
- Use cursor pointer for switch by @venarius in #1135
- Enforce pnpm 7.5.0 by @venarius in #1125
- Throttle refetch of notifications by @venarius in #1109
- Remove embedded CSS to body done by widget embed by @davidsoderberg in #1130
- Fix unhandled SES errors generated by @davidsoderberg in #1146
- Add i18n Malayalam support by @varghesejose2020 in #1136
- Configure redirect and rewrite rules for Netlify by @andrewgolovanov in #1150
- Filter steps can be used for step filters by @davidsoderberg in #1149
- Fix failing web e2e test by @venarius in #1141
New Contributors
- @KarlGusta made their first contribution in #1110
- @asgeirf made their first contribution in #1126
- @varghesejose2020 made their first contribution in #1136
Full Changelog: v0.7.1...v0.7.2
v0.7.0 - Slack, Discord, Push and Subscriber Preferences
This is our biggest release yet, with over 30 contributors and 130 Pull requests with awaited features such as Push, Chat, Subscriber Preference API, API Reference documentation, and more... Let's dive in!
Subscriber Preferences API
From this release, your application notification subscriber will be able to configure their preferences from within the notification center or directly via our API.
By default, all existing templates prior to 0.7.0 will be marked as critical
and will be excluded from the preference list. To add them, go to the template editor page and un-mark the critical template from the preference defaults.
New templates created after this release will be added to the preference list, and the user can select from the available channels what to not receive and over which channel.
To read more about Subscriber Preference visit the documentation.
Push notifications with FCM
Excited to share that from now it's possible to send push notifications to mobile devices using FCM. This feature was entirely built by our amazing community members and specifically by @raikasdev 💖.
APNS and other providers' support will be landed in the next release. Looking for other push providers? Create a GitHub issue or contribute directly.
To send over the push channel, deviceTokens
should be added to the specified subscribers. To read more about it visit the documentation on subscriber credentials and our FCM guide.
Chat Apps (Slack and Discord)
One of our requested features was to send notifications with chat applications such as Slack and Discord. And now you can! Chat apps could be directly configured from the template editor and delivered using the webhook_url
mechanism of the chat providers.
To read more about it, visit our guide.
API Reference documentation
With so many requests by the community members, we just had to do something about it ;) With help from @andrewgolovanov and the entire pixel point team, we are honored to present the first version of our API reference.
Notable changes
- feat(web): Allow removing a team member for admins #841 by @MaurerKrisztian in #888
- feat: Customize notification list item by @davidsoderberg in #880
- feat: Support for google cloud storage by @Lian1230 in #934
- feat(web): Invite for a team member can be resent by @venarius in #998
- feat: Azure blob storage support by @proDOOMman in #1001
- feat: Migrate from moment to date-fns by @venarius in #1032
New notification center languages
- Spanish 🇪🇸 🥘 by @csachdeva83
- Finish 🇫🇮 ☕ by @raikasdev
- Hindi 🇮🇳🍛 by @jainpawan21
- Gujarti 🇮🇳🍛 by @thisaakash
- Russian 🇷🇺🪆 by @proDOOMman
- French 🇫🇷🥖 by @csachdeva83
- Arabic 🇸🇦🕌 by @ArshErgon
- Italian 🇮🇹🍕 by @Zed93
- Ukrainian 🇺🇦🌻 by @proDOOMman
Other improvements
- Fix activity emails filter by @djabarovgeorge in #576
- Netcore provider logos for dark and white by @EmiliyaGrossman in #825
- Docker tag action for packages by @scopsy in #905
- feat: Implement optional credential fields by @WinterCore in #909
- fix: breaking page on deleted template by @scopsy in #913
- feat: add netcore provider by @davidsoderberg in #813
- Docker staged build on API docker file by @scopsy in #933
- refactor: api get use case by @djabarovgeorge in #927
- feat: add endpoint to get subscriber by subscriber id by @davidsoderberg in #945
- Template IDs for invites and password reset can be configured by environment by @proDOOMman in #797
- fix: User should be logged out when API sends 401 Unauthorized error by @chavda-bhavik in #935
- Cypress tests for user preference by @ainouzgali in #952
- fix: add stop-only dev dependency by @jainpawan21 in #960
- fix: safari in-app notification template glitches by @LetItRock in #937
- fix: move drop zone to add node by @jainpawan21 in #950
- Events for user preferences by @ainouzgali in #976
- Allow hiding user preferences cog by @ainouzgali in #981
- feat: improve the command.create static function to be reused by @LetItRock in #987
- refactor: update theme default by @djabarovgeorge in #990
- fix: upgrade node-fetch by @Lian1230 in #988
- Compound index for (_environmentId, subscriberId) by @proDOOMman in #980
- changed invite link to a working one by @crismxiex in #997
- fix: upgrade semantic-release by @Lian1230 in #995
- Switch deprecated faker.name.title function to jobTitle by @Rutam21 in #1017
- fix: added docs and libs folders to lint-staged by @venarius in #1010
- feat: add loading overlay to invites page by @venarius in #1013
- fix: Fix lint staged for multiple folders and added eslint step by @venarius in #1025
- fix: update the logo of documentation by @vannyle in #1028
- fix: notification center moment locale change by @venarius in #1026
- Added toggleTabIndex attribute in PasswordInput for focus Management … by @sachinsom93 in #1029
- Upgrade Novu Issue Templates to use Github Issue Forms by @Rutam21 in #1035
- fix: promotion of delete notification template change by @davidsoderberg in #1042
- fix: user preference promotion by @djabarovgeorge in #1043
- feat: better error for login page by @venarius in #1038
- feat: add accept term and privacy query by @djabarovgeorge in #1020
- feat: added support and docs bottom links to sidenav by @venarius in #1045
- Update arrow functionality on missing provider by @Rutam21 in #1046
- Fixed text for email field for provider connection by @oba2311 in #1036
- feat: add swagger for feeds controller by @davidsoderberg in #1051
- fix: 200 and 201 for same endpoint by @davidsoderberg in #1053
- feat: show supported locales for notification-center in docs by @venarius in #1044
- fix: external api accessible for endpoints with swagger by @davidsoderberg in #1059
- feat: add missing alerts pre action for push chat by @djabarovgeorge in #1061
- feat: show save notification on email template button by @venarius in #1060
- web accept terms and privacy by @djabarovgeorge in #1055
- Fixed Typo [Line 51]✔️ by @CodrShiv in #1071
- feat: change email template text direction to text align by @venarius in #1063
- feat: add broadcast to node package by @davidsoderberg in #1069
New Contributors
- @EmiliyaGrossman made their first contribution in #825
- @dha-stix made their first contribution in #882
- @oba2311 made their first contribution in #946
- @jainpawan21 made their first contribution in #963
- @csachdeva83 made their first contribution in #967
- @proDOOMman made their first contribution in #797
- @chavda-bhavik made their first contribution in #935
- @LetItRock made their first contribution in #937
- @thisaakash made their first contribution in #972
- @ArshErgon made their first contribution in #974
- @crismxiex made their first contribution in #997
- @Zed93 made their first contribution in #996
- @venarius made their first contribution in #998
- @Rutam21 made their first contribution in #1017
- @sachinsom93 made their first contribution in #1029
- @andrewgolovanov made their first contribution in #1070
- @CodrShiv made their first contribution in #1071
Full Changelog: https://gith...
0.6.2 - i18n support for notification center
i18n support for notification-center component
It is now possible to translate the notification center UI elements by passing a translation object or a premade translation. More info can be found on the documentation page.
Custom object implementation:
<NovuProvider i18n={{
// Make sure that the following is a proper 2 letter language code,
// since this is used by moment.js in order to calculate the relative time for each notification
lang: "de",
translations: {
poweredBy: "unterstützt von",
markAllAsRead: "Alles als gelesen markieren",
notifications: "Benachrichtigungen",
},
}}>
</NovuProvider>
Premade languages created by the community:
<NovuProvider i18n={'en'}>
</NovuProvider>
What else has changed
- fix: so dkim can be undefined by @davidsoderberg in #892
- fix: remove console errors by @ainouzgali in #889
- fix: remove un-needed node-fetcher dependency by @scopsy in #895
- fix: add button type for unstyled buttons by @scopsy in #894
- fix: use notification default storeid by @djabarovgeorge in #897
- Cypress component testing seed for WEB project by @scopsy in #899
- fix: add subject rendering variables with handlebars by @scopsy in #903
- fix: add missing shared exports by @scopsy in #902
Full Changelog: v0.6.0...v0.6.2
v0.6.0 - Digest Engine & Notification Center Upgrades
Version v0.6.0 introduces so many long-awaited features such as: Digest Engine, multi-tab support on notification center, notifications actions and so many other improvements and bug fixes. This release is the hard work of more 16 individual contributors and collaborators that made this version possible.
Digest Engine
The digest engine collects multiple trigger events and aggregates them into a single message delivered to the subscriber in form of an email, ,in-app notification or any other supported novu channel.
This becomes useful when a user needs to be notified on a large number of triggers, and you want to avoid sending too many notifications. Novu will automatically batch the incoming trigger events based on the subscriberId
and an optional digestKey
that can be added to control the digestion of the events.
Here is an overview of the digest flow, including both supported strategies: Regular and Backoff.
To learn more about the digest engine and the additional strategies and usage guide, visit our docs page here.
Notification Actions
Now, creating an even richer experience with the novu notification center is possible, and adding action buttons to a dedicated notification template. Subscribers can make interactions such as accepting invites or friend requests from the notification center without navigating to a different URL.
Multiple notification feeds
It is now possible to configure multiple feed configurations for various notification center templates. The feeds created can be used to fetch notifications for each feed separately. This can help to achieve a multi-tab experience for subscribers depending on the actual use-cases.
New delivery providers
- Termii by @samsoft00
- Gupshup by @davidsoderberg
System sync for dark and light modes
Thanks to @FidalMathew you can now choose to sync your theme preference for you system, or select light & dark modes which will be persistent across browser refreshes.
New Go-lang SDK
Created by our amazing community member @samsoft00 you can now interact with Novu using the new go-lang SDK. Info can be found here: https://github.com/novuhq/go-novu
Other notable changes
- Docs: improve react-component code block by @murtuzaalisurti in #742
- Remove unnesessary docker socket mount in docker-compose by @kymppi in #757
- Upgrade pnpm to version 7 by @scopsy in #740
- feat: add endpoint to get all subscribers by @davidsoderberg in #766
- Node v16 support by @scopsy in #765
- adding backendurl option for iFrame embed solution by @AlexVCS in #611
- Create codeql-analysis.yml by @scopsy in #773
- feat: upgrade node version images by @scopsy in #782
- Fix docs links by @raikasdev in #785
- fix: add pointer cursor to cta by @remirobichet in #798
- NV-626: fix: Move focus to "YES" in the delete workflow step confirmation modal by @WinterCore in #800
- fix (docs): missing link to guide on how to create a provider by @zakariaelas in #792
- fix(apps/web): close menu on click outside in flow editor by @zakariaelas in #802
- Update passport by @raikasdev in #805
- Fix docs broken /docs/ redirect by @raikasdev in #806
- feat: add trigger id to list and settings page by @raikasdev in #808
- Add remove notification by @raikasdev in #809
- fix: add a return statement on invite accept by @scopsy in #814
- Parallel cypress testing by @scopsy in #815
- NV-631 - fix(web): Redirect to getting started on first session by @WinterCore in #812
- Updated Discord Invite Link by @iampearceman in #816
- Fix organization invite issue by @scopsy in #821
- feat: upgrade api nestjs to v9 by @scopsy in #822
- Upgrade WS typescript version by @scopsy in #849
- Update run-locally.md by @josephjosedev in #856
- fix: Disable the delete step button on production by @WinterCore in #857
- feat: added nest module async provider option by @shahriar-shojib in #844
- Fix embed widget position option by @remirobichet in #864
- docs: include golang code snippets to dashboard by @samsoft00 in #853
- feat: add gupshup provider by @davidsoderberg in #862
- feat: add so a text template can be provided for emails text version by @davidsoderberg in #874
- fix: Theme is persistent by @FidalMathew in #852
- fix: ses provider with attatchments by @davidsoderberg in #876
- feat: add dkim config option for nodemailer by @davidsoderberg in #875
- Use a docker image with both nodejs and python by @Lian1230 in #886
- fix(logo): update mailjet logo in dark theme #878 by @MaurerKrisztian in #887
New Contributors
- @remirobichet made their first contribution in #798
- @WinterCore made their first contribution in #800
- @zakariaelas made their first contribution in #792
- @josephjosedev made their first contribution in #856
- @shahriar-shojib made their first contribution in #844
- @Lian1230 made their first contribution in #886
- @MaurerKrisztian made their first contribution in #887
Full Changelog: v0.5.1...v0.6.0
v0.5.1 - UI/UX improvements and bug fixes
This minor release brings some UI and UX improvements to the notification workflow editor and some bug fixes.
Upsert subscriber on event trigger
Previously when a subscriber was created using the trigger.event method, we wouldn't update it's details with new information brought from the to
object when another triggered was performed. This caused multiple users not to receive an email or SMS due to invalid email saved originally on the subscriber.
Now the subscriber entity will be updated upon delivery.
Bug Fixes
When importing the @novu/notification-center
using the method suggested in docs an error was received:
Uncaught TypeError: Cannot read properties of undefined (reading 'unseenBadge')
This is now fixed.
What else Changed
- test: refactor notifications editor spec by @davidsoderberg in #718
- fix: not set as dirty when clicking on trigger by @ainouzgali in #719
- fix: updated web/public/index.html and removed unused default-react logos by @devblin in #716
- feat: add delete step modal by @davidsoderberg in #720
- edit message not shown after delete, deleted node not shown again by @ainouzgali in #721
- fix: add redirect / to /docs by @vannyle in #717
- fix: reintroduce attachments support by @djabarovgeorge in #723
- Notication center docs default values by @ainouzgali in #724
- Nv 447 plus button, add a step close to the next node by @ainouzgali in #727
- Remove unimplemented property border radius by @ainouzgali in #728
- fix: so job is removed on complete by @davidsoderberg in #731
- fix: use only one unsaved changes error by @ainouzgali in #730
- NV 546 fix: clipped blocked html by @djabarovgeorge in #722
- feat: subscriber id validation by @djabarovgeorge in #726
- feat: save event trigger payload in the message instance by @djabarovgeorge in #725
- fix: change redirect match to slug by @vannyle in #732
- feat: update subscriber via trigger by @djabarovgeorge in #729
- Fix a typo in quick-start.md & react-components.md file by @murtuzaalisurti in #736
- fix notification center bell props by @djabarovgeorge in #733
New Contributors
- @murtuzaalisurti made their first contribution in #736
Full Changelog: v0.5.0...v0.5.1