-
Notifications
You must be signed in to change notification settings - Fork 1.5k
chore: Merge 4.69.0 into master #6965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
f7aef7f
feat: Avatar on push notifications (#6853)
diegolmello b990e60
feat: render timestamp markdown (#6266)
Rohit3523 1fe0bf7
fix(Android): Push notification on killed apps and deep link (#6888)
diegolmello c21d91e
fix: push notification titles and avatars for discussions and threads…
diegolmello ede2569
fix(iOS): official target missing build phases (#6905)
diegolmello 41823b8
fix: pass tmid to show typing status in threads (#6894)
Rohit3523 ad951f9
fix: timestamp bug fixes (#6910)
Rohit3523 508b720
fix: chat fails to load older messages when scrolling to the top (#6861)
Rohit3523 c52af04
fix: Keep connecting label on header while logging in (#6920)
Rohit3523 7b483e6
chore: changelog in beta release (#6899)
Rohit3523 ad2f552
chore: added concurrency on develop action (#6921)
Rohit3523 c079de0
chore(Android): fix CI generated changelog (#6922)
Rohit3523 12fb458
fix (android): unable to send files in E2EE channel using action menu…
Rohit3523 2afa9ee
fix(iOS): app crashing on render image (#6908)
OtavioStasiak 88eb8b3
fix: review button visibility issue on voice recording screen (#6941)
Rohit3523 ef13690
fix: Click on Show more on ModalActions breaks the app (#6942)
OtavioStasiak e1af190
fix: default browser setting (#6929)
Rohit3523 fa43d2a
Merge branch 'master' into 4.69.0-master
diegolmello File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| const fs = require("fs"); | ||
|
|
||
| const buildVersion = process.env.BUILD_VERSION; | ||
| const input = fs.readFileSync("changelog.txt", "utf8"); | ||
|
|
||
| const segmenter = new Intl.Segmenter("en", { granularity: "grapheme" }); | ||
| const chars = Array.from(segmenter.segment(input), s => s.segment); | ||
|
|
||
| let output; | ||
| if (chars.length > 500) { | ||
| output = chars.slice(0, 497).join("") + "..."; | ||
| } else { | ||
| output = input; | ||
| } | ||
|
|
||
| fs.writeFileSync( | ||
| `android/fastlane/metadata/android/en-US/changelogs/${buildVersion}.txt`, | ||
| output, | ||
| "utf8" | ||
| ); | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: Generate Release Changelog | ||
|
|
||
| on: | ||
| workflow_call: | ||
|
|
||
| jobs: | ||
| generate-changelog: | ||
| name: Generate changelog | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Generate changelog | ||
| shell: bash | ||
| run: | | ||
| LATEST_RELEASE_TAG=$(git tag --sort=-creatordate | head -n 1) | ||
|
|
||
| if [ -z "$LATEST_RELEASE_TAG" ]; then | ||
| echo "- Improvements and bug fixes" > changelog.txt | ||
| exit 0 | ||
| fi | ||
|
|
||
| git log "$LATEST_RELEASE_TAG"..HEAD --pretty=format:"- %s" --no-merges > changelog.txt | ||
|
|
||
| if [ ! -s changelog.txt ]; then | ||
| echo "- Improvements and bug fixes" > changelog.txt | ||
| fi | ||
|
|
||
| - name: Upload changelog artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: release-changelog | ||
| path: changelog.txt | ||
| retention-days: 15 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add validation for required inputs.
If
BUILD_VERSIONis not set, the script will write toandroid/fastlane/metadata/android/en-US/changelogs/undefined.txt. Similarly, ifchangelog.txtdoesn't exist, the script crashes with an unhelpfulENOENTerror.🛡️ Proposed fix to add input validation
const fs = require("fs"); const buildVersion = process.env.BUILD_VERSION; +if (!buildVersion) { + console.error("BUILD_VERSION environment variable is required"); + process.exit(1); +} + +if (!fs.existsSync("changelog.txt")) { + console.error("changelog.txt not found"); + process.exit(1); +} + const input = fs.readFileSync("changelog.txt", "utf8");📝 Committable suggestion
🤖 Prompt for AI Agents