Skip to content

Releases: nabinked/NToastNotify

5.0.8

07 Jun 12:41
Compare
Choose a tag to compare

Updated to 2.1 and use Razor SDK.

5.0.7

20 Apr 07:16
Compare
Choose a tag to compare

Added DisableAjaxToasts in NToastNotifyOption class which if set to true will disable Ajax Toasts. Handy when you might have restrictions in reading/writing custom request/response headers as ajax toasts use custom headers for message transportation which I agree is not a very nice way to do it.

Cheers !

5.0.3

04 Apr 21:35
Compare
Choose a tag to compare

Updated nuget packages and samples. Minor Fixes.

5.0.0 [Added support for Noty.js along with a lot of Breaking Changes]

20 Mar 11:22
Compare
Choose a tag to compare

This release adds support to Noty.js and makes it easy to extend and add support for other third party toast libraries.

Please go through the ReadMe file again and samples to see the new usage and changes as I could not keep up with all the changes. Apologies.

4.0.4

07 Feb 20:47
d0dc45b
Compare
Choose a tag to compare

Trying to fix #24 .

Added Support for Toast Notifications on AJAX requests made using XMLHTTPRequest and partly for fetch requests

03 Feb 07:14
7cc37d4
Compare
Choose a tag to compare

You can now send toast notifications on AJAX request.

  • Full support for traditional XMLHTTPRequest based AJAX calls #8.
  • Partial support for AJAX calls made using the browser native fetch requests.
    • To show a toast notification on fetch response. You have to handle the response and use JavaScript to show the message. for e.g.
fetch('/Home/Ajax').then(function(response){
	var messages = nToastNotify.toastr.fetchGetMessagesFromResponse(response);
	nToastNotify.toastr.showToasts(messages)
})
  • Minor preparations to support multiple third party library #13 .

Breaking Changes

  • ToastEnums changed to Enums
  • AddToastNotify() method now needs to be used on IMvcBuilder interface. For e.g.
services.AddMvc().AddNToastNotify(new ToastOption()
            {
                ProgressBar = false,
                PositionClass = ToastPositions.BottomCenter
            }, new NToastNotifyOption()
            {
                SuccessMessage = "Overwritten default success message"
            }); ;

Also need to add as middleware in the Configure method.

            app.UseNToastNotify();

3.0.3

24 Jan 15:01
Compare
Choose a tag to compare
  • Added support for Feature Folders project structure. See the sample application.
  • Minor fixes

3.0.2

05 Sep 02:16
Compare
Choose a tag to compare

Fixed PeekMessages not peeking.

3.0.0

13 Jul 22:06
Compare
Choose a tag to compare

Added support to netstandard2.0

2.0.3

15 Jun 22:17
Compare
Choose a tag to compare
  • Bug Fix: Causing a NullPointerException when the ToastMessages were null.