Skip to content

Commit e5e69bd

Browse files
authored
Merge pull request #200 from geirolz/Update_flyway_9_14
Update flyway core to 9.14.1
2 parents c7f08b2 + c11f36d commit e5e69bd

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

README.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,17 @@
88
[![GitHub license](https://img.shields.io/github/license/geirolz/fly4s)](https://github.com/geirolz/fly4s/blob/main/LICENSE)
99

1010

11+
https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/<owner>/fly4s&style=flat
12+
1113
A lightweight, simple and functional wrapper for Flyway using cats-effect.
1214

15+
### Compatibility matrix
16+
17+
| **Fly4s** | **Flyway** |
18+
|----------------------------------------------------------------------|------------|
19+
| [0.x](https://github.com/geirolz/fly4s/releases?q=0.&expanded=false) | 9.x |
20+
21+
1322
The most famous library to handle database migrations in Java is for sure Flyway.
1423
It works very well and the community edition has a lot of features as well.
1524
But Flyway APIs are written in the standard OOP paradigm, so throwing exceptions, manually managing resources, etc...
@@ -35,7 +44,7 @@ So, add the dependency in your `build.sbt` file.
3544
Fly4s depends on Flyway, so we'll have access to Flyway as well
3645

3746
```sbt
38-
libraryDependencies += "com.github.geirolz" %% "fly4s-core" % "0.0.15"
47+
libraryDependencies += "com.github.geirolz" %% "fly4s-core" % "0.0.16"
3948
```
4049

4150
### Migrations files
@@ -126,7 +135,7 @@ val fly4sRes: Resource[IO, Fly4s[IO]] = Fly4s.make[IO](
126135
)
127136
)
128137
// fly4sRes: Resource[IO, Fly4s[IO]] = Allocate(
129-
// resource = cats.effect.kernel.Resource$$$Lambda$10816/0x0000000802a2f720@134f3c7
138+
// resource = cats.effect.kernel.Resource$$$Lambda$14724/0x0000000802e11ae0@68452df0
130139
// )
131140
```
132141

docs/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/<owner
1212

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

15+
### Compatibility matrix
16+
17+
| **Fly4s** | **Flyway** |
18+
|----------------------------------------------------------------------|------------|
19+
| [0.x](https://github.com/geirolz/fly4s/releases?q=0.&expanded=false) | 9.x |
20+
21+
1522
The most famous library to handle database migrations in Java is for sure Flyway.
1623
It works very well and the community edition has a lot of features as well.
1724
But Flyway APIs are written in the standard OOP paradigm, so throwing exceptions, manually managing resources, etc...

project/ProjectDependencies.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ object ProjectDependencies {
55
lazy val common: Seq[ModuleID] = Seq(
66
"org.typelevel" %% "cats-core" % "2.9.0",
77
"org.typelevel" %% "cats-effect" % "3.4.7",
8-
"org.flywaydb" % "flyway-core" % "9.1.6",
8+
"org.flywaydb" % "flyway-core" % "9.14.1",
99
// test
1010
"org.scalameta" %% "munit" % "0.7.29" % Test,
1111
"org.typelevel" %% "munit-cats-effect-3" % "1.0.7" % Test

0 commit comments

Comments
 (0)