Skip to content

Commit

Permalink
Release 6.0.0 (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineDominion committed Sep 30, 2020
1 parent 571fbd8 commit 26d3095
Show file tree
Hide file tree
Showing 12 changed files with 77 additions and 80 deletions.
26 changes: 13 additions & 13 deletions .travis.yml
Expand Up @@ -5,7 +5,7 @@ branches:
- gh-pages

before_install:
- gem install cocoapods -v '1.7.5'
- gem install cocoapods -v '1.9.3'

install:
- gem install xcpretty
Expand All @@ -21,18 +21,18 @@ matrix:
include:
- osx_image: xcode10.1
env: SCHEME="macOS" SDK="macosx10.14" DESTINATION="arch=x86_64" SWIFT_VERSION="4.2" ACTION="test"
- osx_image: xcode10.2
env: SCHEME="macOS" SDK="macosx10.14" DESTINATION="arch=x86_64" SWIFT_VERSION="4.2" ACTION="test"
- osx_image: xcode10.2
env: SCHEME="iOS" SDK="iphonesimulator" DESTINATION="OS=12.2,name=iPhone 8" SWIFT_VERSION="4.2" ACTION="test"
- osx_image: xcode10.2
env: SCHEME="watchOS" SDK="watchsimulator" DESTINATION="OS=5.2,name=Apple Watch Series 4 - 44mm" SWIFT_VERSION="4.2" ACTION="build"
- osx_image: xcode10.2
env: SCHEME="tvOS" SDK="appletvsimulator" DESTINATION="OS=12.2,name=Apple TV 4K" SWIFT_VERSION="4.2" ACTION="test"
- osx_image: xcode10.2
env: SCHEME="macOS" SDK="macosx10.14" DESTINATION="arch=x86_64" SWIFT_VERSION="5.0" ACTION="test"
- osx_image: xcode10.2
env: SCHEME="macOS" SDK="macosx10.14" DESTINATION="arch=x86_64" TEST_SWIFTPM="true" POD_LINT="YES"
- osx_image: xcode11.6
env: SCHEME="macOS" SDK="macosx10.15" DESTINATION="arch=x86_64" SWIFT_VERSION="5.0" ACTION="test"
- osx_image: xcode12
env: SCHEME="iOS" SDK="iphonesimulator" DESTINATION="OS=14.0,name=iPhone 11 Pro Max" SWIFT_VERSION="5.2" ACTION="test"
- osx_image: xcode12
env: SCHEME="watchOS" SDK="watchsimulator" DESTINATION="OS=7.0,name=Apple Watch Series 6 - 44mm" SWIFT_VERSION="5.2" ACTION="build"
- osx_image: xcode12
env: SCHEME="tvOS" SDK="appletvsimulator" DESTINATION="OS=14.0,name=Apple TV 4K" SWIFT_VERSION="5.2" ACTION="test"
- osx_image: xcode12
env: SCHEME="macOS" SDK="macosx10.15" DESTINATION="arch=x86_64" SWIFT_VERSION="5.2" ACTION="test"
- osx_image: xcode12
env: TEST_SWIFTPM="true" POD_LINT="YES"

script:
- set -o pipefail
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
@@ -1,7 +1,18 @@
<!--
# Upcoming
**Breaking API Changes:**
**API Changes:**
**Other:**
-->

# 6.0.0

*Released: 2020-10-01*

**Breaking API Changes:**
- Drop support for Swift 3.2, 4.0, and 4.1. (#418) - @DivineDominion
- Drop support for iOS 8 (#447) - @DominicSchiller-IBM-CIC

**API Changes:**
- Add capability to mutate `Middleware` after store creation. (#427) - @mjarvis
Expand Down
2 changes: 1 addition & 1 deletion Package@swift-5.0.swift
Expand Up @@ -3,7 +3,7 @@ import PackageDescription

let pkg = Package(name: "ReSwift")
pkg.platforms = [
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2)
.macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)
]
pkg.products = [
.library(name: "ReSwift", targets: ["ReSwift"])
Expand Down
4 changes: 2 additions & 2 deletions Podfile.lock
Expand Up @@ -5,12 +5,12 @@ DEPENDENCIES:
- SwiftLint (~> 0.27.0)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
trunk:
- SwiftLint

SPEC CHECKSUMS:
SwiftLint: 3207c1faa2240bf8973b191820a116113cd11073

PODFILE CHECKSUM: 7bbdd45b8293c884aa09eb64369012f08940f4f7

COCOAPODS: 1.6.1
COCOAPODS: 1.9.3
4 changes: 2 additions & 2 deletions ReSwift.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "ReSwift"
s.version = "5.0.0"
s.version = "6.0.0"
s.summary = "Unidirectional Data Flow in Swift"
s.description = <<-DESC
ReSwift is a Redux-like implementation of the unidirectional data flow architecture in Swift.
Expand Down Expand Up @@ -28,5 +28,5 @@ Pod::Spec.new do |s|

s.requires_arc = true
s.source_files = 'ReSwift/**/*.swift'
s.swift_versions = [ "5.0", "4.2", "3.2" ]
s.swift_versions = [ "5.2", "5.0", "4.2" ]
end
8 changes: 5 additions & 3 deletions ReSwift.xcodeproj/project.pbxproj
Expand Up @@ -541,7 +541,7 @@
625E667A1C1FF97E0027C288 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1020;
LastUpgradeCheck = 1200;
ORGANIZATIONNAME = "ReSwift Community";
TargetAttributes = {
25DBCF361C30BF2B00D63A58 = {
Expand Down Expand Up @@ -1088,6 +1088,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down Expand Up @@ -1115,7 +1116,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = ReSwift/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -1156,6 +1157,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand All @@ -1177,7 +1179,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = ReSwift/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = reswift.github.io.ReSwift;
Expand Down
28 changes: 12 additions & 16 deletions ReSwift.xcodeproj/xcshareddata/xcschemes/ReSwift-iOS.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -26,8 +26,17 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "625E66821C1FF97E0027C288"
BuildableName = "ReSwift.framework"
BlueprintName = "ReSwift-iOS"
ReferencedContainer = "container:ReSwift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -40,17 +49,6 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "625E66821C1FF97E0027C288"
BuildableName = "ReSwift.framework"
BlueprintName = "ReSwift-iOS"
ReferencedContainer = "container:ReSwift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -71,8 +69,6 @@
ReferencedContainer = "container:ReSwift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
28 changes: 12 additions & 16 deletions ReSwift.xcodeproj/xcshareddata/xcschemes/ReSwift-macOS.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -26,8 +26,17 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "25DBCF7A1C30C4AA00D63A58"
BuildableName = "ReSwift.framework"
BlueprintName = "ReSwift-macOS"
ReferencedContainer = "container:ReSwift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -40,17 +49,6 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "25DBCF7A1C30C4AA00D63A58"
BuildableName = "ReSwift.framework"
BlueprintName = "ReSwift-macOS"
ReferencedContainer = "container:ReSwift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -71,8 +69,6 @@
ReferencedContainer = "container:ReSwift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
28 changes: 12 additions & 16 deletions ReSwift.xcodeproj/xcshareddata/xcschemes/ReSwift-tvOS.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -26,8 +26,17 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "25DBCF4D1C30C18D00D63A58"
BuildableName = "ReSwift.framework"
BlueprintName = "ReSwift-tvOS"
ReferencedContainer = "container:ReSwift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -40,17 +49,6 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "25DBCF4D1C30C18D00D63A58"
BuildableName = "ReSwift.framework"
BlueprintName = "ReSwift-tvOS"
ReferencedContainer = "container:ReSwift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -71,8 +69,6 @@
ReferencedContainer = "container:ReSwift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -26,12 +26,10 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -52,8 +50,6 @@
ReferencedContainer = "container:ReSwift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
6 changes: 3 additions & 3 deletions ReSwift/CoreTypes/Store.swift
Expand Up @@ -112,7 +112,7 @@ open class Store<State: StateType>: StoreType {

open func subscribe<S: StoreSubscriber>(_ subscriber: S)
where S.StoreSubscriberStateType == State {
_ = subscribe(subscriber, transform: nil)
subscribe(subscriber, transform: nil)
}

open func subscribe<SelectedState, S: StoreSubscriber>(
Expand Down Expand Up @@ -236,9 +236,9 @@ extension Store where State: Equatable {
open func subscribe<S: StoreSubscriber>(_ subscriber: S)
where S.StoreSubscriberStateType == State {
guard subscriptionsAutomaticallySkipRepeats else {
_ = subscribe(subscriber, transform: nil)
subscribe(subscriber, transform: nil)
return
}
_ = subscribe(subscriber, transform: { $0.skipRepeats() })
subscribe(subscriber, transform: { $0.skipRepeats() })
}
}
2 changes: 1 addition & 1 deletion ReSwift/Info.plist
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>5.0.0</string>
<string>6.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 26d3095

Please sign in to comment.