Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3362073
D11099.id39346.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Referenced Files
None
Subscribers
None
D11099.id39346.diff
View Options
diff --git a/native/android/app/build.gradle b/native/android/app/build.gradle
--- a/native/android/app/build.gradle
+++ b/native/android/app/build.gradle
@@ -490,8 +490,8 @@
applicationId 'app.comm.android'
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 334
- versionName '1.0.334'
+ versionCode 336
+ versionName '1.0.336'
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) {
// We configure the CMake build only if you decide to opt-in for the New Architecture.
diff --git a/native/cpp/CommonCpp/NativeModules/CommCoreModule.h b/native/cpp/CommonCpp/NativeModules/CommCoreModule.h
--- a/native/cpp/CommonCpp/NativeModules/CommCoreModule.h
+++ b/native/cpp/CommonCpp/NativeModules/CommCoreModule.h
@@ -26,7 +26,7 @@
namespace jsi = facebook::jsi;
class CommCoreModule : public facebook::react::CommCoreModuleSchemaCxxSpecJSI {
- const int codeVersion{334};
+ const int codeVersion{336};
std::unique_ptr<WorkerThread> cryptoThread;
const std::string secureStoreAccountDataKey = "cryptoAccountDataKey";
diff --git a/native/ios/Comm.xcodeproj/project.pbxproj b/native/ios/Comm.xcodeproj/project.pbxproj
--- a/native/ios/Comm.xcodeproj/project.pbxproj
+++ b/native/ios/Comm.xcodeproj/project.pbxproj
@@ -1666,7 +1666,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 334;
+ CURRENT_PROJECT_VERSION = 336;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = H98Y8MH53M;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1685,7 +1685,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 1.0.334;
+ MARKETING_VERSION = 1.0.336;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_CFLAGS = (
@@ -1725,7 +1725,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 334;
+ CURRENT_PROJECT_VERSION = 336;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = H98Y8MH53M;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
@@ -1740,7 +1740,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- MARKETING_VERSION = 1.0.334;
+ MARKETING_VERSION = 1.0.336;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = (
diff --git a/native/ios/Comm/Info.debug.plist b/native/ios/Comm/Info.debug.plist
--- a/native/ios/Comm/Info.debug.plist
+++ b/native/ios/Comm/Info.debug.plist
@@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0.334</string>
+ <string>1.0.336</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>334</string>
+ <string>336</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
diff --git a/native/ios/Comm/Info.release.plist b/native/ios/Comm/Info.release.plist
--- a/native/ios/Comm/Info.release.plist
+++ b/native/ios/Comm/Info.release.plist
@@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0.334</string>
+ <string>1.0.336</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>334</string>
+ <string>336</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
diff --git a/native/redux/persist.js b/native/redux/persist.js
--- a/native/redux/persist.js
+++ b/native/redux/persist.js
@@ -49,6 +49,7 @@
convertUserInfosToReplaceUserOps,
userStoreOpsHandlers,
} from 'lib/ops/user-store-ops.js';
+import { patchRawThreadInfosWithSpecialRole } from 'lib/permissions/special-roles.js';
import { filterThreadIDsInFilterList } from 'lib/reducers/calendar-filters-reducer.js';
import { highestLocalIDSelector } from 'lib/selectors/local-id-selectors.js';
import { createAsyncMigrate } from 'lib/shared/create-async-migrate.js';
@@ -111,6 +112,7 @@
import {
createUpdateDBOpsForMessageStoreMessages,
createUpdateDBOpsForMessageStoreThreads,
+ updateClientDBThreadStoreThreadInfos,
} from './client-db-utils.js';
import { defaultState } from './default-state.js';
import {
@@ -1279,6 +1281,12 @@
}
return state;
},
+ [72]: (state: AppState) =>
+ updateClientDBThreadStoreThreadInfos(
+ state,
+ patchRawThreadInfosWithSpecialRole,
+ handleReduxMigrationFailure,
+ ),
};
type PersistedReportStore = $Diff<
@@ -1300,7 +1308,7 @@
storage: AsyncStorage,
blacklist: persistBlacklist,
debug: __DEV__,
- version: 71,
+ version: 72,
transforms: [
messageStoreMessagesBlocklistTransform,
reportStoreTransform,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 9:17 PM (21 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580565
Default Alt Text
D11099.id39346.diff (4 KB)
Attached To
Mode
D11099: [native] Redux migration to patch in `specialRole` field
Attached
Detach File
Event Timeline
Log In to Comment