Skip to content

Commit 9f6f0d2

Browse files
committed
Release v1.0.0-beta10
1 parent 635f79e commit 9f6f0d2

File tree

3 files changed

+26
-6
lines changed

3 files changed

+26
-6
lines changed

CHANGELOG.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,35 @@
11
# Android-Room-Database-Backup Changelog
22

3+
## [v1.0.0-beta10] - 2022-01-06
4+
5+
### Breaking Changes
6+
7+
- onCompleteListener provides now
8+
an [exitCode](https://github.com/rafi0101/Android-Room-Database-Backup#exit-codes)
9+
10+
### Fixes
11+
12+
- Crash when database restoring with wrong
13+
password: ([#13](https://github.com/rafi0101/Android-Room-Database-Backup/issues/13))
14+
15+
### Upgrading Notes
16+
17+
- Add the exitCode property to your
18+
onCompleteListeners. [Example](https://github.com/rafi0101/Android-Room-Database-Backup/commit/635f79ec9a14da0fc791c532cbb451450d9157fa#diff-b4c3c770527e11f87f1102175de53b984e0070e801070f5025875fe0c02b89b6L192-R198)
19+
320
## [v1.0.0-beta09] - 2021-12-06
421

522
### Breaking Changes
6-
- Package name changes from `com.ebner.roomdatabasebackup.core.RoomBackup` to `de.raphaelebner.roomdatabasebackup.core.RoomBackup`
23+
24+
- Package name changes from `com.ebner.roomdatabasebackup.core.RoomBackup`
25+
to `de.raphaelebner.roomdatabasebackup.core.RoomBackup`
726

827
--> Next step is to change from Jitpack to MavenCentral
928

1029
### Upgrading Notes
11-
- You need to import the library by the new package name and delete the old import. Your IDE may helps you with these steps.
30+
31+
- You need to import the library by the new package name and delete the old import. Your IDE may
32+
helps you with these steps.
1233

1334
## [v1.0.0-beta08] - 2021-11-14
1435

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ to [Maven Central](https://search.maven.org/artifact/de.raphaelebner/roomdatabas
6868
Add the dependency for `Android-Room-Database-Backup ` to your app-level `build.gradle` file.
6969

7070
```groovy
71-
implementation 'de.raphaelebner:roomdatabasebackup:1.0.0-beta09'
71+
implementation 'de.raphaelebner:roomdatabasebackup:1.0.0-beta10'
7272
```
7373

7474
Usage
@@ -208,9 +208,8 @@ The following options are optional and the default options
208208
* success: Boolean (If backup / restore was successful = true)
209209
* message: String (message with simple hints, if backup / restore failed)
210210

211-
212211
```kotlin
213-
.onCompleteListener { success, message ->
212+
.onCompleteListener { success, message, exitCode ->
214213
}
215214
```
216215

core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ android {
1919
minSdkVersion 21
2020
targetSdkVersion 31
2121
versionCode 1
22-
versionName '1.0.0-beta09'
22+
versionName '1.0.0-beta10'
2323

2424
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2525
consumerProguardFiles "consumer-rules.pro"

0 commit comments

Comments
 (0)