Skip to content

Releases: grain-lang/grain

Grain v0.4.7

17 Jan 23:46
af86344
Compare
Choose a tag to compare

Bug Fixes

  • compiler: Account for config that is not digestable (#1098) (b58323f)
  • compiler: Apply optimization flag at link stage (#1099) (49dac79)
  • compiler: Inform the compiler that lsp mode is running on a root file (b58323f)
  • compiler: Move lsp flag into grainc to remove it as a recompilation flag (b58323f)
  • graindoc: Remove special idents from receiving parens (#1104) (5cb0fda)
  • grainfmt: Indent function application args when adding parens (#1095) (64af7d3)
  • grainfmt: Inform the formatter that it is running against root files (b58323f)
  • grainfmt: Scope the comments in callback lambda closure (#1090) (0975580)

@grain/cli cli-v0.4.7

17 Jan 23:46
af86344
Compare
Choose a tag to compare

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @grain/stdlib bumped from ^0.4.5 to ^0.4.6

@grain/compiler @grain/compiler-v0.4.6

17 Jan 23:46
af86344
Compare
Choose a tag to compare

Bug Fixes

  • compiler: Account for config that is not digestable (#1098) (b58323f)
  • compiler: Apply optimization flag at link stage (#1099) (49dac79)
  • compiler: Inform the compiler that lsp mode is running on a root file (b58323f)
  • compiler: Move lsp flag into grainc to remove it as a recompilation flag (b58323f)
  • graindoc: Remove special idents from receiving parens (#1104) (5cb0fda)
  • grainfmt: Indent function application args when adding parens (#1095) (64af7d3)
  • grainfmt: Inform the formatter that it is running against root files (b58323f)
  • grainfmt: Scope the comments in callback lambda closure (#1090) (0975580)

@grain/stdlib stdlib-v0.4.5

31 Dec 20:24
c47b596
Compare
Choose a tag to compare

Features

  • stdlib: Add sign function to Number module (#1079) (b6483d5)

Grain v0.4.6

31 Dec 20:24
c47b596
Compare
Choose a tag to compare

Features

Bug Fixes

  • compiler: Correctly supply locations for types & variants (9bc7a55)
  • grainfmt: Improve correctness of formatting (9bc7a55)

@grain/cli cli-v0.4.6

31 Dec 20:24
c47b596
Compare
Choose a tag to compare

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @grain/stdlib bumped from ^0.4.4 to ^0.4.5

@grain/compiler @grain/compiler-v0.4.5

31 Dec 20:24
c47b596
Compare
Choose a tag to compare

Features

Bug Fixes

  • compiler: Correctly supply locations for types & variants (9bc7a55)
  • grainfmt: Improve correctness of formatting (9bc7a55)

@grain/stdlib stdlib-v0.4.4

11 Dec 02:39
ad60052
Compare
Choose a tag to compare

Features

Bug Fixes

  • graindoc: Ensure value_description is resolved to outcome before printing (#1070) (5eb05cc)
  • stdlib: Add bounds checking to Buffer addStringSlice & addBytesSlice (#1065) (06fe512)
  • stdlib: Fix String.encode GC (#1067) (0ab38c9)
  • stdlib: Removed memory leak in Hash module (#1045) (01a81c6)
  • stdlib: Removed memory leaks in Buffer module (#1047) (d33017b)
  • stdlib: Support arrays of any type in Array rotate (#1048) (3ceb1cf)
  • stdlib: Support empty arrays in Array rotate (3ceb1cf)

Grain v0.4.5

11 Dec 02:39
ad60052
Compare
Choose a tag to compare

Features

  • compiler: Allow @externalName attribute for foreign names (#1060) (f4c1311)
  • compiler: Allow a newline character before a match guard (#1063) (bf41a9c)
  • stdlib: Add reverse function to String module (#1027) (df761db)
  • stdlib: Add rotate function in Array module (#838) (98fc577)
  • stdlib: Add sort function to Array module (#1012) (9091930)
  • stdlib: Implement List.sort via mergesort (#1014) (a076e20)
  • stdlib: Number.parseInt (#1051) (abafb58)

Bug Fixes

  • compiler: Allow modules to re-export imported types containing generics (#1019) (003cb1e)
  • compiler: Consider invalid CMIs as out of date and recompile (#1061) (80da3a9)
  • compiler: Fix binop operator reported location (#1018) (422dbcb)
  • compiler: Fix counting of stack size (#1066) (f1b3e51)
  • compiler: Fix error message when trying to export a constructor (#1055) (54ddb67)
  • compiler: Fix memory leaks when loading from heap values (#1038) (7d3402d)
  • compiler: Properly apply bindings when executing match guard (#1039) (121644b)
  • compiler: Remove from default ident printer (#1056) (49cd5a0)
  • graindoc: Ensure value_description is resolved to outcome before printing (#1070) (5eb05cc)
  • grainfmt: Handle recursive enums (7dc77cd)
  • grainfmt: Resugar match lists properly (7dc77cd)
  • stdlib: Add bounds checking to Buffer addStringSlice & addBytesSlice (#1065) (06fe512)
  • stdlib: Fix String.encode GC (#1067) (0ab38c9)
  • stdlib: Removed memory leak in Hash module (#1045) (01a81c6)
  • stdlib: Removed memory leaks in Buffer module (#1047) (d33017b)
  • stdlib: Support arrays of any type in Array rotate (#1048) (3ceb1cf)
  • stdlib: Support empty arrays in Array rotate (3ceb1cf)

@grain/cli cli-v0.4.5

11 Dec 02:39
ad60052
Compare
Choose a tag to compare

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @grain/stdlib bumped from ^0.4.3 to ^0.4.4