Release Notes for Bhanai v1.0.4
New Features
- Enhanced String Manipulation Functions:
- Introduced several powerful string functions to expand the language’s capabilities:
jodString
: Concatenate two strings.lambai
: Get the length of a string.tola
: Extract a substring.badal
: Replace a substring with another.thuloAkshar
: Convert a string to uppercase.sanoAkshar
: Convert a string to lowercase.chhaina
: Check if a substring exists.kattnu
: Split a string into an array.khaliHatau
: Trim whitespace from a string.khojnu
: Find the position of a substring.ulto
: Reverse a string.thapString
: Pad a string on the right.suruThap
: Pad a string on the left.sabdaGanna
: Count the number of words in a string.
- Introduced several powerful string functions to expand the language’s capabilities:
Improvements
-
Readability and Usability:
- All features are now logically organized and documented in a table in the README file.
- Added examples for each new feature for ease of understanding.
-
Input and Output Enhancements:
- Improved
sodhString
andsodhNumber
to ensure clean input handling and better error messages.
- Improved
-
Logical and Boolean Operations:
- Enhanced support for
ra
(AND),athawa
(OR), andhoina
(NOT) for handling complex logical conditions. - Includes examples for combining these operators in the README.
- Enhanced support for
Bug Fixes
-
Runtime Improvements:
- Fixed an issue where some undefined variables were causing unclear error messages.
- Added robust handling for nested function calls and argument evaluations.
-
String Concatenation:
- Resolved edge cases in
jodString
andbhanai
to handle mixed data types gracefully.
- Resolved edge cases in
Breaking Changes
- None.
How to Update
To update Bhanai to version v1.0.4, run:
npm install -g [email protected]
Acknowledgements
Thank you to the contributors and users for feedback and suggestions that helped shape this release. Your input is invaluable as we continue to make Bhanai better for everyone.
Feedback and Contributions
Have feedback or feature suggestions? Want to contribute? Visit the GitHub Repository.