Skip to content

DeciMojo v0.7.0

Choose a tag to compare

@forfudan forfudan released this 11 Feb 20:51
· 66 commits to main since this release
00a4793

20260212 (v0.7.0)

DeciMojo v0.7.0 updates the codebase to Mojo v0.26.1.

  • Replaces all alias declarations with comptime in all files. alias is deprecated.
  • Updates list and constant construction syntax throughout the codebase, e.g., replaced List[UInt32](...) with [UInt32(...), ...], used [word] instead of List[UInt32](word), etc. The old syntax is deprecated.
  • Updates list slicing syntax to use the new syntax. Now lst[1:] returns a Span instead of a List, so it needs to be converted to a list using the constructor List(...).
  • Updates some methods of the String type and the indexing and slicing syntax for String objects to match the latest Mojo syntax. The old syntax is deprecated.
  • Fixes the closure capture when using vectorize. The new syntax requires something like unified {read x, mut y} to capture variables x and y in 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