Skip to content

Commit 1aa5152

Browse files
committed
prepare for v0.6.0
1 parent fb86de1 commit 1aa5152

File tree

4 files changed

+23
-13
lines changed

4 files changed

+23
-13
lines changed

HISTORY.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ Downloads & Release History
44
1. [Binaries of Releases](http://sourceforge.net/projects/nginx-clojure/files/)
55
1. [Sources of Releases](https://github.com/nginx-clojure/nginx-clojure/releases)
66

7+
## 0.6.0 (2023-03-18)
8+
9+
1. New Feature: #270 All handlers can be used at http & server context
10+
1. New Feature: #272 Support Nginx 1.23.X where some internals have been changed
11+
1. New Feature: #250 Support to use jdk19 built-in coroutine viz. Continuation
12+
1. Binaries Distribution: Built with Nginx v1.23.3
13+
1. Documents: Add build notes for nginx-clojure-embed
14+
715
## 0.5.3 (2022-03-10)
816

917
1. Bug Fix: #256 NginxClojureAsynSocket isClosed is not return correct result

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Core Features
1515
=================
1616

17-
The latest release is v0.5.3, more detail changes about it can be found from [Release History](//nginx-clojure.github.io/downloads.html).
17+
The latest release is v0.6.0, more detail changes about it can be found from [Release History](//nginx-clojure.github.io/downloads.html).
1818

1919
1. Compatible with [Ring](https://github.com/ring-clojure/ring/blob/master/SPEC) and obviously supports those Ring based frameworks, such as Compojure etc.
2020
1. Http Services by using Clojure / Java / Groovy to write simple handlers for http services.
@@ -23,7 +23,8 @@ The latest release is v0.5.3, more detail changes about it can be found from [Re
2323
1. Nginx Body Filter by Clojure / Java / Groovy
2424
1. Nginx Log Handler by Clojure / Java / Groovy
2525
1. HTTP V2 support in both standard edition and embedded edition which are compiled against Nginx 1.18.0+
26-
1. Support Java 9, 10, 11, 12
26+
1. Support Java 9, 10, 11, 12, 19
27+
1. Support to use jdk19 built-in coroutine viz. Continuation
2728
1. Pub/Sub Among Nginx Worker Processes
2829
1. Shared Map based on shared memory & Shared Map based Ring session store
2930
1. Support Sente, see [this PR](https://github.com/ptaoussanis/sente/pull/160)
@@ -40,7 +41,7 @@ With this feature one java main thread can handle thousands of connections.
4041
1. Long Polling & Server Sent Events
4142
1. Run initialization clojure code when nginx worker starting
4243
1. Support user defined http request method
43-
1. Compatible with the Nginx lastest most stable version 1.20.2. (Nginx 1.18.x, 1.14.x, 1.12.x, 1.8.x, 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)
44+
1. Compatible with the Nginx lastest most mainline version 1.23.3. (Nginx 1.22.X, 1.20.X, 1.18.x, 1.14.x, 1.12.x, 1.8.x, 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)
4445
1. One of benifits of [Nginx](http://nginx.org/) is worker processes are automatically restarted by a master process if they crash
4546
1. Utilize lazy headers and direct memory operation between [Nginx](http://nginx.org/) and JVM to fast handle dynamic contents from Clojure or Java code.
4647
1. Utilize [Nginx](http://nginx.org/) zero copy file sending mechanism to fast handle static contents controlled by Clojure or Java code.
@@ -60,19 +61,19 @@ Nginx-Clojure has already been published to https://clojars.org/ whose maven rep
6061
</repository>
6162
```
6263

63-
After adding clojars repository, you can reference nginx-clojure 0.5.3 , e.g.
64+
After adding clojars repository, you can reference nginx-clojure 0.6.0 , e.g.
6465

6566
Leiningen (clojure, no need to add clojars repository which is a default repository for Leiningen)
6667
-----------------
6768

6869
```clojure
69-
[nginx-clojure "0.5.3"]
70+
[nginx-clojure "0.6.0"]
7071
```
7172
Gradle (groovy/java)
7273
-----------------
7374

7475
```
75-
compile "nginx-clojure:nginx-clojure:0.5.3"
76+
compile "nginx-clojure:nginx-clojure:0.6.0"
7677
```
7778
Maven
7879
-----------------
@@ -81,7 +82,7 @@ Maven
8182
<dependency>
8283
<groupId>nginx-clojure</groupId>
8384
<artifactId>nginx-clojure</artifactId>
84-
<version>0.5.3</version>
85+
<version>0.6.0</version>
8586
</dependency>
8687
```
8788

@@ -125,7 +126,7 @@ Documents
125126

126127
License
127128
=================
128-
Copyright © 2013-2022 Zhang, Yuexiang (xfeep) and released under the BSD 3-Clause license.
129+
Copyright © 2013-2023 Zhang, Yuexiang (xfeep) and released under the BSD 3-Clause license.
129130

130131
This program uses:
131132
* Re-rooted ASM bytecode engineering library which is distributed under the BSD 3-Clause license

nginx-clojure-embed/macos-issue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ gcc -c -fpic -fvisibility=hidden -I "/Library/Java/JavaVirtualMa
66
/Users/whomac/Dev/build-for-embed/nginx-clojure/nginx-clojure-embed/../src/c/${ncs}.c
77
done
88

9-
gcc -c -fpic -fvisibility=hidden -I "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/include" -I "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/include/darwin" -I "/Users/whomac/Dev/build-for-embed/nginx-clojure/nginx-clojure-embed/../src/c" -DNGX_CLOJURE_BE_SILENT_WITHOUT_JVM -I "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/include" -I "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/include/darwin" -pipe -O -Wall -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.40 -I objs -I src/http -I src/http/modules -I /Users/whomac/Dev/build-for-embed/nginx-clojure/nginx-clojure-embed/../src/c \
9+
gcc -c -fpic -fvisibility=hidden -I "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/include" -I "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/include/darwin" -I "/Users/whomac/Dev/build-for-embed/nginx-clojure/nginx-clojure-embed/../src/c" -DNGX_CLOJURE_BE_SILENT_WITHOUT_JVM -I "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/include" -I "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/include/darwin" -pipe -O -Wall -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.40 -I objs -I src/http -I src/http/modules -I src/http/v2 -I /Users/whomac/Dev/build-for-embed/nginx-clojure/nginx-clojure-embed/../src/c \
1010
-o objs/addon/c/ngx_http_clojure_embed.o \
1111
/Users/whomac/Dev/build-for-embed/nginx-clojure/nginx-clojure-embed/src/c/ngx_http_clojure_embed.c

nginx-clojure-embed/pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23
<modelVersion>4.0.0</modelVersion>
34
<groupId>nginx-clojure</groupId>
45
<artifactId>nginx-clojure-embed</artifactId>
56
<packaging>jar</packaging>
6-
<version>0.5.3</version>
7+
<version>0.6.0</version>
78
<name>nginx-clojure-embed</name>
89
<description>Embeding Nginx-Clojure into a standard clojure/java/groovy app without additional Nginx process</description>
910
<url>https://github.com/nginx-clojure/nginx-clojure/tree/master/nginx-clojure-embed</url>
@@ -86,7 +87,7 @@
8687
<dependency>
8788
<groupId>nginx-clojure</groupId>
8889
<artifactId>nginx-clojure</artifactId>
89-
<version>0.5.3</version>
90+
<version>0.6.0</version>
9091
</dependency>
9192
<dependency>
9293
<groupId>org.clojure</groupId>
@@ -130,4 +131,4 @@
130131
<!-- This file was autogenerated by Leiningen.
131132
Please do not edit it directly; instead edit project.clj and regenerate it.
132133
It should not be considered canonical data. For more information see
133-
https://github.com/technomancy/leiningen -->
134+
https://codeberg.org/leiningen/leiningen -->

0 commit comments

Comments
 (0)