Scaldi v0.3.1 Release Notes
Release Date: 2014-04-23 // about 10 years ago-
- ➕ Added support for scala 2.11 (cross-compiling with 2.10 and 2.11)
Small clean-up of
Injectable
- Dropped several
inject
method overloads in order to make it work with 2.11. In most cases you will not notice any difference. If you are using vararg version ofinject
that takes the seq of identifies as an argument, then you need to rewrite it with standardinject
DSL and useand
to provide several identifiers. Here is an example: ``` // don't work anymore inject [Database] ('local, 'db)
// use this syntax instead inject [Database] ('local and 'db)
// or this one inject [Database] (identified by 'local and 'db)
* Dropped `injectWithDefault` in favour of existing `inject` DSL. So if you want to provide a default for the binding, then please use this syntax instead:
inject [Database] (by default new Riak)
- Dropped several