What’s new in Novu 0.21?
Tags: webdev, novu, opensource, javascript
Published: 2023-11-07 13:53:48

**TL;DR:** All you need to know about the latest Novu 0.21.0 release. Removal of the `multi-providers` feature flag, `@novu/notification-center-angular` package now supports Angular projects of version 15 and higher, new `Actor` system variables,  Brand Logo Management, Organization APIs, and more.

![giphy_(47)](https://github.com/novuhq/novu/assets/2607232/57e75715-b8eb-4b05-b569-24e61d630f28)
<br>
## Removal of the `multi-providers` Feature Flag

In this release, we are excited to announce the removal of the `multi-providers` feature flag. This feature was previously disabled by default to ensure backward compatibility.

### Action Required for Upgrading

To upgrade to this new version, you will need to follow these steps:

_💡 Note: You must change the path for each script individually and run it separately._

- **Run Migration Script for Creating** `primary` **and** `priority` **Fields**: You can access the migration script for creating `primary` and `priority` fields by clicking [here](https://github.com/novuhq/novu/blob/next/apps/api/migrations/integration-scheme-update/add-primary-priority-migration.ts).
```jsx
// apps/api/package.json
    
"migration": "cross-env NODE_ENV=local MIGRATION=true ts-node --transpileOnly ./migrations/integration-scheme-update/add-primary-priority-migration.ts",
```
    
```bash
cd apps/api
npm run migration
```
- **Run Migration Script for Updating Novu Integrations**: To update Novu integrations, you'll need to execute the migration script available [here](https://github.com/novuhq/novu/blob/next/apps/api/migrations/integration-scheme-update/update-primary-for-disabled-novu-integrations.ts).
```jsx
// apps/api/package.json
    
"migration": "cross-env NODE_ENV=local MIGRATION=true ts-node --transpileOnly ./migrations/integration-scheme-update/update-primary-for-disabled-novu-integrations.ts",
```
    
```bash
cd apps/api
npm run migration
```
By following these steps, you can smoothly upgrade to the latest version of our software and enjoy the benefits of the `multi-providers` feature flag removal. If you encounter any issues during the upgrade process, please don't hesitate to reach out to our support team for assistance.

**PR Details:**

chore(web): Remove multi-provider feature flag by "rifont" in https://github.com/novuhq/novu/pull/4402
<br>
## Notification Center Angular

Starting with this release, the `@novu/notification-center-angular` package now supports Angular projects of version 15 and higher. 

Previously, it had a limitation only for Angular version 15.

**PR Details:**

feat(notification-center-angular): Support Angular versions 15+ by "rifont" in https://github.com/novuhq/novu/pull/4518

<br>
## Actor System Variables

In this release, we've introduced a new `Actor` system variables.
These system variables can now be utilized within any channel editor, enhancing flexibility and customization.

- You can now leverage `actor` system variables in your channel editors.
    
![Screenshot_2023-10-27_at_15 28 34](https://github.com/novuhq/novu/assets/2607232/220a7668-9133-4bde-ab68-9f9f465d3a43)

- When setting up a "Run a Test" Trigger, the application will prompt the user to provide `actor` information.
    
![Screenshot_2023-10-27_at_15 29 43](https://github.com/novuhq/novu/assets/2607232/1d8f4105-41e9-4279-938d-f1a7e8bbea0e)


This addition lets you incorporate dynamic actor information in your channel configurations, making your workflows more versatile and adaptable.

**PR Details:**

feat: add `actor` to system variables by "ainouzgali" in https://github.com/novuhq/novu/pull/4278
<br>
## Brand Logo Management

This release introduces a new functionality that allows you to update or remove your brand logo seamlessly.

- **Update Brand Logo:** You can now easily replace your existing brand logo with a new one, giving your application a fresh look.
- **Remove Brand Logo:** If you prefer a cleaner interface, you have the option to remove the brand logo altogether.
    
![Screenshot_2023-10-27_at_15 34 27](https://github.com/novuhq/novu/assets/2607232/c0194297-3871-452c-86e5-483c08c4a668)


These brand logo management capabilities give you greater control over your application's visual identity. Customize your branding effortlessly and tailor it to your specific needs.

**PR Details:**

feat: add ability to remove uploaded brand logo by "michaldziuba03" in https://github.com/novuhq/novu/pull/4451
<br>
## New Provider: Pushpad

We are excited to introduce a new integration with Pushpad in this release.

You can learn more about this provider [here](https://pushpad.xyz/).

**PR Details:**

- feat: add Pushpad provider for web push notifications by "collimarco" in https://github.com/novuhq/novu/pull/4235

![Screenshot_2023-10-27_at_15 39 53](https://github.com/novuhq/novu/assets/2607232/28c0f61a-5f63-471d-8982-ef403cc8a7fa)

<br>
## Organization APIs Enhancement

In this release, we've introduced a significant enhancement - the Organization APIs. 
You can now harness the power of these APIs to manage their organizations efficiently, handle member listings, removals, and even update branding seamlessly.

- **Manage Organizations:** With the Organization APIs, clients gain full control over their organization's settings and configurations.
- **List and Remove Members:** Easily access and manipulate the list of organization members, allowing for efficient membership management.
- **Branding Updates:** Organizations can now update their branding effortlessly using these APIs, ensuring consistent and up-to-date branding across the board.
- **Member Invitations:** For inviting new members, we've introduced a separate endpoint `POST /invites`, simplifying the process of expanding your organization.
    

![Screenshot_2023-10-27_at_15 46 40](https://github.com/novuhq/novu/assets/2607232/1de8e5b9-6a19-4c34-b4d0-3b2e99216bb4)



_💡 Note: The SDKs are being updated to handle these new API calls._

**PR Details:**

- fix: organization apis are accessible through api key by "jainpawan21" in https://github.com/novuhq/novu/pull/4619

<br>
<br>

## Notable changes

- chore: dependencies security vulnerability fix by "scopsy" in https://github.com/novuhq/novu/pull/4532
- Add Trigger Identifier to the Subscriber Preferences response by "djabarovgeorge" in https://github.com/novuhq/novu/pull/4559
- fix(api): Cancel all jobs related to a transactionId from the 'cancel' method by "scopsy" in https://github.com/novuhq/novu/pull/4616


<br>
**Full Changelog**: https://github.com/novuhq/novu/compare/v0.20.0...v0.21.0