Skip to content

Releases: SMAKSS/random-string

Upgrade dependencies

31 Dec 22:54
f42d8db
Compare
Choose a tag to compare
v2.0.2

chore(deps): upgrade

Update keywords and description

19 Nov 14:35
Compare
Choose a tag to compare
v2.0.1

chore(core): update keywords and description

Migrate to typescript

04 Nov 12:02
7edfbc7
Compare
Choose a tag to compare
feat(core): migrate to typescript

Also, add dx tools

Migrate to typescript and enhance dx

04 Nov 12:14
2cb738b
Compare
Choose a tag to compare

Release Notes for random-string v2.0 🚀

We're excited to announce the release of randomString v2.0! 🎉 This version includes some significant updates and optimizations that make generating random strings easier and more efficient. Here's what's new:

🎨 Enhanced API

  • The function now accepts an object with length and allowedCharacters as properties to make the API clearer and more flexible. 🌟
// Old way (v1.0)
randomString(10, 'abc123');

// New way (v2.0)
randomString({ length: 10, allowedCharacters: 'abc123' });

🛠️ Improved Performance

  • We've optimized the string generation process, making it faster and more memory-efficient. ⚡

📦 Module Import Update

  • For CommonJS users, make sure to append .default when requiring the module:
const randomString = require('@smakss/random-string').default;

🔍 Simplified Usage

  • With default parameters, you can easily generate a random string without specifying any arguments:
randomString();

🧬 Default Length Randomization

  • If length isn't provided, it will now be randomly selected between 1 and 20 to give you a varied and unpredictable string length. 🎲

📚 Updated Documentation

  • The README has been updated to reflect all these changes, making it easier for you to integrate randomString into your projects. 📖

🙌 Contribution and Conduct

  • As always, we welcome contributions. Check out CONTRIBUTING.md for how to get started. 🤝
  • We've committed to making this project welcoming and inclusive to all. Our Code of Conduct outlines our expectations for participant behavior. 🤗

We appreciate your support and feedback on this new release. Give it a try and let us know what you think! 📢

chore: fix workflow and add CodeSandbox to readme

19 Oct 11:04
16ee0c3
Compare
Choose a tag to compare
v1.2.4

chore: fix workflow and add CodeSandbox to readme

v1.2.3: Merge pull request #2 from SMAKSS/Version

26 Jun 08:47
399ef33
Compare
Choose a tag to compare

v1.2.2

31 Oct 13:58
d1520f7
Compare
Choose a tag to compare
Update package.json

v1.2.1

03 Jun 10:54
eeedae4
Compare
Choose a tag to compare
Update package.json

v1.2.0

28 May 10:22
fad4373
Compare
Choose a tag to compare
Update package.json

v1.1.29

22 May 15:59
c1174c6
Compare
Choose a tag to compare
Update package.json