Skip to content

Releases: SMAKSS/random-array-element

Upgrade dependencies

31 Dec 22:18
63da5ee
Compare
Choose a tag to compare
v2.0.3

chore(deps): update

Upgrade dependencies

28 Nov 06:46
7a23aae
Compare
Choose a tag to compare
v2.0.2-beta.0

Update package.json

Stable release of 2.0.2

28 Nov 06:53
258a82e
Compare
Choose a tag to compare
v2.0.2

Update package.json

Update package.json and dependencies

16 Nov 18:09
Compare
Choose a tag to compare
Bump lint-staged from 15.0.2 to 15.1.0

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.0.2 to 15.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v15.0.2...v15.1.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Migrate to typescript

04 Nov 16:15
8b1706b
Compare
Choose a tag to compare
feat(core): migrate to typescript

Also, enhance dx tools

Migrate to typescript and enhance DX tools

04 Nov 16:22
14c6884
Compare
Choose a tag to compare

🚀 Release Notes - @smakss/random-array-element - Version 2.0.0

📢 Announcements

🎉 We're thrilled to unveil the latest version of @smakss/random-array-element. This update brings substantial enhancements, TypeScript support, and an improved developer experience.

✨ New Features

  • 🔧 TypeScript Support: The codebase has transitioned to TypeScript for enhanced type safety and superior TypeScript user support.
  • 🎲 Random Element Selection without Repetition: We've upgraded the random selection mechanism to offer unique elements until all have been chosen, followed by an automatic reset.
  • 🛠️ Developer Experience: Introducing new developer tools and a bundler to simplify the development lifecycle and optimize package distribution.

🚀 Enhancements

  • ⚡ Optimized Algorithm: We've fine-tuned our function for increased performance and reduced memory overhead.
  • 📚 JSDoc Comments: Comprehensive JSDoc annotations are now included, providing inline documentation and illustrative examples.
  • 👓 Human-readable Variables: We've revamped our code using descriptive variable names for improved clarity and ease of maintenance.

🐛 Fixes

  • 🔨 Stability Improvements: Multiple minor adjustments have been applied to boost the overall robustness of the package.

💥 Breaking Changes

  • 🚨 Due to the TypeScript migration, updates to import statements may be necessary for TypeScript environments.

🧭 Migration Notes

🔁 For those transitioning from an earlier version, please update your import statements to align with the TypeScript conversion. For example:

import randomArrayElement from '@smakss/random-array-element';

📦 How to Get It

👇 To install the latest iteration, execute:

npm i @smakss/random-array-element@latest

or, for Yarn users:

yarn add @smakss/random-array-element@latest

chore: change the position of demo in readme

04 Jan 07:40
Compare
Choose a tag to compare
v1.2.5

chore: change the position of demo in readme

chore: add CodeSandbox to the readme

19 Oct 00:18
6d6137d
Compare
Choose a tag to compare
v1.2.4

chore: add CodeSandbox to the readme

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

26 Jun 08:46
cc00d62
Compare
Choose a tag to compare

v1.2.2

31 Oct 13:57
68d6ebf
Compare
Choose a tag to compare
Update package.json