Skip to content

Commit

Permalink
release v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustNagro committed Jun 7, 2024
1 parent 11e7604 commit b889099
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Yet another database client for Scala. No dependencies, high productivity.
## Installing

```
"com.augustnagro" %% "magnum" % "1.1.1"
"com.augustnagro" %% "magnum" % "1.2.0"
```

Magnum requires Scala >= 3.3.0
Expand Down Expand Up @@ -465,7 +465,7 @@ This feature should be used sparingly and never with untrusted input.
The Postgres Module adds support for [Geometric Types](https://www.postgresql.org/docs/current/datatype-geometric.html) and [Arrays](https://www.postgresql.org/docs/current/arrays.html). Postgres Arrays can be decoded into Scala List/Vector/IArray, etc; multi-dimensionality is also supported.

```
"com.augustnagro" %% "magnumpg" % "<version>"
"com.augustnagro" %% "magnumpg" % "1.2.0"
```

Example: Insert into a table with a `point[]` type column.
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ThisBuild / organization := "com.augustnagro"
ThisBuild / version := "1.1.2-SNAPSHOT"
ThisBuild / version := "1.2.0"
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / scalaVersion := "3.3.0"
ThisBuild / scalacOptions ++= Seq("-deprecation")
Expand Down
3 changes: 1 addition & 2 deletions magnum/src/test/scala/OracleTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,7 @@ class OracleTests extends FunSuite, TestContainersFixtures:
val rowsInserted = update.run()
assertEquals(rowsInserted, 1)
assertEquals(personRepo.count, 9L)
val fetched = personRepo.findAll.last
assertEquals(fetched.firstName, p.firstName)
val fetched = personRepo.findAll.find(_.firstName == p.firstName).get
assertEquals(fetched.lastName, p.lastName)
assertEquals(fetched.isAdmin, p.isAdmin)

Expand Down

0 comments on commit b889099

Please sign in to comment.