0.8
This release addresses concerns raised by #21
- Make
XMLResource
andJsonResource
contravariant - Ensure
InputStream
s andReader
s not created by*Resource
will not be closed by that resource. Responsibility for closing streams should lie with whoever constructed the stream. - Introduce
*Resource
for() => T
types to allow for easier support for specialized types. Due to the constructor style, Resources created in this way will close the constructed stream.