From cec5a1318f71eb9a2d4a3e117ff1d517cafc6136 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Apr 2025 04:54:55 +0000 Subject: [PATCH 1/2] chore: release main --- .release-please-manifest.json | 2 +- CHANGELOG.md | 86 +++++++++++++++++++++++++++++++++++ cli/CHANGELOG.md | 24 ++++++++++ cli/package.json | 4 +- compiler/CHANGELOG.md | 82 +++++++++++++++++++++++++++++++++ compiler/dune-project | 2 +- compiler/esy.json | 2 +- compiler/package.json | 2 +- package-lock.json | 2 +- package.json | 2 +- stdlib/CHANGELOG.md | 57 +++++++++++++++++++++++ stdlib/package.json | 2 +- 12 files changed, 258 insertions(+), 9 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 970b8b0d7b..a0a5fabbf4 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"0.6.6","cli":"0.6.6","compiler":"0.6.6","stdlib":"0.6.6"} \ No newline at end of file +{".":"0.7.0","cli":"0.7.0","compiler":"0.7.0","stdlib":"0.7.0"} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a258c95359..684e144556 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,91 @@ # Changelog +## [0.7.0](https://github.com/grain-lang/grain/compare/grain-v0.6.6...grain-v0.7.0) (2025-04-26) + + +### ⚠ BREAKING CHANGES + +* **cli:** Require node `>=22.13` ([#2256](https://github.com/grain-lang/grain/issues/2256)) +* **compiler:** Disallow whitespace for negative literals + allow infix operators on new line ([#2136](https://github.com/grain-lang/grain/issues/2136)) +* **compiler:** Custom Grain object files ([#2104](https://github.com/grain-lang/grain/issues/2104)) +* Remove `->` token in favor of `=>` ([#2177](https://github.com/grain-lang/grain/issues/2177)) +* **stdlib:** Seeded hashing ([#2170](https://github.com/grain-lang/grain/issues/2170)) +* **stdlib:** Add an `Ascii` submodule to `Char` and move `isAscii`, `toUppercase`, `toLowercase` ([#2178](https://github.com/grain-lang/grain/issues/2178)) + +### Features + +* Add `getAll`, `setAll`, `removeAll` to `List.Associative` ([#2224](https://github.com/grain-lang/grain/issues/2224)) ([9c49a23](https://github.com/grain-lang/grain/commit/9c49a23666f59c90499491ab2501214a33439fa1)) +* **cli:** Support node v22 and v23 ([#2207](https://github.com/grain-lang/grain/issues/2207)) ([130c494](https://github.com/grain-lang/grain/commit/130c494f307b9820ea84f07651b7b4cf8f5f1d0b)) +* **compiler:** Custom Grain object files ([#2104](https://github.com/grain-lang/grain/issues/2104)) ([4b56c53](https://github.com/grain-lang/grain/commit/4b56c535064e5ad8f68ca19af071d5e525a1a9aa)) +* **compiler:** Deduplicate foreign imports ([#2233](https://github.com/grain-lang/grain/issues/2233)) ([e8a3ed2](https://github.com/grain-lang/grain/commit/e8a3ed2a04713748ba7c577a04ae8f588844430c)) +* **compiler:** Disallow whitespace for negative literals + allow infix operators on new line ([#2136](https://github.com/grain-lang/grain/issues/2136)) ([3186155](https://github.com/grain-lang/grain/commit/318615583c1a1dbea3a7ea6c1c616bcac4df2c0a)) +* **compiler:** Enable single-file compilation ([#2105](https://github.com/grain-lang/grain/issues/2105)) ([824b365](https://github.com/grain-lang/grain/commit/824b365fde51cf485a1ad21a6431611cb9ffe3e5)) +* **compiler:** Improve exhaustive warning for lists ([#2220](https://github.com/grain-lang/grain/issues/2220)) ([f54dbdf](https://github.com/grain-lang/grain/commit/f54dbdf2a7d7e0e75c0bd22c9ad5eaab0259b177)) +* **compiler:** Use location for `Unbound_label_with_alt` error ([#2196](https://github.com/grain-lang/grain/issues/2196)) ([271d7cb](https://github.com/grain-lang/grain/commit/271d7cb3617eb016215f58c5db431a8ab513d491)) +* **compiler:** Use program location for `_gmain` ([#2231](https://github.com/grain-lang/grain/issues/2231)) ([bdbbd05](https://github.com/grain-lang/grain/commit/bdbbd05b467d54f11413952480e9c90cc0c06900)) +* **docs:** Update `stdlib` contributor guidelines ([#2277](https://github.com/grain-lang/grain/issues/2277)) ([9631e72](https://github.com/grain-lang/grain/commit/9631e723063d92580b95f5fd384441244ec1dfac)) +* **fmt:** Add trailing comma on inline records ([#2266](https://github.com/grain-lang/grain/issues/2266)) ([cbe12e2](https://github.com/grain-lang/grain/commit/cbe12e294d71fdfcefd8d7c59c5c586fc1fdcc48)) +* **lsp:** Add or remove block braces code action ([#2222](https://github.com/grain-lang/grain/issues/2222)) ([3134504](https://github.com/grain-lang/grain/commit/31345048249ddcb2cba481edccfcf0aaccb6cae1)) +* Remove `->` token in favor of `=>` ([#2177](https://github.com/grain-lang/grain/issues/2177)) ([d0038d3](https://github.com/grain-lang/grain/commit/d0038d34e95f4357b06101cb14aae57a3b928b51)) +* **runtime:** Optimize `==` for lists ([#2247](https://github.com/grain-lang/grain/issues/2247)) ([1cba005](https://github.com/grain-lang/grain/commit/1cba005db44163e2d197c4af14f1c3d8997ebbf8)) +* **runtime:** Prevent stack overflow while collecting large lists ([#2248](https://github.com/grain-lang/grain/issues/2248)) ([097ae7d](https://github.com/grain-lang/grain/commit/097ae7d403aaabe20fba373564562274b9ff38d3)) +* **runtime:** Simplify `copy` and `fill` polyfills in `Memory` module ([#2148](https://github.com/grain-lang/grain/issues/2148)) ([1b3a9f0](https://github.com/grain-lang/grain/commit/1b3a9f07bd9749a4f67f12d1b58949476c2d6127)) +* **stdlib:** `List.Associative` Submodule ([#2202](https://github.com/grain-lang/grain/issues/2202)) ([fbb08bf](https://github.com/grain-lang/grain/commit/fbb08bf28683b05fb77a57af6a787907da070ef7)) +* **stdlib:** Add `**` to `Float64` and `Float32` ([#2163](https://github.com/grain-lang/grain/issues/2163)) ([7542d92](https://github.com/grain-lang/grain/commit/7542d92590fb87e168225c5b5019528a32ffef64)) +* **stdlib:** Add `Array.tryInit` ([#2209](https://github.com/grain-lang/grain/issues/2209)) ([218ff78](https://github.com/grain-lang/grain/commit/218ff780c824a12bbfa2a78c12d84a66e65a4931)) +* **stdlib:** Add `Bytes.setChar` and `Bytes.getChar` ([#2215](https://github.com/grain-lang/grain/issues/2215)) ([4919ba3](https://github.com/grain-lang/grain/commit/4919ba3fbf584eecd2c9db40ee74ac0c70bf92bd)) +* **stdlib:** Add `Char.encodedLength` ([#2238](https://github.com/grain-lang/grain/issues/2238)) ([c549fac](https://github.com/grain-lang/grain/commit/c549facdd1cc8efb2d20e7efeb512e19e4a9fbab)) +* **stdlib:** Add `copySign`, `sqrt`, `min`, `max`, `round`, `trunc`, `floor`, `ceil` to `Float32` ([#2161](https://github.com/grain-lang/grain/issues/2161)) ([f5a3dd3](https://github.com/grain-lang/grain/commit/f5a3dd363bb13c478e36049a3edac33576c90f4f)) +* **stdlib:** Add `copySign`, `sqrt`, `min`, `max`, `round`, `trunc`, `floor`, `ceil` to `Float64` ([#2162](https://github.com/grain-lang/grain/issues/2162)) ([e99dcba](https://github.com/grain-lang/grain/commit/e99dcbae2ecee346587c6d5d6d77dfd4b358521b)) +* **stdlib:** Add `Exception.toString` ([#2143](https://github.com/grain-lang/grain/issues/2143)) ([0894dc5](https://github.com/grain-lang/grain/commit/0894dc551c4aad678e39e9de29919bb17a0ea23e)) +* **stdlib:** Add `isFinite`, `isClose`, `sin`, `cos`, `tan` to Float32 ([#2168](https://github.com/grain-lang/grain/issues/2168)) ([bdb4641](https://github.com/grain-lang/grain/commit/bdb46410f1967e1d063c4a1edad27fa19381f9de)) +* **stdlib:** Add `isFinite`, `isClose`, `sin`, `cos`, `tan` to Float64 ([#2166](https://github.com/grain-lang/grain/issues/2166)) ([fa728d2](https://github.com/grain-lang/grain/commit/fa728d24437593f1eb60d65131d990ece27a5f30)) +* **stdlib:** Add `List.filterMap`, `List.filterMapi`, `List.findMap` ([#2201](https://github.com/grain-lang/grain/issues/2201)) ([551f5ad](https://github.com/grain-lang/grain/commit/551f5adf8f36e601657fbdda7e3c546acd71f916)) +* **stdlib:** add `Path.removeExtension` ([#2226](https://github.com/grain-lang/grain/issues/2226)) ([7b7acfd](https://github.com/grain-lang/grain/commit/7b7acfd5b7e12d2d490b9f3ff3b28911ef9240e7)) +* **stdlib:** Add `Path.updateExtension` ([#2282](https://github.com/grain-lang/grain/issues/2282)) ([6d795d0](https://github.com/grain-lang/grain/commit/6d795d059fcc6107719e4149ee4697a10a5941a8)) +* **stdlib:** Add `String.repeat` to `String` module ([#2140](https://github.com/grain-lang/grain/issues/2140)) ([6c33d08](https://github.com/grain-lang/grain/commit/6c33d08ddabdc57e27ddc9b5595d5ae1fd9bf37d)) +* **stdlib:** Add `toList`, `fromList`, `toArray`, `fromArray` to Stack ([#2198](https://github.com/grain-lang/grain/issues/2198)) ([b815bcd](https://github.com/grain-lang/grain/commit/b815bcd17fe083846b1b8aac94fd0ceffca544cc)) +* **stdlib:** Add an `Ascii` submodule to `Char` and move `isAscii`, `toUppercase`, `toLowercase` ([#2178](https://github.com/grain-lang/grain/issues/2178)) ([328cf01](https://github.com/grain-lang/grain/commit/328cf0168b07ac75b8a01e7e5cf4e7675b492acc)) +* **stdlib:** Add user-friendly file system module ([#1966](https://github.com/grain-lang/grain/issues/1966)) ([c4f638e](https://github.com/grain-lang/grain/commit/c4f638eaf0f7049dd3cfec96791f7d7ba22531f6)) +* **stdlib:** Implement `reinterpret` between float and int values ([#2257](https://github.com/grain-lang/grain/issues/2257)) ([e3a4eac](https://github.com/grain-lang/grain/commit/e3a4eacb9a57caa6f45890d04233c7aa8abdfb08)) +* **stdlib:** Json value access utils ([#2150](https://github.com/grain-lang/grain/issues/2150)) ([72cc978](https://github.com/grain-lang/grain/commit/72cc9784783731440cbb73196fc45c0fd77745f2)) +* **stdlib:** Optimize `List.init` to support large lists ([#2249](https://github.com/grain-lang/grain/issues/2249)) ([3de64ba](https://github.com/grain-lang/grain/commit/3de64ba88cb3e18fedd60175ce2b5e03e3d398ce)) +* **stdlib:** Reimplement `Number.gamma` and `Number.factorial` ([#2182](https://github.com/grain-lang/grain/issues/2182)) ([1e5f921](https://github.com/grain-lang/grain/commit/1e5f921a436de8e0705073083f2b9c8403a1e928)) +* **stdlib:** Reimplement `Number.sin`, `Number.cos`, `Number.tan` ([#2158](https://github.com/grain-lang/grain/issues/2158)) ([f97c011](https://github.com/grain-lang/grain/commit/f97c01168eebff400e5d7bb9020536d784fa1da2)) +* **stdlib:** Seeded hashing ([#2170](https://github.com/grain-lang/grain/issues/2170)) ([ce872ab](https://github.com/grain-lang/grain/commit/ce872ab718577ebd4d46857a2f3f7bb08c58efe4)) + + +### Bug Fixes + +* **cli:** Only accept `--dir`, `--env` on `grain run` or `grain` ([#2279](https://github.com/grain-lang/grain/issues/2279)) ([0d249dc](https://github.com/grain-lang/grain/commit/0d249dcdcf210b8d04c2d4eca95f57d0a37c9ff3)) +* **compiler:** Correct `in_function` state when typing record properties ([#2205](https://github.com/grain-lang/grain/issues/2205)) ([d9dd274](https://github.com/grain-lang/grain/commit/d9dd274d473fbb88968adf80fa32bbc5bcee8700)) +* **compiler:** Correct `Include_module_name_mismatch` error ([#2261](https://github.com/grain-lang/grain/issues/2261)) ([ef77a31](https://github.com/grain-lang/grain/commit/ef77a31d33c3481340403992f0611c5dec96a15c)) +* **compiler:** Correct location of parmatch mismatch type error ([#2259](https://github.com/grain-lang/grain/issues/2259)) ([eb85692](https://github.com/grain-lang/grain/commit/eb85692c0a9f3cd72baf609f21a21e6557435f8e)) +* **compiler:** Correct type approximation on recursive functions ([#2154](https://github.com/grain-lang/grain/issues/2154)) ([b0fb040](https://github.com/grain-lang/grain/commit/b0fb0405cb7e295abd544792a613f127ff96dd75)) +* **compiler:** Fix 'inconsistent assumptions over interface' bug ([#2253](https://github.com/grain-lang/grain/issues/2253)) ([66e5929](https://github.com/grain-lang/grain/commit/66e5929b0a511e211c427723364c4ebaf23e28da)) +* **compiler:** Handle non-exhaustive record patterns ([#2274](https://github.com/grain-lang/grain/issues/2274)) ([0431e74](https://github.com/grain-lang/grain/commit/0431e74b1e0a02ec22fd46871aa5f5f8d8dd1649)) +* **compiler:** Prevent impossible string error from pattern matching ([#2218](https://github.com/grain-lang/grain/issues/2218)) ([a1caf87](https://github.com/grain-lang/grain/commit/a1caf87c2141c27a026813d9d2af9dcbb3d21a7b)) +* **compiler:** Reduce stack usage when allocating lists ([#2214](https://github.com/grain-lang/grain/issues/2214)) ([cad45e4](https://github.com/grain-lang/grain/commit/cad45e4b514a2e86867953e9782b348ce49dfaef)) +* **compiler:** Resolve Not_found for use statements with module aliases ([#2285](https://github.com/grain-lang/grain/issues/2285)) ([fd2dbef](https://github.com/grain-lang/grain/commit/fd2dbefd4e950eef94aac9a19f6eafa2cb5f930e)) +* **compiler:** Write universal exports on linked module ([#2234](https://github.com/grain-lang/grain/issues/2234)) ([2dba010](https://github.com/grain-lang/grain/commit/2dba010ef640fbe821c45c690d28dd85e3016095)) +* **grainc:** Correct behaviour of `-o` flag ([#2270](https://github.com/grain-lang/grain/issues/2270)) ([3124ede](https://github.com/grain-lang/grain/commit/3124ede080f04b72c680a726cfe97d5fdac68e92)) +* **grainfmt:** correct fmt of operator funcs applied with labeled args ([#2251](https://github.com/grain-lang/grain/issues/2251)) ([30f5cc3](https://github.com/grain-lang/grain/commit/30f5cc3987ad42be2fa31c59b356d31cb7bb5590)) +* **grainfmt:** Correct formatting of nested constraints ([#2245](https://github.com/grain-lang/grain/issues/2245)) ([bdb7f7c](https://github.com/grain-lang/grain/commit/bdb7f7caf72e3f24c43586354044a7940c0e51a9)) +* **grainfmt:** Fix formatting of function types with a single tuple arg ([#2230](https://github.com/grain-lang/grain/issues/2230)) ([13ac7fa](https://github.com/grain-lang/grain/commit/13ac7fadc031039aa3661054161c3b1b5e3b1564)) +* **lsp:** Add test harness, update named arg code action title, fix code action trigger points, do not print LSP warnings ([#2134](https://github.com/grain-lang/grain/issues/2134)) ([36c0bb8](https://github.com/grain-lang/grain/commit/36c0bb826584eb1129dc2c2c66c3326aade4e75e)) +* **lsp:** Correct use argument label code_action with inferred funcs ([#2283](https://github.com/grain-lang/grain/issues/2283)) ([7d4fd44](https://github.com/grain-lang/grain/commit/7d4fd4412ed4f2b9e33b7faa9ac3889c3d15872b)) +* **lsp:** Ensure file changes update lsp state ([#2267](https://github.com/grain-lang/grain/issues/2267)) ([031e39a](https://github.com/grain-lang/grain/commit/031e39aed1a1b0946954f5827da26802b390b220)) +* **lsp:** Use correct origin selection range ([#2146](https://github.com/grain-lang/grain/issues/2146)) ([ab3dde8](https://github.com/grain-lang/grain/commit/ab3dde8a29a7dc93b8e952407b9ce305f34bb15b)) +* **runtime:** Correct `Bi.toFloat64` rounding ([#2160](https://github.com/grain-lang/grain/issues/2160)) ([6755782](https://github.com/grain-lang/grain/commit/6755782948b9bd1bcf7cbf6ad7ad0a3d894bd1f6)) +* **stdlib:** Correct sign bit in `_rempio` when computing trig reduction ([#2181](https://github.com/grain-lang/grain/issues/2181)) ([6a78502](https://github.com/grain-lang/grain/commit/6a78502dfb9e52d0466cab090c958c0ffd3fb83f)) +* **stdlib:** Optimize number modulo ([#2144](https://github.com/grain-lang/grain/issues/2144)) ([960fadd](https://github.com/grain-lang/grain/commit/960faddf4ed80a6d071c727c9640e0d7fb5b63e1)) +* **stdlib:** Properly print `Range` values ([#2184](https://github.com/grain-lang/grain/issues/2184)) ([11b1fc2](https://github.com/grain-lang/grain/commit/11b1fc2ff089f08e9c4d350c1343ac04bdc68caa)) + + +### Miscellaneous Chores + +* **cli:** Require node `>=22.13` ([#2256](https://github.com/grain-lang/grain/issues/2256)) ([220bfc3](https://github.com/grain-lang/grain/commit/220bfc3ec527a27fdaf588551f2ca87b3326f5db)) + ## [0.6.6](https://github.com/grain-lang/grain/compare/grain-v0.6.5...grain-v0.6.6) (2024-08-12) diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index 9168283763..6cfa688e1c 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## [0.7.0](https://github.com/grain-lang/grain/compare/cli-v0.6.6...cli-v0.7.0) (2025-04-26) + + +### ⚠ BREAKING CHANGES + +* **cli:** Require node `>=22.13` ([#2256](https://github.com/grain-lang/grain/issues/2256)) +* **compiler:** Custom Grain object files ([#2104](https://github.com/grain-lang/grain/issues/2104)) + +### Features + +* **cli:** Support node v22 and v23 ([#2207](https://github.com/grain-lang/grain/issues/2207)) ([130c494](https://github.com/grain-lang/grain/commit/130c494f307b9820ea84f07651b7b4cf8f5f1d0b)) +* **compiler:** Custom Grain object files ([#2104](https://github.com/grain-lang/grain/issues/2104)) ([4b56c53](https://github.com/grain-lang/grain/commit/4b56c535064e5ad8f68ca19af071d5e525a1a9aa)) +* **compiler:** Enable single-file compilation ([#2105](https://github.com/grain-lang/grain/issues/2105)) ([824b365](https://github.com/grain-lang/grain/commit/824b365fde51cf485a1ad21a6431611cb9ffe3e5)) + + +### Bug Fixes + +* **cli:** Only accept `--dir`, `--env` on `grain run` or `grain` ([#2279](https://github.com/grain-lang/grain/issues/2279)) ([0d249dc](https://github.com/grain-lang/grain/commit/0d249dcdcf210b8d04c2d4eca95f57d0a37c9ff3)) + + +### Miscellaneous Chores + +* **cli:** Require node `>=22.13` ([#2256](https://github.com/grain-lang/grain/issues/2256)) ([220bfc3](https://github.com/grain-lang/grain/commit/220bfc3ec527a27fdaf588551f2ca87b3326f5db)) + ## [0.6.6](https://github.com/grain-lang/grain/compare/cli-v0.6.5...cli-v0.6.6) (2024-08-12) diff --git a/cli/package.json b/cli/package.json index c5d4fe3334..db2b178600 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@grain/cli", - "version": "0.6.6", + "version": "0.7.0", "description": "A command line tool for the Grain language.", "main": "index.js", "engines": { @@ -34,7 +34,7 @@ }, "homepage": "https://github.com/grain-lang/grain#readme", "dependencies": { - "@grain/stdlib": "0.6.6", + "@grain/stdlib": "0.7.0", "commander": "^8.1.0" }, "devDependencies": { diff --git a/compiler/CHANGELOG.md b/compiler/CHANGELOG.md index d4dcbfee93..dcc8e820f2 100644 --- a/compiler/CHANGELOG.md +++ b/compiler/CHANGELOG.md @@ -1,5 +1,87 @@ # Changelog +## [0.7.0](https://github.com/grain-lang/grain/compare/compiler-v0.6.6...compiler-v0.7.0) (2025-04-26) + + +### ⚠ BREAKING CHANGES + +* **cli:** Require node `>=22.13` ([#2256](https://github.com/grain-lang/grain/issues/2256)) +* **compiler:** Disallow whitespace for negative literals + allow infix operators on new line ([#2136](https://github.com/grain-lang/grain/issues/2136)) +* **compiler:** Custom Grain object files ([#2104](https://github.com/grain-lang/grain/issues/2104)) +* Remove `->` token in favor of `=>` ([#2177](https://github.com/grain-lang/grain/issues/2177)) +* **stdlib:** Seeded hashing ([#2170](https://github.com/grain-lang/grain/issues/2170)) +* **stdlib:** Add an `Ascii` submodule to `Char` and move `isAscii`, `toUppercase`, `toLowercase` ([#2178](https://github.com/grain-lang/grain/issues/2178)) + +### Features + +* Add `getAll`, `setAll`, `removeAll` to `List.Associative` ([#2224](https://github.com/grain-lang/grain/issues/2224)) ([9c49a23](https://github.com/grain-lang/grain/commit/9c49a23666f59c90499491ab2501214a33439fa1)) +* **compiler:** Custom Grain object files ([#2104](https://github.com/grain-lang/grain/issues/2104)) ([4b56c53](https://github.com/grain-lang/grain/commit/4b56c535064e5ad8f68ca19af071d5e525a1a9aa)) +* **compiler:** Deduplicate foreign imports ([#2233](https://github.com/grain-lang/grain/issues/2233)) ([e8a3ed2](https://github.com/grain-lang/grain/commit/e8a3ed2a04713748ba7c577a04ae8f588844430c)) +* **compiler:** Disallow whitespace for negative literals + allow infix operators on new line ([#2136](https://github.com/grain-lang/grain/issues/2136)) ([3186155](https://github.com/grain-lang/grain/commit/318615583c1a1dbea3a7ea6c1c616bcac4df2c0a)) +* **compiler:** Enable single-file compilation ([#2105](https://github.com/grain-lang/grain/issues/2105)) ([824b365](https://github.com/grain-lang/grain/commit/824b365fde51cf485a1ad21a6431611cb9ffe3e5)) +* **compiler:** Improve exhaustive warning for lists ([#2220](https://github.com/grain-lang/grain/issues/2220)) ([f54dbdf](https://github.com/grain-lang/grain/commit/f54dbdf2a7d7e0e75c0bd22c9ad5eaab0259b177)) +* **compiler:** Use location for `Unbound_label_with_alt` error ([#2196](https://github.com/grain-lang/grain/issues/2196)) ([271d7cb](https://github.com/grain-lang/grain/commit/271d7cb3617eb016215f58c5db431a8ab513d491)) +* **compiler:** Use program location for `_gmain` ([#2231](https://github.com/grain-lang/grain/issues/2231)) ([bdbbd05](https://github.com/grain-lang/grain/commit/bdbbd05b467d54f11413952480e9c90cc0c06900)) +* **fmt:** Add trailing comma on inline records ([#2266](https://github.com/grain-lang/grain/issues/2266)) ([cbe12e2](https://github.com/grain-lang/grain/commit/cbe12e294d71fdfcefd8d7c59c5c586fc1fdcc48)) +* **lsp:** Add or remove block braces code action ([#2222](https://github.com/grain-lang/grain/issues/2222)) ([3134504](https://github.com/grain-lang/grain/commit/31345048249ddcb2cba481edccfcf0aaccb6cae1)) +* Remove `->` token in favor of `=>` ([#2177](https://github.com/grain-lang/grain/issues/2177)) ([d0038d3](https://github.com/grain-lang/grain/commit/d0038d34e95f4357b06101cb14aae57a3b928b51)) +* **runtime:** Optimize `==` for lists ([#2247](https://github.com/grain-lang/grain/issues/2247)) ([1cba005](https://github.com/grain-lang/grain/commit/1cba005db44163e2d197c4af14f1c3d8997ebbf8)) +* **runtime:** Prevent stack overflow while collecting large lists ([#2248](https://github.com/grain-lang/grain/issues/2248)) ([097ae7d](https://github.com/grain-lang/grain/commit/097ae7d403aaabe20fba373564562274b9ff38d3)) +* **stdlib:** `List.Associative` Submodule ([#2202](https://github.com/grain-lang/grain/issues/2202)) ([fbb08bf](https://github.com/grain-lang/grain/commit/fbb08bf28683b05fb77a57af6a787907da070ef7)) +* **stdlib:** Add `**` to `Float64` and `Float32` ([#2163](https://github.com/grain-lang/grain/issues/2163)) ([7542d92](https://github.com/grain-lang/grain/commit/7542d92590fb87e168225c5b5019528a32ffef64)) +* **stdlib:** Add `Array.tryInit` ([#2209](https://github.com/grain-lang/grain/issues/2209)) ([218ff78](https://github.com/grain-lang/grain/commit/218ff780c824a12bbfa2a78c12d84a66e65a4931)) +* **stdlib:** Add `Bytes.setChar` and `Bytes.getChar` ([#2215](https://github.com/grain-lang/grain/issues/2215)) ([4919ba3](https://github.com/grain-lang/grain/commit/4919ba3fbf584eecd2c9db40ee74ac0c70bf92bd)) +* **stdlib:** Add `Char.encodedLength` ([#2238](https://github.com/grain-lang/grain/issues/2238)) ([c549fac](https://github.com/grain-lang/grain/commit/c549facdd1cc8efb2d20e7efeb512e19e4a9fbab)) +* **stdlib:** Add `copySign`, `sqrt`, `min`, `max`, `round`, `trunc`, `floor`, `ceil` to `Float32` ([#2161](https://github.com/grain-lang/grain/issues/2161)) ([f5a3dd3](https://github.com/grain-lang/grain/commit/f5a3dd363bb13c478e36049a3edac33576c90f4f)) +* **stdlib:** Add `copySign`, `sqrt`, `min`, `max`, `round`, `trunc`, `floor`, `ceil` to `Float64` ([#2162](https://github.com/grain-lang/grain/issues/2162)) ([e99dcba](https://github.com/grain-lang/grain/commit/e99dcbae2ecee346587c6d5d6d77dfd4b358521b)) +* **stdlib:** Add `Exception.toString` ([#2143](https://github.com/grain-lang/grain/issues/2143)) ([0894dc5](https://github.com/grain-lang/grain/commit/0894dc551c4aad678e39e9de29919bb17a0ea23e)) +* **stdlib:** Add `isFinite`, `isClose`, `sin`, `cos`, `tan` to Float32 ([#2168](https://github.com/grain-lang/grain/issues/2168)) ([bdb4641](https://github.com/grain-lang/grain/commit/bdb46410f1967e1d063c4a1edad27fa19381f9de)) +* **stdlib:** Add `isFinite`, `isClose`, `sin`, `cos`, `tan` to Float64 ([#2166](https://github.com/grain-lang/grain/issues/2166)) ([fa728d2](https://github.com/grain-lang/grain/commit/fa728d24437593f1eb60d65131d990ece27a5f30)) +* **stdlib:** Add `List.filterMap`, `List.filterMapi`, `List.findMap` ([#2201](https://github.com/grain-lang/grain/issues/2201)) ([551f5ad](https://github.com/grain-lang/grain/commit/551f5adf8f36e601657fbdda7e3c546acd71f916)) +* **stdlib:** add `Path.removeExtension` ([#2226](https://github.com/grain-lang/grain/issues/2226)) ([7b7acfd](https://github.com/grain-lang/grain/commit/7b7acfd5b7e12d2d490b9f3ff3b28911ef9240e7)) +* **stdlib:** Add `Path.updateExtension` ([#2282](https://github.com/grain-lang/grain/issues/2282)) ([6d795d0](https://github.com/grain-lang/grain/commit/6d795d059fcc6107719e4149ee4697a10a5941a8)) +* **stdlib:** Add `String.repeat` to `String` module ([#2140](https://github.com/grain-lang/grain/issues/2140)) ([6c33d08](https://github.com/grain-lang/grain/commit/6c33d08ddabdc57e27ddc9b5595d5ae1fd9bf37d)) +* **stdlib:** Add `toList`, `fromList`, `toArray`, `fromArray` to Stack ([#2198](https://github.com/grain-lang/grain/issues/2198)) ([b815bcd](https://github.com/grain-lang/grain/commit/b815bcd17fe083846b1b8aac94fd0ceffca544cc)) +* **stdlib:** Add an `Ascii` submodule to `Char` and move `isAscii`, `toUppercase`, `toLowercase` ([#2178](https://github.com/grain-lang/grain/issues/2178)) ([328cf01](https://github.com/grain-lang/grain/commit/328cf0168b07ac75b8a01e7e5cf4e7675b492acc)) +* **stdlib:** Add user-friendly file system module ([#1966](https://github.com/grain-lang/grain/issues/1966)) ([c4f638e](https://github.com/grain-lang/grain/commit/c4f638eaf0f7049dd3cfec96791f7d7ba22531f6)) +* **stdlib:** Implement `reinterpret` between float and int values ([#2257](https://github.com/grain-lang/grain/issues/2257)) ([e3a4eac](https://github.com/grain-lang/grain/commit/e3a4eacb9a57caa6f45890d04233c7aa8abdfb08)) +* **stdlib:** Json value access utils ([#2150](https://github.com/grain-lang/grain/issues/2150)) ([72cc978](https://github.com/grain-lang/grain/commit/72cc9784783731440cbb73196fc45c0fd77745f2)) +* **stdlib:** Optimize `List.init` to support large lists ([#2249](https://github.com/grain-lang/grain/issues/2249)) ([3de64ba](https://github.com/grain-lang/grain/commit/3de64ba88cb3e18fedd60175ce2b5e03e3d398ce)) +* **stdlib:** Reimplement `Number.gamma` and `Number.factorial` ([#2182](https://github.com/grain-lang/grain/issues/2182)) ([1e5f921](https://github.com/grain-lang/grain/commit/1e5f921a436de8e0705073083f2b9c8403a1e928)) +* **stdlib:** Reimplement `Number.sin`, `Number.cos`, `Number.tan` ([#2158](https://github.com/grain-lang/grain/issues/2158)) ([f97c011](https://github.com/grain-lang/grain/commit/f97c01168eebff400e5d7bb9020536d784fa1da2)) +* **stdlib:** Seeded hashing ([#2170](https://github.com/grain-lang/grain/issues/2170)) ([ce872ab](https://github.com/grain-lang/grain/commit/ce872ab718577ebd4d46857a2f3f7bb08c58efe4)) + + +### Bug Fixes + +* **compiler:** Correct `in_function` state when typing record properties ([#2205](https://github.com/grain-lang/grain/issues/2205)) ([d9dd274](https://github.com/grain-lang/grain/commit/d9dd274d473fbb88968adf80fa32bbc5bcee8700)) +* **compiler:** Correct `Include_module_name_mismatch` error ([#2261](https://github.com/grain-lang/grain/issues/2261)) ([ef77a31](https://github.com/grain-lang/grain/commit/ef77a31d33c3481340403992f0611c5dec96a15c)) +* **compiler:** Correct location of parmatch mismatch type error ([#2259](https://github.com/grain-lang/grain/issues/2259)) ([eb85692](https://github.com/grain-lang/grain/commit/eb85692c0a9f3cd72baf609f21a21e6557435f8e)) +* **compiler:** Correct type approximation on recursive functions ([#2154](https://github.com/grain-lang/grain/issues/2154)) ([b0fb040](https://github.com/grain-lang/grain/commit/b0fb0405cb7e295abd544792a613f127ff96dd75)) +* **compiler:** Fix 'inconsistent assumptions over interface' bug ([#2253](https://github.com/grain-lang/grain/issues/2253)) ([66e5929](https://github.com/grain-lang/grain/commit/66e5929b0a511e211c427723364c4ebaf23e28da)) +* **compiler:** Handle non-exhaustive record patterns ([#2274](https://github.com/grain-lang/grain/issues/2274)) ([0431e74](https://github.com/grain-lang/grain/commit/0431e74b1e0a02ec22fd46871aa5f5f8d8dd1649)) +* **compiler:** Prevent impossible string error from pattern matching ([#2218](https://github.com/grain-lang/grain/issues/2218)) ([a1caf87](https://github.com/grain-lang/grain/commit/a1caf87c2141c27a026813d9d2af9dcbb3d21a7b)) +* **compiler:** Reduce stack usage when allocating lists ([#2214](https://github.com/grain-lang/grain/issues/2214)) ([cad45e4](https://github.com/grain-lang/grain/commit/cad45e4b514a2e86867953e9782b348ce49dfaef)) +* **compiler:** Resolve Not_found for use statements with module aliases ([#2285](https://github.com/grain-lang/grain/issues/2285)) ([fd2dbef](https://github.com/grain-lang/grain/commit/fd2dbefd4e950eef94aac9a19f6eafa2cb5f930e)) +* **compiler:** Write universal exports on linked module ([#2234](https://github.com/grain-lang/grain/issues/2234)) ([2dba010](https://github.com/grain-lang/grain/commit/2dba010ef640fbe821c45c690d28dd85e3016095)) +* **grainc:** Correct behaviour of `-o` flag ([#2270](https://github.com/grain-lang/grain/issues/2270)) ([3124ede](https://github.com/grain-lang/grain/commit/3124ede080f04b72c680a726cfe97d5fdac68e92)) +* **grainfmt:** correct fmt of operator funcs applied with labeled args ([#2251](https://github.com/grain-lang/grain/issues/2251)) ([30f5cc3](https://github.com/grain-lang/grain/commit/30f5cc3987ad42be2fa31c59b356d31cb7bb5590)) +* **grainfmt:** Correct formatting of nested constraints ([#2245](https://github.com/grain-lang/grain/issues/2245)) ([bdb7f7c](https://github.com/grain-lang/grain/commit/bdb7f7caf72e3f24c43586354044a7940c0e51a9)) +* **grainfmt:** Fix formatting of function types with a single tuple arg ([#2230](https://github.com/grain-lang/grain/issues/2230)) ([13ac7fa](https://github.com/grain-lang/grain/commit/13ac7fadc031039aa3661054161c3b1b5e3b1564)) +* **lsp:** Add test harness, update named arg code action title, fix code action trigger points, do not print LSP warnings ([#2134](https://github.com/grain-lang/grain/issues/2134)) ([36c0bb8](https://github.com/grain-lang/grain/commit/36c0bb826584eb1129dc2c2c66c3326aade4e75e)) +* **lsp:** Correct use argument label code_action with inferred funcs ([#2283](https://github.com/grain-lang/grain/issues/2283)) ([7d4fd44](https://github.com/grain-lang/grain/commit/7d4fd4412ed4f2b9e33b7faa9ac3889c3d15872b)) +* **lsp:** Ensure file changes update lsp state ([#2267](https://github.com/grain-lang/grain/issues/2267)) ([031e39a](https://github.com/grain-lang/grain/commit/031e39aed1a1b0946954f5827da26802b390b220)) +* **lsp:** Use correct origin selection range ([#2146](https://github.com/grain-lang/grain/issues/2146)) ([ab3dde8](https://github.com/grain-lang/grain/commit/ab3dde8a29a7dc93b8e952407b9ce305f34bb15b)) +* **runtime:** Correct `Bi.toFloat64` rounding ([#2160](https://github.com/grain-lang/grain/issues/2160)) ([6755782](https://github.com/grain-lang/grain/commit/6755782948b9bd1bcf7cbf6ad7ad0a3d894bd1f6)) +* **stdlib:** Correct sign bit in `_rempio` when computing trig reduction ([#2181](https://github.com/grain-lang/grain/issues/2181)) ([6a78502](https://github.com/grain-lang/grain/commit/6a78502dfb9e52d0466cab090c958c0ffd3fb83f)) +* **stdlib:** Optimize number modulo ([#2144](https://github.com/grain-lang/grain/issues/2144)) ([960fadd](https://github.com/grain-lang/grain/commit/960faddf4ed80a6d071c727c9640e0d7fb5b63e1)) +* **stdlib:** Properly print `Range` values ([#2184](https://github.com/grain-lang/grain/issues/2184)) ([11b1fc2](https://github.com/grain-lang/grain/commit/11b1fc2ff089f08e9c4d350c1343ac04bdc68caa)) + + +### Miscellaneous Chores + +* **cli:** Require node `>=22.13` ([#2256](https://github.com/grain-lang/grain/issues/2256)) ([220bfc3](https://github.com/grain-lang/grain/commit/220bfc3ec527a27fdaf588551f2ca87b3326f5db)) + ## [0.6.6](https://github.com/grain-lang/grain/compare/compiler-v0.6.5...compiler-v0.6.6) (2024-08-12) diff --git a/compiler/dune-project b/compiler/dune-project index 76398f6975..66e65d3493 100644 --- a/compiler/dune-project +++ b/compiler/dune-project @@ -1,6 +1,6 @@ (lang dune 2.3) (name grain) -(version 0.6.6) +(version 0.7.0) (using menhir 2.0) ; Flip this to `true` when we want to generate opam files again diff --git a/compiler/esy.json b/compiler/esy.json index 335d94e460..f75db244e2 100644 --- a/compiler/esy.json +++ b/compiler/esy.json @@ -1,6 +1,6 @@ { "name": "@grain/compiler", - "version": "0.6.6", + "version": "0.7.0", "esy": { "build": [ "dune build @native --no-buffer" diff --git a/compiler/package.json b/compiler/package.json index 32826645a3..f14131589c 100644 --- a/compiler/package.json +++ b/compiler/package.json @@ -1,7 +1,7 @@ { "name": "@grain/compiler", "private": true, - "version": "0.6.6", + "version": "0.7.0", "bin": { "grainc": "_esy/default/build/install/default/bin/grainc" }, diff --git a/package-lock.json b/package-lock.json index 62e8d9d92b..de57ea83ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "grain", - "version": "0.6.6", + "version": "0.7.0", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index f9c3cd5b25..a598462b87 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grain", "private": true, - "version": "0.6.6", + "version": "0.7.0", "description": "The Grain monorepo.", "workspaces": [ "cli", diff --git a/stdlib/CHANGELOG.md b/stdlib/CHANGELOG.md index cde04e5a88..6ffc25a15c 100644 --- a/stdlib/CHANGELOG.md +++ b/stdlib/CHANGELOG.md @@ -1,5 +1,62 @@ # Changelog +## [0.7.0](https://github.com/grain-lang/grain/compare/stdlib-v0.6.6...stdlib-v0.7.0) (2025-04-26) + + +### ⚠ BREAKING CHANGES + +* **cli:** Require node `>=22.13` ([#2256](https://github.com/grain-lang/grain/issues/2256)) +* **compiler:** Disallow whitespace for negative literals + allow infix operators on new line ([#2136](https://github.com/grain-lang/grain/issues/2136)) +* **compiler:** Custom Grain object files ([#2104](https://github.com/grain-lang/grain/issues/2104)) +* **stdlib:** Seeded hashing ([#2170](https://github.com/grain-lang/grain/issues/2170)) +* **stdlib:** Add an `Ascii` submodule to `Char` and move `isAscii`, `toUppercase`, `toLowercase` ([#2178](https://github.com/grain-lang/grain/issues/2178)) + +### Features + +* Add `getAll`, `setAll`, `removeAll` to `List.Associative` ([#2224](https://github.com/grain-lang/grain/issues/2224)) ([9c49a23](https://github.com/grain-lang/grain/commit/9c49a23666f59c90499491ab2501214a33439fa1)) +* **compiler:** Custom Grain object files ([#2104](https://github.com/grain-lang/grain/issues/2104)) ([4b56c53](https://github.com/grain-lang/grain/commit/4b56c535064e5ad8f68ca19af071d5e525a1a9aa)) +* **compiler:** Disallow whitespace for negative literals + allow infix operators on new line ([#2136](https://github.com/grain-lang/grain/issues/2136)) ([3186155](https://github.com/grain-lang/grain/commit/318615583c1a1dbea3a7ea6c1c616bcac4df2c0a)) +* **runtime:** Optimize `==` for lists ([#2247](https://github.com/grain-lang/grain/issues/2247)) ([1cba005](https://github.com/grain-lang/grain/commit/1cba005db44163e2d197c4af14f1c3d8997ebbf8)) +* **runtime:** Prevent stack overflow while collecting large lists ([#2248](https://github.com/grain-lang/grain/issues/2248)) ([097ae7d](https://github.com/grain-lang/grain/commit/097ae7d403aaabe20fba373564562274b9ff38d3)) +* **runtime:** Simplify `copy` and `fill` polyfills in `Memory` module ([#2148](https://github.com/grain-lang/grain/issues/2148)) ([1b3a9f0](https://github.com/grain-lang/grain/commit/1b3a9f07bd9749a4f67f12d1b58949476c2d6127)) +* **stdlib:** `List.Associative` Submodule ([#2202](https://github.com/grain-lang/grain/issues/2202)) ([fbb08bf](https://github.com/grain-lang/grain/commit/fbb08bf28683b05fb77a57af6a787907da070ef7)) +* **stdlib:** Add `**` to `Float64` and `Float32` ([#2163](https://github.com/grain-lang/grain/issues/2163)) ([7542d92](https://github.com/grain-lang/grain/commit/7542d92590fb87e168225c5b5019528a32ffef64)) +* **stdlib:** Add `Array.tryInit` ([#2209](https://github.com/grain-lang/grain/issues/2209)) ([218ff78](https://github.com/grain-lang/grain/commit/218ff780c824a12bbfa2a78c12d84a66e65a4931)) +* **stdlib:** Add `Bytes.setChar` and `Bytes.getChar` ([#2215](https://github.com/grain-lang/grain/issues/2215)) ([4919ba3](https://github.com/grain-lang/grain/commit/4919ba3fbf584eecd2c9db40ee74ac0c70bf92bd)) +* **stdlib:** Add `Char.encodedLength` ([#2238](https://github.com/grain-lang/grain/issues/2238)) ([c549fac](https://github.com/grain-lang/grain/commit/c549facdd1cc8efb2d20e7efeb512e19e4a9fbab)) +* **stdlib:** Add `copySign`, `sqrt`, `min`, `max`, `round`, `trunc`, `floor`, `ceil` to `Float32` ([#2161](https://github.com/grain-lang/grain/issues/2161)) ([f5a3dd3](https://github.com/grain-lang/grain/commit/f5a3dd363bb13c478e36049a3edac33576c90f4f)) +* **stdlib:** Add `copySign`, `sqrt`, `min`, `max`, `round`, `trunc`, `floor`, `ceil` to `Float64` ([#2162](https://github.com/grain-lang/grain/issues/2162)) ([e99dcba](https://github.com/grain-lang/grain/commit/e99dcbae2ecee346587c6d5d6d77dfd4b358521b)) +* **stdlib:** Add `Exception.toString` ([#2143](https://github.com/grain-lang/grain/issues/2143)) ([0894dc5](https://github.com/grain-lang/grain/commit/0894dc551c4aad678e39e9de29919bb17a0ea23e)) +* **stdlib:** Add `isFinite`, `isClose`, `sin`, `cos`, `tan` to Float32 ([#2168](https://github.com/grain-lang/grain/issues/2168)) ([bdb4641](https://github.com/grain-lang/grain/commit/bdb46410f1967e1d063c4a1edad27fa19381f9de)) +* **stdlib:** Add `isFinite`, `isClose`, `sin`, `cos`, `tan` to Float64 ([#2166](https://github.com/grain-lang/grain/issues/2166)) ([fa728d2](https://github.com/grain-lang/grain/commit/fa728d24437593f1eb60d65131d990ece27a5f30)) +* **stdlib:** Add `List.filterMap`, `List.filterMapi`, `List.findMap` ([#2201](https://github.com/grain-lang/grain/issues/2201)) ([551f5ad](https://github.com/grain-lang/grain/commit/551f5adf8f36e601657fbdda7e3c546acd71f916)) +* **stdlib:** add `Path.removeExtension` ([#2226](https://github.com/grain-lang/grain/issues/2226)) ([7b7acfd](https://github.com/grain-lang/grain/commit/7b7acfd5b7e12d2d490b9f3ff3b28911ef9240e7)) +* **stdlib:** Add `Path.updateExtension` ([#2282](https://github.com/grain-lang/grain/issues/2282)) ([6d795d0](https://github.com/grain-lang/grain/commit/6d795d059fcc6107719e4149ee4697a10a5941a8)) +* **stdlib:** Add `String.repeat` to `String` module ([#2140](https://github.com/grain-lang/grain/issues/2140)) ([6c33d08](https://github.com/grain-lang/grain/commit/6c33d08ddabdc57e27ddc9b5595d5ae1fd9bf37d)) +* **stdlib:** Add `toList`, `fromList`, `toArray`, `fromArray` to Stack ([#2198](https://github.com/grain-lang/grain/issues/2198)) ([b815bcd](https://github.com/grain-lang/grain/commit/b815bcd17fe083846b1b8aac94fd0ceffca544cc)) +* **stdlib:** Add an `Ascii` submodule to `Char` and move `isAscii`, `toUppercase`, `toLowercase` ([#2178](https://github.com/grain-lang/grain/issues/2178)) ([328cf01](https://github.com/grain-lang/grain/commit/328cf0168b07ac75b8a01e7e5cf4e7675b492acc)) +* **stdlib:** Add user-friendly file system module ([#1966](https://github.com/grain-lang/grain/issues/1966)) ([c4f638e](https://github.com/grain-lang/grain/commit/c4f638eaf0f7049dd3cfec96791f7d7ba22531f6)) +* **stdlib:** Implement `reinterpret` between float and int values ([#2257](https://github.com/grain-lang/grain/issues/2257)) ([e3a4eac](https://github.com/grain-lang/grain/commit/e3a4eacb9a57caa6f45890d04233c7aa8abdfb08)) +* **stdlib:** Json value access utils ([#2150](https://github.com/grain-lang/grain/issues/2150)) ([72cc978](https://github.com/grain-lang/grain/commit/72cc9784783731440cbb73196fc45c0fd77745f2)) +* **stdlib:** Optimize `List.init` to support large lists ([#2249](https://github.com/grain-lang/grain/issues/2249)) ([3de64ba](https://github.com/grain-lang/grain/commit/3de64ba88cb3e18fedd60175ce2b5e03e3d398ce)) +* **stdlib:** Reimplement `Number.gamma` and `Number.factorial` ([#2182](https://github.com/grain-lang/grain/issues/2182)) ([1e5f921](https://github.com/grain-lang/grain/commit/1e5f921a436de8e0705073083f2b9c8403a1e928)) +* **stdlib:** Reimplement `Number.sin`, `Number.cos`, `Number.tan` ([#2158](https://github.com/grain-lang/grain/issues/2158)) ([f97c011](https://github.com/grain-lang/grain/commit/f97c01168eebff400e5d7bb9020536d784fa1da2)) +* **stdlib:** Seeded hashing ([#2170](https://github.com/grain-lang/grain/issues/2170)) ([ce872ab](https://github.com/grain-lang/grain/commit/ce872ab718577ebd4d46857a2f3f7bb08c58efe4)) + + +### Bug Fixes + +* **compiler:** Handle non-exhaustive record patterns ([#2274](https://github.com/grain-lang/grain/issues/2274)) ([0431e74](https://github.com/grain-lang/grain/commit/0431e74b1e0a02ec22fd46871aa5f5f8d8dd1649)) +* **runtime:** Correct `Bi.toFloat64` rounding ([#2160](https://github.com/grain-lang/grain/issues/2160)) ([6755782](https://github.com/grain-lang/grain/commit/6755782948b9bd1bcf7cbf6ad7ad0a3d894bd1f6)) +* **stdlib:** Correct sign bit in `_rempio` when computing trig reduction ([#2181](https://github.com/grain-lang/grain/issues/2181)) ([6a78502](https://github.com/grain-lang/grain/commit/6a78502dfb9e52d0466cab090c958c0ffd3fb83f)) +* **stdlib:** Optimize number modulo ([#2144](https://github.com/grain-lang/grain/issues/2144)) ([960fadd](https://github.com/grain-lang/grain/commit/960faddf4ed80a6d071c727c9640e0d7fb5b63e1)) +* **stdlib:** Properly print `Range` values ([#2184](https://github.com/grain-lang/grain/issues/2184)) ([11b1fc2](https://github.com/grain-lang/grain/commit/11b1fc2ff089f08e9c4d350c1343ac04bdc68caa)) + + +### Miscellaneous Chores + +* **cli:** Require node `>=22.13` ([#2256](https://github.com/grain-lang/grain/issues/2256)) ([220bfc3](https://github.com/grain-lang/grain/commit/220bfc3ec527a27fdaf588551f2ca87b3326f5db)) + ## [0.6.6](https://github.com/grain-lang/grain/compare/stdlib-v0.6.5...stdlib-v0.6.6) (2024-08-12) diff --git a/stdlib/package.json b/stdlib/package.json index 8896a657e0..4bbeda6733 100644 --- a/stdlib/package.json +++ b/stdlib/package.json @@ -1,6 +1,6 @@ { "name": "@grain/stdlib", - "version": "0.6.6", + "version": "0.7.0", "description": "The standard library for the Grain language.", "license": "MIT", "homepage": "https://grain-lang.org", From 9f44d17c1500c140889547ad7bc8e49c7a595a7f Mon Sep 17 00:00:00 2001 From: Grain Bot Date: Sat, 26 Apr 2025 05:08:05 +0000 Subject: [PATCH 2/2] chore(stdlib): Regenerate markdown documentation --- stdlib/array.md | 2 +- stdlib/bytes.md | 4 ++-- stdlib/char.md | 28 ++++++++++++++-------------- stdlib/exception.md | 2 +- stdlib/float32.md | 32 ++++++++++++++++---------------- stdlib/float64.md | 32 ++++++++++++++++---------------- stdlib/fs.md | 30 +++++++++++++++--------------- stdlib/hash.md | 8 ++++---- stdlib/int32.md | 2 +- stdlib/int64.md | 2 +- stdlib/json.md | 24 ++++++++++++------------ stdlib/list.md | 22 +++++++++++----------- stdlib/number.md | 10 +++++----- stdlib/runtime/exception.md | 6 +++--- stdlib/stack.md | 16 ++++++++-------- stdlib/string.md | 2 +- stdlib/uint32.md | 2 +- stdlib/uint64.md | 2 +- 18 files changed, 113 insertions(+), 113 deletions(-) diff --git a/stdlib/array.md b/stdlib/array.md index 040ab720d6..1cd83d33b9 100644 --- a/stdlib/array.md +++ b/stdlib/array.md @@ -146,7 +146,7 @@ Array.init(5, n => n + 3) == [> 3, 4, 5, 6, 7] ### Array.**tryInit**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/bytes.md b/stdlib/bytes.md index dde4983d59..3f78508d17 100644 --- a/stdlib/bytes.md +++ b/stdlib/bytes.md @@ -434,7 +434,7 @@ assert bytes == b"\x00\x00\x00\x00\x00" ### Bytes.**getChar**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -477,7 +477,7 @@ assert Bytes.getChar(0, bytes) == 'H' ### Bytes.**setChar**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/char.md b/stdlib/char.md index 4dea54a943..62b6d36cc8 100644 --- a/stdlib/char.md +++ b/stdlib/char.md @@ -34,7 +34,7 @@ Type declarations included in the Char module. ### Char.**Encoding**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -309,7 +309,7 @@ Char.toString('🌾') == "🌾" ### Char.**encodedLength**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -513,7 +513,7 @@ assert 'a' >= 'a' Utilities for working with ASCII characters.
-Added in next +Added in 0.7.0 No other changes yet.
@@ -528,7 +528,7 @@ Functions and constants included in the Char.Ascii module. #### Char.Ascii.**min**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -541,7 +541,7 @@ The minimum valid ASCII character code. #### Char.Ascii.**max**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -554,7 +554,7 @@ The maximum valid ASCII character code. #### Char.Ascii.**isValid**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -593,7 +593,7 @@ assert !Char.Ascii.isValid('🌾') #### Char.Ascii.**isDigit**
-Added in next +Added in 0.7.0 @@ -635,7 +635,7 @@ assert !Char.Ascii.isDigit('a') #### Char.Ascii.**isAlpha**
-Added in next +Added in 0.7.0
versionchanges
@@ -677,7 +677,7 @@ assert !Char.Ascii.isAlpha('1') #### Char.Ascii.**isControl**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -720,7 +720,7 @@ assert !Char.Ascii.isControl('a') #### Char.Ascii.**isWhitespace**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -763,7 +763,7 @@ assert !Char.isWhitespace('a') #### Char.Ascii.**isPunctuation**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -798,7 +798,7 @@ assert !Char.Ascii.isPunctuation('1') #### Char.Ascii.**isGraphic**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -833,7 +833,7 @@ assert !Char.Ascii.isGraphic('\t') #### Char.Ascii.**toLowercase**
-Added in next +Added in 0.7.0
versionchanges
@@ -871,7 +871,7 @@ assert Char.Ascii.toLowercase('B') == 'b' #### Char.Ascii.**toUppercase**
-Added in next +Added in 0.7.0
versionchanges
diff --git a/stdlib/exception.md b/stdlib/exception.md index 33ca0f0539..06a9569e5a 100644 --- a/stdlib/exception.md +++ b/stdlib/exception.md @@ -68,7 +68,7 @@ throw ExampleError(1) // Error found on line: 1 ### Exception.**toString**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/float32.md b/stdlib/float32.md index f1af91fb08..e6320d2033 100644 --- a/stdlib/float32.md +++ b/stdlib/float32.md @@ -153,7 +153,7 @@ Returns: ### Float32.**reinterpretInt32**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -188,7 +188,7 @@ assert Float32.reinterpretInt32(-1082130432l) == -1.0f ### Float32.**reinterpretUint32**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -383,7 +383,7 @@ assert 10.0f / 4.0f == 2.5f ### Float32.**(\*\*)**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -586,7 +586,7 @@ assert 3.0f >= 3.0f ### Float32.**isFinite**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -728,7 +728,7 @@ Float32.isInfinite(1.0f) == false ### Float32.**min**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -760,7 +760,7 @@ Float32.min(5.0f, 2.0f) == 2.0f ### Float32.**max**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -862,7 +862,7 @@ Float32.neg(1.0f) == -1.0f ### Float32.**ceil**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -897,7 +897,7 @@ Float32.ceil(-5.5f) == -5.0f ### Float32.**floor**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -932,7 +932,7 @@ Float32.floor(-5.5f) == -6.0f ### Float32.**trunc**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -963,7 +963,7 @@ Float32.trunc(5.5f) == 5.0f ### Float32.**round**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1006,7 +1006,7 @@ Float32.round(-5.4f) == -5.0f ### Float32.**sqrt**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1037,7 +1037,7 @@ Float32.sqrt(25.0f) == 5.0f ### Float32.**copySign**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1077,7 +1077,7 @@ Float32.copySign(-5.0f, 1.0f) == 5.0f ### Float32.**isClose**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1141,7 +1141,7 @@ Float32.isClose(4.0f, 4.1f, relativeTolerance=0.024f) == false ### Float32.**sin**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1172,7 +1172,7 @@ Float32.sin(0.0f) == 0.0f ### Float32.**cos**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1203,7 +1203,7 @@ Float32.cos(0.0f) == 1.0f ### Float32.**tan**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/float64.md b/stdlib/float64.md index ef3c94d2f9..1a32d394b0 100644 --- a/stdlib/float64.md +++ b/stdlib/float64.md @@ -153,7 +153,7 @@ Returns: ### Float64.**reinterpretInt64**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -188,7 +188,7 @@ assert Float64.reinterpretInt64(-4616189618054758400L) == -1.0d ### Float64.**reinterpretUint64**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -383,7 +383,7 @@ assert 25.0d / 4.0d == 6.25d ### Float64.**(\*\*)**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -586,7 +586,7 @@ assert -1.0d >= -1.0d ### Float64.**isFinite**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -728,7 +728,7 @@ Float64.isInfinite(1.0d) == false ### Float64.**min**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -760,7 +760,7 @@ Float64.min(5.0d, 2.0d) == 2.0d ### Float64.**max**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -862,7 +862,7 @@ Float64.neg(1.0d) == -1.0d ### Float64.**ceil**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -897,7 +897,7 @@ Float64.ceil(-5.5d) == -5.0d ### Float64.**floor**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -932,7 +932,7 @@ Float64.floor(-5.5d) == -6.0d ### Float64.**trunc**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -963,7 +963,7 @@ Float64.trunc(5.5d) == 5.0d ### Float64.**round**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1006,7 +1006,7 @@ Float64.round(-5.4d) == -5.0d ### Float64.**sqrt**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1037,7 +1037,7 @@ Float64.sqrt(25.0d) == 5.0d ### Float64.**copySign**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1077,7 +1077,7 @@ Float64.copySign(-5.0d, 1.0d) == 5.0d ### Float64.**isClose**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1141,7 +1141,7 @@ Float64.isClose(4.0d, 4.1d, relativeTolerance=0.024d) == false ### Float64.**sin**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1172,7 +1172,7 @@ Float64.sin(0.0d) == 0.0d ### Float64.**cos**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1203,7 +1203,7 @@ Float64.cos(0.0d) == 1.0d ### Float64.**tan**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/fs.md b/stdlib/fs.md index d20bfaa6e5..f9bf4ffdaa 100644 --- a/stdlib/fs.md +++ b/stdlib/fs.md @@ -5,7 +5,7 @@ title: Fs Utilities for high-level file system interactions. Utilizes WASI Preview 1 for underlying API
-Added in next +Added in 0.7.0 No other changes yet.
@@ -214,7 +214,7 @@ Functions and constants included in the Fs module. ### Fs.**remove**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -257,7 +257,7 @@ Fs.remove(removeMode=Fs.RemoveRecursive, Path.fromString("dir")) // removes the ### Fs.**readDir**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -285,7 +285,7 @@ Returns: ### Fs.**createDir**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -313,7 +313,7 @@ Returns: ### Fs.**createSymlink**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -342,7 +342,7 @@ Returns: ### Fs.**stats**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -371,7 +371,7 @@ Returns: ### Fs.**exists**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -397,7 +397,7 @@ Returns: ### Fs.**readLink**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -454,7 +454,7 @@ Returns: ### Fs.**rename**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -487,7 +487,7 @@ Returns: Functionality for reading and writing `Bytes` to files.
-Added in next +Added in 0.7.0 No other changes yet.
@@ -498,7 +498,7 @@ Functions and constants included in the Fs.Binary module. #### Fs.Binary.**readFile**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -527,7 +527,7 @@ Returns: #### Fs.Binary.**writeFile**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -560,7 +560,7 @@ Returns: Functionality for reading and writing `String`s to files.
-Added in next +Added in 0.7.0 No other changes yet.
@@ -571,7 +571,7 @@ Functions and constants included in the Fs.Utf8 module. #### Fs.Utf8.**readFile**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -600,7 +600,7 @@ Returns: #### Fs.Utf8.**writeFile**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/hash.md b/stdlib/hash.md index 6ecff661d6..6d8eecc843 100644 --- a/stdlib/hash.md +++ b/stdlib/hash.md @@ -30,7 +30,7 @@ Type declarations included in the Hash module. ### Hash.**HashInstance**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -47,7 +47,7 @@ Functions and constants included in the Hash module. ### Hash.**make**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -79,7 +79,7 @@ assert Hash.hash(hashInstance," Hello World") == Hash.hash(hashInstance, "Hello ### Hash.**makeSeeded**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -123,7 +123,7 @@ assert Hash.hash(hashInstance1," Hello World") != Hash.hash(hashInstance2, "Hell - +
versionchanges
versionchanges
nextAdded `hashInstance` parameter instead of using a global seed
0.7.0Added `hashInstance` parameter instead of using a global seed
diff --git a/stdlib/int32.md b/stdlib/int32.md index b3fe5b53a1..7d67093c74 100644 --- a/stdlib/int32.md +++ b/stdlib/int32.md @@ -109,7 +109,7 @@ Int32.fromUint32(1ul) == 1l ### Int32.**reinterpretFloat32**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/int64.md b/stdlib/int64.md index 9e1d09b4aa..b354896651 100644 --- a/stdlib/int64.md +++ b/stdlib/int64.md @@ -109,7 +109,7 @@ Int64.fromUint64(1uL) == 1L ### Int64.**reinterpretFloat64**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/json.md b/stdlib/json.md index 46573be9dc..b22dab7b33 100644 --- a/stdlib/json.md +++ b/stdlib/json.md @@ -649,7 +649,7 @@ assert parse("{\"currency\":\"$\",\"price\":119}") == Ok( Utilities for accessing and updating JSON data.
-Added in next +Added in 0.7.0 No other changes yet.
@@ -671,7 +671,7 @@ Type declarations included in the Json.Lenses module. #### Json.Lenses.**Lens**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -809,7 +809,7 @@ assert map(number, x => x * 2, JsonString("abc")) == None #### Json.Lenses.**json**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -828,7 +828,7 @@ assert get(json, JsonString("abc")) == Some(JsonString("abc")) #### Json.Lenses.**boolean**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -847,7 +847,7 @@ assert get(boolean, JsonBoolean(true)) == Some(true) #### Json.Lenses.**string**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -866,7 +866,7 @@ assert get(string, JsonString("abc")) == Some("abc") #### Json.Lenses.**number**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -885,7 +885,7 @@ assert get(number, JsonNumber(123)) == Some(123) #### Json.Lenses.**array**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -904,7 +904,7 @@ assert get(array, JsonArray([JsonNumber(123)])) == Some([JsonNumber(123)]) #### Json.Lenses.**objectProperties**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -923,7 +923,7 @@ assert get(objectProperties, JsonObject([("a", JsonNumber(123))])) == Some([("a" #### Json.Lenses.**property**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -959,7 +959,7 @@ assert set(property("x"), JsonString("new"), JsonObject([("x", JsonNumber(123))] #### Json.Lenses.**nullable**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -994,7 +994,7 @@ assert set(nullable(number), Some(123), JsonString("abc")) == Some(JsonNumber(12 #### Json.Lenses.**propertyPath**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1026,7 +1026,7 @@ assert get(propertyPath(["a", "b"]), nestedObj) == Some(JsonNumber(123)) #### Json.Lenses.**(||>)**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/list.md b/stdlib/list.md index 571700aab1..43afc05a3a 100644 --- a/stdlib/list.md +++ b/stdlib/list.md @@ -346,7 +346,7 @@ Returns: ### List.**filterMap**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -380,7 +380,7 @@ List.filterMap(x => if (x % 2 == 0) Some(toString(x)) else None, [1, 2, 3, 4]) = ### List.**filterMapi**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1248,7 +1248,7 @@ Returns: ### List.**findMap**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1435,7 +1435,7 @@ Returns: Utilities for working with lists of key-key value pairs.
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1454,7 +1454,7 @@ Functions and constants included in the List.Associative module. #### List.Associative.**has**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1494,7 +1494,7 @@ List.Associative.has("age", []) == false #### List.Associative.**get**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1535,7 +1535,7 @@ List.Associative.get("age", []) == None #### List.Associative.**getAll**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1579,7 +1579,7 @@ List.Associative.getAll("age", []) == [] #### List.Associative.**set**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1622,7 +1622,7 @@ List.Associative.set("age", "30", [("name", "Alice")]) == [("name", "Alice"), (" #### List.Associative.**setAll**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1665,7 +1665,7 @@ List.Associative.setAll("age", "30", [("name", "Alice")]) == [("name", "Alice"), #### List.Associative.**remove**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1707,7 +1707,7 @@ List.Associative.remove("age", [("name", "Alice")]) == [] #### List.Associative.**removeAll**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/number.md b/stdlib/number.md index aecfff3fd4..475eecc8ec 100644 --- a/stdlib/number.md +++ b/stdlib/number.md @@ -1569,7 +1569,7 @@ Throws: ### Number.**sin**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1600,7 +1600,7 @@ Number.sin(0) == 0 ### Number.**cos**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1631,7 +1631,7 @@ Number.cos(0) == 1 ### Number.**tan**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1662,7 +1662,7 @@ Number.tan(0) == 0 ### Number.**gamma**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1701,7 +1701,7 @@ Number.isClose(Number.gamma(0.5), Number.sqrt(Number.pi)) ### Number.**factorial**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/runtime/exception.md b/stdlib/runtime/exception.md index ed2f1784ac..8c78883b0d 100644 --- a/stdlib/runtime/exception.md +++ b/stdlib/runtime/exception.md @@ -9,7 +9,7 @@ Functions and constants included in the Exception module. ### Exception.**registerBasePrinter**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -29,7 +29,7 @@ Parameters: ### Exception.**registerPrinter**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -51,7 +51,7 @@ Parameters: ### Exception.**toString**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/stack.md b/stdlib/stack.md index 5438784d51..65ad662561 100644 --- a/stdlib/stack.md +++ b/stdlib/stack.md @@ -228,7 +228,7 @@ Returns: ### Stack.**toList**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -262,7 +262,7 @@ assert Stack.toList(stack) == [2, 1] ### Stack.**fromList**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -297,7 +297,7 @@ assert Stack.pop(stack) == None ### Stack.**toArray**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -331,7 +331,7 @@ assert Stack.toArray(stack) == [> 2, 1] ### Stack.**fromArray**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -568,7 +568,7 @@ Returns: #### Stack.Immutable.**toList**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -603,7 +603,7 @@ assert Stack.toList(stack) == [2, 1] #### Stack.Immutable.**fromList**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -640,7 +640,7 @@ assert Stack.isEmpty(stack) #### Stack.Immutable.**toArray**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -675,7 +675,7 @@ assert Stack.toArray(stack) == [> 2, 1] #### Stack.Immutable.**fromArray**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/string.md b/stdlib/string.md index 1c43ede211..6b3af7269a 100644 --- a/stdlib/string.md +++ b/stdlib/string.md @@ -1177,7 +1177,7 @@ assert String.toAsciiUppercase("aBc123") == "ABC123" ### String.**repeat**
-Added in next +Added in 0.6.7 No other changes yet.
diff --git a/stdlib/uint32.md b/stdlib/uint32.md index 87cd0eb3dd..286c86c16c 100644 --- a/stdlib/uint32.md +++ b/stdlib/uint32.md @@ -95,7 +95,7 @@ Returns: ### Uint32.**reinterpretFloat32**
-Added in next +Added in 0.7.0 No other changes yet.
diff --git a/stdlib/uint64.md b/stdlib/uint64.md index cd16a9b571..2624530dbc 100644 --- a/stdlib/uint64.md +++ b/stdlib/uint64.md @@ -95,7 +95,7 @@ Returns: ### Uint64.**reinterpretFloat64**
-Added in next +Added in 0.7.0 No other changes yet.