diff --git a/.swift-version b/.swift-version
new file mode 100644
index 0000000..5186d07
--- /dev/null
+++ b/.swift-version
@@ -0,0 +1 @@
+4.0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 26bd9e6..30a76f8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
# Change Log
#### 2.x Releases
+- `2.1.x` Releases - [2.1.0](#210)
- `2.0.x` Releases - [2.0.0](#200) | [2.0.1](#201) | [2.0.2](#202) | [2.0.3](#203) | [2.0.4](#204) | [2.0.5](#205) | [2.0.6](#206) | [2.0.7](#207)
#### 1.x Releases
@@ -12,6 +13,14 @@
---
+## [2.1.0](https://github.com/LeonardoCardoso/Swift-Link-Preview/releases/tag/2.1.0)
+Released on 2017-11-09.
+
+#### Added
+
+- Swift 4 - pr [#67](https://github.com/LeonardoCardoso/SwiftLinkPreview/pull/67).
+ - Added by [Stephen Hayes](https://github.com/schayes04).
+
## [2.0.7](https://github.com/LeonardoCardoso/Swift-Link-Preview/releases/tag/2.0.7)
Released on 2017-07-24.
diff --git a/Example/SwiftLinkPreviewExample/Info.plist b/Example/SwiftLinkPreviewExample/Info.plist
index d3d98eb..37af4dd 100644
--- a/Example/SwiftLinkPreviewExample/Info.plist
+++ b/Example/SwiftLinkPreviewExample/Info.plist
@@ -19,7 +19,7 @@
CFBundleSignature
????
CFBundleVersion
- 2.0.7
+ 2.1.0
LSRequiresIPhoneOS
NSAppTransportSecurity
diff --git a/README.md b/README.md
index c93e03d..734eb4a 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
> It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.
[![Platform](https://img.shields.io/badge/platform-iOS%20|%20macOS%20|%20watchOS%20|%20tvOS-orange.svg)](https://github.com/LeonardoCardoso/SwiftLinkPreview#requirements-and-details)
-[![CocoaPods](https://img.shields.io/badge/pod-v2.0.7-red.svg)](https://github.com/LeonardoCardoso/SwiftLinkPreview#cocoapods)
+[![CocoaPods](https://img.shields.io/badge/pod-v2.1.0-red.svg)](https://github.com/LeonardoCardoso/SwiftLinkPreview#cocoapods)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg)](https://github.com/LeonardoCardoso/SwiftLinkPreview#carthage)
[![Swift Package Manager](https://img.shields.io/badge/SPM-compatible-orange.svg)](https://github.com/LeonardoCardoso/SwiftLinkPreview#swift-package-manager)
[![Build Status](https://travis-ci.org/LeonardoCardoso/SwiftLinkPreview.svg?branch=master)](https://travis-ci.org/LeonardoCardoso/SwiftLinkPreview)
@@ -59,7 +59,7 @@ To use **SwiftLinkPreview** as a pod package just add the following in your **Po
target 'Your Target Name' do
use_frameworks!
// ...
- pod 'SwiftLinkPreview', '~> 2.0.7'
+ pod 'SwiftLinkPreview', '~> 2.1.0'
// ...
end
```
@@ -70,7 +70,7 @@ To use **SwiftLinkPreview** as a Carthage module package just add the following
```ruby
// ...
- github "LeonardoCardoso/SwiftLinkPreview" ~> 2.0.7
+ github "LeonardoCardoso/SwiftLinkPreview" ~> 2.1.0
// ...
```
@@ -85,7 +85,7 @@ let package = Package(
name: "Your Target Name",
dependencies: [
// ...
- .Package(url: "https://github.com/LeonardoCardoso/SwiftLinkPreview.git", "2.0.7")
+ .Package(url: "https://github.com/LeonardoCardoso/SwiftLinkPreview.git", "2.1.0")
// ...
]
)
diff --git a/Sources/Info-macOS.plist b/Sources/Info-macOS.plist
index ebcdea5..e79b327 100644
--- a/Sources/Info-macOS.plist
+++ b/Sources/Info-macOS.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 2.0.7
+ 2.1.0
CFBundleSignature
????
CFBundleVersion
diff --git a/Sources/Info-tvOS.plist b/Sources/Info-tvOS.plist
index 9fa96d1..dca568e 100644
--- a/Sources/Info-tvOS.plist
+++ b/Sources/Info-tvOS.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 2.0.7
+ 2.1.0
CFBundleSignature
????
CFBundleVersion
diff --git a/Sources/Info-watchOS.plist b/Sources/Info-watchOS.plist
index 9fa96d1..dca568e 100644
--- a/Sources/Info-watchOS.plist
+++ b/Sources/Info-watchOS.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 2.0.7
+ 2.1.0
CFBundleSignature
????
CFBundleVersion
diff --git a/Sources/Info.plist b/Sources/Info.plist
index 9fa96d1..dca568e 100644
--- a/Sources/Info.plist
+++ b/Sources/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 2.0.7
+ 2.1.0
CFBundleSignature
????
CFBundleVersion
diff --git a/SwiftLinkPreview.podspec b/SwiftLinkPreview.podspec
index af8f14c..8a15e2a 100755
--- a/SwiftLinkPreview.podspec
+++ b/SwiftLinkPreview.podspec
@@ -7,7 +7,7 @@ Pod::Spec.new do |s|
s.name = "SwiftLinkPreview"
s.summary = "It makes a preview from an url, grabbing all the information such as title, relevant texts and images."
s.requires_arc = true
- s.version = "2.0.7"
+ s.version = "2.1.0"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Leonardo Cardoso" => "contact@leocardz.com" }
s.homepage = "https://github.com/LeonardoCardoso/SwiftLinkPreview"
diff --git a/SwiftLinkPreviewTests/Info-macOS.plist b/SwiftLinkPreviewTests/Info-macOS.plist
index 630acee..6d02d07 100644
--- a/SwiftLinkPreviewTests/Info-macOS.plist
+++ b/SwiftLinkPreviewTests/Info-macOS.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 2.0.7
+ 2.1.0
CFBundleSignature
????
CFBundleVersion
diff --git a/SwiftLinkPreviewTests/Info-tvOS.plist b/SwiftLinkPreviewTests/Info-tvOS.plist
index 630acee..6d02d07 100644
--- a/SwiftLinkPreviewTests/Info-tvOS.plist
+++ b/SwiftLinkPreviewTests/Info-tvOS.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 2.0.7
+ 2.1.0
CFBundleSignature
????
CFBundleVersion
diff --git a/SwiftLinkPreviewTests/Info.plist b/SwiftLinkPreviewTests/Info.plist
index 630acee..6d02d07 100644
--- a/SwiftLinkPreviewTests/Info.plist
+++ b/SwiftLinkPreviewTests/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 2.0.7
+ 2.1.0
CFBundleSignature
????
CFBundleVersion
diff --git a/update-version.sh b/update-version.sh
index 9222a6b..1eeefa3 100755
--- a/update-version.sh
+++ b/update-version.sh
@@ -1,3 +1,3 @@
-grep -rl '2\.0\.6' . --exclude-dir={"Build","libs","Pods",".git"} --exclude={"Podfile.lock","CHANGELOG.md","update-version.sh"} | xargs sed -i.bak 's/2\.0\.6/2\.0\.7/g';
+grep -rl '2\.0\.7' . --exclude-dir={"Build","libs","Pods",".git"} --exclude={"Podfile.lock","CHANGELOG.md","update-version.sh"} | xargs sed -i.bak 's/2\.0\.7/2\.1\.0/g';
find . -type f -name '*.bak' -delete