Skip to content

Commit

Permalink
Prepare for v3.0.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
scullxbones committed Oct 18, 2021
1 parent b84f2e8 commit c603984
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

* Cross-compiled for 2.12 / 2.13 - Java 8 targeted
* Active development
* Latest release - `3.0.6` ~ compatible with Akka 2.6
* Latest release - `3.0.7` ~ compatible with Akka 2.6

### Using Akka 2.5? Use 2.x Series.
[![Build Status](https://travis-ci.com/scullxbones/akka-persistence-mongo.svg?branch=akka25)](https://travis-ci.org/scullxbones/akka-persistence-mongo)
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val releaseV = "3.0.6"
val releaseV = "3.0.7"

val scala212V = "2.12.15"
val scala213V = "2.13.6"
Expand Down
6 changes: 3 additions & 3 deletions docs/akka26.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@

(Official Scala)
```scala
libraryDependencies +="com.github.scullxbones" %% "akka-persistence-mongo-scala" % "3.0.6"
libraryDependencies +="com.github.scullxbones" %% "akka-persistence-mongo-scala" % "3.0.7"
```

(Reactive Mongo)
```scala
libraryDependencies +="com.github.scullxbones" %% "akka-persistence-mongo-rxmongo" % "3.0.6"
libraryDependencies +="com.github.scullxbones" %% "akka-persistence-mongo-rxmongo" % "3.0.7"
```
* Inside of your `application.conf` file, add the following line if you want to use the journal (snapshot is optional). The driver selection should be pulled in by a `reference.conf` in the driver jar you choose:
```
Expand Down Expand Up @@ -608,7 +608,7 @@ Of course, once this is done, you should **not** start your application, unless
###### Configuration
Add the following to your `build.sbt` file:
```scala
libraryDependencies += "com.github.scullxbones" %% "akka-persistence-mongo-tools" % "3.0.6"
libraryDependencies += "com.github.scullxbones" %% "akka-persistence-mongo-tools" % "3.0.7"
```
Notice that even if you currently don't use it, migration process is performed through Official Scala driver.

Expand Down
34 changes: 34 additions & 0 deletions docs/changelog26.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
## Changelog for 3.x major version

### 3.0.7
* Transition from TravisCI to Github Actions (#478)
* Update sbt-sonatype to 3.9.10 (#467)
* Update scalatest to 3.2.10 (#473)
* Update scala-compiler, scala-library to 2.12.15 (#472)
* Update mongodb-driver-core, ... to 4.3.2 (#470)
* Update mongo-scala-bson, ... to 4.3.2 (#469)
* Update reactivemongo, ... to 1.0.7 (#468)
* Update akka-actor, akka-cluster-sharding, ... to 2.6.16 (#466)
* Update sbt to 1.5.5
* Update junit to 4.13.2
* Update sbt to 1.4.9
* Update scala-library to 2.13.6 (#448)
* Update scalatest to 3.2.9 (#444)
* Update slf4j-api to 1.7.32 (#455)
* Update netty-buffer to 4.1.67.Final (#462)
* Update netty-handler, netty-transport to 4.1.67.Final
* Do not override driver with an older version
* Fix for changes to scala driver
* Update travis build status links
* Update sbt-pgp to 2.1.1
* Update scala-library to 2.12.14
* Update sbt-sonatype to 3.9.9
* Update akka-actor, akka-cluster-sharding, ... to 2.6.15
* Update reactivemongo, ... to 1.0.6
* Update mongo-scala-bson, ... to 4.3.1
* Update mongodb-driver-core, ... to 4.3.1
* Update netty-handler, netty-transport to 4.1.66.Final
* Update metrics4-akka_a25 to 4.1.19
* Update netty-handler, netty-transport to 4.1.61.Final
* Update log4j-api, log4j-core, ... to 2.14.1
* Update mongo-scala-bson, ... to 4.1.2
* Update mongodb-driver-legacy to 4.1.2

### 3.0.5
* Merge pull request #390 from scullxbones/wip-mongobson-upgade
* Upgrade mongo-bson to latest version
Expand Down
8 changes: 4 additions & 4 deletions release_process_pre.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ fi
echo $PREVIOUS | grep -E -q '^v[0-9]+\.[0-9]+\.[0-9]+$' || die "Previous version must follow pattern v#.#.#, was $PREVIOUS"
echo $NEXT | grep -E -q '^v[0-9]+\.[0-9]+\.[0-9]+$' || die "Next version must follow pattern v#.#.#, was $NEXT"

sed -i '' -e "s/$PREVIOUS_WO_V/$NEXT_WO_V/" README.md
sed -i '' -e "s/$PREVIOUS_WO_V/$NEXT_WO_V/" docs/akka26.md
sed -i '' -e "s/^val releaseV = \"$PREVIOUS_WO_V\"$/val releaseV = \"$NEXT_WO_V\"/" build.sbt
sed -i -e "s/$PREVIOUS_WO_V/$NEXT_WO_V/" README.md
sed -i -e "s/$PREVIOUS_WO_V/$NEXT_WO_V/" docs/akka26.md
sed -i -e "s/^val releaseV = \"$PREVIOUS_WO_V\"$/val releaseV = \"$NEXT_WO_V\"/" build.sbt

cat <<SECTION >target/release.md
Expand All @@ -28,7 +28,7 @@ cat <<SECTION >target/release.md
SECTION

cp docs/changelog26.md previous.md
awk '//; /^## Changelog/{while(getline<"target/release.md"){print}}' previous.md
awk '//; /^## Changelog/{while(getline<"target/release.md"){print}}' previous.md > updated.md && mv -f updated.md previous.md
mv previous.md docs/changelog26.md

git add .
Expand Down

0 comments on commit c603984

Please sign in to comment.