All Versions
10
Latest Version
Avg Release Cycle
81 days
Latest Release
229 days ago

Changelog History

  • v4.0.0

    April 24, 2019
    • ➕ Added focus control option in Confirm module.

    🚀 Stable release of v4. Be sure to read the docs about migrating from v3.

  • v4.0.0-beta.2

    December 05, 2018
    • ✂ Remove optional dependencies from package.json, so they don't get installed by default.
  • v4.0.0-beta.1

    November 24, 2018
    • 🚚 Move peerDependencies to optionalDependencies. Closes #348.
    • 🛠 Target elements inside notices for defining colors. Fixes #341
    • 🛠 Focus first button or promptTrigger button on modal confirm dialog. Fixes. #229.
  • v4.0.0-alpha.4

    May 17, 2018
    • 🛠 Fixed styling on Material notices with just titles.
    • 🛠 Fixed module imports in Webpack.
    • 0️⃣ UMD modules now don't require ".default".
  • v4.0.0-alpha.3

    April 24, 2018
    • ➕ Add icon container ref.
    • 0️⃣ Translate prompt_default to promptValue in PNotifyCompat.
    • Document icon container.
    • Don't create title/text elements if they are off.
    • 📦 Main file in package.json should be UMD.
    • NonBlock module rewritten to use NonBlock.js.
    • 💅 Changed the Material style module to no longer import Google fonts.
    • Migrate to Svelte v2.
    • 🛠 Fixed Desktop module icon option.
  • v4.0.0-alpha.2

    February 14, 2018
    • 👉 Make sure PNotify works even if Array.prototype is edited.
    • ⚡️ Update Animate module speeds. Fixes #296.
    • ✂ Remove modal overlay element instead of hiding. Closes #301. Also fixed broken visibility detection.
    • 🛠 Fixed NonBlock and Desktop module breaking when desktop notice is clicked. Fixes #154.
    • ➕ Added support for RTL languages. Closes #181.
    • Migrated all options to camelCase instead of snake_case. Closes #329.
    • 🆕 New Compat module for running v3 code with v4.
  • v4.0.0-alpha.1

    January 27, 2018
    • jQuery is no longer required. v4 doesn't require any libraries, actually.
    • It's built using Svelte, which means it compiles down to vanilla JS.
    • 🏗 PNotify now has an ES6 module build.
    • text_escape and title_escape have been replaced by trust_text and trust_title, and the default behavior changed.
    • insert_brs option has gone away. (Text and title now have white-space: pre-line;.)
    • 0️⃣ The default width was raised from 300px to 360px.
  • v3.2.1

    July 31, 2017

    🛠 Fixed icon glyph in Bright Theme.

  • v3.2.0

    April 24, 2017

    🛠 Skipping 3.1.0, since there are some pretty big bugfixes and minor potentially breaking changes.

    ✂ REMOVED IN THIS VERSION

    • 💻 jQuery UI styling
    • Bootstrap 2 styling (what was left in the modules)

    💻 If you need jQuery UI styling, you can run this code:

    PNotify.prototype.options.styling = { container: "ui-widget ui-widget-content ui-corner-all", notice: "ui-state-highlight", notice\_icon: "ui-icon ui-icon-info", info: "", info\_icon: "ui-icon ui-icon-info", success: "ui-state-default", success\_icon: "ui-icon ui-icon-circle-check", error: "ui-state-error", error\_icon: "ui-icon ui-icon-alert", // Include these for buttons module: closer: "ui-icon ui-icon-close", pin\_up: "ui-icon ui-icon-pin-w", pin\_down: "ui-icon ui-icon-pin-s", // Include these for confirm module: btn: "ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only", btnhover: "ui-state-hover", btnactive: "ui-state-active", btnfocus: "ui-state-focus", input: "", text: "ui-button-text", };
    

    🔄 CHANGED IN THIS VERSION

    • 0️⃣ Default animation speeds have been made faster. If you need a different speed, you can run this code:

      PNotify.prototype.options.animate_speed = 'custom';

    then add this CSS (replace X with your desired duration):

    .ui-pnotify.ui-pnotify-fade-custom { transition: opacity Xs linear; opacity: 0; }.ui-pnotify.ui-pnotify-fade-custom.ui-pnotify.ui-pnotify-move { transition: opacity Xs linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease; }
    
  • v3.0.1

    April 21, 2017

    🛠 This version includes mainly bugfixes and improvements. It also includes a new build system.