Skip to main content

openfin-notifications npm package deprecated in favor of @openfin/workspace/notifications package

06-Oct-2023

Here™ is replacing the openfin-notifications package with the @openfin/workspace/notifications package. We will continue to support openfin-notifications until July 2024.

The notifications.register() function in the Workspace API is also significantly changed. You now call this function to start Notification Center on users' desktops. In previous versions, Notification Center started automatically when you imported the openfin-notifications package.

Why is Here™ making these changes?

The new approach lets you control when Notification Center starts on users' desktops.

When are these changes effective?

As of the publication of this notice, these changes are now in effect.

Who is affected by these changes?

Anyone who works with Notification Center.

We work with the openfin-notifications package now. What do we need to do?

You can continue to work with the old approach, but no updates will be made to openfin-notifications after July 2024.

We work with the @openfin/workspace/notifications package now. What do we need to do?

Be aware that the notifications.register() function now behaves differently. See the developer guide on registering notifications for more information.