Releases: apertureless/vue-password-strength-meter
Releases · apertureless/vue-password-strength-meter
💎 Release new version 1.3.1
Bug Fixes
- labels: Fix show/hide labels (74789c3)
💎 Release new version 1.3.0
💎 Release new version 1.2.1
Fixes
- Fix toggle button click event with prevent
Features
- Add aria label to toggle button
💎 Release new version 1.2.0
🌟Features
🆕Added two new props: toggle
and showPassword
.
The toggle
prop, if set to true
, will show a button which will reveal and hide the password.
The showPassword
prop is to directly reveal and hide the password. If you want to add a custom button for example.
🆕 Added 4 new events:
@show
will be emitted if showing the password@hide
will be emitted if hiding the password@score
will return the zxcvbn score (Integer from 0-4) [ℹ] (https://github.com/dropbox/zxcvbn#usage)@feedback
will return an zxcvbn feedback object withsuggestion
andwarning
💎 Release new version 1.1.1
Fixes
- dbcd4a9 Rename successClass and errorClass defaults
💎 Release new version 1.1.0
🔥 Breaking Change
- Change
zxcvbn
topeerDependency
and add as external.
You now have to install zxcvbn
as a dependency to your projekt. This way you will be version independent from this lib.
yarn add vue-password-strength-meter zxcvbn
💎 Release new version 1.0.2
Cleanup package.json
- Remove vue as dependency and added as dev dependency
💎 Release new version 1.0.1
Update
- Dependencies to vue 2.2
💎 Release new version 0.2.0
🔥 Breaking API Change
- Exposed password data to parent component over events
New usage
<script>
import Password from 'vue-password-strength-meter'
export default {
components: { Password }
data () {
return {
password: null
}
}
}
</script>
<template>
<password v-model="password"></password>
</template>
This way it's way more flexible.
💎 Release new version 0.1.2
Patches
- Update dependency zxcvbn to 4.4.2