Skip to content

v2.0.0-beta5

Compare
Choose a tag to compare
@kevin-lee kevin-lee released this 13 Jan 18:11
· 220 commits to main since this release
144978e

2.0.0-beta5 - 2023-01-14

New Features

  • Add ResourceMaker (#468)

    ResourceMaker[F].forAutoCloseable[A <: AutoCloseable](fa: F[A]): ReleasableResource[F, A]
    import effectie.resource.ResourceMaker
    
    ResourceMaker.usingResourceMaker // ResourceMaker[Try]
    ResourceMaker.futureResourceMaker(implicit ec: ExecutionContext) // ResourceMaker[Future]
    import effectie.resource.Ce2ResourceMaker
    
    Ce2ResourceMaker.forAutoCloseable // ResourceMaker[F] where F[*]: Sync: BracketThrow
    import effectie.resource.Ce3Resource
    
    Ce3Resource.forAutoCloseable // ResourceMaker[F] where F[*]: Sync: MonadCancelThrow

Internal Housekeeping

  • cats-effect 3.3.5 => 3.3.14