From 30d781d3ec6fa5aaee1351031d73995c4e6963e7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 2 Mar 2025 20:45:55 +0000 Subject: [PATCH 1/2] chore: release main --- .release-please-manifest.json | 2 +- CHANGELOG.md | 66 +++++++++++++++++++++++++++++++++++ cli/CHANGELOG.md | 13 +++++++ cli/package.json | 4 +-- compiler/CHANGELOG.md | 64 +++++++++++++++++++++++++++++++++ compiler/dune-project | 2 +- compiler/esy.json | 2 +- compiler/package.json | 2 +- package-lock.json | 2 +- package.json | 2 +- stdlib/CHANGELOG.md | 48 +++++++++++++++++++++++++ stdlib/package.json | 2 +- 12 files changed, 200 insertions(+), 9 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 970b8b0d7..a0a5fabbf 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 a258c9535..628457099 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,71 @@ # Changelog +## [0.7.0](https://github.com/grain-lang/grain/compare/grain-v0.6.6...grain-v0.7.0) (2025-03-02) + + +### ⚠ BREAKING CHANGES + +* **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)) +* **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 `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:** 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 type approximation on recursive functions ([#2154](https://github.com/grain-lang/grain/issues/2154)) ([b0fb040](https://github.com/grain-lang/grain/commit/b0fb0405cb7e295abd544792a613f127ff96dd75)) +* **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)) +* **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:** 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)) + ## [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 916828376..1d29a0a7f 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [0.7.0](https://github.com/grain-lang/grain/compare/cli-v0.6.6...cli-v0.7.0) (2025-03-02) + + +### ⚠ BREAKING CHANGES + +* **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)) + ## [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 17262f6b3..96204ef56 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 d4dcbfee9..75344e7ec 100644 --- a/compiler/CHANGELOG.md +++ b/compiler/CHANGELOG.md @@ -1,5 +1,69 @@ # Changelog +## [0.7.0](https://github.com/grain-lang/grain/compare/compiler-v0.6.6...compiler-v0.7.0) (2025-03-02) + + +### ⚠ BREAKING CHANGES + +* **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)) +* **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 `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:** 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 type approximation on recursive functions ([#2154](https://github.com/grain-lang/grain/issues/2154)) ([b0fb040](https://github.com/grain-lang/grain/commit/b0fb0405cb7e295abd544792a613f127ff96dd75)) +* **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)) +* **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:** 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)) + ## [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 76398f697..66e65d349 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 335d94e46..f75db244e 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 88250a4fa..fb3a931b0 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 3e4325f0a..1ef975da3 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 ed3f6c5b7..ece8c90b1 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 cde04e5a8..37f6eb7ea 100644 --- a/stdlib/CHANGELOG.md +++ b/stdlib/CHANGELOG.md @@ -1,5 +1,53 @@ # Changelog +## [0.7.0](https://github.com/grain-lang/grain/compare/stdlib-v0.6.6...stdlib-v0.7.0) (2025-03-02) + + +### ⚠ BREAKING CHANGES + +* **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 `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:** 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 + +* **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)) + ## [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 1670623b9..623358381 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 03638aba3f03fa495b04c1b4b896122e30cb2592 Mon Sep 17 00:00:00 2001 From: Grain Bot Date: Sun, 2 Mar 2025 21:02:13 +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 | 28 ++++++++++++++-------------- stdlib/float64.md | 28 ++++++++++++++-------------- stdlib/fs.md | 30 +++++++++++++++--------------- stdlib/hash.md | 8 ++++---- 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 +- 14 files changed, 105 insertions(+), 105 deletions(-) diff --git a/stdlib/array.md b/stdlib/array.md index 8c62745b2..5e8be0731 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 9f619cd5f..ba760a16c 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 f0dd17111..ac82a6c17 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 5cefb3162..bafa4d361 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 f68d1cbd5..7e4cd9467 100644 --- a/stdlib/float32.md +++ b/stdlib/float32.md @@ -313,7 +313,7 @@ assert 10.0f / 4.0f == 2.5f ### Float32.**(\*\*)**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -516,7 +516,7 @@ assert 3.0f >= 3.0f ### Float32.**isFinite**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -658,7 +658,7 @@ Float32.isInfinite(1.0f) == false ### Float32.**min**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -690,7 +690,7 @@ Float32.min(5.0f, 2.0f) == 2.0f ### Float32.**max**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -792,7 +792,7 @@ Float32.neg(1.0f) == -1.0f ### Float32.**ceil**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -827,7 +827,7 @@ Float32.ceil(-5.5f) == -5.0f ### Float32.**floor**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -862,7 +862,7 @@ Float32.floor(-5.5f) == -6.0f ### Float32.**trunc**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -893,7 +893,7 @@ Float32.trunc(5.5f) == 5.0f ### Float32.**round**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -936,7 +936,7 @@ Float32.round(-5.4f) == -5.0f ### Float32.**sqrt**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -967,7 +967,7 @@ Float32.sqrt(25.0f) == 5.0f ### Float32.**copySign**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1007,7 +1007,7 @@ Float32.copySign(-5.0f, 1.0f) == 5.0f ### Float32.**isClose**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1071,7 +1071,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.
@@ -1102,7 +1102,7 @@ Float32.sin(0.0f) == 0.0f ### Float32.**cos**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1133,7 +1133,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 3274d524b..7add80b7b 100644 --- a/stdlib/float64.md +++ b/stdlib/float64.md @@ -313,7 +313,7 @@ assert 25.0d / 4.0d == 6.25d ### Float64.**(\*\*)**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -516,7 +516,7 @@ assert -1.0d >= -1.0d ### Float64.**isFinite**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -658,7 +658,7 @@ Float64.isInfinite(1.0d) == false ### Float64.**min**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -690,7 +690,7 @@ Float64.min(5.0d, 2.0d) == 2.0d ### Float64.**max**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -792,7 +792,7 @@ Float64.neg(1.0d) == -1.0d ### Float64.**ceil**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -827,7 +827,7 @@ Float64.ceil(-5.5d) == -5.0d ### Float64.**floor**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -862,7 +862,7 @@ Float64.floor(-5.5d) == -6.0d ### Float64.**trunc**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -893,7 +893,7 @@ Float64.trunc(5.5d) == 5.0d ### Float64.**round**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -936,7 +936,7 @@ Float64.round(-5.4d) == -5.0d ### Float64.**sqrt**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -967,7 +967,7 @@ Float64.sqrt(25.0d) == 5.0d ### Float64.**copySign**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1007,7 +1007,7 @@ Float64.copySign(-5.0d, 1.0d) == 5.0d ### Float64.**isClose**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1071,7 +1071,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.
@@ -1102,7 +1102,7 @@ Float64.sin(0.0d) == 0.0d ### Float64.**cos**
-Added in next +Added in 0.7.0 No other changes yet.
@@ -1133,7 +1133,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 1037737ec..ceb9400f9 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 fb41b0a82..b4c308a56 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/json.md b/stdlib/json.md index 11968878c..3321d4b61 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 add092220..5688eff65 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 bc04da564..4d504b1f4 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 6214bd283..1bf932d15 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 946e833dd..33139cf49 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 3f7e79ebb..0632c7214 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.