File tree 7 files changed +40
-7
lines changed
7 files changed +40
-7
lines changed Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >APPL </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >1.0.0-rc.1 </string >
18
+ <string >1.0.0-rc.2 </string >
19
19
<key >CFBundleSignature </key >
20
20
<string >???? </string >
21
21
<key >CFBundleURLTypes </key >
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >FMWK </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >1.0.0-rc.1 </string >
18
+ <string >1.0.0-rc.2 </string >
19
19
<key >CFBundleSignature </key >
20
20
<string >???? </string >
21
21
<key >CFBundleVersion </key >
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >FMWK </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >1.0.0-rc.1 </string >
18
+ <string >1.0.0-rc.2 </string >
19
19
<key >CFBundleSignature </key >
20
20
<string >???? </string >
21
21
<key >CFBundleVersion </key >
Original file line number Diff line number Diff line change @@ -72,7 +72,9 @@ public struct Telemetry {
72
72
}
73
73
74
74
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 "
76
78
let dict = [
77
79
Telemetry . NameKey: Telemetry . LibraryName,
78
80
Telemetry . VersionKey: version,
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >BNDL </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >1.0.0-rc.1 </string >
18
+ <string >1.0.0-rc.2 </string >
19
19
<key >CFBundleSignature </key >
20
20
<string >???? </string >
21
21
<key >CFBundleVersion </key >
Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
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
+
3
34
## [ 1.0.0-rc.1] ( https://github.com/auth0/Auth0.swift/tree/1.0.0-rc.1 ) (2016-08-17)
4
35
[ Full Changelog] ( https://github.com/auth0/Auth0.swift/compare/1.0.0-beta.7...1.0.0-rc.1 )
5
36
Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ Auth0.swift is available through [CocoaPods](http://cocoapods.org). To install
21
21
it, simply add the following line to your Podfile:
22
22
23
23
``` ruby
24
- pod " Auth0" , ' 1.0.0-rc.1 '
24
+ pod " Auth0" , ' 1.0.0-rc.2 '
25
25
```
26
26
27
27
###Carthage
28
28
29
29
In your Cartfile add this line
30
30
31
31
```
32
- github "auth0/Auth0.swift" "1.0.0-rc.1 "
32
+ github "auth0/Auth0.swift" "1.0.0-rc.2 "
33
33
```
34
34
35
35
## Usage
You can’t perform that action at this time.
0 commit comments