You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by tz...@apache.org on 2022/01/11 09:23:19 UTC

[apisix-java-plugin-runner] branch main updated: feat: release 0.2.0 (#115)

This is an automated email from the ASF dual-hosted git repository.

tzssangglass pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/apisix-java-plugin-runner.git


The following commit(s) were added to refs/heads/main by this push:
     new a274712  feat: release 0.2.0 (#115)
a274712 is described below

commit a2747125f2e8574ba2c7002bb872de71f7f29397
Author: tzssangglass <tz...@gmail.com>
AuthorDate: Tue Jan 11 17:23:14 2022 +0800

    feat: release 0.2.0 (#115)
---
 CHANGELOG.md                                       | 29 ++++++++++++++++++++++
 Makefile                                           |  2 +-
 docs/zh/quick-start.md                             |  2 +-
 pom.xml                                            |  2 +-
 runner-core/pom.xml                                |  4 +--
 runner-dist/apisix-runner-bin-dist/pom.xml         |  2 +-
 .../src/main/release-docs/LICENSE                  |  2 --
 .../licenses/LICENSE-reactive-streams.txt          |  8 ------
 runner-dist/apisix-runner-src-dist/pom.xml         |  2 +-
 runner-dist/pom.xml                                |  4 +--
 runner-plugin-sdk/pom.xml                          |  2 +-
 runner-plugin/pom.xml                              |  4 +--
 runner-starter/pom.xml                             |  6 ++---
 sample/pom.xml                                     |  4 +--
 14 files changed, 46 insertions(+), 27 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9b6ea3d..7732c2d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,35 @@ title: Changelog
 ## Table of Contents
 
 - [0.1.0](#010)
+- [0.2.0](#020)
+
+## 0.2.0
+
+This release mainly provides the ability to get variables and request body.
+
+### Change
+
+- change the network communication framework from reactor-netty to netty. [100](https://github.com/apache/apisix-java-plugin-runner/pull/100)
+- change the return value of filter function in PluginFilter interface. [100](https://github.com/apache/apisix-java-plugin-runner/pull/100)
+- the requiredVars and requiredBody functions have been added to the PluginFilter interface. [100](https://github.com/apache/apisix-java-plugin-runner/pull/100)
+- JDK requirements upgrade from 8 to 11.
+
+### Core
+
+- support for getting variables and request body. [100](https://github.com/apache/apisix-java-plugin-runner/pull/100)
+- catching exceptions thrown during the writeAndFlush. [107](https://github.com/apache/apisix-java-plugin-runner/pull/107)
+
+### Bugfix
+
+- chinese encoding in the response body. [#53](https://github.com/apache/apisix-java-plugin-runner/pull/53)
+- stop request but not setStatusCode will trigger an exception In APISIX. [#56](https://github.com/apache/apisix-java-plugin-runner/pull/56)
+- reset vtable_start and vtable_size of PrepareConf/Req. [#66](https://github.com/apache/apisix-java-plugin-runner/pull/66)
+- convert the conf req to an object and put it in the cache. [#73](https://github.com/apache/apisix-java-plugin-runner/pull/73)
+- modify socket file permissions so that APISIX has permission to read and write. [#96](https://github.com/apache/apisix-java-plugin-runner/pull/96)
+- disable null as key of req/resp headers and args. [#105](https://github.com/apache/apisix-java-plugin-runner/pull/105)
+- pre-read requests prevent read/write index confusion. [#113](https://github.com/apache/apisix-java-plugin-runner/pull/113)
+
+[Back to TOC](#table-of-contents)
 
 ## 0.1.0
 
diff --git a/Makefile b/Makefile
index a7de5e6..d95db7a 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@
 
 SHELL := /bin/bash -o pipefail
 
-VERSION ?= 0.1.0
+VERSION ?= 0.2.0
 RELEASE_SRC = apisix-java-plugin-runner-${VERSION}-src
 
 .PHONY: release-src
diff --git a/docs/zh/quick-start.md b/docs/zh/quick-start.md
index a5f2dd5..15d19a7 100644
--- a/docs/zh/quick-start.md
+++ b/docs/zh/quick-start.md
@@ -2,7 +2,7 @@
 
 ### 准备工作
 
-* JDK 8
+* JDK 11
 * APISIX 2.10.0
 * Clone the [apisix-java-plugin-runner](https://github.com/apache/apisix-java-plugin-runner) project。
 
diff --git a/pom.xml b/pom.xml
index 6c7a37f..8aaecd2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
 
     <groupId>org.apache.apisix</groupId>
     <artifactId>apisix-plugin-runner</artifactId>
-    <version>0.1.0</version>
+    <version>0.2.0</version>
 
     <parent>
         <groupId>org.apache</groupId>
diff --git a/runner-core/pom.xml b/runner-core/pom.xml
index a1b03dc..6336a45 100644
--- a/runner-core/pom.xml
+++ b/runner-core/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.apisix</groupId>
         <artifactId>apisix-plugin-runner</artifactId>
-        <version>0.1.0</version>
+        <version>0.2.0</version>
     </parent>
 
     <artifactId>apisix-runner-core</artifactId>
@@ -36,7 +36,7 @@
         <dependency>
             <groupId>org.apache.apisix</groupId>
             <artifactId>apisix-runner-plugin</artifactId>
-            <version>0.1.0</version>
+            <version>0.2.0</version>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
diff --git a/runner-dist/apisix-runner-bin-dist/pom.xml b/runner-dist/apisix-runner-bin-dist/pom.xml
index e550349..7f02304 100644
--- a/runner-dist/apisix-runner-bin-dist/pom.xml
+++ b/runner-dist/apisix-runner-bin-dist/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.apisix</groupId>
         <artifactId>apisix-runner-dist</artifactId>
-        <version>0.1.0</version>
+        <version>0.2.0</version>
     </parent>
 
     <artifactId>apisix-runner-bin-dist</artifactId>
diff --git a/runner-dist/apisix-runner-bin-dist/src/main/release-docs/LICENSE b/runner-dist/apisix-runner-bin-dist/src/main/release-docs/LICENSE
index dbbde9b..0eb4b63 100644
--- a/runner-dist/apisix-runner-bin-dist/src/main/release-docs/LICENSE
+++ b/runner-dist/apisix-runner-bin-dist/src/main/release-docs/LICENSE
@@ -247,5 +247,3 @@ The following components are provided under the MIT License. See project link fo
 The text of each license is also included at licenses/LICENSE-[project].txt.
 
     checker-qual 2.11.1: https://github.com/typetools/checker-framework/blob/master/checker-qual, MIT
-    reactive-streams 1.0.3 https://github.com/reactive-streams/reactive-streams-jvm, MIT
-
diff --git a/runner-dist/apisix-runner-bin-dist/src/main/release-docs/licenses/LICENSE-reactive-streams.txt b/runner-dist/apisix-runner-bin-dist/src/main/release-docs/licenses/LICENSE-reactive-streams.txt
deleted file mode 100644
index eadae05..0000000
--- a/runner-dist/apisix-runner-bin-dist/src/main/release-docs/licenses/LICENSE-reactive-streams.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Licensed under Public Domain (CC0)
-
-To the extent possible under law, the person who associated CC0 with
-this code has waived all copyright and related or neighboring
-rights to this code.
-
-You should have received a copy of the CC0 legalcode along with this
-work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
\ No newline at end of file
diff --git a/runner-dist/apisix-runner-src-dist/pom.xml b/runner-dist/apisix-runner-src-dist/pom.xml
index 035109c..91516a6 100644
--- a/runner-dist/apisix-runner-src-dist/pom.xml
+++ b/runner-dist/apisix-runner-src-dist/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.apisix</groupId>
         <artifactId>apisix-runner-dist</artifactId>
-        <version>0.1.0</version>
+        <version>0.2.0</version>
     </parent>
 
     <artifactId>apisix-runner-src-dist</artifactId>
diff --git a/runner-dist/pom.xml b/runner-dist/pom.xml
index b0c455d..4e8c6a4 100644
--- a/runner-dist/pom.xml
+++ b/runner-dist/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.apisix</groupId>
         <artifactId>apisix-plugin-runner</artifactId>
-        <version>0.1.0</version>
+        <version>0.2.0</version>
     </parent>
 
     <artifactId>apisix-runner-dist</artifactId>
@@ -35,7 +35,7 @@
         <dependency>
             <groupId>org.apache.apisix</groupId>
             <artifactId>apisix-runner-starter</artifactId>
-            <version>0.1.0</version>
+            <version>0.2.0</version>
         </dependency>
     </dependencies>
     <modules>
diff --git a/runner-plugin-sdk/pom.xml b/runner-plugin-sdk/pom.xml
index feef4c8..70d86e4 100644
--- a/runner-plugin-sdk/pom.xml
+++ b/runner-plugin-sdk/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.apisix</groupId>
         <artifactId>apisix-plugin-runner</artifactId>
-        <version>0.1.0</version>
+        <version>0.2.0</version>
     </parent>
 
     <artifactId>apisix-runner-plugin-sdk</artifactId>
diff --git a/runner-plugin/pom.xml b/runner-plugin/pom.xml
index 0a173dc..27554f4 100644
--- a/runner-plugin/pom.xml
+++ b/runner-plugin/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.apisix</groupId>
         <artifactId>apisix-plugin-runner</artifactId>
-        <version>0.1.0</version>
+        <version>0.2.0</version>
     </parent>
 
     <artifactId>apisix-runner-plugin</artifactId>
@@ -35,7 +35,7 @@
         <dependency>
             <groupId>org.apache.apisix</groupId>
             <artifactId>apisix-runner-plugin-sdk</artifactId>
-            <version>0.1.0</version>
+            <version>0.2.0</version>
         </dependency>
         <dependency>
             <groupId>com.google.code.gson</groupId>
diff --git a/runner-starter/pom.xml b/runner-starter/pom.xml
index 48fa23e..c1ba9b6 100644
--- a/runner-starter/pom.xml
+++ b/runner-starter/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.apisix</groupId>
         <artifactId>apisix-plugin-runner</artifactId>
-        <version>0.1.0</version>
+        <version>0.2.0</version>
     </parent>
 
     <artifactId>apisix-runner-starter</artifactId>
@@ -35,12 +35,12 @@
         <dependency>
             <groupId>org.apache.apisix</groupId>
             <artifactId>apisix-runner-core</artifactId>
-            <version>0.1.0</version>
+            <version>0.2.0</version>
         </dependency>
         <dependency>
             <groupId>org.apache.apisix</groupId>
             <artifactId>apisix-runner-plugin</artifactId>
-            <version>0.1.0</version>
+            <version>0.2.0</version>
         </dependency>
 
         <dependency>
diff --git a/sample/pom.xml b/sample/pom.xml
index e01e7e7..9532445 100644
--- a/sample/pom.xml
+++ b/sample/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.apisix</groupId>
         <artifactId>apisix-plugin-runner</artifactId>
-        <version>0.1.0</version>
+        <version>0.2.0</version>
     </parent>
 
     <artifactId>apisix-runner-sample</artifactId>
@@ -35,7 +35,7 @@
         <dependency>
             <groupId>org.apache.apisix</groupId>
             <artifactId>apisix-runner-plugin-sdk</artifactId>
-            <version>0.1.0</version>
+            <version>0.2.0</version>
         </dependency>
         <dependency>
             <groupId>com.google.code.gson</groupId>