title |
---|
Changelog |
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.0
- 3.0.0
- 3.0.0-beta
- 2.15.3
- 2.15.2
- 2.15.1
- 2.15.0
- 2.14.1
- 2.14.0
- 2.13.3
- 2.13.2
- 2.13.1
- 2.13.0
- 2.12.1
- 2.12.0
- 2.11.0
- 2.10.5
- 2.10.4
- 2.10.3
- 2.10.2
- 2.10.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
β οΈ remove snowflake algorithm in the request-id plugin: #9715β οΈ No longer compatible with OpenResty 1.19, it needs to be upgraded to 1.21+: #9913β οΈ Remove the configuration itemapisix.stream_proxy.only
, the L4/L7 proxy needs to be enabled through the configuration itemapisix.proxy_mode
: #9607β οΈ The admin-api/apisix/admin/plugins?all=true
marked as deprecated: #9580β οΈ allowlist and denylist can't be enabled at the same time in ua-restriction plugin: #9841
- π Support host level dynamic setting of tls protocol version: #9903
- π Support force delete resource: #9810
- π Support pulling env vars from yaml keys: #9855
- π Add schema validate API in admin-api: #10065
- π Add chaitin-waf plugin: #9838
- π Support vars for file-logger plugin: #9712
- π Support adding response headers for mock plugin: #9720
- π Support regex_uri with unsafe_uri for proxy-rewrite plugin: #9813
- π Support set client_email field for google-cloud-logging plugin: #9813
- π Support sending headers upstream returned by OPA server for opa plugin: #9710
- π Support configuring proxy server for openid-connect plugin: #9948
- Fix(log-rotate): the max_kept configuration doesn't work when using custom name: #9749
- Fix(limit_conn): do not use the http variable in stream mode: #9816
- Fix(loki-logger): getting an error with log_labels: #9850
- Fix(limit-count): X-RateLimit-Reset shouldn't be set to 0 after request be rejected: #9978
- Fix(nacos): attempt to index upvalue 'applications' (a nil value): #9960
- Fix(etcd): can't sync etcd data if key has special character: #9967
- Fix(tencent-cloud-cls): dns parsing failure: #9843
- Fix(reload): worker not exited when executing quit or reload command #9909
- Fix(traffic-split): upstream_id validity verification #10008
- π Support route-level MTLS #9322
- π Support id schema for global_rules #9517
- π Support use a single long http connection to watch all resources for etcd #9456
- π Support max len 256 for ssl label #9301
- π Support multiple regex pattern matching for proxy_rewrite plugin #9194
- π Add loki-logger plugin #9399
- π Allow user configure DEFAULT_BUCKETS for prometheus plugin #9673
- Fix(body-transformer): xml2lua: replace empty table with empty string #9669
- Fix: opentelemetry and grpc-transcode plugins cannot work together #9606
- Fix(skywalking-logger, error-log-logger): support $hostname in skywalking service_instance_name #9401
- Fix(admin): fix secrets do not support to update attributes by PATCH #9510
- Fix(http-logger): default request path should be '/' #9472
- Fix: syslog plugin doesn't work #9425
- Fix: wrong log format for splunk-hec-logging #9478
- Fix(etcd): reuse cli and enable keepalive #9420
- Fix: upstream key config add mqtt_client_id support #9450
- Fix: body-transformer plugin return raw body anytime #9446
- Fix(wolf-rbac): other plugin in consumer not effective when consumer used wolf-rbac plugin #9298
- Fix: always parse domain when host is domain name #9332
- Fix: response-rewrite plugin can't add only one character #9372
- Fix(consul): support to fetch only health endpoint #9204
The changes marked with
β οΈ Change the default router fromradixtree_uri
toradixtree_host_uri
: #9047β οΈ CORS plugin will addVary: Origin
header whenallow_origin
is not*
: #9010
- π Support store route's cert in secrets manager: #9247
- π Support bypassing Admin API Auth by configuration: #9147
- π
Support header injection for
fault-injection
plugin: #9039 - π
Support variable when rewrite header in
proxy-rewrite
plugin: #9112 - π
limit-count
plugin supportsusername
andssl
for redis policy: #9185
- Fix etcd data sync exception: #8493
- Fix invalidate cache in
core.request.add_header
and fix some calls: #8824 - Fix the high CPU and memory usage cause by healthcheck impl: #9015
- Consider using
allow_origins_by_regex
only when it is notnil
: #9028 - Check upstream reference in
traffic-split
plugin when delete upstream: #9044 - Fix failing to connect to etcd at startup: #9077
- Fix health checker leak for domain nodes: #9090
- Prevent non
127.0.0.0/24
to access admin api with empty admin_key: #9146 - Ensure
hold_body_chunk
should use separate buffer for each plugin in case of pollution: #9266 - Ensure
batch-requests
plugin read trailer headers if existed: #9289 - Ensure
proxy-rewrite
should setngx.var.uri
: #9309
This is an LTS maintenance release and you can see the CHANGELOG in release/3.2
branch.
https://github.com/apache/apisix/blob/release/3.2/CHANGELOG.md#321
- Deprecated separate Vault configuration in jwt-auth. Users can use secret to achieve the same function: #8660
- π Support Vault token to configure secret through environment variables: #8866
- π Supports service discovery on stream subsystem:
- π Add RESTful to graphQL conversion plugin: #8959
- π Supports setting the log format on each log plugin:
- π Add request body/response body conversion plugin: #8766
- π Support sending error logs to Kafka: #8693
- π limit-count plugin supports X-RateLimit-Reset: #8578
- π limit-count plugin supports setting TLS to access Redis cluster: #8558
- π consumer-restriction plugin supports permission control via consumer_group_id: #8567
- Fix mTLS protection when the host and SNI mismatch: #8967
- The proxy-rewrite plugin should escape URI parameter parts if they do not come from user config: #8888
- Admin API PATCH operation should return 200 status code after success: #8855
- Under certain conditions, the reload after etcd synchronization failure does not take effect: #8736
- Fix the problem that the nodes found by the Consul service discovery are incomplete: #8651
- Fix grpc-transcode plugin's conversion of Map data: #8731
- External plugins should be able to set the content-type response header: #8588
- When hotloading plugins, redundant timers may be left behind if the request-id plugin initializes the snowflake generator incorrectly: #8556
- Close previous proto synchronizer for grpc-transcode when hotloading plugins: #8557
- π Support for etcd configuration synchronization via gRPC:
- π Support for configuring encrypted fields in plugins:
- π Support for placing partial fields in Vault or environment variable using secret resources:
- π Allows upstream configuration in the stream subsystem as a domain name: #8500
- π Support Consul service discovery: #8380
- π Optimize resource usage for prometheus collection: #8434
- π Add inspect plugin for easy debugging: #8400
- π jwt-auth plugin supports parameters to hide authentication token from upstream : #8206
- π proxy-rewrite plugin supports adding new request headers without overwriting existing request headers with the same name: #8336
- π grpc-transcode plugin supports setting the grpc-status-details-bin response header into the response body: #7639
- π proxy-mirror plugin supports setting the prefix: #8261
- Fix the problem that the plug-in configured under service object cannot take effect in time under some circumstances: #8482
- Fix an occasional 502 problem when http and grpc share the same upstream connection due to connection pool reuse: #8364
- file-logger should avoid buffer-induced log truncation when writing logs: #7884
- max_kept parameter of log-rotate plugin should take effect on compressed files: #8366
- Fix userinfo not being set when use_jwks is true in the openid-connect plugin: #8347
- Fix an issue where x-forwarded-host cannot be changed in the proxy-rewrite plugin: #8200
- Fix a bug where disabling the v3 admin API resulted in missing response bodies under certain circumstances: #8349
- In zipkin plugin, pass trace ID even if there is a rejected sampling decision: #8099
- Fix
_meta.filter
in plugin configuration not working with variables assigned after upstream response and custom variables in APISIX.
enable_cpu_affinity
is disabled by default to avoid this configuration affecting the behavior of APSISIX deployed in the container: #8074
- π Added Consumer Group entity to manage multiple consumers: #7980
- π Supports configuring the order in which DNS resolves domain name types: #7935
- π
Support configuring multiple
key_encrypt_salt
for rotation: #7925
- π Added ai plugin to dynamically optimize the execution path of APISIX according to the scene:
- π
Support
session_secret
in openid-connect plugin to resolve the inconsistency ofsession_secret
among multiple workers: #8068 - π Support sasl config in kafka-logger plugin: #8050
- π Support set resolve domain in proxy-mirror plugin: #7861
- π
Support
brokers
property in kafka-logger plugin, which supports different broker to set the same host: #7999 - π Support get response body in ext-plugin-post-resp: #7947
- π Added cas-auth plugin to support CAS authentication: #7932
- Conditional expressions of workflow plugin should support operators: #8121
- Fix loading problem of batch processor plugin when prometheus plugin is disabled: #8079
- When APISIX starts, delete the old conf server sock file if it exists: #8022
- Disable core.grpc when gRPC-client-nginx-module module is not compiled: #8007
Here we use 2.99.0 as the version number in the source code instead of the code name
3.0.0-beta
for two reasons:
- avoid unexpected errors when some programs try to compare the
version, as
3.0.0-beta
contains3.0.0
and is longer than it. - some package system might not allow package which has a suffix after the version number.
We've adjusted the configuration in the static configuration file, so you need to update the configuration in config.yaml
as well:
- The
config_center
function is now implemented byconfig_provider
underdeployment
: #7901 - The
etcd
field is moved todeployment
: #7860 - The following Admin API configuration is moved to the
admin
field underdeployment
: #7823- admin_key
- enable_admin_cors
- allow_admin
- admin_listen
- https_admin
- admin_api_mtls
- admin_api_version
You can refer to the latest config-default.yaml
for details.
With the new 3.0 release, we took the opportunity to clean out many configurations that were previously marked as deprecated.
In the static configuration, we removed several fields as follows:
- Removed
enable_http2
andlisten_port
fromapisix.ssl
: #7717 - Removed
apisix.port_admin
: #7716 - Removed
etcd.health_check_retry
: #7676 - Removed
nginx_config.http.lua_shared_dicts
: #7677 - Removed
apisix.real_ip_header
: #7696
In the dynamic configuration, we made the following adjustments:
- Moved
disable
of the plugin configuration under_meta
: #7707 - Removed
service_protocol
from the Route: #7701
There are also specific plugin level changes:
- Removed
audience
field from authz-keycloak: #7683 - Removed
upstream
field from mqtt-proxy: #7694 - tcp-related configuration placed under the
tcp
field in error-log-logger: #7700 - Removed
max_retry_times
andretry_interval
fields from syslog: #7699 - The
scheme
field has been removed from proxy-rewrite: #7695
We have adjusted the response format of the Admin API in several PRs as follows:
The new response format is shown below:
Returns a single configuration:
{
"modifiedIndex": 2685183,
"value": {
"id": "1",
...
},
"key": "/apisix/routes/1",
"createdIndex": 2684956
}
Returns multiple configurations:
{
"list": [
{
"modifiedIndex": 2685183,
"value": {
"id": "1",
...
},
"key": "/apisix/routes/1",
"createdIndex": 2684956
},
{
"modifiedIndex": 2685163,
"value": {
"id": "2",
...
},
"key": "/apisix/routes/2",
"createdIndex": 2685163
}
],
"total": 2
}
- Port of Admin API changed to 9180: #7806
- We only support OpenResty 1.19.3.2 and above: #7625
- Adjusted the priority of the Plugin Config object so that the priority of a plugin configuration with the same name changes from Consumer > Plugin Config > Route > Service to Consumer > Route > Plugin Config > Service: #7614
- Integrating grpc-client-nginx-module to APISIX: #7917
- k8s service discovery support for configuring multiple clusters: #7895
- Support for injecting header with specified prefix in opentelemetry plugin: #7822
- Added openfunction plugin: #7634
- Added elasticsearch-logger plugin: #7643
- response-rewrite plugin supports adding response bodies: #7794
- log-rorate supports specifying the maximum size to cut logs: #7749
- Added workflow plug-in.
- Added Tencent Cloud Log Service plugin: #7593
- jwt-auth supports ES256 algorithm: #7627
- ldap-auth internal implementation, switching from lualdap to lua-resty-ldap: #7590
- http request metrics within the prometheus plugin supports setting additional labels via variables: #7549
- The clickhouse-logger plugin supports specifying multiple clickhouse endpoints: #7517
- gRPC proxy sets :authority request header to configured upstream Host: #7939
- response-rewrite writing to an empty body may cause AIPSIX to fail to respond to the request: #7836
- Fix the problem that when using Plugin Config and Consumer at the same time, there is a certain probability that the plugin configuration is not updated: #7965
- Only reopen log files once when log cutting: #7869
- Passive health checks should not be enabled by default: #7850
- The zipkin plugin should pass trace IDs upstream even if it does not sample: #7833
- Correction of opentelemetry span kind to server: #7830
- in limit-count plugin, different routes with the same configuration should not share the same counter: #7750
- Fix occasional exceptions thrown when removing clean_handler: #7648
- Allow direct use of IPv6 literals when configuring upstream nodes: #7594
- The wolf-rbac plugin adjusts the way it responds to errors:
- the phases after proxy didn't run when 500 error happens before proxy: #7703
- avoid error when multiple plugins associated with consumer and have rewrite phase: #7531
- upgrade lua-resty-etcd to 1.8.3 which fixes various issues: #7565
This is an LTS maintenance release and you can see the CHANGELOG in release/2.15
branch.
https://github.com/apache/apisix/blob/release/2.15/CHANGELOG.md#2153
This is an LTS maintenance release and you can see the CHANGELOG in release/2.15
branch.
https://github.com/apache/apisix/blob/release/2.15/CHANGELOG.md#2152
This is an LTS maintenance release and you can see the CHANGELOG in release/2.15
branch.
https://github.com/apache/apisix/blob/release/2.15/CHANGELOG.md#2151
- We now map the grpc error code OUT_OF_RANGE to http code 400 in grpc-transcode plugin: #7419
- Rename health_check_retry configuration in etcd section of
config-default.yaml
to startup_retry: #7304 - Remove
upstream.enable_websocket
which is deprecated since 2020: #7222
- Support running plugins conditionally: #7453
- Allow users to specify plugin execution priority: #7273
- Support getting upstream certificate from ssl object: #7221
- Allow customizing error response in the plugin: #7128
- Add metrics to xRPC Redis proxy: #7183
- Introduce deployment role to simplify the deployment of APISIX:
- Add ngx.shared.dict statistic in promethues plugin: #7412
- Allow using unescaped raw URL in proxy-rewrite plugin: #7401
- Add PKCE support to the openid-connect plugin: #7370
- Support custom log format in sls-logger plugin: #7328
- Export some params for kafka-client in kafka-logger plugin: #7266
- Add support for capturing OIDC refresh tokens in openid-connect plugin: #7220
- Add prometheus plugin in stream subsystem: #7174
- clear remain state from the latest try before retrying in Kubernetes discovery: #7506
- the query string was repeated twice when enabling both http_to_https and append_query_string in the redirect plugin: #7433
- don't send empty Authorization header by default in http-logger: #7444
- ensure both
group
anddisable
configurations can be used in limit-count: #7384 - adjust the execution priority of request-id so the tracing plugins can use the request id: #7281
- correct the transcode of repeated Message in grpc-transcode: #7231
- var missing in proxy-cache cache key should be ignored: #7168
- reduce memory usage when abnormal weights are given in chash: #7103
- cache should be bypassed when the method mismatch in proxy-cache: #7111
- Upstream keepalive should consider TLS param: Β Β - #7054 Β Β - #7466
- The redirect plugin sets a correct port during redirecting HTTP to HTTPS: Β Β - #7065
- The "unix:" in the
real_ip_from
configuration should not break the batch-requests plugin: #7106
- To adapt the change of OpenTelemetry spec, the default port of OTLP/HTTP is changed to 4318: #7007
- Introduce an experimental feature to allow subscribing Kafka message via APISIX. This feature is based on the pubsub framework running above websocket:
- Introduce an experimental framework called xRPC to manage non-HTTP L7 traffic:
- Now we support adding delay according to the command & key during proxying Redis traffic, which is built above xRPC:
- Introduce an experimental support to configure APISIX via xDS:
- Add
normalize_uri_like_servlet
option to normalize uri like servlet: #6984 - Zookeeper service discovery via apisix-seed: #6751
- The real-ip plugin supports recursive IP search like
real_ip_recursive
: #6988 - The api-breaker plugin allows configuring response: #6949
- The response-rewrite plugin supports body filters: #6750
- The request-id plugin adds nanoid algorithm to generate ID: #6779
- The file-logger plugin can cache & reopen file handler: #6721
- Add casdoor plugin: #6382
- The authz-keycloak plugin supports password grant: #6586
- Upstream keepalive should consider TLS param: #7054
- Do not expose internal error message to the client:
- DNS supports SRV record with port 0: #6739
- client mTLS was ignored sometimes in TLS session reuse: #6906
- The grpc-web plugin doesn't override Access-Control-Allow-Origin header in response: #6842
- The syslog plugin's default timeout is corrected: #6807
- The authz-keycloak plugin's
access_denied_redirect_uri
was bypassed sometimes: #6794 - Handle
USR2
signal properly: #6758 - The redirect plugin set a correct port during redirecting HTTP to HTTPS:
- Admin API rejects unknown stream plugin: #6813
This is an LTS maintenance release and you can see the CHANGELOG in release/2.13
branch.
https://github.com/apache/apisix/blob/release/2.13/CHANGELOG.md#2133
This is an LTS maintenance release and you can see the CHANGELOG in release/2.13
branch.
https://github.com/apache/apisix/blob/release/2.13/CHANGELOG.md#2132
This is an LTS maintenance release and you can see the CHANGELOG in release/2.13
branch.
https://github.com/apache/apisix/blob/release/2.13/CHANGELOG.md#2131
- change(syslog): correct the configuration #6551
- change(server-info): use a new approach(keepalive) to report DP info #6202
- change(admin): empty nodes should be encoded as array #6384
- change(prometheus): replace wrong apisix_nginx_http_current_connections{state="total"} label #6327
- change: don't expose public API by default & remove plugin interceptor #6196
- π feat: add delayed_body_filter phase #6605
- π feat: support for reading environment variables from yaml configuration files #6505
- π feat: rerun rewrite phase for newly added plugins in consumer #6502
- π feat: add config to control write all status to x-upsream-apisix-status #6392
- π feat: add kubernetes discovery module #4880
- π feat(graphql): support http get and post json request #6343
- π feat: jwt-auth support custom parameters #6561
- π feat: set cors allow origins by plugin metadata #6546
- π feat: support post_logout_redirect_uri config in openid-connect plugin #6455
- π feat: mocking plugin #5940
- π feat(error-log-logger): add clickhouse for error-log-logger #6256
- π feat: clickhouse logger #6215
- π feat(grpc-transcode): support .pb file #6264
- π feat: development of Loggly logging plugin #6113
- π feat: add opentelemetry plugin #6119
- π feat: add public api plugin #6145
- π feat: add CSRF plugin #5727
- fix(skywalking,opentelemetry): trace request rejected by auth #6617
- fix(log-rotate): should rotate logs strictly hourly(or minutely) #6521
- fix: deepcopy doesn't copy the metatable #6623
- fix(request-validate): handle duplicate key in JSON #6625
- fix(prometheus): conflict between global rule and route configure #6579
- fix(proxy-rewrite): when conf.headers are missing,conf.method can make effect #6300
- fix(traffic-split): failed to match rule when the first rule failed #6292
- fix(config_etcd): skip resync_delay while etcd watch timeout #6259
- fix(proto): avoid sharing state #6199
- fix(limit-count): keep the counter if the plugin conf is the same #6151
- fix(admin): correct the count field of plugin-metadata/global-rule #6155
- fix: add missing labels after merging route and service #6177
This is an LTS maintenance release and you can see the CHANGELOG in release/2.12
branch.
https://github.com/apache/apisix/blob/release/2.12/CHANGELOG.md#2121
- change(serverless): rename "balancer" phase to "before_proxy" #5992
- change: don't promise to support Tengine #5961
- change: enable HTTP when stream proxy is set and enable_admin is true #5867
- π feat(L4): support TLS over TCP upstream #6030
- π feat: support registering custom variable #5941
- π feat(vault): vault lua module, integration with jwt-auth authentication plugin #5745
- π feat: enable L4 stream logging #5768
- π feat: add http_server_location_configuration_snippet configuration #5740
- π feat: support resolve default value when environment not set #5675
- π feat(wasm): run in http header_filter #5544
- π feat: support hide the authentication header in basic-auth with a config #6039
- π feat: set proxy_request_buffering dynamically #6075
- π feat(mqtt): balance by client id #6079
- π feat: add forward-auth plugin #6037
- π feat(grpc-web): support gRPC-Web Proxy #5964
- π feat(limit-count): add constant key type #5984
- π feat(limit-count): allow sharing counter #5881
- π feat(splunk): support splunk hec logging plugin #5819
- π feat: basic support OPA plugin #5734
- π feat: rocketmq logger #5653
- π feat(mqtt-proxy): support using route's upstream #5666
- π feat(ext-plugin): support to get request body #5600
- π feat(plugins): aws lambda serverless #5594
- π feat(http/kafka-logger): support to log response body #5550
- π feat: Apache OpenWhisk plugin #5518
- π feat(plugin): support google cloud logging service #5538
- fix: the prometheus labels are inconsistent when error-log-logger is enabled #6055
- fix(ipv6): allow disabling IPv6 resolve #6023
- fix(mqtt): handle properties for MQTT 5 #5916
- fix(sls-logger): unable to get millisecond part of the timestamp #5820
- fix(mqtt-proxy): client id can be empty #5816
- fix(ext-plugin): don't use stale key #5782
- fix(log-rotate): race between reopen log & compression #5715
- fix(batch-processor): we didn't free stale object actually #5700
- fix: data pollution after passive health check is changed #5589
- change(wolf-rbac): change default port number and add
authType
parameter to documentation #5477
- π feat: support advanced matching based on post form #5409
- π feat: initial wasm support #5288
- π feat(control): expose services#5271
- π feat(control): add dump upstream api #5259
- π feat: etcd cluster single node failure APISIX startup failure #5158
- π feat: support specify custom sni in etcd conf #5206
- π feat(plugin): azure serverless functions #5479
- π feat(kafka-logger): supports logging request body #5501
- π feat: provide skywalking logger plugin #5478
- π feat(plugins): Datadog for metrics collection #5372
- π feat(limit-* plugin): fallback to remote_addr when key is missing #5422
- π feat(limit-count): support multiple variables as key #5378
- π feat(limit-conn): support multiple variables as key #5354
- π feat(proxy-rewrite): rewrite method #5292
- π feat(limit-req): support multiple variables as key #5302
- π feat(proxy-cache): support memory-based strategy #5028
- π feat(ext-plugin): avoid sending conf request more times #5183
- π feat: Add ldap-auth plugin #3894
This is an LTS maintenance release and you can see the CHANGELOG in release/2.10
branch.
https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2105
This is an LTS maintenance release and you can see the CHANGELOG in release/2.10
branch.
https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2104
This is an LTS maintenance release and you can see the CHANGELOG in release/2.10
branch.
https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2103
This is an LTS maintenance release and you can see the CHANGELOG in release/2.10
branch.
https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2102
This is an LTS maintenance release and you can see the CHANGELOG in release/2.10
branch.
https://github.com/apache/apisix/blob/release/2.10/CHANGELOG.md#2101
- change(debug): move 'enable_debug' form config.yaml to debug.yaml #5046
- change: use a new name to customize lua_shared_dict in nginx.conf #5030
- change: drop the support of shell script installation #4985
- π feat(debug-mode): add dynamic debug mode #5012
- π feat: allow injecting logic to APISIX's method #5068
- π feat: allow configuring fallback SNI #5000
- π feat(stream_route): support CIDR in ip match #4980
- π feat: allow route to inherit hosts from service #4977
- π feat: support configurating the node listening address#4856
- π feat(hmac-auth): Add validate request body for hmac auth plugin #5038
- π feat(proxy-mirror): support mirror requests sample_ratio #4965
- π feat(referer-restriction): add blacklist and message #4916
- π feat(kafka-logger): add cluster name support #4876
- π feat(kafka-logger): add required_acks option #4878
- π feat(uri-blocker): add case insensitive switch #4868
- fix(radixtree_host_uri): correct matched host #5124
- fix(radixtree_host_uri): correct matched path #5104
- fix(nacos): distinguish services that has same name but in different groups or namespaces #5083
- fix(nacos): continue to process other services when request failed #5112
- fix(ssl): match sni in case-insensitive way #5074
- fix(upstream): should not override default keepalive value #5054
- fix(DNS): prefer SRV in service discovery #4992
- fix(consul): retry connecting after a delay #4979
- fix: avoid copying unwanted data when the domain's IP changed #4952
- fix(plugin_config): recover plugin when plugin_config changed #4888
- change: rename plugin's balancer method to before_proxy #4697
- π feat: increase timers limitation #4843
- π feat: make A/B test APISIX easier by removing "additionalProperties = false" #4797
- π feat: support dash in args (#4519) #4676
- π feat(admin): reject invalid proto #4750
- π feat(ext-plugin): support ExtraInfo #4835
- π feat(gzip): support special * to match any type #4817
- π feat(real-ip): implement the first version #4813
- π feat(limit-*): add custom reject-message for traffic control #4808
- π feat: Request-ID plugin add snowflake algorithm #4559
- π feat: Added authz-casbin plugin and doc and tests for it #4710
- π feat: add error log skywalking reporter #4633
- π feat(ext-plugin): send the idempotent key when preparing conf #4736
- fix: the issue that plugins in global rule may be cached to route #4867
- fix(grpc-transcode): support converting nested message #4859
- fix(authz-keycloak): set permissions as empty table when lazy_load_path is false #4845
- fix(proxy-cache): keep cache_method same with nginx's proxy_cache_methods #4814
- fix(admin): inject updatetime when the request is PATCH with sub path #4765
- fix(admin): check username for updating consumer #4756
- fix(error-log-logger): avoid sending stale error log #4690
- fix(grpc-transcode): handle enum type #4706
- fix: when a request caused a 500 error, the status was converted to 405 #4696
- change: enable stream proxy only by default #4580
- π feat: allow user-defined balancer with metadata in node #4605
- π feat: Add option retry_timeout that like nginx's proxy_next_upstream_timeout #4574
- π feat: enable balancer phase for plugins #4549
- π feat: allow setting separate keepalive pool #4506
- π feat: enable etcd health-check #4191
- π feat: add gzip plugin #4640
- π feat(plugin): Add new plugin ua-restriction for bot spider restriction #4587
- π feat(stream): add ip-restriction #4602
- π feat(stream): add limit-conn #4515
- π feat: increase ext-plugin timeout to 60s #4557
- π feat(key-auth): supporting key-auth plugin to get key from query string #4490
- π feat(kafka-logger): support for specified the log formats via admin API. #4483
- fix(stream): sni router is broken when session reuses #4607
- fix: the limit-conn plugin cannot effectively intercept requests in special scenarios #4585
- fix: ref check while deleting proto via Admin API #4575
- fix(skywalking): handle conflict between global rule and route #4589
- fix:
ctx.var.cookie_*
cookie not found log #4564 - fix(request-id): we can use different ids with the same request #4479
- change: check metadata_schema with check_schema like the other schema #4381
- change(echo): remove odd auth_value #4055
- fix(admin): correct the resources' count field and change its type to integer #4385
- π feat(stream): support client certificate verification #4445
- π feat(stream): accept tls over tcp #4409
- π feat(stream): support domain in the upstream #4386
- π feat(cli): wrap nginx quit cmd #4360
- π feat: allow to set custom timeout for route #4340
- π feat: nacos discovery support group #4325
- π feat: nacos discovery support namespace #4313
- π feat(client-control): set client_max_body_size dynamically #4423
- π feat(ext-plugin): stop the runner with SIGTERM #4367
- π feat(limit-req) support nodelay #4395
- π feat(mqtt-proxy): support domain #4391
- π feat(redirect): support appending query string #4298
- fix: solve memory leak when the client aborts #4405
- fix(etcd): check res.body.error before accessing the data #4371
- fix(ext-plugin): when token is stale, refresh token and try again #4345
- fix(ext-plugin): pass environment variables #4349
- fix: ensure the plugin is always reloaded #4319
- change(prometheus): redesign the latency metrics & update grafana #3993
- change(prometheus): don't expose metrics to internet #3994
- change(limit-count): ensure redis cluster name is set correctly #3910
- change: drop support of OpenResty 1.15 #3960
- π feat: support passing different host headers in multiple nodes #4208
- π feat: add 50x html for error page #4164
- π feat: support to use upstream_id in stream_route #4121
- π feat: support client certificate verification #4034
- π feat: add nacos support #3820
- π feat: patch tcp.sock.connect to use our DNS resolver #4114
- π feat(redirect): support uri encoding #4244
- π feat(key-auth): allow customizing header #4013
- π feat(response-rewrite): allow using variable in the header #4194
- π feat(ext-plugin): APISIX can support Java, Go and other languages to implement custom plugin #4183
- fix(DNS): support IPv6 resolver #4242
- fix(healthcheck): only one_loop is needed in the passive health check report #4116
- fix(traffic-split): configure multiple "rules", the request will be confused between upstream #4092
- fix: ensure upstream with domain is cached #4061
- fix: be compatible with the router created before 2.5 #4056
- fix(standalone): the conf should be available during start #4027
- fix: ensure atomic operation in limit-count plugin #3991
The changes marked with
β οΈ change: remove unused consumer.id #3868β οΈ change: remove deprecated upstream.enable_websocket #3854- change(zipkin): rearrange the child span #3877
- π feat: support mTLS with etcd #3905
β οΈ feat: upgrade lua-resty-expr/radixtree to support logical expression #3809- π feat: load etcd configuration when apisix starts #3799
- π feat: let balancer support priority #3755
- π feat: add control api for discovery module #3742
- π feat(skywalking): allow destroy and configure report interval for reporter #3925
- π feat(traffic-split): the upstream pass_host needs to support IP mode #3870
- π feat: Add filter on HTTP methods for consumer-restriction plugin #3691
- π feat: add allow_origins_by_regex to cors plugin #3839
- π feat: support conditional response rewrite #3577
- fix(error-log-logger): the logger should be run in each process #3912
- fix: use the builtin server by default #3907
- fix(traffic-split): binding upstream via upstream_id is invalid #3842
- fix: correct the validation for ssl_trusted_certificate #3832
- fix: don't override cache relative headers #3789
- fix: fail to run
make deps
on macOS #3718
- change: global rules should not be executed on the internal api by default #3396
- change: default to cache DNS record according to the TTL #3530
- π feat: support SRV record #3686
- π feat: add dns discovery #3629
- π feat: add consul kv discovery module #3615
- π
feat: support to bind plugin config by
plugin_config_id
#3567 - π feat: support listen http2 with plaintext #3547
- π feat: support DNS AAAA record #3484
- π feat: the traffic-split plugin supports upstream_id #3512
- π feat(zipkin): support b3 req header #3551
- fix(chash): ensure retry can try every node #3651
- fix: script does not work when the route is bound to a service #3678
- fix: use openssl111 in openresty dir in precedence #3603
- fix(zipkin): don't cache the per-req sample ratio #3522
For more changes, please refer to Milestone
- fix: use luajit by default when run apisix #3335
- feat: use luasocket instead of curl in etcd.lua #2965
- π feat: support to communicate with etcd by TLS without verification in command line #3415
- π feat: chaos test on route could still works when etcd is down #3404
- π feat: ewma use p2c to improve performance #3300
- π feat: support specifying https in upstream to talk with https backend #3430
- π feat: allow customizing lua_package_path & lua_package_cpath #3417
- π feat: allow to pass SNI in HTTPS proxy #3420
- π feat: support gRPCS #3411
- π feat: allow getting upstream health check status via control API #3345
- π feat: support dubbo #3224
- π feat: load balance by least connections #3304
- π feat: kafka-logger implemented reuse kafka producer #3429
- π feat(authz-keycloak): dynamic scope and resource mapping. #3308
- π feat: proxy-rewrite host support host with port #3428
- π feat(fault-injection): support conditional fault injection using nginx variables #3363
- fix(standalone): require consumer's id to be the same as username #3394
- fix: support upstream_id & consumer with grpc #3387
- fix: set conf info when global rule is hit without matched rule #3332
- fix: avoid caching outdated discovery upstream nodes #3295
- fix: create the health checker in
access
phase #3240 - fix: make set_more_retries() work when upstream_type is chash #2676
For more changes, please refer to Milestone
- disable node-status plugin by default #2968
- k8s_deployment_info is no longer allowed in upstream #3098
- don't treat route segment with ':' as parameter by default #3154
- π allow create consumers with multiple auth plugins #2898
- π increase the delay before resync etcd #2977
- π support enable/disable route #2943
- π route according to the graphql attributes #2964
- π share etcd auth token #2932
- π add control API #3048
- π feat(limt-count): use 'remote_addr' as default key #2927
- π feat(fault-injection): support Nginx variable in abort.body #2986
- π
feat: implement new plugin
server-info
#2926 - π feat: add batch process metrics #3070
- π feat: Implement traffic splitting plugin #2935
- π feat: the proxy-rewrite plugin support pass nginx variable within header #3144
- π feat: Make headers to add to request in openid-connect plugin configurable #2903
- π feat: support var in upstream_uri on proxy-rewrite plugin #3139
- basic-auth plugin should run in rewrite phases. #2905
- fixed the non effective config update in http/udp-logger #2901
- always necessary to save the data of the limit concurrency, and release the statistical status in the log phase #2465
- avoid duplicate auto-generated id #3003
- fix: ctx being contaminated due to a new feature of openresty 1.19. For openresty 1.19 users, it is recommended to upgrade the APISIX version as soon as possible. #3105
- fix: correct the validation of route.vars #3124
For more changes, please refer to Milestone
- π support ENV variable in configuration. #2743
- π support TLS connection with etcd. #2548
- generate create/update_time automatically. #2740
- add a deprecate log for enable_websocket in upstream.#2691
- add a deprecate log for consumer id.#2829
- Added
X-APISIX-Upstream-Status
header to distinguish 5xx errors from upstream or APISIX itself. #2817 - support Nginx configuration snippet. #2803
- π Upgrade protocol to support Apache Skywalking 8.0#2389. So this version only supports skywalking 8.0 protocol. This plugin is disabled by default, you need to modify config.yaml to enable, which is not backward compatible.
- π add aliyun sls logging plugin.#2169
- proxy-cache: the cache_zone field in the schema should be optional.#2776
- fix: validate plugin configuration in the DP #2856
- π fix(etcd): handle etcd compaction.#2687
- fix: move
conf/cert
tot/certs
and disable ssl by default, which is not backward compatible. #2112 - fix: check decrypt key to prevent lua thread aborted #2815
-In the 2.3 release, the consumer will only support user names and discard the id. The consumer needs to manually clean up the id field in etcd, otherwise the schema verification will report an error during use -In the 2.3 release, opening websocket on upstream will no longer be supported -In version 3.0, the data plane and control plane will be separated into two independent ports, that is, the current port 9080 will only process data plane requests, and no longer process admin API requests
For more changes, please refer to Milestone
This is release candidate.
- π Migrate from etcd v2 to v3 protocol, which is not backward compatible. Apache APISIX only supports etcd 3.4 and above versions. #2036
- add labels for upstream object.#2279
- add managed fields in json schema for resources, such as create_time and update_time.#2444
- use interceptors to protect plugin's route#2416
- support multiple ports for http and https listen.#2409
- implement
core.sleep
.#2397
- π add AK/SK(HMAC) auth plugin.#2192
- π add referer-restriction plugin.#2352
limit-count
support to useredis
cluster.#2406- feat(proxy-cache): store the temporary file under cache directory. #2317
- feat(http-logger): support for specified the log formats via admin API #2309
- π
high priority
When the data plane receives an instruction to delete a resource(router or upstream etc.), it does not properly clean up the cache, resulting in the existing resources cannot be found. This problem only occurs in the case of long and frequent deletion operations.#2168 - fix routing priority does not take effect.#2447
- set random seed for each worker process at
init_worker
phase, onlyinit
phase is not enough.#2357 - remove unsupported algorithm in jwt plugin.#2356
- return correct response code when
http_to_https
enabled in redirect plugin.#2311
For more changes, please refer to Milestone
- Fixed Admin API default access token vulnerability
- Admin API: support authentication with SSL certificates. 1747
- Admin API: support both standard
PATCH
and sub pathPATCH
. 1930 - HealthCheck: supports custom host port. 1914
- Upstream: supports turning off the default retry mechanism. 1919
- URI: supports delete the '/' at the end of the
URI
. 1766
- π Request Validator 1709
- change: nginx worker_shutdown_timeout is changed from 3s to recommended value 240s. 1883
- change: the
healthcheck
timeout time type changed frominteger
tonumber
. 1892 - change: the
request-validation
plugin input parameter supportsSchema
validation. 1920 - change: add comments for Makefile
install
command. 1912 - change: update comment for config.yaml
etcd.timeout
configuration. 1929 - change: add more prometheus metrics. 1888
- change: add more configuration options for
cors
plugin. 1963
- fixed: failed to get
host
in health check configuration. 1871 - fixed: should not save the runtime data of plugin into
etcd
. 1910 - fixed: run
apisix start
several times will start multi nginx processes. 1913 - fixed: read the request body from the temporary file if it was cached. 1863
- fixed: batch processor name and error return type. 1927
- fixed: failed to read redis.ttl in
limit-count
plugin. 1928 - fixed: passive health check seems never provide a healthy report. 1918
- fixed: avoid to modify the original plugin conf. 1958
- fixed: the test case of
invalid-upstream
is unstable and sometimes fails to run. 1925
- doc: added APISIX Lua Coding Style Guide. 1874
- doc: fixed link syntax in README.md. 1894
- doc: fixed image links in zh-cn benchmark. 1896
- doc: fixed typos in
FAQ
γadmin-api
γarchitecture-design
γdiscovery
γprometheus
γproxy-rewrite
γredirect
γhttp-logger
documents. 1916 - doc: added improvements for OSx unit tests and request validation plugin. 1926
- doc: fixed typos in
architecture-design
document. 1938 - doc: added the default import path of
Nginx
for unit testing inLinux
andmacOS
systems in thehow-to-build
document. 1936 - doc: add
request-validation
plugin chinese document. 1932 - doc: fixed file path of
gRPC transcoding
inREADME
. 1945 - doc: fixed
uri-blocker
plugin path error inREADME
. 1950 - doc: fixed
grpc-transcode
plugin path error inREADME
. 1946 - doc: removed unnecessary configurations for
k8s
document. 1891
- Fix: multiple SSL certificates are configured, but only one certificate working fine. 1818
- π Apache Skywalking plugin 1241
- π Keycloak Identity Server Plugin 1701
- π Echo Plugin 1632
- π Consume Restriction Plugin 1437
- Batch Request : Copy all headers to every request 1697
- SSL private key encryption 1678
- Improvement of docs for multiple plugins
The 1.3 version is mainly for security update.
- reject invalid header#1462 and uri safe encode#1461
- only allow 127.0.0.1 access admin API and dashboard by default. #1458
The 1.2 version brings many new features, including core and plugins.
- π support etcd cluster. #1283
- using the local DNS resolver by default, which is friendly for k8s. #1387
- support to run
header_filter
,body_filter
andlog
phases for global rules. #1364 - changed the
lua/apisix
dir toapisix
(not backward compatible). #1351 - add dashboard as submodule. #1360
- allow adding custom shared dict. #1367
- π add Apache Kafka plugin. #1312
- π add CORS plugin. #1327
- π add TCP logger plugin. #1221
- π add UDP logger plugin. 1070
- π add proxy mirror plugin. #1288
- π add proxy cache plugin. #1153
- drop websocket enable control in proxy-rewrite plugin(not backward compatible). 1332
- Adding support to public key based introspection for OAuth plugin. #1266
- response-rewrite plugin support binary data to client by base64. #1381
- plugin
grpc-transcode
supports grpc deadline. #1149 - support password auth for limit-count-redis. #1150
- Zipkin plugin add service name and report local server IP. #1386
- add
change_pwd
anduser_info
for Wolf-Rbac plugin. #1204
- π support key-based authentication for Admin API(not backward compatible). #1169
- hide SSL private key in admin API. #1240
- missing
clear
table before to reuse table (will cause memory leak). #1134 - print warning error message if the yaml route file is invalid. #1141
- the balancer IP may be nil, use an empty string instead. #1166
- plugin node-status and heartbeat don't have schema. #1249
- the plugin basic-auth needs required field. #1251
- check the count of upstream valid node. #1292
This release is mainly to strengthen the stability of the code and add more documentation.
- always specify perl include path when running test cases. #1097
- Feature: Add support for PROXY Protocol. #1113
- enhancement: add verify command to verify apisix configuration(nginx.conf). #1112
- feature: increase the default size of the core file. #1105
- feature: make the number of file is as configurable as the connections. #1098
- core: improve the core.log module. #1093
- Modify bin/apisix to support the SO_REUSEPORT. #1085
- doc: add link to download grafana meta data. #1119
- doc: Update README.md. #1118
- doc: doc: add wolf-rbac plugin. #1116
- doc: update the download link of rpm. #1108
- doc: add more english article. #1092
- Adding contribution guidelines for the documentation. #1086
- doc: getting-started.md check. #1084
- Added additional information and refactoring sentences. #1078
- Update admin-api-cn.md. #1067
- Update architecture-design-cn.md. #1065
- ci: remove patch which is no longer necessary and removed in the upst. #1090
- fix path error when install with luarocks. #1068
- travis: run a apisix instance which intalled by luarocks. #1063
- feature: Add wolf rbac plugin. #1095
- Adding UDP logger plugin. #1070
- enhancement: using internal request instead of external request in node-status plugin. #1109
This release is mainly to strengthen the stability of the code and add more documentation.
- π Support routing priority. You can match different upstream services based on conditions such as header, args, priority, etc. under the same URI. #998
- When no route is matched, an error message is returned. To distinguish it from other 404 requests. #1013
- The address of the dashboard
/apisix/admin
supports CORS. #982 - The jsonschema validator returns a clearer error message. #1011
- Upgrade the
ngx_var
module to version 0.5. #1005 - Upgrade the
lua-resty-etcd
module to version 0.8. #980 - In development mode, the number of workers is automatically adjusted to 1. #926
- Remove the nginx.conf file from the code repository. It is automatically generated every time and cannot be modified manually. #974
- Added documentation on how to customize development plugins. #909
- fixed example's bugs in the serverless plugin documentation. #1006
- Added documentation for using the Oauth plugin. #987
- Added dashboard compiled documentation. #985
- Added documentation on how to perform a/b testing. #957
- Added documentation on how to enable the MQTT plugin. #916
- Add test cases for key-auth plugin under normal circumstances. #964
- Added tests for gRPC transcode pb options. #920
This release brings many new features, such as support for running APISIX with Tengine, an advanced debugging mode that is more developer friendly, and a new URI redirection plugin.
- π Supported to run APISIX with tengine. #683
- π Enabled HTTP2 and supported to set ssl_protocols. #663
- π Advanced Debug Mode, Target module function's input arguments or returned value would be printed once this option is enabled. #614
- Support to install APISIX without dashboard. #686
- Removed router R3 #725
- Redirect URI: Redirect URI plugin. #732
- Proxy Rewrite: Supported remove
header
feature. #658 - Limit Count: Supported global limit count with
Redis Server
.#624
- lua-resty-radixtree
- Support for
host + uri
as an index.
- Support for
- lua-resty-jsonschema
- This extension is a JSON data validator that replaces the existing
lua-rapidjson
extension.
- This extension is a JSON data validator that replaces the existing
- key-auth plugin cannot run accurately in the case of multiple consumers. #826
- Exported schema for plugin serverless. #787
- Discard args of uri when using proxy-write plugin #642
- Zipkin plugin not set tracing data to request header. #715
- Skipped check cjson for luajit environment in apisix CLI. #652
- Skipped to init etcd if use local file as config center. #737
- Support more built-in parameters when set chash balancer. #775
- Replace the
lua-rapidjson
module withlua-resty-jsonschema
global,lua-resty-jsonschema
is faster and easier to compile.
Released on 2019/09/30
This release brings many new features, such as stream proxy, support MQTT protocol proxy, and support for ARM platform, and proxy rewrite plugin.
- π support standalone mode: using yaml to update configurations of APISIX, more friendly to kubernetes. #464
- π support stream proxy. #513
- π support consumer bind plugins. #544
- support domain name in upstream, not only IP. #522
- ignored upstream node when it's weight is 0. #536
- π
MQTT Proxy: support to load balance MQTT by
client_id
, both support MQTT 3.1 and 5.0. #513 - proxy-rewrite: rewrite uri, schema, host for upstream. #594
- π APISIX can run normally under Ubuntu 18.04 of ARM64 architecture, so you can use APISIX as IoT gateway with MQTT plugin.
- lua-resty-ipmatcher
- support IPv6
- IP white/black list, route.
- lua-resty-radixtree
- allow to specify multiple host, remote_addr and uri.
- allow to define user-function to filter request.
- use
lua-resty-ipmatcher
instead oflua-resty-iputils
,lua-resty-ipmatcher
matches fast and support IPv6.
- healthcheck: the checker name is wrong if APISIX works under multiple processes. #568
- removed
lua-tinyyaml
from source code base, and install through Luarocks.
Released on 2019/09/06
This release brings many new features, such as IP black and white list, gPRC protocol transcoding, IPv6, IdP (identity provider) services, serverless, Change the default route to radix tree (not downward compatible), and more.
- π gRPC transcoding: supports protocol transcoding so that clients can access your gRPC API by using HTTP/JSON. #395
- π radix tree router: The radix tree is used as the default router implementation. It supports the uri, host, cookie, request header, request parameters, Nginx built-in variables, etc. as the routing conditions, and supports common operators such as equal, greater than, less than, etc., more powerful and flexible.IMPORTANT: This change is not downward compatible. All users who use historical versions need to manually modify their routing to work properly. #414
- Dynamic upstream supports more parameters, you can specify the upstream uri and host, and whether to enable websocket. #451
- Support for get values from cookies directly from
ctx.var
. #449 - Routing support IPv6. #331
- π serverless: With serverless support, users can dynamically run any Lua function on a gateway node. Users can also use this feature as a lightweight plugin.#86
- π support IdP: Support external authentication services, such as Auth0, okta, etc., users can use this to connect to Oauth2.0 and other authentication methods. #447
- rate limit: Support for more restricted keys, such as
X-Forwarded-For
andX-Real-IP
, and allows users to use Nginx variables, request headers, and request parameters as keys. #228 - IP black and white list Support IP black and white list for security. #398
- Add the
version
directive to get the version number of APISIX. #420
- The
PATCH
API is supported and can be modified individually for a configuration without submitting the entire configuration. #365
- π Add the online version of the dashboardοΌusers can experience APISIX without install. #374
Released on 2019/08/05
This release brings many new features such as health check and circuit breaker, debug mode, opentracing and JWT auth. And add built-in dashboard.
- π Health Check and Circuit Breaker: Enable health check on the upstream node, and will automatically filter unhealthy nodes during load balancing to ensure system stability. #249
- Anti-ReDoS(Regular expression Denial of Service). #252
- supported debug mode. #319
- allowed to use different router. #364
- supported to match route by host + uri. #325
- allowed plugins to handler balance phase. #299
- added desc for upstream and service in schema. #289
- π OpenTracing: support Zipkin and Apache SkyWalking. #304
- JWT auth. #303
- support multiple ips of
allow
. #340 - supported real_ip configure in nginx.conf and added functions to get ip and remote ip. #236
- π add built-in dashboard. #327