Skip to content

Commit

Permalink
Merge pull request #471 from Kevin-Lee/prepare-to-release
Browse files Browse the repository at this point in the history
effectie v2.0.0-beta5
  • Loading branch information
kevin-lee committed Jan 13, 2023
2 parents d454368 + 6facdda commit 144978e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions changelogs/2.0.0-beta5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## [2.0.0-beta5](https://github.com/Kevin-Lee/effectie/issues?q=is%3Aissue+is%3Aclosed+milestone%3Av2-m1+closed%3A2022-12-26..2023-01-14) - 2023-01-14

### New Features
* Add `ResourceMaker` (#468)
```scala
ResourceMaker[F].forAutoCloseable[A <: AutoCloseable](fa: F[A]): ReleasableResource[F, A]
```
```scala
import effectie.resource.ResourceMaker

ResourceMaker.usingResourceMaker // ResourceMaker[Try]
ResourceMaker.futureResourceMaker(implicit ec: ExecutionContext) // ResourceMaker[Future]
```

```scala
import effectie.resource.Ce2ResourceMaker

Ce2ResourceMaker.forAutoCloseable // ResourceMaker[F] where F[*]: Sync: BracketThrow
```

```scala
import effectie.resource.Ce3Resource

Ce3Resource.forAutoCloseable // ResourceMaker[F] where F[*]: Sync: MonadCancelThrow
```

### Internal Housekeeping
* `cats-effect` `3.3.5` => `3.3.14`
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ThisBuild / version := "2.0.0-SNAPSHOT"
ThisBuild / version := "2.0.0-beta5"

0 comments on commit 144978e

Please sign in to comment.