Update .NET SDK to 0.21.2 and improve release detection#10641
Conversation
- Update .NET SDK version to 0.21.2 with Object[] deserialization fix - Update sdk-generator dependency from 1.4.3 to 1.4.4 - Improve SDK release detection to check actual commit SHA of latest release tag instead of just checking releases targeting the branch
📝 WalkthroughWalkthroughUpdates the .NET SDK version in app/config/platforms.php from 0.21.1 to 0.21.2. Modifies src/Appwrite/Platform/Tasks/SDKs.php to change the release gating logic: instead of searching releases for a matching target commit, it now fetches the latest release tag, retrieves that tag's commit SHA, and compares it to the latest commit SHA; if they match, it skips creating a release. Other release flow, logging, and dry-run behavior remain unchanged. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Security Scan Results for PRDocker Image Scan Results
Source Code Scan Results🎉 No vulnerabilities found! |
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (2)
composer.lockis excluded by!**/*.lockdocs/sdks/dotnet/CHANGELOG.mdis excluded by!docs/sdks/**
📒 Files selected for processing (2)
app/config/platforms.php(1 hunks)src/Appwrite/Platform/Tasks/SDKs.php(1 hunks)
🧰 Additional context used
🪛 GitHub Actions: Linter
src/Appwrite/Platform/Tasks/SDKs.php
[error] 1-1: PSR-12: no_whitespace_in_blank_line. no whitespace is allowed on a blank line. Command: vendor/bin/pint --test --config pint.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: Benchmark
- GitHub Check: scan
🔇 Additional comments (1)
app/config/platforms.php (1)
358-361: .NET SDK version bump looks good.The version aligns with the stated upgrade to 0.21.2 and matches the release objective.
✨ Benchmark results
⚡ Benchmark Comparison
|
Summary
Changes
SDK Version Update
app/config/platforms.phpSDK Generator Update
composer.lockRelease Detection Improvement
src/Appwrite/Platform/Tasks/SDKs.phpto check the actual commit SHA of the latest release tagTest plan