Skip to content

Commit 9bfc975

Browse files
committed
Release 2.5.5 (702)
1 parent 010f416 commit 9bfc975

2,420 files changed

Lines changed: 327281 additions & 113863 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.bazelrc‎

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
build --action_env=ZERO_AR_DATE=1
22

3-
build --apple_platform_type=ios
43
build --enable_platform_specific_config
5-
build --apple_crosstool_top=@local_config_apple_cc//:toolchain
6-
build --crosstool_top=@local_config_apple_cc//:toolchain
7-
build --host_crosstool_top=@local_config_apple_cc//:toolchain
84

9-
build --per_file_copt=".*\.m$","@-fno-objc-msgsend-selector-stubs"
10-
build --per_file_copt=".*\.mm$","@-fno-objc-msgsend-selector-stubs"
11-
12-
build --features=debug_prefix_map_pwd_is_dot
13-
build --features=swift.cacheable_swiftmodules
14-
build --features=swift.debug_prefix_map
15-
build --features=swift.enable_vfsoverlays
5+
# macOS-specific settings (auto-applied on macOS via --enable_platform_specific_config)
6+
build:macos --apple_platform_type=ios
7+
build:macos --apple_crosstool_top=@local_config_apple_cc//:toolchain
8+
build:macos --crosstool_top=@local_config_apple_cc//:toolchain
9+
build:macos --host_crosstool_top=@local_config_apple_cc//:toolchain
10+
build:macos --per_file_copt=".*\.m$","@-fno-objc-msgsend-selector-stubs"
11+
build:macos --per_file_copt=".*\.mm$","@-fno-objc-msgsend-selector-stubs"
12+
build:macos --features=debug_prefix_map_pwd_is_dot
13+
build:macos --features=swift.cacheable_swiftmodules
14+
build:macos --features=swift.debug_prefix_map
15+
build:macos --features=swift.enable_vfsoverlays
1616
build:dbg --features=swift.emit_swiftsourceinfo
1717

18+
# Linux-specific settings (auto-applied on Linux via --enable_platform_specific_config)
19+
build:linux --action_env=CC
20+
build:linux --action_env=CXX
21+
1822
build --strategy=Genrule=standalone
1923
build --spawn_strategy=standalone
2024

21-
build --strategy=SwiftCompile=worker
25+
build:macos --strategy=SwiftCompile=worker
2226

2327
# Nicegram fork policy: our min-iOS bump (13 -> 15) introduced many deprecation
2428
# warnings in upstream-owned files that we deliberately don't fix ourselves —
@@ -45,13 +49,11 @@ build --@build_bazel_rules_swift//swift:copt=DeprecatedDeclaration
4549
build --per_file_copt=".*\.m$","@-Wno-error=deprecated-declarations"
4650
build --per_file_copt=".*\.mm$","@-Wno-error=deprecated-declarations"
4751

48-
#common --registry=https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/main/
49-
50-
# SourceKit BSP: Swift indexing features
51-
common --features=swift.index_while_building
52-
common --features=swift.use_global_index_store
53-
common --features=swift.use_global_module_cache
54-
common --features=oso_prefix_is_pwd
52+
# SourceKit BSP: Swift indexing features (macOS only)
53+
common:macos --features=swift.index_while_building
54+
common:macos --features=swift.use_global_index_store
55+
common:macos --features=swift.use_global_module_cache
56+
common:macos --features=oso_prefix_is_pwd
5557

5658
# SourceKit BSP: Index build config (used for background indexing)
5759
common:index_build --experimental_convenience_symlinks=ignore

‎.github/workflows/beta.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
cp -R $GITHUB_WORKSPACE /Users/telegram/
4040
mv /Users/telegram/$(basename $GITHUB_WORKSPACE) /Users/telegram/telegram-ios
4141
42+
- name: Install sentry-cli
43+
run: curl -sL https://sentry.io/get-cli/ | bash
44+
4245
- name: New testflight build
4346
run: |
4447
set -x
@@ -58,6 +61,10 @@ jobs:
5861
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
5962
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
6063
MATCH_PASSWORD: ${{ secrets.SIGN_REPO_DECRYPT_PASSWORD }}
64+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
65+
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
66+
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
67+
SENTRY_URL: ${{ secrets.SENTRY_URL }}
6168
SIGN_URL: ${{ secrets.SIGN_REPO_URL }}
6269
SOURCE_PATH: /Users/telegram/telegram-ios
6370
TEAM_ID: ${{ secrets.TEAM_ID }}

‎.gitignore‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,6 @@ xcode-files
9393
**/.claude/settings.local.json
9494
**/.vscode/launch.json
9595
/buildbox/*
96-
MODULE.bazel.lock
96+
MODULE.bazel.lock
97+
**/node_modules/
98+
tools/sim-watcher/dist/

‎.gitlab-ci.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ internal:
2121
script:
2222
- export PATH=/opt/homebrew/opt/ruby/bin:$PATH
2323
- export PATH=`gem environment gemdir`/bin:$PATH
24-
- python3 -u build-system/Make/Make.py remote-build --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --cacheHost="$TELEGRAM_BAZEL_CACHE_HOST" --configurationPath="build-system/appcenter-configuration.json" --gitCodesigningRepository="$TELEGRAM_GIT_CODESIGNING_REPOSITORY" --gitCodesigningType=adhoc --configuration=release_arm64
24+
- python3 -u build-system/Make/Make.py remote-build --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --cacheHost="$TELEGRAM_BAZEL_CACHE_HOST" --configurationPath="build-system/appcenter-configuration.json" --gitCodesigningRepository="$TELEGRAM_GIT_CODESIGNING_REPOSITORY" --gitCodesigningType=adhoc --configuration=release_arm64 --embedWatchApp --watchApiId="$TELEGRAM_WATCHOS_APP_ID" --watchApiHash="$TELEGRAM_WATCHOS_APP_HASH"
2525
- python3 -u build-system/Make/DeployBuild.py --configuration="$TELEGRAM_PRIVATE_DATA_PATH/deploy-configurations/internal-configuration.json" --ipa="build/artifacts/Telegram.ipa" --dsyms="build/artifacts/Telegram.DSYMs.zip"
2626
- rm -rf build-input/configuration-repository-workdir
2727
- rm -rf build-input/configuration-repository
28-
- python3 -u build-system/Make/Make.py remote-build --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --cacheHost="$TELEGRAM_BAZEL_CACHE_HOST" --configurationPath="$TELEGRAM_PRIVATE_DATA_PATH/build-configurations/enterprise-configuration.json" --gitCodesigningRepository="$TELEGRAM_GIT_CODESIGNING_REPOSITORY" --gitCodesigningType=enterprise --configuration=release_arm64
28+
- python3 -u build-system/Make/Make.py remote-build --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --cacheHost="$TELEGRAM_BAZEL_CACHE_HOST" --configurationPath="$TELEGRAM_PRIVATE_DATA_PATH/build-configurations/enterprise-configuration.json" --gitCodesigningRepository="$TELEGRAM_GIT_CODESIGNING_REPOSITORY" --gitCodesigningType=enterprise --configuration=release_arm64 --embedWatchApp --watchApiId="$TELEGRAM_WATCHOS_APP_ID" --watchApiHash="$TELEGRAM_WATCHOS_APP_HASH"
2929
- python3 -u build-system/Make/DeployBuild.py --configuration="$TELEGRAM_PRIVATE_DATA_PATH/deploy-configurations/enterprise-configuration.json" --ipa="build/artifacts/Telegram.ipa" --dsyms="build/artifacts/Telegram.DSYMs.zip"
3030
environment:
3131
name: internal
@@ -39,7 +39,7 @@ internal_testflight:
3939
except:
4040
- tags
4141
script:
42-
- python3 -u build-system/Make/Make.py remote-build --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --cacheHost="$TELEGRAM_BAZEL_CACHE_HOST" --configurationPath="build-system/appstore-configuration.json" --gitCodesigningRepository="$TELEGRAM_GIT_CODESIGNING_REPOSITORY" --gitCodesigningType=appstore --configuration=release_arm64
42+
- python3 -u build-system/Make/Make.py remote-build --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --cacheHost="$TELEGRAM_BAZEL_CACHE_HOST" --configurationPath="build-system/appstore-configuration.json" --gitCodesigningRepository="$TELEGRAM_GIT_CODESIGNING_REPOSITORY" --gitCodesigningType=appstore --configuration=release_arm64 --embedWatchApp --watchApiId="$TELEGRAM_WATCHOS_APP_ID" --watchApiHash="$TELEGRAM_WATCHOS_APP_HASH"
4343
- python3 -u build-system/Make/Make.py remote-deploy-testflight --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --ipa="build/artifacts/Telegram.ipa" --dsyms="build/artifacts/Telegram.DSYMs.zip"
4444
environment:
4545
name: testflight_llc
@@ -115,7 +115,7 @@ beta_testflight:
115115
script:
116116
- export PATH=/opt/homebrew/opt/ruby/bin:$PATH
117117
- export PATH=`gem environment gemdir`/bin:$PATH
118-
- python3 -u build-system/Make/Make.py remote-build --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --cacheHost="$TELEGRAM_BAZEL_CACHE_HOST" --configurationPath="build-system/appstore-configuration.json" --gitCodesigningRepository="$TELEGRAM_GIT_CODESIGNING_REPOSITORY" --gitCodesigningType=appstore --configuration=release_arm64
118+
- python3 -u build-system/Make/Make.py remote-build --darwinContainers="$DARWIN_CONTAINERS" --darwinContainersHost="$DARWIN_CONTAINERS_HOST" --cacheHost="$TELEGRAM_BAZEL_CACHE_HOST" --configurationPath="build-system/appstore-configuration.json" --gitCodesigningRepository="$TELEGRAM_GIT_CODESIGNING_REPOSITORY" --gitCodesigningType=appstore --configuration=release_arm64 --embedWatchApp --watchApiId="$TELEGRAM_WATCHOS_APP_ID" --watchApiHash="$TELEGRAM_WATCHOS_APP_HASH"
119119
environment:
120120
name: testflight_llc
121121
artifacts:

‎.xcodebuildmcp/config.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
schemaVersion: 1
2+
enabledWorkflows: ["simulator", "debugging", "ui-automation"]

0 commit comments

Comments
 (0)