Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync #11

Merged
merged 110 commits into from
Jul 6, 2020
Merged

sync #11

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
33b437d
feature: implemented plugin `sys logger`. (#1414)
May 6, 2020
ffce4b7
bugfix(CORS): using rewrite phase and add lru cache for multiple orig…
ShiningRush May 6, 2020
0068f28
change: updated the dashboard submodule to latest version. (#1540)
May 6, 2020
e8091f6
doc: alter logger plugins documentations. (#1541)
May 7, 2020
fd626ae
bugfix: Adding function to remove stale objects from kafka logger (#1…
sshniro May 7, 2020
5570e64
bugfix: removed stale objects from tcp logger (#1543)
sshniro May 7, 2020
a328fcc
bugfix: removing stale objects from udp logger (#1544)
sshniro May 7, 2020
fa59f20
optimize: use buffer for plugin `syslog`. (#1551)
May 8, 2020
64fcb9f
plugin: add HTTP logger for APISIX (#1396)
sshniro May 9, 2020
0300304
bugfix: got 500 error when using post method in grpc-transcode plugin…
nic-chen May 11, 2020
3300f4d
bugfix: removed stale object in sys log. (#1557)
May 11, 2020
463c521
feature(prometheus): support to collect metric `overhead` (#1576)
membphis May 12, 2020
cafbfe1
feature: support new field `exptime` for SSL object. (#1575)
membphis May 12, 2020
e9eba07
doc: Added FAQ about how to reload your own plugin (#1568)
Miss-you May 12, 2020
89baaea
doc: repair the white paper's url of README (#1582)
hiproz May 12, 2020
3ad79cc
chore: fix function name typo in ip-restriction (#1586)
spacewander May 14, 2020
05b3c39
doc: added http logger Chinese docs (#1581)
scaat May 14, 2020
e7d19ec
feature: support discovery center (#1440)
qiujiayu May 14, 2020
2c17ca7
doc:add chinese version for install doc (#1590)
ShiningRush May 14, 2020
3906545
bugfix: incorrect variable name `hostCount` (#1585)
dengliming May 14, 2020
e79cf65
doc: update kakfa logger plugin's cn version (#1594)
ShiningRush May 18, 2020
6fb3ebe
doc: fix the doc style for *_logger.md (#1605)
dabue May 22, 2020
9a6fc51
bugfix: raise error when none of the configured etcd can be connected…
spacewander May 22, 2020
c9a53ab
test: updated style. (#1606)
membphis May 22, 2020
dab6fd1
release: released 1.3 version. (#1558)
moonming May 25, 2020
5aeac03
bugfix(CLI): fixed garbled Chinese response in browser. (#1598)
xxm404 May 25, 2020
cdf4acb
change: updated prometheus to version 1.1 . (#1607)
membphis May 26, 2020
dff6ca3
doc: add asf.yaml. (#1612)
moonming May 26, 2020
d14371f
fix some doc style for response-rewrite* and health-check.md (#1611)
dabue May 26, 2020
1bc2af5
makefile: add default check for install command (#1591)
ShiningRush May 26, 2020
67a2096
test cases: add doc and test cases for how to redirect http to https.…
moonming May 26, 2020
398941b
feature: add skywalking plugin. (#1241)
moonming May 27, 2020
9792045
doc: removed external links and docs. (#1619)
moonming May 27, 2020
cebd3e9
doc: add coc file (#1589)
ShiningRush May 28, 2020
f16e25d
bugfix: change the version of skywalking to 1.0-0 (#1624)
dabue May 28, 2020
6cf21d3
bugfix(prometheus): the `overhead` should use milliseconds. #1615 (#1…
dabue May 28, 2020
39ef6fb
feature: add option to include request body in log util (#1545)
sshniro May 29, 2020
25e608c
bugfix: fix typo of `instance_id` in skywalking plugin. (#1629)
qiujiayu May 31, 2020
2e67c98
doc: added the link to discovery.md (#1631)
qiujiayu Jun 1, 2020
fa1d2c6
change(ASF): add notifications to mailing list. (#1635)
moonming Jun 1, 2020
e2154d9
change(doc): style for HttpResponse section (#1634)
Gerrard-YNWA Jun 1, 2020
887e812
doc(limit-count): fixed document description does not match source co…
xxm404 Jun 2, 2020
6faf3ef
bugfix(batch-requests): support cookie (#1599)
ShiningRush Jun 2, 2020
ecd684b
feat(admin api): enhance `PATCH` method, allow to update partial data…
nic-chen Jun 2, 2020
82f85e5
test: added test tests for skywalking. (#1621)
moonming Jun 2, 2020
81519f3
doc: add skywalking plugin instructions (#1636)
cyxinda Jun 3, 2020
f615cf7
feature: support http_to_https in redirect plugin. (#1642)
moonming Jun 3, 2020
171db26
test: add test case for #1625 to test the filed of overhead (#1645)
dabue Jun 5, 2020
52fa154
CLI: compatibility of benchmark script and apisix reload command on O…
qiukeren Jun 6, 2020
3228e16
feature: support to enable HTTPS for admin API (#1648)
dabue Jun 7, 2020
f61b703
[log] Optimize the buffer size and flush time (#1570)
Miss-you Jun 7, 2020
12bfcec
doc: add 'X-API-KEY' parameter for each interface of Admin API. (#1661)
Miss-you Jun 8, 2020
c452846
bugfix: wildcard certificates cannot match multi-level subdomains in …
membphis Jun 8, 2020
d6cee16
plugin: add consumer-restriction (#1437)
stone4774 Jun 8, 2020
b59a519
feat: support resource name for route, service and upstream object. (…
nic-chen Jun 9, 2020
d780f74
[bugfix(CLI)]: check whether the user has enabled etcd v2 protocol. …
dabue Jun 9, 2020
4b47391
bugfix(CLI): generate the 'worker_cpu_affinity' config for Linux OS (…
Miss-you Jun 9, 2020
1b7c1bc
test case: formatted by `reindex`. (#1651)
membphis Jun 9, 2020
9b47b31
change: disable reuseport in development mode, it more easy to manage…
membphis Jun 10, 2020
2025337
test: add test case for route with `filter_func`. (#1683)
membphis Jun 11, 2020
ce386b0
doc: rename grpc-transcoding-cn.md to grpc-transcode-cn.md (#1694)
juzhiyuan Jun 11, 2020
51b867f
fix bug: Execute command 'make run' multiple times, will start multip…
kevhoo Jun 11, 2020
8dba2c0
doc(FAQ): added example for gray release. (#1687)
moonming Jun 11, 2020
b34b554
change: set default reject code for some plugins (#1696)
membphis Jun 11, 2020
56aeb4a
feature: ssl enhance (#1678)
nic-chen Jun 13, 2020
1764890
feature: support body filter plugin `echo`. (#1632)
Jun 13, 2020
75e429a
doc: Update README_CN.md (#1705)
QuakeWang Jun 14, 2020
1251385
change: use `iterate` to scan items in etcd. (#1717)
xxm404 Jun 16, 2020
8b4ae7c
doc: added doc of key for limit-* plugins. (#1714)
moonming Jun 16, 2020
cd98a2b
feature: support authorization Plugin for Keycloak Identity Server (#…
sshniro Jun 16, 2020
3010e04
feat[batch-request]: cp all header to every request (#1697)
ShiningRush Jun 16, 2020
6c3e667
doc: updated main picture. (#1719)
membphis Jun 17, 2020
3afcf54
doc: update echo-cn.md (#1726)
agile6v Jun 18, 2020
7d78a7e
update `resty-etcd` to version 1.0 . (#1725)
membphis Jun 18, 2020
fab0589
doc: health-check-cn.md (#1723)
Corey-Wang Jun 18, 2020
0a8b739
doc: add Chinese translation of authz-keycloak plugin (#1729)
hellmage Jun 18, 2020
b0a1580
doc: Refactoring docs to support docsify (#1724)
sshniro Jun 19, 2020
e38d0a9
change: update `resty-radixtree` to version 1.9 . (#1730)
membphis Jun 19, 2020
7307797
feature: support the use of independent files to implement the load a…
membphis Jun 19, 2020
f8f104d
feature(echo): support header filter and access phases. (#1708)
Jun 19, 2020
f1e66ad
bugfix: id can be string object, which contains `^[a-zA-Z0-9-_]+$`. (…
membphis Jun 21, 2020
2b5ddbc
test: add test cases about the string id in `service` #1659 (#1750)
shibingli Jun 22, 2020
9533c8a
update `lua-resty-raditree` to ver 2.0 . (#1748)
membphis Jun 22, 2020
748e337
refactory: collect `upstream` logic and put them in a single file. (#…
membphis Jun 22, 2020
6a43a8c
feature: implemented plugin `uri-blocklist` . (#1727)
membphis Jun 22, 2020
497acbb
doc: update `http-logger` plugins Chinese docs. (#1755)
scaat Jun 22, 2020
a5ac97f
doc: update admin-api docs (#1753)
scaat Jun 22, 2020
550cf74
doc: add oauth plugins Chinese docs. (#1754)
scaat Jun 23, 2020
d372fe2
bugfix: fixed configures of nginx.conf for security reasons (#1759)
moonming Jun 23, 2020
eafaf15
doc: update Chinese README.md (#1758)
scaat Jun 23, 2020
e30a746
test: use longer ttl, avoid the cached item expired. (#1760)
membphis Jun 23, 2020
8a523b6
doc: updated k8s doc (#1757)
scaat Jun 23, 2020
78ab35d
bugfix: Fix for remote open ID connect introspection (#1743)
sshniro Jun 24, 2020
d419fb2
test: added test cases. (#1752)
membphis Jun 24, 2020
492fa71
bugfix: added `content-type` for admin API responses (#1746)
shenal Jun 24, 2020
ef89dce
feature: support etcd auth (#1769)
shenal Jun 26, 2020
0ce0ed5
plugin(heartbeat): use `info` log level when failed to report heartbe…
membphis Jun 28, 2020
ee75338
optimize: Use lru to avoid resolving IP addresses repeatedly . (#1772)
membphis Jun 28, 2020
3fc7e7d
doc: update Chinese README.md (#1763)
scaat Jun 28, 2020
0d58ba7
doc: remove router `r3` . (#1764)
membphis Jun 30, 2020
d787cbd
release: released 1.4-0 version (#1742)
sshniro Jun 30, 2020
3061aee
bugfix(config etcd): when we reset the fetched data, `sync_times` als…
wangxiaochuang Jul 1, 2020
a9d60f9
change: remove authentication type for cors plugin (#1788)
morrme Jul 1, 2020
0bcd397
rocks: fixed wrong source of 1.4. (#1783)
moonming Jul 1, 2020
aeab71d
change: 'get_plugin_list' API sorts the return list base on priority …
hanke0 Jul 1, 2020
2ccf020
test: format by tool `reindex`. (#1775)
membphis Jul 2, 2020
e6e387a
bugfix: missing argument `premature` because it was called by ngx.tim…
wangxiaochuang Jul 2, 2020
794b1eb
bugfix: return `404 Not Found` when the dashboard folder is empty. (…
xxm404 Jul 3, 2020
57289ae
doc: add guides for installing dependencies on fedora (#1800)
imjoey Jul 3, 2020
8494506
doc: fixed some punctuation error in the document sample shell (#1803)
vyyd Jul 6, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

github:
description: The Cloud-Native API Gateway
homepage: https://apisix.apache.org/
labels:
- api-gateway
- cloud-native
- nginx
- lua
- luajit
- apigateway
- microservices
- api
- loadbalancing
- reverse-proxy
- api-management
- apisix
- serverless
- iot
- devops
- kubernetes
- docker

enabled_merge_buttons:
squash: true
merge: false
rebase: false

notifications:
commits: notifications@apisix.apache.org
issues: notifications@apisix.apache.org
pullrequests: notifications@apisix.apache.org
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dist: xenial
dist: bionic
sudo: required

matrix:
Expand Down
77 changes: 77 additions & 0 deletions .travis/apisix_cli_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

set -ex

git checkout conf/config.yaml

# check whether the 'reuseport' is in nginx.conf .
make init

Expand Down Expand Up @@ -72,3 +74,78 @@ done

sed -i '/dns_resolver:/,+4s/^#//' conf/config.yaml
echo "passed: system nameserver imported"

# enable enable_dev_mode
sed -i 's/enable_dev_mode: false/enable_dev_mode: true/g' conf/config.yaml

make init

count=`grep -c "worker_processes 1;" conf/nginx.conf`
if [ $count -ne 1 ]; then
echo "failed: worker_processes is not 1 when enable enable_dev_mode"
exit 1
fi

count=`grep -c "listen 9080.*reuseport" conf/nginx.conf || true`
if [ $count -ne 0 ]; then
echo "failed: reuseport should be disabled when enable enable_dev_mode"
exit 1
fi

git checkout conf/config.yaml

# check whether the 'worker_cpu_affinity' is in nginx.conf .

make init

grep -E "worker_cpu_affinity" conf/nginx.conf > /dev/null
if [ ! $? -eq 0 ]; then
echo "failed: nginx.conf file is missing worker_cpu_affinity configuration"
exit 1
fi

echo "passed: nginx.conf file contains worker_cpu_affinity configuration"

# check admin https enabled

sed -i 's/\# port_admin: 9180/port_admin: 9180/' conf/config.yaml
sed -i 's/\# https_admin: true/https_admin: true/' conf/config.yaml

make init

grep "listen 9180 ssl" conf/nginx.conf > /dev/null
if [ ! $? -eq 0 ]; then
echo "failed: failed to enabled https for admin"
exit 1
fi

make run

code=$(curl -k -i -m 20 -o /dev/null -s -w %{http_code} https://127.0.0.1:9180/apisix/admin/routes -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1')
if [ ! $code -eq 200 ]; then
echo "failed: failed to enabled https for admin"
exit 1
fi

echo "passed: admin https enabled"

# rollback to the default

make stop

sed -i 's/port_admin: 9180/\# port_admin: 9180/' conf/config.yaml
sed -i 's/https_admin: true/\# https_admin: true/' conf/config.yaml

make init

set +ex

grep "listen 9180 ssl" conf/nginx.conf > /dev/null
if [ ! $? -eq 1 ]; then
echo "failed: failed to rollback to the default admin config"
exit 1
fi

set -ex

echo "passed: rollback to the default admin config"
5 changes: 5 additions & 0 deletions .travis/linux_apisix_current_luarocks_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ script() {
export PATH=$OPENRESTY_PREFIX/nginx/sbin:$OPENRESTY_PREFIX/luajit/bin:$OPENRESTY_PREFIX/bin:$PATH
openresty -V
sudo service etcd start
sudo service etcd stop
mkdir -p ~/etcd-data
/usr/bin/etcd --listen-client-urls 'http://0.0.0.0:2379' --advertise-client-urls='http://0.0.0.0:2379' --data-dir ~/etcd-data > /dev/null 2>&1 &
etcd --version
sleep 5

sudo rm -rf /usr/local/apisix

Expand Down
9 changes: 7 additions & 2 deletions .travis/linux_apisix_master_luarocks_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ set -ex

export_or_prefix() {
export OPENRESTY_PREFIX="/usr/local/openresty-debug"
export APISIX_MAIN="https://raw.githubusercontent.com/apache/incubator-apisix/master/rockspec/apisix-master-0.rockspec"
}

do_install() {
Expand All @@ -46,7 +47,11 @@ script() {
export_or_prefix
export PATH=$OPENRESTY_PREFIX/nginx/sbin:$OPENRESTY_PREFIX/luajit/bin:$OPENRESTY_PREFIX/bin:$PATH
openresty -V
sudo service etcd start
sudo service etcd stop
mkdir -p ~/etcd-data
/usr/bin/etcd --listen-client-urls 'http://0.0.0.0:2379' --advertise-client-urls='http://0.0.0.0:2379' --data-dir ~/etcd-data > /dev/null 2>&1 &
etcd --version
sleep 5

sudo rm -rf /usr/local/apisix

Expand All @@ -62,7 +67,7 @@ script() {
sudo PATH=$PATH ./utils/install-apisix.sh remove > build.log 2>&1 || (cat build.log && exit 1)

# install APISIX by luarocks
sudo luarocks install rockspec/apisix-master-0.rockspec > build.log 2>&1 || (cat build.log && exit 1)
sudo luarocks install $APISIX_MAIN > build.log 2>&1 || (cat build.log && exit 1)

# show install files
luarocks show apisix
Expand Down
13 changes: 11 additions & 2 deletions .travis/linux_openresty_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,17 @@ before_install() {
sudo cpanm --notest Test::Nginx >build.log 2>&1 || (cat build.log && exit 1)
docker pull redis:3.0-alpine
docker run --rm -itd -p 6379:6379 --name apisix_redis redis:3.0-alpine
docker run --rm -itd -e HTTP_PORT=8888 -e HTTPS_PORT=9999 -p 8888:8888 -p 9999:9999 mendhak/http-https-echo
# Runs Keycloak version 10.0.2 with inbuilt policies for unit tests
docker run --rm -itd -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=123456 -p 8090:8080 sshniro/keycloak-apisix
# spin up kafka cluster for tests (1 zookeper and 1 kafka instance)
docker pull bitnami/zookeeper:3.6.0
docker pull bitnami/kafka:latest
docker network create kafka-net --driver bridge
docker run --name zookeeper-server -d -p 2181:2181 --network kafka-net -e ALLOW_ANONYMOUS_LOGIN=yes bitnami/zookeeper:3.6.0
docker run --name kafka-server1 -d --network kafka-net -e ALLOW_PLAINTEXT_LISTENER=yes -e KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper-server:2181 -e KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092 -p 9092:9092 -e KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE=true bitnami/kafka:latest
docker pull bitinit/eureka
docker run --name eureka -d -p 8761:8761 --env ENVIRONMENT=apisix --env spring.application.name=apisix-eureka --env server.port=8761 --env eureka.instance.ip-address=127.0.0.1 --env eureka.client.registerWithEureka=true --env eureka.client.fetchRegistry=false --env eureka.client.serviceUrl.defaultZone=http://127.0.0.1:8761/eureka/ bitinit/eureka
sleep 5
docker exec -it kafka-server1 /opt/bitnami/kafka/bin/kafka-topics.sh --create --zookeeper zookeeper-server:2181 --replication-factor 1 --partitions 1 --topic test2
}
Expand Down Expand Up @@ -123,7 +128,11 @@ script() {
export_or_prefix
export PATH=$OPENRESTY_PREFIX/nginx/sbin:$OPENRESTY_PREFIX/luajit/bin:$OPENRESTY_PREFIX/bin:$PATH
openresty -V
sudo service etcd start
sudo service etcd stop
mkdir -p ~/etcd-data
/usr/bin/etcd --listen-client-urls 'http://0.0.0.0:2379' --advertise-client-urls='http://0.0.0.0:2379' --data-dir ~/etcd-data > /dev/null 2>&1 &
etcd --version
sleep 5

./build-cache/grpc_server_example &

Expand All @@ -142,7 +151,7 @@ script() {
sleep 1

make lint && make license-check || exit 1
APISIX_ENABLE_LUACOV=1 prove -Itest-nginx/lib -r t
APISIX_ENABLE_LUACOV=1 PERL5LIB=.:$PERL5LIB prove -Itest-nginx/lib -r t
}

after_success() {
Expand Down
13 changes: 11 additions & 2 deletions .travis/linux_tengine_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,17 @@ before_install() {
sudo cpanm --notest Test::Nginx >build.log 2>&1 || (cat build.log && exit 1)
docker pull redis:3.0-alpine
docker run --rm -itd -p 6379:6379 --name apisix_redis redis:3.0-alpine
docker run --rm -itd -e HTTP_PORT=8888 -e HTTPS_PORT=9999 -p 8888:8888 -p 9999:9999 mendhak/http-https-echo
# Runs Keycloak version 10.0.2 with inbuilt policies for unit tests
docker run --rm -itd -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=123456 -p 8090:8080 sshniro/keycloak-apisix
# spin up kafka cluster for tests (1 zookeper and 1 kafka instance)
docker pull bitnami/zookeeper:3.6.0
docker pull bitnami/kafka:latest
docker network create kafka-net --driver bridge
docker run --name zookeeper-server -d -p 2181:2181 --network kafka-net -e ALLOW_ANONYMOUS_LOGIN=yes bitnami/zookeeper:3.6.0
docker run --name kafka-server1 -d --network kafka-net -e ALLOW_PLAINTEXT_LISTENER=yes -e KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper-server:2181 -e KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092 -p 9092:9092 -e KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE=true bitnami/kafka:latest
docker pull bitinit/eureka
docker run --name eureka -d -p 8761:8761 --env ENVIRONMENT=apisix --env spring.application.name=apisix-eureka --env server.port=8761 --env eureka.instance.ip-address=127.0.0.1 --env eureka.client.registerWithEureka=true --env eureka.client.fetchRegistry=false --env eureka.client.serviceUrl.defaultZone=http://127.0.0.1:8761/eureka/ bitinit/eureka
sleep 5
docker exec -it kafka-server1 /opt/bitnami/kafka/bin/kafka-topics.sh --create --zookeeper zookeeper-server:2181 --replication-factor 1 --partitions 1 --topic test2
}
Expand Down Expand Up @@ -266,7 +271,11 @@ script() {
export_or_prefix
export PATH=$OPENRESTY_PREFIX/nginx/sbin:$OPENRESTY_PREFIX/luajit/bin:$OPENRESTY_PREFIX/bin:$PATH
openresty -V
sudo service etcd start
sudo service etcd stop
mkdir -p ~/etcd-data
/usr/bin/etcd --listen-client-urls 'http://0.0.0.0:2379' --advertise-client-urls='http://0.0.0.0:2379' --data-dir ~/etcd-data > /dev/null 2>&1 &
etcd --version
sleep 5

./build-cache/grpc_server_example &

Expand All @@ -279,7 +288,7 @@ script() {
./bin/apisix stop
sleep 1
make lint && make license-check || exit 1
APISIX_ENABLE_LUACOV=1 prove -Itest-nginx/lib -r t
APISIX_ENABLE_LUACOV=1 PERL5LIB=.:$PERL5LIB prove -Itest-nginx/lib -r t
}

after_success() {
Expand Down
2 changes: 1 addition & 1 deletion .travis/osx_openresty_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ do_install() {
git clone https://github.com/iresty/test-nginx.git test-nginx

wget -P utils https://raw.githubusercontent.com/openresty/openresty-devel-utils/master/lj-releng
chmod a+x utils/lj-releng
chmod a+x utils/lj-releng

wget https://github.com/iresty/grpc_server_example/releases/download/20200314/grpc_server_example-darwin-amd64.tar.gz
tar -xvf grpc_server_example-darwin-amd64.tar.gz
Expand Down
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

# Table of Contents

- [1.4.0](#140)
- [1.3.0](#130)
- [1.2.0](#120)
- [1.1.0](#110)
- [1.0.0](#100)
Expand All @@ -27,6 +29,37 @@
- [0.7.0](#070)
- [0.6.0](#060)

## 1.4.0

### Core
- Admin API: Support unique names for routes [1655](https://github.com/apache/incubator-apisix/pull/1655)
- Optimization of log buffer size and flush time [1570](https://github.com/apache/incubator-apisix/pull/1570)

### New plugins
- :sunrise: **Apache Skywalking plugin** [1241](https://github.com/apache/incubator-apisix/pull/1241)
- :sunrise: **Keycloak Identity Server Plugin** [1701](https://github.com/apache/incubator-apisix/pull/1701)
- :sunrise: **Echo Plugin** [1632](https://github.com/apache/incubator-apisix/pull/1632)
- :sunrise: **Consume Restriction Plugin** [1437](https://github.com/apache/incubator-apisix/pull/1437)

### Improvements
- Batch Request : Copy all headers to every request [1697](https://github.com/apache/incubator-apisix/pull/1697)
- SSL private key encryption [1678](https://github.com/apache/incubator-apisix/pull/1678)
- Improvement of docs for multiple plugins


## 1.3.0

The 1.3 version is mainly for security update.

### Security
- reject invalid header[#1462](https://github.com/apache/incubator-apisix/pull/1462) and uri safe encode[#1461](https://github.com/apache/incubator-apisix/pull/1461)
- only allow 127.0.0.1 access admin API and dashboard by default. [#1458](https://github.com/apache/incubator-apisix/pull/1458)

### Plugin
- :sunrise: **add batch request plugin**. [#1388](https://github.com/apache/incubator-apisix/pull/1388)
- implemented plugin `sys logger`. [#1414](https://github.com/apache/incubator-apisix/pull/1414)


## 1.2.0

The 1.2 version brings many new features, including core and plugins.
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

# Table of Contents

- [1.4.0](#140)
- [1.3.0](#130)
- [1.2.0](#120)
- [1.1.0](#110)
- [1.0.0](#100)
Expand All @@ -27,6 +29,36 @@
- [0.7.0](#070)
- [0.6.0](#060)

## 1.4.0

### Core
- Admin API: 路由支持唯一 name 字段 [1655](https://github.com/apache/incubator-apisix/pull/1655)
- 优化 log 缓冲区大小和刷新时间 [1570](https://github.com/apache/incubator-apisix/pull/1570)

### New plugins
- :sunrise: **Apache Skywalking plugin** [1241](https://github.com/apache/incubator-apisix/pull/1241)
- :sunrise: **Keycloak Identity Server Plugin** [1701](https://github.com/apache/incubator-apisix/pull/1701)
- :sunrise: **Echo Plugin** [1632](https://github.com/apache/incubator-apisix/pull/1632)
- :sunrise: **Consume Restriction Plugin** [1437](https://github.com/apache/incubator-apisix/pull/1437)

### Improvements
- Batch Request : 对每个请求拷贝头 [1697](https://github.com/apache/incubator-apisix/pull/1697)
- SSL 私钥加密 [1678](https://github.com/apache/incubator-apisix/pull/1678)
- 众多插件文档改善

## 1.3.0

1.3 版本主要带来安全更新。

## Security
- 拒绝无效的 header [#1462](https://github.com/apache/incubator-apisix/pull/1462) 并对 uri 进行安全编码 [#1461](https://github.com/apache/incubator-apisix/pull/1461)
- 默认只允许本地环回地址 127.0.0.1 访问 admin API 和 dashboard. [#1458](https://github.com/apache/incubator-apisix/pull/1458)

### Plugin
- :sunrise: **新增 batch request 插件**. [#1388](https://github.com/apache/incubator-apisix/pull/1388)
- 实现完成 `sys logger` 插件. [#1414](https://github.com/apache/incubator-apisix/pull/1414)


## 1.2.0
1.2 版本在内核以及插件上带来了非常多的更新。

Expand Down
Loading