DeciMojo v0.7.0
20260212 (v0.7.0)
DeciMojo v0.7.0 updates the codebase to Mojo v0.26.1.
- Replaces all
aliasdeclarations withcomptimein all files.aliasis deprecated. - Updates list and constant construction syntax throughout the codebase, e.g., replaced
List[UInt32](...)with[UInt32(...), ...], used[word]instead ofList[UInt32](word), etc. The old syntax is deprecated. - Updates list slicing syntax to use the new syntax. Now
lst[1:]returns aSpaninstead of aList, so it needs to be converted to a list using the constructorList(...). - Updates some methods of the
Stringtype and the indexing and slicing syntax forStringobjects to match the latest Mojo syntax. The old syntax is deprecated. - Fixes the closure capture when using
vectorize. The new syntax requires something likeunified {read x, mut y}to capture variablesxandyin the closure. The old syntax is deprecated.
What's Changed
- [mojo] Update the codebase to Mojo v0.26.1 by @forfudan in #123
- [release][docs] Update documents for release of v0.7.0 by @forfudan in #124
Full Changelog: v0.6.0...v0.7.0