Commit Graph
11 Commits
Author SHA1 Message Date
Nick Cooke 85cfe574bb [Release] Update CHANGELOGs for 10.17.0 (#11963) 2023-10-18 14:26:29 -04:00
Nick Cooke 2ee43e0b75 [Database] Consolidate Database and DatabaseSwift (#11807) 2023-10-13 14:53:03 -04:00
Paul Beusterien a446367de9 Address Xcode 14.3 build warnings and a few typos (#11063) 2023-04-03 10:24:35 -07:00
Nick Cooke 9e475a5c58 [v9] End beta period and update release tooling for select products (#9603)
* Exit beta for several products

* Review

* Fix typo

* [skip ci] Update CHANGELOGs for breaking change
2022-04-08 11:59:58 -04:00
Paul Beusterien 5e8790d78a Update to SwiftFormat 0.49.2 (#9239) 2022-01-21 13:03:15 -08:00
Paul Beusterien 55717f4559 FirebaseSharedSwift CocoaPods (#9120) 2021-12-21 13:55:36 -08:00
Paul Beusterien ac4df1f15a Add CI for Functions Codable and address review feedback 2021-12-14 17:40:09 -08:00
Morten Bek Ditlevsen e9252d29dd Make Shared Firebase Codable from RTDB Codable 2021-12-14 17:40:09 -08:00
Morgan Chen c998f7cbfe update changelogs (#8163) 2021-05-27 18:23:38 -04:00
Ryan Wilson 44ab89ec8d Add CHANGELOG for RTDB Swift (#8064) 2021-05-12 10:10:28 -07:00
Morten Bek Ditlevsen 0175b86cb5 Swift extension for RTDB (#6568)
* Added pristine version of JSONEncoder.swift to the project

* Renamed JSONEncoder and JSONDecoder and namespaced them under Database. Skip JSONSerialization steps of encoding and decoding

* Added convenience decoding to DataSnapshot and encoding to DatabaseReference

* Convert to 2 space indentation

* Added ServerTimestamp - modelled on Firestore ditto

* Added a ServerIncrement enum/property wrapper. Not too happy about the property wrapper API though

* Fix ServerTimestamp Date decoding and encoding

* Fix ServerTimestamp Date decoding and encoding

* Added API for setting default decoder and encoder

* Fix typo and linter error

* Changed requirement for ServerIncrement generic parameter to be AdditiveArithmetic instead of Numeric. Added tests for server value coding.

* Add test for alternative ServerIncrement API and demonstrate that this version of the API also models actual optionality

* Test the default encoder and decoder

* Added more tests derived from corresponding Firestore coding tests

* Ran linter

* Delete EncoderTests.swift

Ooops, I added this file prematurely.

* Added modified version of tests from apple/swift

* Rename all but a few occurrences of 'json' and add a reference to the original file from apple/swift

* Made it possible to decode Optional types

* Updated copyright messages

* Removed CodableErrors and force cast ServerValue.timestamp() based on feedback on PR

* Changed completion handler to take a Result<Void, Error>

* Add escaping to closure parameter

* Fixed format

* Change completion handler type to accept and Optional Error rather than a Result<Void, Error>

* Remove ServerIncrement for now

* Fix function signature error

* Remove Swift 4 support. Remove default encoder/decoder configuration. Add FirebaseDatabaseSwift.podspec - I don't know if it's good though, as I don't use CocoaPods myself.

* Update podspec with fixes from review

* Run scripts/style.sh

* Add -Beta to FirebaseDatabaseSwift library
2021-03-13 10:42:14 -05:00