Skip to content

Commit 80d0b8c

Browse files
authored
Merge branch 'master' into anders/binding-lhs-optional
2 parents 4536d1e + b5f7ece commit 80d0b8c

20 files changed

+133
-69
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.1
1+
4.1.2

.travis.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: objective-c
2-
osx_image: xcode9.3
2+
osx_image: xcode9.4
33
before_install: true
44
install: true
55
branches:
@@ -15,7 +15,7 @@ cache:
1515

1616
jobs:
1717
include:
18-
- osx_image: xcode9.3
18+
- osx_image: xcode9.4
1919
script:
2020
- XCODE_SCHEME=ReactiveSwift-macOS
2121
XCODE_SDK=macosx
@@ -42,7 +42,7 @@ jobs:
4242
- pod lib lint ReactiveSwift.podspec
4343
env:
4444
- JOB=PODSPEC
45-
- osx_image: xcode9.3
45+
- osx_image: xcode9.4
4646
script:
4747
- swift --version
4848
- swift build
@@ -61,6 +61,19 @@ jobs:
6161
- swift test
6262
git:
6363
submodules: false
64+
- os: linux
65+
language: generic
66+
sudo: required
67+
dist: trusty
68+
env: SWIFT_VERSION=4.2-DEVELOPMENT-SNAPSHOT-2018-06-12-a
69+
before_install:
70+
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
71+
script:
72+
- swift --version
73+
- swift build
74+
- swift test
75+
git:
76+
submodules: false
6477
- stage: carthage
6578
script: carthage build --cache-builds --no-skip-current
6679
- stage: deploy

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
nilTarget <~ notifications.map { $0.count }
1313
```
1414

15+
# 4.0.0-rc.2
16+
17+
1. Support Swift 4.2 (Xcode 10) (#644, kudos to @ikesyo)
18+
19+
# 4.0.0-rc.1
20+
21+
1. `Lifetime` may now be manually ended using `Lifetime.Token.dispose()`, in addition to the existing when-token-deinitializes semantic. (#641, kudos to @andersio)
1522
1. For Swift 4.1 and above, `BindingSource` conformances are required to have `Error` parameterized as exactly `NoError`. As a result, `Signal` and `SignalProducer` are now conditionally `BindingSource`. (#590, kudos to @NachoSoto and @andersio)
1623
1. For Swift 4.1 and above, `Signal.Event` and `ActionError` are now conditionally `Equatable`. (#590, kudos to @NachoSoto and @andersio)
1724
1. New method `collect(every:on:skipEmpty:discardWhenCompleted:)` which delivers all values that occurred during a time interval (#619, kudos to @Qata)

Cartfile.private

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
github "jspahrsummers/xcconfigs" == 0.12
22
github "Quick/Quick" ~> 1.2
3-
github "Quick/Nimble" ~> 7.0.3
3+
github "Quick/Nimble" ~> 7.1.2

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github "Quick/Nimble" "v7.1.1"
1+
github "Quick/Nimble" "v7.1.2"
22
github "Quick/Quick" "v1.3.0"
33
github "antitypical/Result" "4.0.0"
44
github "jspahrsummers/xcconfigs" "0.12"

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let package = Package(
99
dependencies: [
1010
.package(url: "https://github.com/antitypical/Result.git", from: "4.0.0"),
1111
.package(url: "https://github.com/Quick/Quick.git", from: "1.3.0"),
12-
.package(url: "https://github.com/Quick/Nimble.git", from: "7.1.1"),
12+
.package(url: "https://github.com/Quick/Nimble.git", from: "7.1.2"),
1313
],
1414
targets: [
1515
.target(name: "ReactiveSwift", dependencies: ["Result"], path: "Sources"),

ReactiveSwift.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "ReactiveSwift"
33
# Version goes here and will be used to access the git tag later on, once we have a first release.
4-
s.version = "3.1.0"
4+
s.version = "4.0.0-rc.2"
55
s.summary = "Streams of values over time"
66
s.description = <<-DESC
77
ReactiveSwift is a Swift framework inspired by Functional Reactive Programming. It provides APIs for composing and transforming streams of values over time.
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
1717
s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveSwift.git", :tag => "#{s.version}" }
1818
# Directory glob for all Swift files
1919
s.source_files = "Sources/*.{swift}"
20-
s.dependency 'Result', '~> 3.2'
20+
s.dependency 'Result', '~> 4.0'
2121

2222
s.pod_target_xcconfig = {"OTHER_SWIFT_FLAGS[config=Release]" => "$(inherited) -suppress-warnings" }
2323
end

ReactiveSwift.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,9 +636,9 @@
636636
isa = PBXNativeTarget;
637637
buildConfigurationList = 57A4D23C1BA13D7A00F7D4B1 /* Build configuration list for PBXNativeTarget "ReactiveSwift-tvOS" */;
638638
buildPhases = (
639+
57A4D2091BA13D7A00F7D4B1 /* Headers */,
639640
57A4D1B01BA13D7A00F7D4B1 /* Sources */,
640641
57A4D2071BA13D7A00F7D4B1 /* Frameworks */,
641-
57A4D2091BA13D7A00F7D4B1 /* Headers */,
642642
57A4D23B1BA13D7A00F7D4B1 /* Resources */,
643643
);
644644
buildRules = (
@@ -673,9 +673,9 @@
673673
isa = PBXNativeTarget;
674674
buildConfigurationList = A9B3155D1B3940610001CB9C /* Build configuration list for PBXNativeTarget "ReactiveSwift-watchOS" */;
675675
buildPhases = (
676+
A9B315511B3940610001CB9C /* Headers */,
676677
A9B3154F1B3940610001CB9C /* Sources */,
677678
A9B315501B3940610001CB9C /* Frameworks */,
678-
A9B315511B3940610001CB9C /* Headers */,
679679
A9B315521B3940610001CB9C /* Resources */,
680680
);
681681
buildRules = (
@@ -691,9 +691,9 @@
691691
isa = PBXNativeTarget;
692692
buildConfigurationList = D047260019E49ED7006002AA /* Build configuration list for PBXNativeTarget "ReactiveSwift-macOS" */;
693693
buildPhases = (
694+
D04725E719E49ED7006002AA /* Headers */,
694695
D04725E519E49ED7006002AA /* Sources */,
695696
D04725E619E49ED7006002AA /* Frameworks */,
696-
D04725E719E49ED7006002AA /* Headers */,
697697
D04725E819E49ED7006002AA /* Resources */,
698698
);
699699
buildRules = (
@@ -727,9 +727,9 @@
727727
isa = PBXNativeTarget;
728728
buildConfigurationList = D047261F19E49F82006002AA /* Build configuration list for PBXNativeTarget "ReactiveSwift-iOS" */;
729729
buildPhases = (
730+
D047260919E49F82006002AA /* Headers */,
730731
D047260719E49F82006002AA /* Sources */,
731732
D047260819E49F82006002AA /* Frameworks */,
732-
D047260919E49F82006002AA /* Headers */,
733733
D047260A19E49F82006002AA /* Resources */,
734734
);
735735
buildRules = (

Sources/Flatten.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ extension SignalProducer {
436436
/// - previous: A producer to start before `self`.
437437
///
438438
/// - returns: A signal producer that, when started, first emits values from
439-
/// `previous` producer and then from `self`.
439+
/// `previous` producer and then from `self`.
440440
public func prefix<Previous: SignalProducerConvertible>(_ previous: Previous) -> SignalProducer<Value, Error> where Previous.Value == Value, Previous.Error == Error {
441441
return prefix(previous.producer)
442442
}

0 commit comments

Comments
 (0)