Skip to content

Commit 8ae8eb1

Browse files
committed
Release 1.0.0-rc.2
1 parent 7757181 commit 8ae8eb1

File tree

7 files changed

+40
-7
lines changed

7 files changed

+40
-7
lines changed

App/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.0-rc.1</string>
18+
<string>1.0.0-rc.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleURLTypes</key>

Auth0/Info-tvOS.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.0-rc.1</string>
18+
<string>1.0.0-rc.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Auth0/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.0-rc.1</string>
18+
<string>1.0.0-rc.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Auth0/Telemetry.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ public struct Telemetry {
7272
}
7373

7474
static func versionInformation(bundle bundle: NSBundle = NSBundle(forClass: Credentials.classForCoder())) -> [String: String] {
75-
let version = bundle.infoDictionary?["CFBundleShortVersionString"] as? String ?? Telemetry.NoVersion
75+
// FIXME: When stable is out uncomment this
76+
// let version = bundle.infoDictionary?["CFBundleShortVersionString"] as? String ?? Telemetry.NoVersion
77+
let version = "1.0.0-rc.2"
7678
let dict = [
7779
Telemetry.NameKey: Telemetry.LibraryName,
7880
Telemetry.VersionKey: version,

Auth0Tests/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0.0-rc.1</string>
18+
<string>1.0.0-rc.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

CHANGELOG.md

+31
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Change Log
22

3+
## [1.0.0-rc.2](https://github.com/auth0/Auth0.swift/tree/1.0.0-rc.2) (2016-09-09)
4+
[Full Changelog](https://github.com/auth0/Auth0.swift/compare/1.0.0-rc.1...1.0.0-rc.2)
5+
6+
**Changed:**
7+
8+
- Rework Logging [\#43](https://github.com/auth0/Auth0.swift/pull/43) ([hzalaz](https://github.com/hzalaz))
9+
10+
**Breaking changes:**
11+
12+
The function `enableLogging()` was removed, so now to enable logging in the library you should enable it per-client instead of globally.
13+
14+
For Auth API
15+
```swift
16+
var auth = Auth0.authentication()
17+
auth.logging(enabled: true)
18+
```
19+
20+
For Users API
21+
```swift
22+
var users = Auth0.users(token: "token")
23+
users.logging(enabled: true)
24+
```
25+
26+
Also now you can provide a custom Logger to replace the default one (which just uses Swift `print`). It only needs to implement the protocol `Logger`
27+
28+
```swift
29+
let logger = MyCustomLogger()
30+
var auth = Auth0.authentication()
31+
auth.usingLogger(logger)
32+
```
33+
334
## [1.0.0-rc.1](https://github.com/auth0/Auth0.swift/tree/1.0.0-rc.1) (2016-08-17)
435
[Full Changelog](https://github.com/auth0/Auth0.swift/compare/1.0.0-beta.7...1.0.0-rc.1)
536

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ Auth0.swift is available through [CocoaPods](http://cocoapods.org). To install
2121
it, simply add the following line to your Podfile:
2222

2323
```ruby
24-
pod "Auth0", '1.0.0-rc.1'
24+
pod "Auth0", '1.0.0-rc.2'
2525
```
2626

2727
###Carthage
2828

2929
In your Cartfile add this line
3030

3131
```
32-
github "auth0/Auth0.swift" "1.0.0-rc.1"
32+
github "auth0/Auth0.swift" "1.0.0-rc.2"
3333
```
3434

3535
## Usage

0 commit comments

Comments
 (0)