Releases: SMAKSS/convert-numbers
v2.1.0-beta.0
Full Changelog: v2.0.5...v2.1.0-beta.0
Release Notes - Convert Numbers - Version 2.1.0
We are excited to announce the release of Convert Numbers
version 2.1.0. This new version includes significant improvements in functionality and compatibility, ensuring a more robust and versatile experience for users.
What's New in 2.1.0
Enhanced Conversion Mechanism
- Dual Conversion Approach: Implemented a dual strategy for number conversion. For shorter strings or typical use cases, the function now employs a map-based approach for efficient and readable conversion. For longer strings, it seamlessly switches to a regular expression-based method, optimizing performance.
- Error Resilience: Added a try-catch block to gracefully handle any unexpected errors during conversion. This feature ensures the function's reliability across different environments and use cases.
Improved Compatibility
- Fallback Loop Iteration: In case of compatibility issues or errors with modern JavaScript features, the function now falls back to a basic
for-of
loop iteration. This change significantly enhances the function's compatibility with older JavaScript environments, ensuring consistent functionality across a broader range of browsers and platforms.
Other Improvements
- Codebase optimizations and minor bug fixes.
Bug Fixes
- Resolved minor bugs reported in the previous version.
- Enhanced error handling to prevent unexpected crashes.
Getting Started
To upgrade to Convert Numbers
version 2.1.0, use the following commands:
npm update @smakss/convert-numbers
# or
yarn upgrade @smakss/convert-numbers
Acknowledgements
A big thank you to our community of developers and contributors who have provided feedback and suggestions. Your insights were invaluable in making these improvements.
For more information, refer to our documentation.
We hope you enjoy using Convert Numbers
version 2.1.0 and look forward to your continued feedback and support!
Upgrading dependencies
v2.0.5-rc.0 chore(core): making a release candidate 2.0.5-rc.0
Releasing stable version
v2.0.5 chore(core): upgrading version to 2.0.5
Optimise description, keywords, and README.md
v2.0.4 chore(core): optimise keywords and description
Update package description
v2.0.3 chore(core): add new description
Upgrade dependencies and keywords
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>
Upgrade dependencies
v2.0.1 Update package.json
Migrate to typescript
v2.0.0-beta.0 feat(core): migrate to typescript
Migrate to typescript and enhance DX tools
Convert Numbers v2.0.0 Release Notes 🚀
We are thrilled to announce the release of Convert Numbers v2.0.0! 🎉 This major update brings improved functionality, better documentation, and an enhanced user experience. Get ready to integrate seamless numeral conversions into your applications with ease!
What's New? ✨
- TypeScript Support: The codebase has been migrated to TypeScript, providing type safety and an improved development experience.
- Enhanced Functionality: The
convertNumbers
function now comes with default parameters and improved input handling. Expect more consistent and reliable conversions! - Optimized Performance: We've optimized the code to ensure faster execution and a smaller footprint.
- Detailed Documentation: JSDoc comments have been added, offering comprehensive documentation and examples right in the code.
- Streamlined Usage Examples: The README has been updated with clearer, more concise usage examples to help you get started quickly.
Try It Out! 🚀
Install the latest version with npm:
npm i @smakss/convert-numbers
Or with yarn:
yarn add @smakss/convert-numbers
We hope you enjoy this new release! Your feedback is important to us. If you encounter any issues or have suggestions for future updates, please open an issue on our GitHub repository.