Skip to content

Commit

Permalink
Release 10.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Oct 2, 2020
1 parent 9a9178c commit 73a32da
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 22 deletions.
29 changes: 10 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,35 @@
x.y.z Release notes (yyyy-MM-dd)
10.0.0-rc.1 Release notes (2020-10-01)
=============================================================
### Enhancements
* None.

### Breaking Changes

* Change the following methods on RLMUser to properties:
- `[RLMUser emailPasswordAuth]` => `RLMUser.emailPasswordAuth`
- `[RLMUser identities]` => `RLMUser.identities`
- `[RLMUser allSessions]` => `RLMUser.allSessions`
- `[RLMUser apiKeysAuth]` => `RLMUser.apiKeysAuth`

* Other changes to RLMUser:
- `nullable` has been removed from `RLMUser.identifier`
- `nullable` has been removed from `RLMUser.customData`

* Change the following methods on RLMApp to properties:
- `[RLMApp allUsers]` => `RLMApp.allUsers`
- `[RLMApp currentUser]` => `RLMApp.currentUser`
- `[RLMApp emailPasswordAuth]` => `RLMApp.emailPasswordAuth`

### Fixed
* <How to hit and notice issue? what was the impact?> ([#????](https://github.com/realm/realm-cocoa/issues/????), since v?.?.?)
* None.

### Breaking Changes
* Define `RealmSwift.Credentials` as an enum instead of a `typealias`. Example usage has changed from `Credentials(googleAuthCode: "token")` to `Credentials.google(serverAuthCode: "serverAuthCode")`, and `Credentials(facebookToken: "token")` to `Credentials.facebook(accessToken: "accessToken")`, etc.
* Remove error parameter and redefine payload in `+ (instancetype)credentialsWithFunctionPayload:(NSDictionary *)payload
error:(NSError **)error;`. It is now defined as `+ (instancetype)credentialsWithFunctionPayload:(NSDictionary<NSString *, id<RLMBSON>> *)payload;`

* Define `RealmSwift.Credentials` as an enum instead of a `typealias`. Example
usage has changed from `Credentials(googleAuthCode: "token")` to
`Credentials.google(serverAuthCode: "serverAuthCode")`, and
`Credentials(facebookToken: "token")` to `Credentials.facebook(accessToken: "accessToken")`, etc.
* Remove error parameter and redefine payload in
`+ (instancetype)credentialsWithFunctionPayload:(NSDictionary *)payload error:(NSError **)error;`.
It is now defined as `+ (instancetype)credentialsWithFunctionPayload:(NSDictionary<NSString *, id<RLMBSON>> *)payload;`

### Compatibility

* File format: Generates Realms with format v12 (Reads and upgrades all previous formats)
* Realm Studio: 10.0.0 or later.
* APIs are backwards compatible with all previous releases in the 10.x.y series.
* Carthage release for Swift is built with Xcode 12.

### Internal
* Upgraded realm-core from ? to ?
* Upgraded realm-sync from ? to ?

10.0.0-beta.6 Release notes (2020-09-30)
=============================================================

Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription
import Foundation

let coreVersionStr = "10.0.0-beta.9"
let cocoaVersionStr = "10.0.0-beta.6"
let cocoaVersionStr = "10.0.0-rc.1"

let coreVersionPieces = coreVersionStr.split(separator: ".")
let coreVersionExtra = coreVersionPieces[2].split(separator: "-")
Expand Down
2 changes: 1 addition & 1 deletion Realm/Realm-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>10.0.0-beta.6</string>
<string>10.0.0-rc.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion dependencies.list
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=10.0.0-beta.6
VERSION=10.0.0-rc.1
REALM_CORE_VERSION=10.0.0-beta.9
REALM_SYNC_VERSION=10.0.0-beta.14
STITCH_VERSION=ffe651fea9dd7981d19c61093fbefd950c5066d8

0 comments on commit 73a32da

Please sign in to comment.