Pony Stable 0.2.0 Released

Friday, February 08, 2019 | Posted in Release

Pony-stable 0.2.0 is a recommended release. It fixes a couple bugs that could result in end user issues.

Local dependencies are relative to invocation directory, not bundle.json

Prior to this change, given:

/> tree
├── pony-bar
│   ├── bar
│   │   └── bar.pony
│   └── bundle.json
└── pony-foo
    └── foo
        └── foo.pony
/> cd pony-bar
/pony-bar> stable add local ../pony-foo
/pony-bar> cd bar
/pony-bar/bar> stable env ponyc -d
Building builtin -> /usr/local/Cellar/ponyc/0.15.0/packages/builtin
Building . -> /pony-bar/bar
foo: couldn't locate this path
/pony-bar/bar/bar.pony:1:1: can't load package 'foo'
use "foo"

because stable is invoked from the /pony-bar/bar folder, the ../pony-foo path refers to /pony-bar/pony-foo, which doesn’t exist. As of 0.2.0, will refer to /pony-foo. This is a breaking change where someone might have been relying on the previous behavior. However, the previous behavior was unintentional and was considered to be a bug.

Don’t process already-seen paths

Fix a bug where running stable env ponyc in a project that contains cyclic dependencies creates a process that never finishes, consuming more and more memory until it’s killed.


  • Don’t process already-seen paths (PR #97)


  • Resolve Local Dependencies From Bundle Path (PR #78)


Sean T. Allen

Sean is a member of the Pony core team. His turn-ons include programming languages, distributed computing, Hiwatt amplifiers, and Fender Telecasters. His turn-offs include mayonnaise, stirring yogurt, and sloppy code. He is one of the authors of Storm Applied, and VP of Engineering at Wallaroo Labs.