Update Firebase version - #66
Merged
Merged
Conversation
in filter
in filter- Package.swiftの依存関係を11.0.0から12.0.0に変更 - Package.resolvedを更新して依存パッケージを最新バージョンに解決 - 主要な更新: - GoogleUtilities: 7.13.3 → 8.1.0 - gtm-session-fetcher: 3.4.1 → 5.0.0 - swift-protobuf: 1.26.0 → 1.33.3 - grpc-binary: 1.62.2 → 1.69.1 注: Swift 6.2.1カスタムツールチェインでは非互換性があるため、 xcrun swift buildでXcodeのデフォルトツールチェインを使用する必要があります。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
非推奨となったactions/cache@v2の警告を解決するため、 GitHub Actionsで使用しているアクションを最新バージョンに更新。 変更内容: - practical_examples.yml: - actions/checkout: v2 → v4 - actions/cache: v2 → v4 - sources.yml: - actions/checkout: v3 → v4 - actions/setup-java: v3 → v4 これにより、2024年12月5日に発表されたactions/cache v1/v2の 廃止に関する警告が解決されます。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
ローカル開発とCI環境の両方で使用できる統合スクリプトを作成し、 `firebase emulators:exec`を使用したシンプルで信頼性の高い実装に移行。 変更内容: - firebase/run_with_emulator.sh: 新しい統合スクリプトを追加 - Firebase CLIの自動インストール - エミュレータの自動セットアップと起動 - コマンド実行後の自動クリーンアップ - データの永続化機能(import/export) - .github/workflows/sources.yml: 新しいスクリプトを使用 - 手動のPID管理を廃止 - 待機スクリプトが不要に - killプロセスが不要に - firebase/README.md: 使い方のドキュメントを追加 - ローカル開発での使用方法 - スクリプトの機能説明 - メリットの解説 - Examples: Package.resolvedをFirebase 12.6.0に更新 メリット: - ローカル開発とCIで同じテスト環境を保証 - エミュレータのライフサイクル管理が完全自動化 - 異常終了時も確実にクリーンアップ - コードがシンプルで保守性が向上 - 開発者がすぐに使えるドキュメント完備 使い方: cd firebase ./run_with_emulator.sh "swift build && swift test" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
practical_examples.ymlをマトリックスビルドに変更し、 複数のiOSバージョンでの互換性を確保。 変更内容: - マトリックスビルド戦略を追加 - iPhone 15 (iOS 17.5) - iPhone 16 (iOS 18.2) - destination指定にOSバージョンを追加 - ビルドステップ名を動的に生成 メリット: - iOS 17とiOS 18の両方での動作確認 - より広範なデバイスサポートの保証 - 将来的な互換性問題の早期発見 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
firebase.jsonの場所を考慮してスクリプトを修正。 問題: - firebase emulators:execがfirebase.jsonを見つけられない - cd ..でプロジェクトルートに移動していたため 修正内容: - firebaseディレクトリから実行を維持 - コマンド内で"cd .. && command"を実行 - import/exportパスを相対パスに修正(./firebase/data → ./data) これにより、firebase.jsonを正しく読み込みつつ、 コマンドはプロジェクトルートで実行される。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Firebase CLI 15.0.0以降ではJava 21以上が必要となりました。 GitHub ActionsのJavaバージョンを17から21に更新しました。 Changes: - Java 17 → Java 21 in GitHub Actions - README.mdに要件セクションを追加 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
削除されたCombine関係のAPI(FirestoreModelTypeAction, SnapshotInputParameter, Message.multiple)を、 新しいSwift ConcurrencyベースのAPIに置き換えました。 Changes: - import Combineを削除 - cancellablesをlistenerTaskに置き換え - FirestoreClient.listen()を使用してAsyncThrowingStreamで監視 - deinitでタスクをキャンセル 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.