Skip to content

Commit

Permalink
Merge branch 'master' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Feb 28, 2020
2 parents 13096df + 66c780f commit b13f0c2
Show file tree
Hide file tree
Showing 58 changed files with 5,041 additions and 501 deletions.
2 changes: 1 addition & 1 deletion .ci/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function red() {
echo -e "\033[1;31m$*\033[0m"
}

export BUSTED_ARGS="-o gtest -v --exclude-tags=flaky,ipv6"
export BUSTED_ARGS="-o htest -v --exclude-tags=flaky,ipv6"

if [ "$KONG_TEST_DATABASE" == "postgres" ]; then
export TEST_CMD="bin/busted $BUSTED_ARGS,cassandra,off"
Expand Down
8 changes: 5 additions & 3 deletions .ci/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,15 @@ if [[ "$TEST_SUITE" == "pdk" ]]; then
cpanm --notest --local-lib=$TRAVIS_BUILD_DIR/perl5 local::lib && eval $(perl -I $TRAVIS_BUILD_DIR/perl5/lib/perl5/ -Mlocal::lib)
fi

# ----------------
# Run gRPC server |
# ----------------
# ---------------
# Run gRPC server
# ---------------
if [[ "$TEST_SUITE" =~ integration|dbless|plugins ]]; then
docker run -d --name grpcbin -p 15002:9000 -p 15003:9001 moul/grpcbin
fi

luarocks install busted-htest 1.0.0

nginx -V
resty -V
luarocks --version
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.buildpath
.project
.idea
.env

servroot*

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
script:
- luacheck -q .
- scripts/autodoc-admin-api
- bin/busted -v -o gtest spec/01-unit
- bin/busted -v -o htest spec/01-unit
env:
- KONG_DATABASE=none

Expand Down
78 changes: 78 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Table of Contents


- [2.0.2](#202)
- [2.0.1](#201)
- [2.0.0](#200)
- [1.5.0](#150)
- [1.4.3](#143)
Expand Down Expand Up @@ -38,6 +40,80 @@
- [0.9.9 and prior](#099---20170202)


## [2.0.2]

> Released 2020/02/27
This is a patch release in the 2.0 series. Being a patch release, it strictly
contains performance improvements and bugfixes. The are no new features or
breaking changes.

### Fixes

##### Core

- Fix issue related to race condition in Cassandra select each method
[#5564](https://github.com/Kong/kong/pull/5564).
Thanks, [vasuharish](https://github.com/vasuharish)!
- Fix an issue when running a control plane with multiple data planes
[#5612](https://github.com/Kong/kong/pull/5612).
- Don't change route paths when marshaling
[#5587](https://github.com/Kong/kong/pull/5587).
- Fix propagation of posted health across workers
[#5539](https://github.com/Kong/kong/pull/5539).
- Use proper units for timeouts with cassandra
[#5571](https://github.com/Kong/kong/pull/5571).
- Fix broken SNI based routing in L4 proxy mode
[#5533](https://github.com/Kong/kong/pull/5533).

##### Plugins

- Enable the ACME plugin by default
[#5555](https://github.com/Kong/kong/pull/5555).
- Accept consumer username in anonymous field
[#5552](https://github.com/Kong/kong/pull/5552).

[Back to TOC](#table-of-contents)


## [2.0.1]

> Released 2020/02/04
This is a patch release in the 2.0 series. Being a patch release, it strictly
contains performance improvements and bugfixes. The are no new features or
breaking changes.


### Fixes

##### Core

- Migrations include the configured Lua path now
[#5509](https://github.com/Kong/kong/pull/5509).
- Hop-by-hop headers to not clear upgrade header on upgrade
[#5495](https://github.com/Kong/kong/pull/5495).
- Balancers now properly check if a response is produced by an upstream
[#5493](https://github.com/Kong/kong/pull/5493).
Thanks, [onematchfox](https://github.com/onematchfox)!
- Kong correctly logs an error message when the Lua VM cannot allocate memory
[#5479](https://github.com/Kong/kong/pull/5479)
Thanks, [pamiel](https://github.com/pamiel)!
- Schema validations work again in DB-less mode
[#5464](https://github.com/Kong/kong/pull/5464).

##### Plugins

- oauth2: handle `Authorization` headers with missing `access_token` correctly.
[#5514](https://github.com/Kong/kong/pull/5514).
Thanks, [jeremyjpj0916](https://github.com/jeremyjpj0916)!
- oauth2: hash oauth2_tokens cache key via the DAO
[#5507](https://github.com/Kong/kong/pull/5507)


[Back to TOC](#table-of-contents)


## [2.0.0]

> Released 2020/01/20
Expand Down Expand Up @@ -4600,6 +4676,8 @@ First version running with Cassandra.

[Back to TOC](#table-of-contents)

[2.0.2]: https://github.com/Kong/kong/compare/2.0.1...2.0.2
[2.0.1]: https://github.com/Kong/kong/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/Kong/kong/compare/1.5.0...2.0.0
[1.5.0]: https://github.com/Kong/kong/compare/1.4.3...1.5.0
[1.4.3]: https://github.com/Kong/kong/compare/1.4.2...1.4.3
Expand Down
Loading

0 comments on commit b13f0c2

Please sign in to comment.