Releases: SMAKSS/random-array-element
Releases · SMAKSS/random-array-element
Upgrade dependencies
Upgrade dependencies
v2.0.2-beta.0 Update package.json
Stable release of 2.0.2
v2.0.2 Update package.json
Update package.json and dependencies
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
feat(core): migrate to typescript Also, enhance dx tools
Migrate to typescript and enhance DX tools
🚀 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
v1.2.5 chore: change the position of demo in readme
chore: add CodeSandbox to the readme
v1.2.4 chore: add CodeSandbox to the readme