- new
provideGlobalNotifications
function, that provides global notifications service - new
provideLocalNotifications
function, that provides local notifications service - updated
NotificationMessageComponent
component- now implements latest version of
Notifications
- now allows localizing message
- now implements latest version of
- updated
LocalNotificationsProviderDirective
directive- new properties
name
name of scope, if not specified non scoped will be used
- new constructor
Attribute
parameterwithProvider
that represents name of scope, its optional
- new properties
- updated
NamedNotificationsProviderFactory
interface- new
customNotificationsToken
optional parameter, that is type or token that should be provided for custom notifications - upgraded both its implementations
LOCAL_NOTIFICATIONS.named
,GLOBAL_NOTIFICATIONS.named
- new
- minimal supported version of
@angular
is16.0.3
- minimal supported version of
@rxjs
is7.5.7
- minimal supported version of
@jscrpt/common
is4.0.0
- minimal supported version of
@anglr/common
is17.0.0
- minimal supported version of
tslib
is2.6.1
- dropped support of
NodeJs
lower than16.14
- strict null checks
- all generic defaults
any
changed tounknown
- updated
TrimTextPipe
pipe- second parameter
length
is no longer optional
- second parameter
- updated
GlobalNotificationsProvider
interfacenamed
property is no longer optional
- updated
LocalNotificationsProvider
interfacenamed
property is no longer optional
GLOBAL_NOTIFICATIONS
is no longer part of public API, useprovideGlobalNotifications
insteadLOCAL_NOTIFICATIONS
is no longer part of public API, useprovideLocalNotifications
instead- updated
NotificationsGlobalModule
module- removed
forRoot
method, useprovideGlobalNotifications
instead
- removed
- updated
NotificationsOptions
interface- property
cssClasses
is no longer optional - property
getNotificationMessageComponent
is no longer optional
- property
- updated
NotificationMessage
interface- property
options
now hasPartial<TOptions>
setter
- property
- updated
NotificationsComponent
component- renamed
_initSubscriptions
property toinitSubscriptions
- renamed
_options
property toɵoptions
- renamed
_service
property toservice
- renamed
_changeDetector
property tochangeDetector
- renamed
_platformId
property toplatformId
- property
options
setter is nowPartial<NotificationsOptions>
- renamed
- updated
NotificationMessageOptions
interface- property
clickToClose
is no longer optional - property
maxLength
is no longer optional - property
cssClasses
is no longer optional
- property
- updated
NotificationMessageComponent
component- renamed
_item
property toɵitem
- renamed
_options
property toɵoptions
- renamed
_changeDetector
property tochangeDetector
- renamed
_init
property toinit
- property
classObj
is now protected
- renamed
- updated
MessageRendererDirective
directive- renamed
_closedEmit
method toclosedEmit
- renamed
_viewContainerRef
property toviewContainerRef
- renamed
_componentRef
property tocomponentRef
- renamed
_closedSubscription
property toclosedSubscription
- property
closedSubscription
is now nullable - input
messageRenderer
is now required - input
notificationsOptions
is now required
- renamed
- updated
MessageOptionsNotificationsDirective
directive- input
messageOptions
is now required
- input
- minimal supported version of Angular is
14.0.0
- minimal supported version of
@jscrpt/common
is2.2.0
- minimal supported version of
@anglr/animations
is9.1.0
- minimal supported version of
@anglr/common
is11.2.0
- minimal supported version of
rxjs
is6.6.7
- compiled as Angular IVY only with new APF
- removed support of es5 target and using latest package.json features
- dropped support of
Node.js <= 12.20
- completely rework notifications system, now it is using
@anglr/common
Notifications
- added new
NamedNotificationsProviderFactory
as factory for creating namedGlobalNotificationsProvider
orLocalNotificationsProvider
- added new
GlobalNotificationsProvider
as global notifications provider that allows creating global notifications - added new
LocalNotificationsProvider
as local notifications provider that allows creating local notifications - added new
GLOBAL_NOTIFICATIONS
as instance ofGlobalNotificationsProvider
- added new
LOCAL_NOTIFICATIONS
as instance ofLocalNotificationsProvider
- added new
LOCAL_NOTIFICATIONS_SCOPE_NAME
as local notifications scope name - added new
LOCAL_NOTIFICATIONS_SCOPE
as injection token for injecting local notifications scope name NotificationsComponent
reworked to use new@anglr/common
Notifications
APILocalNotificationsProviderDirective
reworked to use new@anglr/common
Notifications
API- added new
MessageOptionsNotificationsDirective
as directive used for providing message options directly to notifications - added new
TrimTextPipe
as pipe that trims provided text by provided length - added new
NotificationsCoreModule
as module for core notifications components, directives, pipes - added new
NotificationsGlobalModule
as module for global notificationsforRoot
that allows injectingGlobalNotificationsService
as named or root scope
- added new
NotificationsLocalModule
as module for local notifications
- minimal supported version of Angular is
12.0.0
- minimal supported version of
@jscrpt/common
is1.2.0
- new dependency
@anglr/common
minimal supported version is9.0.0
- removed
Notification
, now replaced with@anglr/common
Notification
- removed
NotificationType
, now replaced with@anglr/common
NotificationSeverity
- removed
NotificationsModule
, now replaced with 2 modulesNotificationsGlobalModule
orNotificationsLocalModule
- all generic types are made optional
- removed
NotificationsOptions.timeout
, this is now part of@anglr/common
Notifications
system - moved
NotificationsOptions.maxLength
intoNotificationMessageOptions.maxLength
- removed
NotificationsService
now using@anglr/common
Notifications
GlobalNotificationsService
not self-provided as'root'
GlobalNotificationsService
andLocalNotificationsService
used only as injection tokens for gettingNotifications
instance
- added new
LocalNotificationsProviderDirective
used for providingLocalNotificationsService
to localNotificationsComponent
- updated to latest stable Angular 9
- added generating of API doc
- Angular IVY ready (APF compliant package)
- added support for ES2015 compilation
- Angular 8
- now again fully working animation
- completely refactored notifications
- now supports custom components that can be used for displaying messages
- now supports providing options using binding, or DI (new tokens)
- support for custom components using service
- updated usage of
NotificationOptions
fix for latest Typescript and @ngtools/webpack
- stabilized for angular v6
@anglr/notifications
is now marked as sideEffects freeGlobalNotificationsService
is now tree-shakeableNotificationsModule
removedforRoot
methods,NotificationsOptions
must be provided directly
- aktualizácia balíčkov
Angular
na6
- aktualizácia
Webpack
na verziu4
- aktualizácia
rxjs
na verziu6
- automatické generovanie dokumentácie
- returned typescript version back to 2.4.2 and removed distJit
- added compiled outputs for Angular JIT
- updated angular to 5.0.0 (final)
- changed dependencies of project to peerDependencies
- more strict compilation
- updated usage of rxjs, now using operators
- updated angular to >=5.0.0-rc.7
ChangeDetectionStrategy.OnPush
set for both notifications components
- using latest angular 4.2 animation features
- angular module with support for options
- finalized version for angular 4, aot and ssr
- bugfix fixed clear messages
- enabled for SSR
- angular 4.0.0-rc.2
- tree shaking enabled
- timeout option used only in browser environment
- angular 4.0.0-beta.8
- angular AOT compliant
- angular 4.0.0-beta.7
- angular 2.2.0
- fixed notifications animations
- fixed displaying of global notifications
- UMD module
- webpack usage
- typescript 2 usage
- angular 2.0.0
- angular 2.0.0
- angular 2.0.0-rc.6
- added
NotificationsModule
- angular 2.0.0-rc.5
- angular 2.0.0-rc.4
- angular 2.0.0-rc.2
- support for clearing messages
- support of global and local notifications
- notification types: error, success, info, warning
- angular 2.0.0-rc.1
- SystemJs bundle