v0.1.0-beta05
Pre-release
Pre-release
·
5 commits
to main
since this release
We're excited to announce the release of TPL v0.1.0-beta05! This release focuses on stability improvements, bug fixes, and several new features that enhance the overall developer experience.
Highlights:
- Improved Stability: This release addresses numerous bugs identified after the memory management changes in the previous version. TPL is now significantly more stable and reliable.
- Default Return Type for Functions: Functions without an explicit return type will now implicitly return
Unit
. This simplifies code and avoids potential undefined behavior. - Performance Enhancements: We've implemented optimizations that provide a slight performance boost, making TPL code execution even faster.
genList
Function Update: ThegenList
function now requires theend
parameter, ensuring clearer code and preventing potential errors.
New Features:
- Catch Block Variable: Catch blocks now allow specifying a variable name to capture the error object, providing more granular error handling capabilities.
- Membership Operator Expansion: The membership operator (
in
) can now be used with strings, enabling string-based checks for element existence within collections. - For Loop Iterators: The
for
loop can now iterate over strings and maps in addition to iterating over lists. This offers more flexibility for processing different data structures.
We encourage you to upgrade to TPL v0.1.0-beta05 to benefit from these enhancements and experience a more stable and powerful development environment.