-
Notifications
You must be signed in to change notification settings - Fork 25
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
Release/1.2.34 #1996
Release/1.2.34 #1996
Conversation
WalkthroughThe pull request introduces several updates across multiple files, primarily focusing on version increments from Changes
Possibly related PRs
Suggested reviewers
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 SwiftLintTest/Tests/RealtimeClientConnectionTests.swiftTest/Tests/RestClientTests.swiftThank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (2)
CHANGELOG.md (1)
7-11
: Consider adding more details about the changesWhile the changes are clearly listed, it would be helpful to add more context about:
- The impact of Swift 6 concurrency preparation
- What the new
attachOnSubscribe
option does and when to use it- The specific Xcode 16 compatibility improvements
🧰 Tools
🪛 Markdownlint
9-9: null
Bare URL used(MD034, no-bare-urls)
9-9: null
Bare URL used(MD034, no-bare-urls)
10-10: null
Bare URL used(MD034, no-bare-urls)
11-11: null
Bare URL used(MD034, no-bare-urls)
Test/Tests/RealtimeClientConnectionTests.swift (1)
387-387
: Consider using a constant for the agent version to avoid hardcodingCurrently, the agent version
"ably-cocoa/1.2.34"
is hardcoded in the test. To improve maintainability and reduce the risk of errors when updating the version in the future, consider defining a constant for the agent version.Apply this diff to replace the hardcoded string:
- expect(query).to(haveParam("agent", hasPrefix: "ably-cocoa/1.2.34")) + expect(query).to(haveParam("agent", hasPrefix: agentVersion))Outside the selected line range, define the constant
agentVersion
at an appropriate location, such as at the top of the test file:let agentVersion = "ably-cocoa/1.2.34"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (9)
CHANGELOG.md
(1 hunks)README.md
(2 hunks)Scripts/jazzy.sh
(1 hunks)Source/ARTClientInformation.m
(1 hunks)Test/Tests/ARTDefaultTests.swift
(1 hunks)Test/Tests/ClientInformationTests.swift
(3 hunks)Test/Tests/RealtimeClientConnectionTests.swift
(1 hunks)Test/Tests/RestClientTests.swift
(1 hunks)Version.xcconfig
(1 hunks)
✅ Files skipped from review due to trivial changes (4)
- README.md
- Scripts/jazzy.sh
- Source/ARTClientInformation.m
- Version.xcconfig
🧰 Additional context used
🪛 Markdownlint
CHANGELOG.md
5-5: null
Bare URL used
(MD034, no-bare-urls)
9-9: null
Bare URL used
(MD034, no-bare-urls)
9-9: null
Bare URL used
(MD034, no-bare-urls)
10-10: null
Bare URL used
(MD034, no-bare-urls)
11-11: null
Bare URL used
(MD034, no-bare-urls)
🔇 Additional comments (7)
Test/Tests/ARTDefaultTests.swift (1)
9-9
: LGTM! Version update looks correct.
The test has been properly updated to expect the new version "1.2.34", which aligns with the release version.
Let's verify version consistency across all relevant files:
✅ Verification successful
Version consistency verified across key files
The version "1.2.34" is consistently set across all critical locations:
- Source/ARTClientInformation.m: Library version constant
- Test/Tests/ARTDefaultTests.swift: Test assertion
- CHANGELOG.md: Release entry
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify version consistency across the codebase
# Expected version: 1.2.34
echo "Checking version numbers across key files..."
# Check Version.xcconfig
rg -l "MARKETING_VERSION = 1\.2\.34" --type-add 'xcconfig:*.xcconfig' --type xcconfig
# Check Source files
rg "libraryVersion.*1\.2\.34" --type swift --type objc
# Check Documentation
rg "version.*1\.2\.34" README.md
rg "## \[1\.2\.34\]" CHANGELOG.md
echo "Any mismatches in the above files would indicate inconsistent versioning"
Length of output: 719
Test/Tests/ClientInformationTests.swift (4)
12-12
: LGTM: Version update is consistent with release.
The version string update in the test assertion correctly reflects the new version 1.2.34.
30-30
: LGTM: Version update is consistent with release.
The version string update in the agent identifier test correctly reflects the new version 1.2.34.
45-45
: LGTM: Version update is consistent with release.
The version string update in the complex agent identifier test correctly reflects the new version 1.2.34.
12-12
: Verify version consistency across the codebase.
Let's ensure the version number is consistently updated across all relevant files.
Also applies to: 30-30, 45-45
✅ Verification successful
Let me run one more verification to check for version strings in test files and any potential configuration files:
Version 1.2.34 is consistently used across the codebase
The version has been properly updated in all relevant locations:
- Source code:
ARTClientInformation.m
- Documentation:
README.md
- Changelog:
CHANGELOG.md
- Test files: All test assertions use the new version 1.2.34
- No occurrences of old version 1.2.33 found except in changelog history
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check for any remaining occurrences of the old version and verify new version is consistently used
echo "Checking for old version 1.2.33..."
rg "1\.2\.33" --type-not git
echo -e "\nVerifying new version 1.2.34 in key files..."
rg "1\.2\.34" CHANGELOG.md Source/ARTClientInformation.m README.md
Length of output: 895
Script:
#!/bin/bash
# Check test files and configuration files for version strings
echo "Checking test files for version strings..."
rg "1\.2\.3[0-9]" "Test/" -l
echo -e "\nChecking any potential configuration or build files..."
fd "\.podspec|\.plist|\.xcconfig|\.swift|\.m|\.h" --type f --exec rg "1\.2\.3[0-9]" {} \;
Length of output: 1936
CHANGELOG.md (1)
3-5
: LGTM: Version header follows standard format
The version header follows the standard format with:
- Version number as a link to the tag
- Full changelog comparison link
🧰 Tools
🪛 Markdownlint
5-5: null
Bare URL used
(MD034, no-bare-urls)
Test/Tests/RestClientTests.swift (1)
1739-1739
: LGTM!
The test assertion correctly verifies the updated version number in the Ably-Agent
header.
Summary by CodeRabbit
Release Notes for Version 1.2.34
New Features
attachOnSubscribe
option for enhanced control over channel attachment behavior.Improvements
Documentation
Tests