github abs-lang/abs 1.9.0
v1.9.0

latest releases: 2.6.0, 2.5.2, 2.5.1...
4 years ago

A new minor release of ABS: always be shipping! 🚢

Optional chaining

You can now access objects' properties that don't exist safely (#297):

a?.b?.c?.d?.e()

Earlier, you needed to make sure all the properties in the chain existed, and simply using a.b.c.d.e() could lead to an error.

env() improvements

We've added an optional argument to env() that allows setting an environment variable (#305):

$ TEST=1 abs
Hello user, welcome to the ABS (1.9.0) programming language!
Type 'quit' when you're done, 'help' if you get lost!
⧐  env("TEST")
1
⧐  env("TEST", "123")
123
⧐  env("TEST")
123

Thanks @sysread!

Installed modules don't have the -master suffix anymore

Earlier, modules were saved under /vendor/github.com/$REPO-master directory.
Now they are saved under /vendor/github.com/$REPO directory.

Thanks @mingwho!

Don't miss a new abs release

NewReleases is sending notifications on new releases.