Skip to content

Releases: zeraphie/passwordGen

ES6 Update

03 Aug 09:46
Compare
Choose a tag to compare

I've updated the es6 class to work as intended (the class letting you edit the config after instantiation of the class)

Finished Renaming

10 Apr 10:26
Compare
Choose a tag to compare

This should be the last step to renaming the package to my new user! For details on this, please view the @lopeax user account for github

Updated ES6 Port for bug in keyspace generation

30 Mar 13:24
Compare
Choose a tag to compare

I just noticed that there was a bug in the keyspace generation in the javascript port of this package, where it was adding a random undefined string to the end of the keyspace. It should no longer do it

Renamed github account

30 Mar 11:58
Compare
Choose a tag to compare

I recently decided to rename my github account, so as a result this repo has changed!

Added JavaScript Version

04 Sep 19:42
Compare
Choose a tag to compare

This release contains the javascript version of the package, installable using

bower install passwordgen

with pretty much the same syntax as the php version, the README has been updated for this purpose

GenerateKeyspace and SetKeyspace

22 Aug 22:49
Compare
Choose a tag to compare

Changed setKeyspace to generateKeyspace to reflect what it actually did, and made a setKeyspace function
This is a breaking change, but simple to rectify, simply replace references of

setKeyspace('luns')

to

generateKeyspace('luns')

Tests and bugfix

16 Aug 10:27
Compare
Choose a tag to compare

Actually fixed the setKeyspace bug and added a bunch of tests returning one liners, easier to test in command line now

General Fixes

16 Aug 09:36
Compare
Choose a tag to compare

Fixed a bunch of comment mistakes and also moved setKeyspace back into the constructor as a config element so that it can be changed later on

Interfaced and traited

15 Aug 16:12
Compare
Choose a tag to compare

Rewrote the class to be based off of a few traits and added an interface

Note: No usage changes

Chaining Methods

15 Aug 13:40
Compare
Choose a tag to compare

This isn't quite a breaking change, but to change the length and keyspace you need to use the setLength and setKeyspace methods which are chainable as shown below

$passwordGen = new PasswordGen();
echo $passwordGen->setLength(32)->setKeyspace('lunsw')->password();

instead of

$passwordGen = new PasswordGen(32, 'lunsw');
echo $passwordGen->password();