Download Latest Version cli_ v0.7.1 source code.tar.gz (1.5 MB)
Email in envelope

Get an email when there's a new version of Grain

Home / stdlib-v0.7.0
Name Modified Size InfoDownloads / Week
Parent folder
stdlib.tgz 2025-04-27 393.3 kB
README.md 2025-04-27 8.3 kB
stdlib_ v0.7.0 source code.tar.gz 2025-04-27 1.5 MB
stdlib_ v0.7.0 source code.zip 2025-04-27 2.1 MB
Totals: 4 Items   3.9 MB 0

0.7.0 (2025-04-26)

⚠ BREAKING CHANGES

  • cli: Require node >=22.13 (#2256)
  • compiler: Disallow whitespace for negative literals + allow infix operators on new line (#2136)
  • compiler: Custom Grain object files (#2104)
  • stdlib: Seeded hashing (#2170)
  • stdlib: Add an Ascii submodule to Char and move isAscii, toUppercase, toLowercase (#2178)

Features

  • Add getAll, setAll, removeAll to List.Associative (#2224) (9c49a23)
  • compiler: Custom Grain object files (#2104) (4b56c53)
  • compiler: Disallow whitespace for negative literals + allow infix operators on new line (#2136) (3186155)
  • runtime: Optimize == for lists (#2247) (1cba005)
  • runtime: Prevent stack overflow while collecting large lists (#2248) (097ae7d)
  • runtime: Simplify copy and fill polyfills in Memory module (#2148) (1b3a9f0)
  • stdlib: List.Associative Submodule (#2202) (fbb08bf)
  • stdlib: Add ** to Float64 and Float32 (#2163) (7542d92)
  • stdlib: Add Array.tryInit (#2209) (218ff78)
  • stdlib: Add Bytes.setChar and Bytes.getChar (#2215) (4919ba3)
  • stdlib: Add Char.encodedLength (#2238) (c549fac)
  • stdlib: Add copySign, sqrt, min, max, round, trunc, floor, ceil to Float32 (#2161) (f5a3dd3)
  • stdlib: Add copySign, sqrt, min, max, round, trunc, floor, ceil to Float64 (#2162) (e99dcba)
  • stdlib: Add Exception.toString (#2143) (0894dc5)
  • stdlib: Add isFinite, isClose, sin, cos, tan to Float32 (#2168) (bdb4641)
  • stdlib: Add isFinite, isClose, sin, cos, tan to Float64 (#2166) (fa728d2)
  • stdlib: Add List.filterMap, List.filterMapi, List.findMap (#2201) (551f5ad)
  • stdlib: add Path.removeExtension (#2226) (7b7acfd)
  • stdlib: Add Path.updateExtension (#2282) (6d795d0)
  • stdlib: Add String.repeat to String module (#2140) (6c33d08)
  • stdlib: Add toList, fromList, toArray, fromArray to Stack (#2198) (b815bcd)
  • stdlib: Add an Ascii submodule to Char and move isAscii, toUppercase, toLowercase (#2178) (328cf01)
  • stdlib: Add user-friendly file system module (#1966) (c4f638e)
  • stdlib: Implement reinterpret between float and int values (#2257) (e3a4eac)
  • stdlib: Json value access utils (#2150) (72cc978)
  • stdlib: Optimize List.init to support large lists (#2249) (3de64ba)
  • stdlib: Reimplement Number.gamma and Number.factorial (#2182) (1e5f921)
  • stdlib: Reimplement Number.sin, Number.cos, Number.tan (#2158) (f97c011)
  • stdlib: Seeded hashing (#2170) (ce872ab)

Bug Fixes

  • compiler: Handle non-exhaustive record patterns (#2274) (0431e74)
  • runtime: Correct Bi.toFloat64 rounding (#2160) (6755782)
  • stdlib: Correct sign bit in _rempio when computing trig reduction (#2181) (6a78502)
  • stdlib: Optimize number modulo (#2144) (960fadd)
  • stdlib: Properly print Range values (#2184) (11b1fc2)

Miscellaneous Chores

Source: README.md, updated 2025-04-27