diff --git a/App/Info.plist b/App/Info.plist
index e8964e4cc..eafddf7b3 100644
--- a/App/Info.plist
+++ b/App/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 2.21.0
+ 2.22.0
CFBundleSignature
????
CFBundleURLTypes
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a49e4bd3c..58500547a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,21 @@
# Change Log
+## [2.22.0](https://github.com/auth0/Lock.swift/tree/2.22.0) (2021-03-09)
+[Full Changelog](https://github.com/auth0/Lock.swift/compare/2.21.0...2.22.0
+
+**Added**
+- Support OOB MFA challenges [\#649](https://github.com/auth0/Lock.swift/pull/649) ([ejensen](https://github.com/ejensen))
+- Added support for terms and privacy button color customization [\#652](https://github.com/auth0/Lock.swift/pull/652) ([ejensen](https://github.com/ejensen))
+
+**Changed**
+- Use standard UIImages instead of custom LazyImages [\#654](https://github.com/auth0/Lock.swift/pull/654) ([ejensen](https://github.com/ejensen))
+
+**Fixed**
+- Fix bot detection CAPTCHA not being shown [\#651](https://github.com/auth0/Lock.swift/pull/651) ([ejensen](https://github.com/ejensen))
+- Fixed enterprise form validation [SDK-2327] [\#655](https://github.com/auth0/Lock.swift/pull/655) ([Widcket](https://github.com/Widcket))
+- Project and SwiftLint warning fixes [\#657](https://github.com/auth0/Lock.swift/pull/657) ([ejensen](https://github.com/ejensen))
+- Fixed retain cycles on DatabasePresenter [SDK-2360] [\#660](https://github.com/auth0/Lock.swift/pull/660) ([Widcket](https://github.com/Widcket))
+
## [2.21.0](https://github.com/auth0/Lock.swift/tree/2.21.0) (2020-12-04)
[Full Changelog](https://github.com/auth0/Lock.swift/compare/2.20.0...2.21.0
diff --git a/Gemfile.lock b/Gemfile.lock
index eb96d7835..08ac7f66e 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,8 +1,8 @@
GEM
remote: https://rubygems.org/
specs:
- CFPropertyList (3.0.2)
- activesupport (5.2.4.4)
+ CFPropertyList (3.0.3)
+ activesupport (5.2.4.5)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
@@ -12,29 +12,30 @@ GEM
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
+ artifactory (3.0.15)
atomos (0.1.3)
- aws-eventstream (1.1.0)
- aws-partitions (1.402.0)
- aws-sdk-core (3.110.0)
+ aws-eventstream (1.1.1)
+ aws-partitions (1.431.1)
+ aws-sdk-core (3.112.1)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
- aws-sdk-kms (1.39.0)
- aws-sdk-core (~> 3, >= 3.109.0)
+ aws-sdk-kms (1.42.0)
+ aws-sdk-core (~> 3, >= 3.112.0)
aws-sigv4 (~> 1.1)
- aws-sdk-s3 (1.86.0)
- aws-sdk-core (~> 3, >= 3.109.0)
+ aws-sdk-s3 (1.90.0)
+ aws-sdk-core (~> 3, >= 3.112.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.1)
- aws-sigv4 (1.2.2)
+ aws-sigv4 (1.2.3)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.0.3)
- cocoapods (1.10.0)
+ cocoapods (1.10.1)
addressable (~> 2.6)
claide (>= 1.0.2, < 2.0)
- cocoapods-core (= 1.10.0)
+ cocoapods-core (= 1.10.1)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.4.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -49,7 +50,7 @@ GEM
nap (~> 1.0)
ruby-macho (~> 1.4)
xcodeproj (>= 1.19.0, < 2.0)
- cocoapods-core (1.10.0)
+ cocoapods-core (1.10.1)
activesupport (> 5.0, < 6)
addressable (~> 2.6)
algoliasearch (~> 1.0)
@@ -72,31 +73,34 @@ GEM
colored2 (3.1.2)
commander-fastlane (4.4.6)
highline (~> 1.7.2)
- concurrent-ruby (1.1.7)
+ concurrent-ruby (1.1.8)
declarative (0.0.20)
declarative-option (0.1.0)
- digest-crc (0.6.2)
- rake (~> 12.0)
+ digest-crc (0.6.3)
+ rake (>= 12.0.0, < 14.0.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6)
- emoji_regex (3.2.1)
+ emoji_regex (3.2.2)
escape (0.0.4)
ethon (0.12.0)
ffi (>= 1.3.0)
- excon (0.78.0)
- faraday (1.1.0)
+ excon (0.79.0)
+ faraday (1.3.0)
+ faraday-net_http (~> 1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords
faraday-cookie_jar (0.0.7)
faraday (>= 0.8.0)
http-cookie (~> 1.0.0)
+ faraday-net_http (1.0.1)
faraday_middleware (1.0.0)
faraday (~> 1.0)
- fastimage (2.2.0)
- fastlane (2.169.0)
+ fastimage (2.2.3)
+ fastlane (2.177.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
+ artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
babosa (>= 1.0.3, < 2.0.0)
bundler (>= 1.12.0, < 3.0.0)
@@ -117,6 +121,7 @@ GEM
jwt (>= 2.1.0, < 3)
mini_magick (>= 4.9.4, < 5.0.0)
multipart-post (~> 2.0.0)
+ naturally (~> 2.2)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.3)
@@ -132,7 +137,7 @@ GEM
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-auth0_shipper (0.4.1)
semantic (~> 1.5)
- ffi (1.13.1)
+ ffi (1.15.0)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
@@ -144,20 +149,35 @@ GEM
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
signet (~> 0.12)
+ google-apis-core (0.3.0)
+ addressable (~> 2.5, >= 2.5.1)
+ googleauth (~> 0.14)
+ httpclient (>= 2.8.1, < 3.0)
+ mini_mime (~> 1.0)
+ representable (~> 3.0)
+ retriable (>= 2.0, < 4.0)
+ rexml
+ signet (~> 0.14)
+ webrick
+ google-apis-iamcredentials_v1 (0.2.0)
+ google-apis-core (~> 0.1)
+ google-apis-storage_v1 (0.3.0)
+ google-apis-core (~> 0.1)
google-cloud-core (1.5.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
- google-cloud-env (1.4.0)
+ google-cloud-env (1.5.0)
faraday (>= 0.17.3, < 2.0)
google-cloud-errors (1.0.1)
- google-cloud-storage (1.29.1)
+ google-cloud-storage (1.30.0)
addressable (~> 2.5)
digest-crc (~> 0.4)
- google-api-client (~> 0.33)
+ google-apis-iamcredentials_v1 (~> 0.1)
+ google-apis-storage_v1 (~> 0.1)
google-cloud-core (~> 1.2)
googleauth (~> 0.9)
mini_mime (~> 1.0)
- googleauth (0.14.0)
+ googleauth (0.16.0)
faraday (>= 0.17.3, < 2.0)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
@@ -168,38 +188,39 @@ GEM
http-cookie (1.0.3)
domain_name (~> 0.5)
httpclient (2.8.3)
- i18n (1.8.5)
+ i18n (1.8.9)
concurrent-ruby (~> 1.0)
jmespath (1.4.0)
- json (2.3.1)
+ json (2.5.1)
jwt (2.2.2)
memoist (0.16.2)
mini_magick (4.11.0)
mini_mime (1.0.2)
- minitest (5.14.2)
+ minitest (5.14.4)
molinillo (0.6.6)
multi_json (1.15.0)
multipart-post (2.0.0)
nanaimo (0.3.0)
nap (1.1.0)
- naturally (2.2.0)
+ naturally (2.2.1)
netrc (0.11.0)
os (1.1.1)
- plist (3.5.0)
+ plist (3.6.0)
public_suffix (4.0.6)
- rake (12.3.3)
+ rake (13.0.3)
representable (3.0.4)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
+ rexml (3.2.4)
rouge (2.0.7)
ruby-macho (1.4.0)
- ruby2_keywords (0.0.2)
+ ruby2_keywords (0.0.4)
rubyzip (2.3.0)
security (0.1.3)
semantic (1.6.1)
- signet (0.14.0)
+ signet (0.15.0)
addressable (~> 2.3)
faraday (>= 0.17.3, < 2.0)
jwt (>= 1.5, < 3.0)
@@ -218,13 +239,14 @@ GEM
tty-cursor (~> 0.7)
typhoeus (1.4.0)
ethon (>= 0.9.0)
- tzinfo (1.2.8)
+ tzinfo (1.2.9)
thread_safe (~> 0.1)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
+ webrick (1.7.0)
word_wrap (1.0.0)
xcodeproj (1.19.0)
CFPropertyList (>= 2.3.3, < 4.0)
@@ -234,7 +256,7 @@ GEM
nanaimo (~> 0.3.0)
xcpretty (0.3.0)
rouge (~> 2.0.7)
- xcpretty-travis-formatter (1.0.0)
+ xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
diff --git a/Lock.xcodeproj/xcshareddata/xcschemes/LockApp.xcscheme b/Lock.xcodeproj/xcshareddata/xcschemes/LockApp.xcscheme
new file mode 100644
index 000000000..dae39b081
--- /dev/null
+++ b/Lock.xcodeproj/xcshareddata/xcschemes/LockApp.xcscheme
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Lock/Info.plist b/Lock/Info.plist
index 1123bd153..a2761abd1 100644
--- a/Lock/Info.plist
+++ b/Lock/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 2.21.0
+ 2.22.0
CFBundleSignature
????
CFBundleVersion
diff --git a/LockTests/Info.plist b/LockTests/Info.plist
index 4536433ba..b011a1d8a 100644
--- a/LockTests/Info.plist
+++ b/LockTests/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 2.21.0
+ 2.22.0
CFBundleSignature
????
CFBundleVersion
diff --git a/LockUITests/Info.plist b/LockUITests/Info.plist
index 994824c81..fc082ef53 100644
--- a/LockUITests/Info.plist
+++ b/LockUITests/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 2.21.0
+ 2.22.0
CFBundleVersion
1
diff --git a/README.md b/README.md
index d631638a2..c7fd608fa 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ Need help migrating from v1? Please check our [Migration Guide](MIGRATION.md).
If you are using [Cocoapods](https://cocoapods.org), add this line to your `Podfile`:
```ruby
-pod "Lock", "~> 2.21"
+pod "Lock", "~> 2.22"
```
Then run `pod install`.
@@ -58,7 +58,7 @@ Then run `pod install`.
If you are using [Carthage](https://github.com/Carthage/Carthage), add the following line to your `Cartfile`:
```ruby
-github "auth0/Lock.swift" ~> 2.21
+github "auth0/Lock.swift" ~> 2.22
```
Then run `carthage bootstrap`.