Skip to content

Commit b2627cb

Browse files
committed
Prepare next release
1 parent 6edb743 commit b2627cb

File tree

18 files changed

+49
-44
lines changed

18 files changed

+49
-44
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Maven Central](https://img.shields.io/maven-central/v/net.tascalate.async/net.tascalate.async.parent.svg)](https://search.maven.org/artifact/net.tascalate.async/net.tascalate.async.parent/1.2.5/pom) [![GitHub release](https://img.shields.io/github/release/vsilaev/tascalate-async-await.svg)](https://github.com/vsilaev/tascalate-async-await/releases/tag/1.2.5) [![license](https://img.shields.io/github/license/vsilaev/tascalate-async-await.svg)](https://github.com/vsilaev/tascalate-async-await/blob/master/LICENSE)
1+
[![Maven Central](https://img.shields.io/maven-central/v/net.tascalate.async/net.tascalate.async.parent.svg)](https://search.maven.org/artifact/net.tascalate.async/net.tascalate.async.parent/1.2.6/pom) [![GitHub release](https://img.shields.io/github/release/vsilaev/tascalate-async-await.svg)](https://github.com/vsilaev/tascalate-async-await/releases/tag/1.2.6) [![license](https://img.shields.io/github/license/vsilaev/tascalate-async-await.svg)](https://github.com/vsilaev/tascalate-async-await/blob/master/LICENSE)
22
# Why async-await?
33
Asynchronous programming has long been a useful way to perform operations that don’t necessarily need to hold up the flow or responsiveness of an application. Generally, these are either compute-bound operations or I/O bound operations. Compute-bound operations are those where computations can be done on a separate thread, leaving the main thread to continue its own processing, while I/O bound operations involve work that takes place externally and may not need to block a thread while such work takes place. Common examples of I/O bound operations are file and network operations.
44

@@ -18,7 +18,7 @@ First, add Maven dependency to the library runtime:
1818
<dependency>
1919
<groupId>net.tascalate.async</groupId>
2020
<artifactId>net.tascalate.async.runtime</artifactId>
21-
<version>1.2.5</version>
21+
<version>1.2.6</version>
2222
</dependency>
2323
```
2424
Second, add the following build plugins in the specified order:
@@ -29,7 +29,7 @@ Second, add the following build plugins in the specified order:
2929
<plugin>
3030
<groupId>net.tascalate.async</groupId>
3131
<artifactId>net.tascalate.async.tools.maven</artifactId>
32-
<version>1.2.5</version>
32+
<version>1.2.6</version>
3333
<executions>
3434
<execution>
3535
<id>tascalate-async-enhance-main-classes</id>
@@ -52,7 +52,7 @@ Second, add the following build plugins in the specified order:
5252
<plugin>
5353
<groupId>net.tascalate.javaflow</groupId>
5454
<artifactId>net.tascalate.javaflow.tools.maven</artifactId>
55-
<version>2.7.3</version>
55+
<version>2.7.5</version>
5656
<executions>
5757
<execution>
5858
<id>javaflow-enhance-main-classes</id>
@@ -85,8 +85,8 @@ buildscript {
8585
}
8686
8787
dependencies {
88-
classpath 'net.tascalate.async:net.tascalate.async.tools.gradle:1.2.5'
89-
classpath 'net.tascalate.javaflow:net.tascalate.javaflow.tools.gradle:2.7.3'
88+
classpath 'net.tascalate.async:net.tascalate.async.tools.gradle:1.2.6'
89+
classpath 'net.tascalate.javaflow:net.tascalate.javaflow.tools.gradle:2.7.5'
9090
/* other plugins */
9191
}
9292
}
@@ -101,7 +101,7 @@ repositories {
101101
}
102102
103103
dependencies {
104-
implementation 'net.tascalate.async:net.tascalate.async.runtime:1.2.5'
104+
implementation 'net.tascalate.async:net.tascalate.async.runtime:1.2.6'
105105
/* other dependencies */
106106
}
107107
```
@@ -113,8 +113,8 @@ buildscript {
113113
}
114114
115115
dependencies {
116-
classpath 'net.tascalate.async:net.tascalate.async.tools.gradle:1.2.5'
117-
classpath 'net.tascalate.javaflow:net.tascalate.javaflow.tools.gradle:2.7.3'
116+
classpath 'net.tascalate.async:net.tascalate.async.tools.gradle:1.2.6'
117+
classpath 'net.tascalate.javaflow:net.tascalate.javaflow.tools.gradle:2.7.5'
118118
/* other plugins */
119119
}
120120
}
@@ -129,20 +129,20 @@ repositories {
129129
}
130130
131131
dependencies {
132-
implementation 'net.tascalate.async:net.tascalate.async.runtime:1.2.5'
132+
implementation 'net.tascalate.async:net.tascalate.async.runtime:1.2.6'
133133
134134
/* Async/Await Extras */
135-
implementation 'net.tascalate.async:net.tascalate.async.extras:1.2.5'
135+
implementation 'net.tascalate.async:net.tascalate.async.extras:1.2.6'
136136
137137
/* Promise<T> implementation */
138138
/* Necessary because net.tascalate.async.extras uses it as an */
139139
/* 'optional' dependency to avoid concrete version lock-in. */
140140
implementation 'net.tascalate:net.tascalate.concurrent:0.9.6'
141141
142142
/* Necessary only for different providers */
143-
runtimeOnly 'net.tascalate.async:net.tascalate.async.resolver.provided:1.2.5'
143+
runtimeOnly 'net.tascalate.async:net.tascalate.async.resolver.provided:1.2.6'
144144
/*
145-
runtimeOnly 'net.tascalate.async:net.tascalate.async.resolver.propagated:1.2.5'
145+
runtimeOnly 'net.tascalate.async:net.tascalate.async.resolver.propagated:1.2.6'
146146
*/
147147
148148

net.tascalate.async.agent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>net.tascalate.async</groupId>
77
<artifactId>net.tascalate.async.parent</artifactId>
8-
<version>1.2.5</version>
8+
<version>1.2.6</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

net.tascalate.async.examples/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
}
55

66
dependencies {
7-
classpath 'net.tascalate.async:net.tascalate.async.tools.gradle:1.2.5'
8-
classpath 'net.tascalate.javaflow:net.tascalate.javaflow.tools.gradle:2.7.3'
7+
classpath 'net.tascalate.async:net.tascalate.async.tools.gradle:1.2.6'
8+
classpath 'net.tascalate.javaflow:net.tascalate.javaflow.tools.gradle:2.7.5'
99
}
1010
}
1111

@@ -19,20 +19,20 @@ repositories {
1919
}
2020

2121
dependencies {
22-
implementation 'net.tascalate.async:net.tascalate.async.runtime:1.2.5'
23-
implementation 'net.tascalate.async:net.tascalate.async.extras:1.2.5'
22+
implementation 'net.tascalate.async:net.tascalate.async.runtime:1.2.6'
23+
implementation 'net.tascalate.async:net.tascalate.async.extras:1.2.6'
2424

2525
/* Necessary only for different providers */
26-
runtimeOnly 'net.tascalate.async:net.tascalate.async.resolver.propagated:1.2.5'
27-
runtimeOnly 'net.tascalate.async:net.tascalate.async.resolver.provided:1.2.5'
26+
runtimeOnly 'net.tascalate.async:net.tascalate.async.resolver.propagated:1.2.6'
27+
runtimeOnly 'net.tascalate.async:net.tascalate.async.resolver.provided:1.2.6'
2828

2929
/* Promise<T> implementation */
3030
/* Necessary because net.tascalate.async.extras uses it as an */
3131
/* 'optional' dependency to avoid concrete version lock-in. */
3232
implementation 'net.tascalate:net.tascalate.concurrent:0.9.6'
3333

3434
/* When used with Async/Await Java Agent and dynamic open modules */
35-
implementation 'net.tascalate.instrument:net.tascalate.instrument.emitter:1.3.0'
35+
implementation 'net.tascalate.instrument:net.tascalate.instrument.emitter:1.3.2'
3636

3737
testImplementation 'junit:junit:4.13.2'
3838
}
@@ -44,7 +44,7 @@ dependencies {
4444
}
4545

4646
group = 'net.tascalate.async.examples'
47-
version = '1.2.5'
47+
version = '1.2.6'
4848
description = 'Tascalate Async/Await - Simple Examples'
4949
java.sourceCompatibility = JavaVersion.VERSION_1_9
5050

net.tascalate.async.examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>net.tascalate.async</groupId>
77
<artifactId>net.tascalate.async.parent</artifactId>
8-
<version>1.2.5</version>
8+
<version>1.2.6</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

net.tascalate.async.examples/src/main/java/net/tascalate/async/examples/generator/SimpleArgs.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public static void main(String[] args) {
103103
}
104104

105105
@async
106-
Promise<String> outerCallExplicit(String delimeter, @SchedulerProvider Scheduler scheduler, int zz) {
106+
Promise<String> outerCallExplicit(String delimeter, @SchedulerProvider Scheduler scheduler, int zz) {
107107
System.out.println("Outer call explicit, current scheduler - " + CurrentCallContext.scheduler());
108108
System.out.println("Outer call explicit, thread : " + Thread.currentThread().getName());
109109
await(innerCallImplicit());
@@ -125,7 +125,7 @@ Promise<String> outerCallExplicit(String delimeter, @SchedulerProvider Scheduler
125125
}
126126

127127
@async
128-
Promise<String> innerCallImplicit() {
128+
Promise<String> innerCallImplicit() {
129129
System.out.println("Inner call explicit, current scheduler - " + CurrentCallContext.scheduler());
130130
String v = await(CompletableFuture.supplyAsync(() -> "XYZ", executor));
131131
System.out.println("Inner call explicit, thread : " + Thread.currentThread().getName());

net.tascalate.async.examples/src/main/java/net/tascalate/async/examples/nio/AsyncAwaitNioFileChannelDemo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public static void main(final String[] argv) throws Exception {
6161
System.out.println("Result " + LocalTime.now());
6262
System.out.println(r);
6363
}
64+
executor.shutdown();
6465
});
6566

6667
// Need to wait because NIO uses daemon threads that do not prevent program exit

net.tascalate.async.extras/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>net.tascalate.async</groupId>
77
<artifactId>net.tascalate.async.parent</artifactId>
8-
<version>1.2.5</version>
8+
<version>1.2.6</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

net.tascalate.async.resolver.propagated/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>net.tascalate.async</groupId>
77
<artifactId>net.tascalate.async.parent</artifactId>
8-
<version>1.2.5</version>
8+
<version>1.2.6</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

net.tascalate.async.resolver.provided/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>net.tascalate.async</groupId>
77
<artifactId>net.tascalate.async.parent</artifactId>
8-
<version>1.2.5</version>
8+
<version>1.2.6</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

net.tascalate.async.resolver.scoped/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>net.tascalate.async</groupId>
77
<artifactId>net.tascalate.async.parent</artifactId>
8-
<version>1.2.5</version>
8+
<version>1.2.6</version>
99
<relativePath>../</relativePath>
1010
</parent>
1111

0 commit comments

Comments
 (0)