What changed, and why it matters
This commit only bumps the app's version numbers and build numbers, plus makes two minor formatting-only changes to a Dart money-handling class. There is no security-relevant change.
No security action needed; treat as routine version-bump commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates version strings and build counters in scripts/android/app_env.sh and scripts/macos/app_env.sh from 6.5.0 to 6.5.2 and increments build numbers. In cw_core/lib/amount/money.dart, it reformats a single if-condition across multiple lines and adds currency names to an ArgumentError message. None of these changes alter security logic, input validation, cryptography, or access control.
Changed components
scripts/android/app_env.shscripts/macos/app_env.shcw_core/lib/amount/money.dartInspect captured patch +13 / −10
### cw_core/lib/amount/money.dart
@@ -214,7 +214,9 @@ class Money implements Comparable<Money> {
/// If just [currency] is provided and the decimals missmatch
/// the amount will be transformed to keep its canonical representation
Money copyWith({BigInt? amount, Currency? currency, int? decimals}) {
- if (currency != null && amount == null && decimals == null &&
+ if (currency != null &&
+ amount == null &&
+ decimals == null &&
currency.decimals != this.decimals) {
return Money(
_transformAmount(this.amount, this.decimals, currency.decimals),
@@ -228,7 +230,8 @@ class Money implements Comparable<Money> {
void _assertSameCurrency(Money other, [String? message]) {
if (currency != other.currency) {
- throw ArgumentError(message ?? "Cannot operate with money values in different currencies.");
+ throw ArgumentError(message ??
+ "Cannot operate with money values in different currencies. $currency - ${other.currency}");
}
}
### scripts/android/app_env.sh
@@ -14,15 +14,15 @@ TYPES=($MONERO_COM $CAKEWALLET)
APP_ANDROID_TYPE=$1
MONERO_COM_NAME="Monero.com"
-MONERO_COM_VERSION="6.5.0"
-MONERO_COM_BUILD_NUMBER=4171
+MONERO_COM_VERSION="6.5.2"
+MONERO_COM_BUILD_NUMBER=4172
MONERO_COM_BUNDLE_ID="com.monero.app"
MONERO_COM_PACKAGE="com.monero.app"
MONERO_COM_SCHEME="monero.com"
CAKEWALLET_NAME="Cake Wallet"
-CAKEWALLET_VERSION="6.5.0"
-CAKEWALLET_BUILD_NUMBER=4428
+CAKEWALLET_VERSION="6.5.2"
+CAKEWALLET_BUILD_NUMBER=4429
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
CAKEWALLET_SCHEME="cakewallet"
### scripts/macos/app_env.sh
@@ -16,13 +16,13 @@ if [ -n "$1" ]; then
fi
MONERO_COM_NAME="Monero.com"
-MONERO_COM_VERSION="6.5.0"
-MONERO_COM_BUILD_NUMBER=87
+MONERO_COM_VERSION="6.5.2"
+MONERO_COM_BUILD_NUMBER=88
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
CAKEWALLET_NAME="Cake Wallet"
-CAKEWALLET_VERSION="6.5.0"
-CAKEWALLET_BUILD_NUMBER=155
+CAKEWALLET_VERSION="6.5.2"
+CAKEWALLET_BUILD_NUMBER=156
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; thenWhy this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.