Skip to content

Commit 2f0a8f4

Browse files
committed
Extend changelog for SDK release
1 parent f95a729 commit 2f0a8f4

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

CHANGELOG.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ All notable changes to this project will be documented in this file.
44
## [0.64.0]
55

66
### Breaking Changes
7-
- Removed SetupCompletionListener in favor of getInitializationState()
8-
- SDK now automatically initialized itself using androidx.startup
7+
- Removed `SetupCompletionListener` in favor of `getInitializationState()`
8+
- SDK now automatically initialized itself using `androidx.startup`
99
- You can opt-out of this by specifying:
1010

1111
```xml
@@ -14,9 +14,9 @@ All notable changes to this project will be documented in this file.
1414
android:value="true" />
1515
```
1616

17-
in the application section of the AndroidManifest.xml.
17+
in the application section of the `AndroidManifest.xml`.
1818

19-
- Supported config parameters are identical with the Config class:
19+
- Supported config parameters are identical with the `Config` class:
2020
- Required
2121
- snabble_app_id
2222
- snabble_secret
@@ -36,12 +36,19 @@ All notable changes to this project will be documented in this file.
3636
- snabble_last_seen_threshold"
3737
- snabble_network_interceptor
3838
- snabble_manual_product_database_updates
39+
- The `View` extensions in `ViewExt.kt` are now exposed for Java-Code as `ViewUtils`
3940

4041
### Added
41-
- SDK initialization can now be done by specifying attributes in AndroidManifest.xml
42+
- SDK initialization can now be done by specifying attributes in `AndroidManifest.xml`
43+
- New extension methods to read project specific overwritten translations including plurals support
44+
- Added `Violation` support: It is currently only used for invalid/expired or used coupons. You will be notified via
45+
`ShoppingCartListener.onViolationDetected(...)`. A list of `ViolationNotification` which will be passed holding
46+
all data to show a dialog to inform the user why some coupons were removed. For simplicity there is a new extension
47+
function `ViolationNotificationUtils.showNotificationOnce(...)` which will build the localized error message and show
48+
a dialog with the error.
4249

4350
### Changes
44-
- Config is now persisted
51+
- The `Config` is now persisted
4552

4653
## [0.63.0]
4754

@@ -52,9 +59,9 @@ All notable changes to this project will be documented in this file.
5259
- Removed deprecated `setShop(...)`/`getShop()` functions in `Checkout`
5360
- Moved `setCheckedInShop(...)` from `Project` to `Snabble`
5461
- `SnabbleUI.project` is now read only, use instead `Snabble.checkedInProject`
55-
- Removed add/remove state listener for Checkout. Instead only the LiveData equivalents remain.
56-
- Moved Checkout to io.snabble.sdk.checkout.*
57-
- Removed getOrderId() from checkout
62+
- Removed add/remove state listener for Checkout. Instead only the `LiveData` equivalents remain
63+
- Moved Checkout to package `io.snabble.sdk.checkout`
64+
- Removed `getOrderId()` from `Checkout`
5865

5966
### Deprecation
6067
- `SnabbleUI.project` and `SnabbleUI.projectAsLiveData` are replaced by

0 commit comments

Comments
 (0)