Skip to content

Releases: frost-js/ui-passwordstrength

v3.0.0

Choose a tag to compare

@elusivecodes elusivecodes released this 20 Sep 11:06

Major release adopting Frost UI 4 and fQuery 5, adding compiled ESM exports, and improving password scoring, form synchronization, and configurable feedback.

Breaking Changes

  • Requires @fr0st/ui 4 and @fr0st/query 5 as peer dependencies. Browser applications must load compatible builds; Frost UI's all-in-one bundle supplies both dependencies.
  • The package root now resolves to the compiled ESM bundle. Package exports expose the root, dist/*, and src/*; internal prototype and static modules have been replaced with private component methods and src/strength.js.
  • Reworked the built-in scoring heuristic to prioritize length, normalize Unicode, and penalize common passwords, repeated patterns, sequences, and keyboard rows. Scores can differ from previous releases.
  • Supplied levels and commonPasswords arrays now replace defaults completely instead of merging with default entries. Custom levels must include a starting threshold of 0 and be sorted by ascending score.
  • Declared Node.js support is ^20.19.0 || ^22.13.0 || >=24.

Fixed

  • Cleared stale feedback text when a level has an empty or omitted label.
  • Refreshed the indicator after form resets, including inputs associated through the form attribute, while respecting canceled resets and disposed instances.
  • Kept static scores within the documented 0–100 range, including long passwords containing predictable patterns.
  • Recognized leading common-password substitutions and combinations of substitutions, decorations, and numeric prefixes or suffixes.
  • Preserved supplied array configuration without retaining unwanted default entries; an empty common-password list disables list matching.

Improved

  • Added configurable common-password matching and a custom scorer callback, with finite instance scores clamped to 0–100.
  • Preserved existing aria-describedby values during initialization and restored the original state on disposal.
  • Updated the demo for Frost UI 4 with themes, RTL layouts, configurable examples, and responsive styling.
  • Added compiled ESM and UMD bundles with source maps, modernized the build tooling, and updated development dependencies.
  • Added cross-browser Playwright coverage and CI, aligned test fixtures and case tables with Frost UI conventions, and covered scoring, configuration, labels, form resets, and component cleanup.
  • Updated README installation, development, accessibility, scoring, and form behavior documentation.

v2.0.8

Choose a tag to compare

@elusivecodes elusivecodes released this 14 May 10:10
  • Updated NPM.

v2.0.7

Choose a tag to compare

@elusivecodes elusivecodes released this 24 Jun 04:02
  • Updated NPM.

v2.0.6

Choose a tag to compare

@elusivecodes elusivecodes released this 29 Nov 03:50
  • Updated NPM.

v2.0.5

Choose a tag to compare

@elusivecodes elusivecodes released this 17 Aug 12:52
  • Updated demos.

v2.0.4

Choose a tag to compare

@elusivecodes elusivecodes released this 17 Aug 12:26
  • Updated NPM.

v2.0.3

Choose a tag to compare

@elusivecodes elusivecodes released this 18 Jun 05:57
  • Added ARIA attributes.
  • Updated NPM.

v2.0.2

Choose a tag to compare

@elusivecodes elusivecodes released this 30 May 08:31
  • Updated FrostUI in demos.

v2.0.1

Choose a tag to compare

@elusivecodes elusivecodes released this 29 May 10:44
  • Fixed js-lint issue.

v2.0

Choose a tag to compare

@elusivecodes elusivecodes released this 29 May 10:34
  • Updated for FrostUI 2.
  • Converted to ES6 module.
  • Updated password strength algorithm.
  • Added light/dark demos.
  • Updated NPM.
  • Updated README.