Skip to content

Commit 8d68455

Browse files
committed
Releasing version 1.0.2
1 parent a894aac commit 8d68455

File tree

5 files changed

+24
-30
lines changed

5 files changed

+24
-30
lines changed

Diff for: README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ The latest release is available on Maven Central as
88
<dependency>
99
<groupId>org.reactivestreams</groupId>
1010
<artifactId>reactive-streams</artifactId>
11-
<version>1.0.2-RC2</version>
11+
<version>1.0.2</version>
1212
</dependency>
1313
<dependency>
1414
<groupId>org.reactivestreams</groupId>
1515
<artifactId>reactive-streams-tck</artifactId>
16-
<version>1.0.2-RC2</version>
16+
<version>1.0.2</version>
1717
<scope>test</scope>
1818
</dependency>
1919
```
@@ -84,7 +84,7 @@ followed by a possibly unbounded number of `onNext` signals (as requested by `Su
8484

8585
### SPECIFICATION
8686

87-
#### 1. Publisher ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.2-RC2/api/src/main/java/org/reactivestreams/Publisher.java))
87+
#### 1. Publisher ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.2/api/src/main/java/org/reactivestreams/Publisher.java))
8888

8989
```java
9090
public interface Publisher<T> {
@@ -117,7 +117,7 @@ public interface Publisher<T> {
117117
| <a name="1.11">11</a> | A `Publisher` MAY support multiple `Subscriber`s and decides whether each `Subscription` is unicast or multicast. |
118118
| [:bulb:](#1.11 "1.11 explained") | *The intent of this rule is to give Publisher implementations the flexibility to decide how many, if any, Subscribers they will support, and how elements are going to be distributed.* |
119119

120-
#### 2. Subscriber ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.2-RC2/api/src/main/java/org/reactivestreams/Subscriber.java))
120+
#### 2. Subscriber ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.2/api/src/main/java/org/reactivestreams/Subscriber.java))
121121

122122
```java
123123
public interface Subscriber<T> {
@@ -157,7 +157,7 @@ public interface Subscriber<T> {
157157
| <a name="2.13">13</a> | Calling `onSubscribe`, `onNext`, `onError` or `onComplete` MUST [return normally](#term_return_normally) except when any provided parameter is `null` in which case it MUST throw a `java.lang.NullPointerException` to the caller, for all other situations the only legal way for a `Subscriber` to signal failure is by cancelling its `Subscription`. In the case that this rule is violated, any associated `Subscription` to the `Subscriber` MUST be considered as cancelled, and the caller MUST raise this error condition in a fashion that is adequate for the runtime environment. |
158158
| [:bulb:](#2.13 "2.13 explained") | *The intent of this rule is to establish the semantics for the methods of Subscriber and what the Publisher is allowed to do in which case this rule is violated. «Raise this error condition in a fashion that is adequate for the runtime environment» could mean logging the error—or otherwise make someone or something aware of the situation—as the error cannot be signalled to the faulty Subscriber.* |
159159

160-
#### 3. Subscription ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.2-RC2/api/src/main/java/org/reactivestreams/Subscription.java))
160+
#### 3. Subscription ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.2/api/src/main/java/org/reactivestreams/Subscription.java))
161161

162162
```java
163163
public interface Subscription {
@@ -205,7 +205,7 @@ public interface Subscription {
205205

206206
A `Subscription` is shared by exactly one `Publisher` and one `Subscriber` for the purpose of mediating the data exchange between this pair. This is the reason why the `subscribe()` method does not return the created `Subscription`, but instead returns `void`; the `Subscription` is only passed to the `Subscriber` via the `onSubscribe` callback.
207207

208-
#### 4.Processor ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.2-RC2/api/src/main/java/org/reactivestreams/Processor.java))
208+
#### 4.Processor ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.2/api/src/main/java/org/reactivestreams/Processor.java))
209209

210210
```java
211211
public interface Processor<T, R> extends Subscriber<T>, Publisher<R> {

Diff for: RELEASE-NOTES.md

+14-20
Original file line numberDiff line numberDiff line change
@@ -2,72 +2,66 @@
22

33
---
44

5-
# Version 1.0.2-RC2 released on 2017-12-07
6-
7-
- Addresses [some oversights](https://github.com/reactive-streams/reactive-streams-jvm/pull/419) in the Flow-TCK for Flow.Processor
8-
9-
For more information on the 1.0.2 version, see below.
10-
11-
# Version 1.0.2-RC1 released on 2017-12-05
5+
# Version 1.0.2 released on 2017-12-19
126

137
## Announcement:
148

15-
We—the Reactive Streams community—are pleased to announce the immediate availability of `Reactive Streams 1.0.2-RC1`. This update to `Reactive Streams` brings the following improvements over `1.0.1`.
9+
We—the Reactive Streams community—are pleased to announce the immediate availability of `Reactive Streams 1.0.2`. This update to `Reactive Streams` brings the following improvements over `1.0.1`.
1610

1711
## Highlights:
1812

1913
- Specification
2014
+ Glossary term added for `Thread-safe`
2115
+ No breaking/semantical changes
22-
+ Rule [clarifications](#specification-clarifications-102-rc1)
16+
+ Rule [clarifications](#specification-clarifications-102)
2317
- Interfaces
2418
+ No changes
2519
- Technology Compatibility Kit (TCK)
26-
+ Improved [coverage](#tck-alterations-102-rc1)
27-
* Supports Publishers/Processors which do [coordinated emission](http://www.reactive-streams.org/reactive-streams-tck-1.0.2-RC1-javadoc/org/reactivestreams/tck/PublisherVerification.html#doesCoordinatedEmission--).
20+
+ Improved [coverage](#tck-alterations-102)
21+
* Supports Publishers/Processors which do [coordinated emission](http://www.reactive-streams.org/reactive-streams-tck-1.0.2-javadoc/org/reactivestreams/tck/PublisherVerification.html#doesCoordinatedEmission--).
2822
+ Improved JavaDoc
2923
- Examples
30-
+ New example [RangePublisher](http://www.reactive-streams.org/reactive-streams-examples-1.0.2-RC1-javadoc/org/reactivestreams/example/unicast/RangePublisher.html)
24+
+ New example [RangePublisher](http://www.reactive-streams.org/reactive-streams-examples-1.0.2-javadoc/org/reactivestreams/example/unicast/RangePublisher.html)
3125
- Artifacts
3226
+ NEW! [Flow adapters](#flow-adapters)
3327
+ NEW! [Flow TCK](#flow-tck)
3428
+ Java 9 [Automatic-Module-Name](#automatic-module-name) added for all artifacts
3529

36-
## Specification clarifications 1.0.2-RC1
30+
## Specification clarifications 1.0.2
3731

3832
## Subscriber Rule 2
3933

4034
**1.0.1:** The intent of this rule is that a Subscriber should not obstruct the progress of the Publisher from an execution point-of-view. In other words, the Subscriber should not starve the Publisher from CPU cycles.
4135

42-
**1.0.2-RC1:** The intent of this rule is that a Subscriber should not obstruct the progress of the Publisher from an execution point-of-view. In other words, the Subscriber should not starve the Publisher from receiving CPU cycles.
36+
**1.0.2:** The intent of this rule is that a Subscriber should not obstruct the progress of the Publisher from an execution point-of-view. In other words, the Subscriber should not starve the Publisher from receiving CPU cycles.
4337

4438
## Subscriber Rule 8
4539

4640
**1.0.1:** The intent of this rule is to highlight that there may be a delay between calling `cancel` the Publisher seeing that.
4741

48-
**1.0.2-RC1** The intent of this rule is to highlight that there may be a delay between calling `cancel` and the Publisher observing that cancellation.
42+
**1.0.2** The intent of this rule is to highlight that there may be a delay between calling `cancel` and the Publisher observing that cancellation.
4943

5044
## Flow adapters
5145

52-
An adapter library has been created to convert `org.reactivestreams` to `java.util.concurrent.Flow` and vice versa. Read more about it [here](http://www.reactive-streams.org/reactive-streams-flow-adapters-1.0.2-RC1-javadoc)
46+
An adapter library has been created to convert `org.reactivestreams` to `java.util.concurrent.Flow` and vice versa. Read more about it [here](http://www.reactive-streams.org/reactive-streams-flow-adapters-1.0.2-javadoc)
5347

5448
~~~xml
5549
<dependency>
5650
<groupId>org.reactivestreams</groupId>
5751
<artifactId>reactive-streams-flow-adapters</artifactId>
58-
<version>1.0.2-RC1</version>
52+
<version>1.0.2</version>
5953
</dependency>
6054
~~~
6155

6256
## Flow TCK
6357

64-
A TCK artifact has been created to allow for direct TCK verification of `java.util.concurrent.Flow` implementations. Read more about it [here](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.2-RC1/tck-flow/README.md)
58+
A TCK artifact has been created to allow for direct TCK verification of `java.util.concurrent.Flow` implementations. Read more about it [here](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.2/tck-flow/README.md)
6559

6660
~~~xml
6761
<dependency>
6862
<groupId>org.reactivestreams</groupId>
6963
<artifactId>reactive-streams-tck-flow</artifactId>
70-
<version>1.0.2-RC1</version>
64+
<version>1.0.2</version>
7165
</dependency>
7266
~~~
7367

@@ -79,7 +73,7 @@ A TCK artifact has been created to allow for direct TCK verification of `java.ut
7973
* `org.reactivestreams:reactive-streams-flow-adapters` => `org.reactivestreams.flowadapters`
8074
* `org.reactivestreams:reactive-streams-tck-flow` => `org.reactivestreams.tckflow`
8175

82-
## TCK alterations 1.0.2-RC1
76+
## TCK alterations 1.0.2
8377

8478
- Added support for Publisher verification of Publishers who do coordinated emission, i.e. where elements only are emitted after all current Subscribers have signalled demand. ([#284](https://github.com/reactive-streams/reactive-streams-jvm/issues/284))
8579
- The `SubscriberWhiteboxVerification` has been given more user friendly error messages in the case where the user forgets to call `registerOnSubscribe`. (#416)[https://github.com/reactive-streams/reactive-streams-jvm/pull/416]

Diff for: build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ subprojects {
33
apply plugin: "osgi"
44

55
group = "org.reactivestreams"
6-
version = "1.0.2-RC2"
6+
version = "1.0.2"
77

88
sourceCompatibility = 1.6
99
targetCompatibility = 1.6
@@ -42,7 +42,7 @@ subprojects {
4242
instructionReplace "Bundle-Vendor", "Reactive Streams SIG"
4343
instructionReplace "Bundle-Description", "Reactive Streams API"
4444
instructionReplace "Bundle-DocURL", "http://reactive-streams.org"
45-
instructionReplace "Bundle-Version", "1.0.2-RC2"
45+
instructionReplace "Bundle-Version", "1.0.2"
4646
}
4747
}
4848

Diff for: tck-flow/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The TCK is provided as binary artifact on [Maven Central](http://search.maven.or
2727
<dependency>
2828
<groupId>org.reactivestreams</groupId>
2929
<artifactId>reactive-streams-tck-flow</artifactId>
30-
<version>1.0.2-RC2</version>
30+
<version>1.0.2</version>
3131
<scope>test</scope>
3232
</dependency>
3333
```

Diff for: tck/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The TCK is provided as binary artifact on [Maven Central](http://search.maven.or
2727
<dependency>
2828
<groupId>org.reactivestreams</groupId>
2929
<artifactId>reactive-streams-tck</artifactId>
30-
<version>1.0.2-RC2</version>
30+
<version>1.0.2</version>
3131
<scope>test</scope>
3232
</dependency>
3333
```

0 commit comments

Comments
 (0)