Tiller 0.8 changes for custom plugins

Updated:

Note : This page may contain outdated information and/or broken links; some of the formatting may be mangled due to the many different code-bases this site has been through in over 20 years; my opinions may have changed etc. etc.

Posted this in the Gitter chat but just to spread it to a wider audience : Tiller 0.8.x will be coming in a little bit; the reason for the 0.8 version bump is that there are some internal changes which will break any custom plugins you may have written. The relevant commit is here: markround/tiller@c2f6a4f.

In short, I’m moving from per-instance @log and @config vars, and instead moving to a singleton pattern so there are now single Tiller::log and Tiller::config module variables. A simple search-and-replace (e.g. s/\@log/Tiller::log/g and s/\@config/Tiller::config/g) on your custom plugins should be all you need once 0.8.x is released.

Comments