Skip to content

Commit

Permalink
prepare for v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xfeep committed Mar 18, 2023
1 parent fb86de1 commit 1aa5152
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
8 changes: 8 additions & 0 deletions HISTORY.md
Expand Up @@ -4,6 +4,14 @@ Downloads & Release History
1. [Binaries of Releases](http://sourceforge.net/projects/nginx-clojure/files/)
1. [Sources of Releases](https://github.com/nginx-clojure/nginx-clojure/releases)

## 0.6.0 (2023-03-18)

1. New Feature: #270 All handlers can be used at http & server context
1. New Feature: #272 Support Nginx 1.23.X where some internals have been changed
1. New Feature: #250 Support to use jdk19 built-in coroutine viz. Continuation
1. Binaries Distribution: Built with Nginx v1.23.3
1. Documents: Add build notes for nginx-clojure-embed

## 0.5.3 (2022-03-10)

1. Bug Fix: #256 NginxClojureAsynSocket isClosed is not return correct result
Expand Down
17 changes: 9 additions & 8 deletions README.md
Expand Up @@ -14,7 +14,7 @@
Core Features
=================

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

1. Compatible with [Ring](https://github.com/ring-clojure/ring/blob/master/SPEC) and obviously supports those Ring based frameworks, such as Compojure etc.
1. Http Services by using Clojure / Java / Groovy to write simple handlers for http services.
Expand All @@ -23,7 +23,8 @@ The latest release is v0.5.3, more detail changes about it can be found from [Re
1. Nginx Body Filter by Clojure / Java / Groovy
1. Nginx Log Handler by Clojure / Java / Groovy
1. HTTP V2 support in both standard edition and embedded edition which are compiled against Nginx 1.18.0+
1. Support Java 9, 10, 11, 12
1. Support Java 9, 10, 11, 12, 19
1. Support to use jdk19 built-in coroutine viz. Continuation
1. Pub/Sub Among Nginx Worker Processes
1. Shared Map based on shared memory & Shared Map based Ring session store
1. Support Sente, see [this PR](https://github.com/ptaoussanis/sente/pull/160)
Expand All @@ -40,7 +41,7 @@ With this feature one java main thread can handle thousands of connections.
1. Long Polling & Server Sent Events
1. Run initialization clojure code when nginx worker starting
1. Support user defined http request method
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.)
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.)
1. One of benifits of [Nginx](http://nginx.org/) is worker processes are automatically restarted by a master process if they crash
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.
1. Utilize [Nginx](http://nginx.org/) zero copy file sending mechanism to fast handle static contents controlled by Clojure or Java code.
Expand All @@ -60,19 +61,19 @@ Nginx-Clojure has already been published to https://clojars.org/ whose maven rep
</repository>
```

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

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

```clojure
[nginx-clojure "0.5.3"]
[nginx-clojure "0.6.0"]
```
Gradle (groovy/java)
-----------------

```
compile "nginx-clojure:nginx-clojure:0.5.3"
compile "nginx-clojure:nginx-clojure:0.6.0"
```
Maven
-----------------
Expand All @@ -81,7 +82,7 @@ Maven
<dependency>
<groupId>nginx-clojure</groupId>
<artifactId>nginx-clojure</artifactId>
<version>0.5.3</version>
<version>0.6.0</version>
</dependency>
```

Expand Down Expand Up @@ -125,7 +126,7 @@ Documents

License
=================
Copyright © 2013-2022 Zhang, Yuexiang (xfeep) and released under the BSD 3-Clause license.
Copyright © 2013-2023 Zhang, Yuexiang (xfeep) and released under the BSD 3-Clause license.

This program uses:
* Re-rooted ASM bytecode engineering library which is distributed under the BSD 3-Clause license
Expand Down
2 changes: 1 addition & 1 deletion nginx-clojure-embed/macos-issue
Expand Up @@ -6,6 +6,6 @@ gcc -c -fpic -fvisibility=hidden -I "/Library/Java/JavaVirtualMa
/Users/whomac/Dev/build-for-embed/nginx-clojure/nginx-clojure-embed/../src/c/${ncs}.c
done

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 \
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 \
-o objs/addon/c/ngx_http_clojure_embed.o \
/Users/whomac/Dev/build-for-embed/nginx-clojure/nginx-clojure-embed/src/c/ngx_http_clojure_embed.c
9 changes: 5 additions & 4 deletions nginx-clojure-embed/pom.xml
@@ -1,9 +1,10 @@
<?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">
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>nginx-clojure</groupId>
<artifactId>nginx-clojure-embed</artifactId>
<packaging>jar</packaging>
<version>0.5.3</version>
<version>0.6.0</version>
<name>nginx-clojure-embed</name>
<description>Embeding Nginx-Clojure into a standard clojure/java/groovy app without additional Nginx process</description>
<url>https://github.com/nginx-clojure/nginx-clojure/tree/master/nginx-clojure-embed</url>
Expand Down Expand Up @@ -86,7 +87,7 @@
<dependency>
<groupId>nginx-clojure</groupId>
<artifactId>nginx-clojure</artifactId>
<version>0.5.3</version>
<version>0.6.0</version>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
Expand Down Expand Up @@ -130,4 +131,4 @@
<!-- This file was autogenerated by Leiningen.
Please do not edit it directly; instead edit project.clj and regenerate it.
It should not be considered canonical data. For more information see
https://github.com/technomancy/leiningen -->
https://codeberg.org/leiningen/leiningen -->

0 comments on commit 1aa5152

Please sign in to comment.