Skip to content

Commit

Permalink
Merge pull request #200 from geirolz/Update_flyway_9_14
Browse files Browse the repository at this point in the history
Update flyway core to 9.14.1
  • Loading branch information
geirolz authored Feb 15, 2023
2 parents c7f08b2 + c11f36d commit e5e69bd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,17 @@
[![GitHub license](https://img.shields.io/github/license/geirolz/fly4s)](https://github.com/geirolz/fly4s/blob/main/LICENSE)


https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/<owner>/fly4s&style=flat

A lightweight, simple and functional wrapper for Flyway using cats-effect.

### Compatibility matrix

| **Fly4s** | **Flyway** |
|----------------------------------------------------------------------|------------|
| [0.x](https://github.com/geirolz/fly4s/releases?q=0.&expanded=false) | 9.x |


The most famous library to handle database migrations in Java is for sure Flyway.
It works very well and the community edition has a lot of features as well.
But Flyway APIs are written in the standard OOP paradigm, so throwing exceptions, manually managing resources, etc...
Expand All @@ -35,7 +44,7 @@ So, add the dependency in your `build.sbt` file.
Fly4s depends on Flyway, so we'll have access to Flyway as well

```sbt
libraryDependencies += "com.github.geirolz" %% "fly4s-core" % "0.0.15"
libraryDependencies += "com.github.geirolz" %% "fly4s-core" % "0.0.16"
```

### Migrations files
Expand Down Expand Up @@ -126,7 +135,7 @@ val fly4sRes: Resource[IO, Fly4s[IO]] = Fly4s.make[IO](
)
)
// fly4sRes: Resource[IO, Fly4s[IO]] = Allocate(
// resource = cats.effect.kernel.Resource$$$Lambda$10816/0x0000000802a2f720@134f3c7
// resource = cats.effect.kernel.Resource$$$Lambda$14724/0x0000000802e11ae0@68452df0
// )
```

Expand Down
7 changes: 7 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/<owner

A lightweight, simple and functional wrapper for Flyway using cats-effect.

### Compatibility matrix

| **Fly4s** | **Flyway** |
|----------------------------------------------------------------------|------------|
| [0.x](https://github.com/geirolz/fly4s/releases?q=0.&expanded=false) | 9.x |


The most famous library to handle database migrations in Java is for sure Flyway.
It works very well and the community edition has a lot of features as well.
But Flyway APIs are written in the standard OOP paradigm, so throwing exceptions, manually managing resources, etc...
Expand Down
2 changes: 1 addition & 1 deletion project/ProjectDependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ object ProjectDependencies {
lazy val common: Seq[ModuleID] = Seq(
"org.typelevel" %% "cats-core" % "2.9.0",
"org.typelevel" %% "cats-effect" % "3.4.7",
"org.flywaydb" % "flyway-core" % "9.1.6",
"org.flywaydb" % "flyway-core" % "9.14.1",
// test
"org.scalameta" %% "munit" % "0.7.29" % Test,
"org.typelevel" %% "munit-cats-effect-3" % "1.0.7" % Test
Expand Down

0 comments on commit e5e69bd

Please sign in to comment.