Skip to content

Releases: erg-lang/erg

v0.6.37

24 May 11:28
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.36...v0.6.37

v0.6.36

07 May 13:43
Compare
Choose a tag to compare

Full Changelog: v0.6.36...v0.6.36

v0.6.35

24 Apr 06:35
Compare
Choose a tag to compare

This release includes improvements such as:

  • exhancing the Python standard library's type definitions (os, sys, ...)
  • fixing bugs in type checking (default/variable parameters)
  • providing best-effort type checking for incorrect type specifications
x: (Int, Iny) = (1, 2) # ERR
print! x.0 + 1 # OK
print! x.0 + "a" # ERR

Full Changelog: v0.6.35...v0.6.35

v0.6.34

04 Apr 14:37
Compare
Choose a tag to compare

Breaking changes

  • Array has been renamed to List.

other changes

  • map, filter, ... are now Iterable methods.
assert [1, 2, 3].map(i -> i + 1).filter(i -> i >= 3).to_list() == [3, 4]
  • Now, hasattr can narrow types.
C = Class { .foo = Int; .bar = Str }
D = Class { .baz = Str }
bar x: C or D =
    if hasattr(x, "foo"):
        do: x.bar
        do: "?"
assert bar(C.new { .foo = 1; .bar = "bar" }) == "bar"

v0.6.33

21 Mar 09:46
Compare
Choose a tag to compare

v0.6.32

05 Mar 16:59
Compare
Choose a tag to compare

What's Changed

erg pack is now available!

Please see the doc for details.

Other changes

Full Changelog: v0.6.31...v0.6.32

v0.6.32-nightly.3

05 Mar 14:47
Compare
Choose a tag to compare
v0.6.32-nightly.3 Pre-release
Pre-release

v0.6.32-nightly.2

18 Feb 17:54
Compare
Choose a tag to compare
v0.6.32-nightly.2 Pre-release
Pre-release

v0.6.32-nightly.1

18 Feb 17:30
Compare
Choose a tag to compare
v0.6.32-nightly.1 Pre-release
Pre-release

v0.6.32-nightly.0

18 Feb 06:58
Compare
Choose a tag to compare
v0.6.32-nightly.0 Pre-release
Pre-release