Skip to content

0.8

Compare
Choose a tag to compare
@dylemma dylemma released this 01 Feb 18:10

This release addresses concerns raised by #21

  • Make XMLResource and JsonResource contravariant
  • Ensure InputStreams and Readers 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.