Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release beep boop
grain: 0.6.0
0.6.0 (2023-03-16)
⚠ BREAKING CHANGES
String.slice
function (feat(stdlib)!: Use String length as default end inString.slice
function grain-lang/grain#1748)uint
operator Names (chore(stdlib)!: Update Operatoruint
operator Names grain-lang/grain#1738)Number.pow(Rational, Int)
(feat(stdlib)!: Add optimization forNumber.pow(Rational, Int)
grain-lang/grain#1716)Number
type (feat(compiler)!: Remove 32-bit numbers fromNumber
type grain-lang/grain#1683)**
(pow) operator to Pervasives module (feat(stdlib)!: Add**
(pow) operator to Pervasives module grain-lang/grain#1690)provide
s of the same value (fix(compiler)!: Disallow multipleprovide
s of the same value grain-lang/grain#1689)cons
andempty
from Pervasives (chore(stdlib)!: Removecons
andempty
from Pervasives grain-lang/grain#1657)_grainEnv
to_genv
(chore(compiler)!: Rename_grainEnv
to_genv
grain-lang/grain#1607)yield
andmacro
reserved keywords (feat(compiler)!: Add additional reserved keywords grain-lang/grain#1471)Infinity
andNaN
syntax (feat(compiler)!: ImplementInfinity
andNaN
syntax grain-lang/grain#1472)List.rotate
wraparound for count > length (feat(stdlib)!:List.rotate
wraparound for count > length grain-lang/grain#1558)sum
function from the List module (chore(stdlib)!: Removesum
function from the List module grain-lang/grain#1300)--lsp
flag from grainc executable--in-place
flag with-o
flag=>
(chore(compiler)!: Disallow end-of-line before=>
grain-lang/grain#1178)addStringSlice
API with String'sslice
(fix(stdlib)!: Change Buffer#addStringSlice API grain-lang/grain#1136)--current-version
flag, required for since/history attributes (feat(graindoc)!: Add--current-version
flag, required for since/history attributes grain-lang/grain#1116)--memory-base
flag (feat(compiler)!: Add--memory-base
flag grain-lang/grain#1115)@disableGC
context (feat(compiler)!: Add typed well-formedness pass which forbids usage of WasmXX values outside of@disableGC
context grain-lang/grain#772)Features
--memory-base
flag (#1115) (0680826)[@unsafe](https://github.com/unsafe)
attribute for low-level code (#1074) (212faca)yield
andmacro
reserved keywords (#1471) (f0e29c5)[@disable](https://github.com/disable)GC
context (#772) (42fbad6)runtime/dataStructures.gr
to primitives (#1145) (2d43b28)Infinity
andNaN
syntax (#1472) (74a196d)(!)
operator (#937) (3f5e9a9)let
bindings (#1486) (3678eb5)$self
argument when possible (#1152) (ba6a84c)Number
type (#1683) (50bf8ee)--current-version
flag, required for since/history attributes (#1116) (0f681ea)--in-place
flag with-o
flag (d3e7a33)List.rotate
wraparound for count > length (#1558) (6dd9680)**
(pow) operator to Pervasives module (#1690) (b16b455)charCodeAt
function to String module (#1376) (c3abbc9)empty
constant to ImmutablePriorityQueue module (427335f)empty
constant to Queue module (427335f)empty
constant to Stack module (427335f)exp
function to Number module (5af9a99)factorial
function to Number module (5af9a99)gamma
function to Number module (5af9a99)ImmutableArray
module (#1477) (a34d8b9)infinity
constant to the Number module (c24f6c1)lastIndexOf
function to String module (#1372) (b73d9bf)nan
constant to the Number module (c24f6c1)parse
function to Number module (#1517) (59e89d1)parseFloat
function to Number module (#1288) (e21f2b1)pow
function to Number module (5af9a99)replaceAll
function to String module (5606cd2)replaceFirst
function to String module (5606cd2)replaceLast
function to String module (5606cd2)split
function to Regex module (#1469) (0c1eb73)splitAll
function to Regex module (0c1eb73)tan
function to Number module (5af9a99)toDegrees
function to Number module (5af9a99)toRadians
function to Number module (5af9a99)Number.pow(Rational, Int)
(#1716) (67bee5c)empty
constant to immutable data structures (#1466) (427335f)fromArray
in PriorityQueue & ImmutablePriorityQueue modules (#1451) (d321f84)isFloat
,isInteger
&isRational
in Number module (#1393) (0af0669)flatMap
,some
, andevery
functions in Array module (2168f6a)some
andevery
functions in List module (2168f6a)String.slice
function (#1748) (b7c41a6)Bug Fixes
provide
s of the same value (#1689) (7ab7ddc)>>
operator (#1515) (1565c16)--profile
argument (#1432) (57776f2)