Skip to content

Commit 7207b1b

Browse files
committed
Releasing version 1.0.3
1 parent 353f47a commit 7207b1b

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

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.3-RC1</version>
11+
<version>1.0.3</version>
1212
</dependency>
1313
<dependency>
1414
<groupId>org.reactivestreams</groupId>
1515
<artifactId>reactive-streams-tck</artifactId>
16-
<version>1.0.3-RC1</version>
16+
<version>1.0.3</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.3-RC1/api/src/main/java/org/reactivestreams/Publisher.java))
87+
#### 1. Publisher ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.3/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.3-RC1/api/src/main/java/org/reactivestreams/Subscriber.java))
120+
#### 2. Subscriber ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.3/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.3-RC1/api/src/main/java/org/reactivestreams/Subscription.java))
160+
#### 3. Subscription ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.3/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.3-RC1/api/src/main/java/org/reactivestreams/Processor.java))
208+
#### 4.Processor ([Code](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.3/api/src/main/java/org/reactivestreams/Processor.java))
209209
210210
```java
211211
public interface Processor<T, R> extends Subscriber<T>, Publisher<R> {

RELEASE-NOTES.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Release notes for Reactive Streams
22

3-
# Version 1.0.3-RC1 released on 2019-08-15
3+
# Version 1.0.3 released on 2019-08-23
44

55
## Announcement:
66

7-
We—the Reactive Streams community—are pleased to announce the immediate availability of `Reactive Streams 1.0.3-RC1`. This update to `Reactive Streams` brings the following improvements over `1.0.2`.
7+
We—the Reactive Streams community—are pleased to announce the immediate availability of `Reactive Streams 1.0.3`. This update to `Reactive Streams` brings the following improvements over `1.0.2`.
88

99
## Highlights:
1010

@@ -22,7 +22,7 @@ We—the Reactive Streams community—are pleased to announce the immediate avai
2222
- Artifacts
2323
+ FlowAdapters artifact removed, FlowAdapters moved into the core jar ([#424](https://github.com/reactive-streams/reactive-streams-jvm/issues/424))
2424

25-
## Specification clarifications 1.0.3-RC1
25+
## Specification clarifications 1.0.3
2626

2727
## Glossary term "External synchronization" replaced by "Serial(ly)"
2828

@@ -36,7 +36,7 @@ We—the Reactive Streams community—are pleased to announce the immediate avai
3636

3737
*The intent of this rule is to make it clear that external synchronization must be employed if the Publisher intends to send signals from multiple/different threads.*
3838

39-
**1.0.3-RC1:** `onSubscribe`, `onNext`, `onError` and `onComplete` signaled to a `Subscriber` MUST be signaled serially.
39+
**1.0.3:** `onSubscribe`, `onNext`, `onError` and `onComplete` signaled to a `Subscriber` MUST be signaled serially.
4040

4141
*The intent of this rule is to permit the signalling of signals (including from multiple threads) if and only if a happens-before relation between each of the signals is established.*
4242

@@ -46,7 +46,7 @@ We—the Reactive Streams community—are pleased to announce the immediate avai
4646

4747
*The intent of this rule is to establish that it is the responsibility of the Subscriber to signal when, and how many, elements it is able and willing to receive.*
4848

49-
**1.0.3-RC1:** A `Subscriber` MUST signal demand via `Subscription.request(long n)` to receive `onNext` signals.
49+
**1.0.3:** A `Subscriber` MUST signal demand via `Subscription.request(long n)` to receive `onNext` signals.
5050

5151
*The intent of this rule is to establish that it is the responsibility of the Subscriber to decide when and how many elements it is able and willing to receive. To avoid signal reordering caused by reentrant Subscription methods, it is strongly RECOMMENDED for synchronous Subscriber implementations to invoke Subscription methods at the very end of any signal processing. It is RECOMMENDED that Subscribers request the upper limit of what they are able to process, as requesting only one element at a time results in an inherently inefficient "stop-and-wait" protocol.*
5252

@@ -56,7 +56,7 @@ We—the Reactive Streams community—are pleased to announce the immediate avai
5656

5757
*The intent of this rule is to prevent that two, or more, separate Publishers from thinking that they can interact with the same Subscriber. Enforcing this rule means that resource leaks are prevented since extra Subscriptions will be cancelled.*
5858

59-
**1.0.3-RC1:** A `Subscriber` MUST call `Subscription.cancel()` on the given `Subscription` after an `onSubscribe` signal if it already has an active `Subscription`
59+
**1.0.3:** A `Subscriber` MUST call `Subscription.cancel()` on the given `Subscription` after an `onSubscribe` signal if it already has an active `Subscription`
6060

6161
*The intent of this rule is to prevent that two, or more, separate Publishers from trying to interact with the same Subscriber. Enforcing this rule means that resource leaks are prevented since extra Subscriptions will be cancelled. Failure to conform to this rule may lead to violations of Publisher rule 1, amongst others. Such violations can lead to hard-to-diagnose bugs.*
6262

@@ -66,11 +66,11 @@ We—the Reactive Streams community—are pleased to announce the immediate avai
6666

6767
*The intent of this rule is to establish that external synchronization must be added if a Subscriber will be using a Subscription concurrently by two or more threads.*
6868

69-
**1.0.3-RC1:** A Subscriber MUST ensure that all calls on its Subscription's request and cancel methods are performed serially.
69+
**1.0.3:** A Subscriber MUST ensure that all calls on its Subscription's request and cancel methods are performed serially.
7070

7171
*The intent of this rule is to permit the calling of the request and cancel methods (including from multiple threads) if and only if a happens-before relation between each of the calls is established.*
7272

73-
## TCK alterations 1.0.3-RC1
73+
## TCK alterations 1.0.3
7474

7575
- `PublisherVerification.optional_spec105_emptyStreamMustTerminateBySignallingOnComplete` fails if the publisher completes synchronously ([#422](https://github.com/reactive-streams/reactive-streams-jvm/issues/422))
7676
- IdentityFlowProcessorVerification throws NPE when `createFailedFlowPublisher` returns null ([#425](https://github.com/reactive-streams/reactive-streams-jvm/issues/425))

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.3-RC1"
6+
version = "1.0.3"
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.3-RC1"
45+
instructionReplace "Bundle-Version", "1.0.3"
4646
}
4747
}
4848

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.3-RC1</version>
30+
<version>1.0.3</version>
3131
<scope>test</scope>
3232
</dependency>
3333
```

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.3-RC1</version>
30+
<version>1.0.3</version>
3131
<scope>test</scope>
3232
</dependency>
3333
```

0 commit comments

Comments
 (0)