Commit Graph
31 Commits
Author SHA1 Message Date
Nick Cooke 8d1305dcc9 [Functions] Address more Swift 6 warnings (#14772) 2025-04-25 20:19:31 -04:00
Nick Cooke d9fd34b697 [Infra] Remove Swift compiler(>=6) checks (#14771) 2025-04-24 13:59:27 -04:00
Nick Cooke f646b3e0a1 [Infra] Move 'functions' workflow to Xcode 16 (#14689) 2025-04-09 13:53:48 -07:00
Nick Cooke f49b37ff30 [Swift 6] Address low-hanging Swift concurrency errors in Functions (#14597) 2025-03-19 10:26:53 -04:00
baf60edf13 [Functions] Add support for streamable cloud functions (#14395)
Co-authored-by: Eblen Macari <eblenmacari@gmail.com>
Co-authored-by: Eblen M <joseeblen@xwf.google.com>
Co-authored-by: Rodrigo Lazo <rlazo@users.noreply.github.com>
2025-03-10 14:37:52 -04:00
Nikita Vasilev 8710c7adb0 [Functions] Include endpoint and region details in error messages (#14487) 2025-03-03 11:53:39 -05:00
Yakov Manshin 0ea9a19ca3 Refactored FunctionsSerializer.decode(_:) (#14514) 2025-02-28 17:53:36 -05:00
Yakov Manshin 56d4c18387 Refactored Functions’s Result Handling (#14086) 2024-11-18 10:20:38 -05:00
Yakov Manshin 0ac8bbbe2b Async Function Calling (#13901) 2024-10-29 18:44:26 -04:00
Yakov Manshin 995c9339f9 Refactored Duplicate Methods in Functions (#13771) 2024-10-03 16:07:46 -04:00
Yakov Manshin 9384b9fb8a FunctionsError (#13601) 2024-09-10 14:27:09 -04:00
Yakov Manshin 7700b58836 Updated Functions Errors (#13535) 2024-09-03 09:46:00 -04:00
Yakov Manshin e76d7460aa Refactored Function Calling (#13476) 2024-08-09 08:18:28 -07:00
Yakov Manshin f0fdd5b22d Functions Cleanup (#13449) 2024-08-02 17:13:09 -04:00
Yakov Manshin 26dab2702e Renamed FUNSerializer to FunctionsSerializer (#13410) 2024-07-27 11:40:16 -07:00
Paul Beusterien 8719e5a9bc [v11] Simplify Component System Usage (#13047) 2024-06-03 15:45:09 -07:00
Sheikh Bayazid e8a12e04c2 Improve/use shorthand syntax for unwrapping optionals and fix typos (#12369) 2024-05-03 08:50:20 -07:00
Paul Beusterien 6b0cc0276c Several minor doc fixes for Functions (#12323) 2024-01-29 09:43:20 -08:00
Paul Beusterien 4d2b60dc75 Updated to SwiftFormat 0.52.10 (#12125) 2023-11-21 12:12:05 -08:00
ae871b9dc1 Update to swiftformat 0.51.12 (#11531)
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
2023-07-11 15:54:51 -07:00
0cbe4f2920 Firebase App Check One-time Use Tokens for Callable Functions SDK (#11270)
* draft pr for callable functions

* Adjust Functions podspec dependency on AppCheckInterop

* Add 'HTTPSCallableOptions' class

* Re-implement with new HTTPSCallableOptions type

* Revert and update Objective-C API tests

* Mark new AppCheckInterop API optional for backwards compatibility

* Preserve existing codable Functions API

* Revert integration tests

* Style

* Fix some test build breakages

* Add changelog entry

* Style

* Fix AppCheck tests

* Cleanup current approach

* Re-organize tests

* Add 'options' param to 'getContext' call

* Add success case unit test

* Shorten expectation waiting timeout

* Add remaining unit tests

* Amend current test

* Rename 'limitedUseTokens' to 'requireLimitedUseTokens'

* Fix build and tests

* Fix some renaming misses

* Fix some renaming misses (1)

* Update FirebaseFunctions/CHANGELOG.md

Co-authored-by: Andrew Heard <andrewheard@google.com>

* Update FirebaseFunctions/Sources/Functions.swift

Co-authored-by: Andrew Heard <andrewheard@google.com>

* Update FirebaseFunctions/Sources/Functions.swift

Co-authored-by: Andrew Heard <andrewheard@google.com>

* Update FirebaseFunctions/Sources/Functions.swift

Co-authored-by: Andrew Heard <andrewheard@google.com>

* Update FirebaseFunctions/Sources/Functions.swift

Co-authored-by: Andrew Heard <andrewheard@google.com>

* Update FirebaseFunctions/Sources/HTTPSCallableOptions.swift

Co-authored-by: Andrew Heard <andrewheard@google.com>

* [App Check] Always return fresh limitedUseToken (#11298)

Updated `limitedUseTokenWithCompletion:` to always return a fresh limited-used token in every invocation (removed the `ongoingLimitedUseTokenPromise` property).

---------

Co-authored-by: Nick Cooke <nickcooke@google.com>
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
Co-authored-by: Andrew Heard <andrewheard@google.com>
2023-05-16 18:33:15 -04:00
Ryan Wilson 878f885828 Use @_implementationOnly import for FirebaseCoreExtension (#9887)
Using a regular import caused internal Core APIs to be surfaced to end
users.
2022-06-08 10:09:55 -04:00
Morgan ChenandNick Cooke 96984a0554 Update Storage and Functions header comments to Swift markdown (#9706)
* Update Storage header comments to Swift markdown

* Update functions headers to use swift markdown

* Update FirebaseStorage/Sources/AsyncAwait.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/AsyncAwait.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/AsyncAwait.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/Storage.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/Storage.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/StorageObservableTask.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* Update FirebaseStorage/Sources/StorageObservableTask.swift

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>

* run style

Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2022-04-26 11:04:38 -07:00
Ryan Wilson 408e0564c0 Refactor to remove __ APIs in Swift (#9678) 2022-04-20 16:30:06 -04:00
Thomas BouldinandRyan Wilson 694059f5fe Remove url label. add Codable test (#9667)
* Remove url label. ad Codable test

* Fix compilation failures

Co-authored-by: Ryan Wilson <wilsonryan@google.com>
2022-04-19 20:57:38 -04:00
Thomas Bouldin a2b3758d4d Add callableWithURL (#9664)
* Add support for htpsCallableWithURL

* Add missing API

* Run formatter

* PR feedback; tests

* Formatter

* Fix URL constructor

* Fix compiler error

* Run formatter

* More PR feedback

* Use enums to encode invariant that endpoints are name or url

* Add codable API test

* Fix codable samples

* One more try... I don't know how to run these tests locally

* Whoops. Got that one wrong

* Am I doing it right now?
2022-04-19 14:19:55 -07:00
Nick Cooke a09083f9d0 [v9] Reorganize FirebaseCore* modules (#9482)
* [skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`

* Reorganize FirebaseCore libraries for SPM and CP

* [skip ci] Revert "[skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`"

This reverts commit 2a837e39708c21b0a324743ab226bd6c01047de7.

* Review and fix CI

* Remove `heartbeat_logging.yml` and add `core_internal.yml`

* Remove trailing whitespace

* Fix more whitespace 😞

* Fix `core_internal.yml` scheme name

* Update `check_imports.swift` and TODO

* Review

* Add FirebaseCoreInternal pod to Firestore example's Podfile

* [skip ci] Review - remove TODOs

* [skip ci] Remove duplicate `XCTest` import
2022-03-23 06:08:14 -07:00
Paul Beusterien 223afa5aec Better Swift file structure (#9449) 2022-03-23 06:08:13 -07:00
Paul Beusterien 2b6abb690a Put all public APIs in a Public folder (#9410) 2022-03-23 06:08:13 -07:00
Paul Beusterien fb5ecd4ea3 ObjC API coverage for Functions (#9347) 2022-03-23 06:08:13 -07:00
Paul Beusterien 74fa16f236 Remove Functions ObjC (#9333) 2022-03-23 06:08:13 -07:00