Sentinel v1.7.1 Release Notes

Release Date: 2019-12-25 // 5 months ago
  • 🔋 Features / Enhancements

    • ➕ Add Sentinel Spring Web MVC adapter module (#1104)
    • 👌 Improve async invocation support for Dubbo 2.7.2+ in sentinel-apache-dubbo-adapter (#1124)
    • 👌 Support configuration for the heartbeat API path in transport module (#515)
    • ♻️ Refactor: Get the max allowed RT directly from SentinelConfig.statisticMaxRt() to avoid implicit dependency chain (#1173)
    • 👌 Support setting config file path via system environment and improve error handling in SentinelConfigLoader

    🐛 Bug fixes

    • 🛠 Fix the incorrect logic of handling the end separator of the log directory in LogBase (#1172)
    • 🛠 Fix Content-Type matching bug in sentinel-transport-simple-http module (#1207)
    • 🛠 Fix the incorrect logic of getting maxSuccessQps in StatisticNode (#1196)

    Dashboard

    • 👌 Improve the ACL checking mechanism and add @AuthAction annotation support (#1042)
    • 🔄 Change the charset of UrlEncodedFormEntity to UTF-8 in SentinelApiClient to support non-ASCII characters (#1207)

    Thanks for the contributors: @agensi, @CodingSinger, @fangwentong, @hongjiev, @kaizi2009, @lkxiaolou, @nick-tan, @zhaoyuguang, @zhenxianyimeng


Previous changes from v1.7.0

  • 👀 In this version, Sentinel provides an Envoy Global RLS implementation using Sentinel token server, so that Envoy service mesh could leverage the distributed flow control capability of Sentinel. See here for details.

    👀 Since 1.7.0, Sentinel supports configuration via arbitrary properties files. We could set the path of the properties file with the -Dcsp.sentinel.config.file property item. See here for more details.

    🔋 Features / Enhancements

    • ➕ Add Sentinel Envoy RLS token server implementation (#1139)
    • 👌 Support arbitrary configuration properties file path for Sentinel (#804)
    • 👌 Improve the SPI ClassLoader mechanism to handle more complex scenarios (#1088)
    • ➕ Add support for resource classification and polish adapters (#1142)
    • 👌 Support customized block page HTTP status in sentinel-web-servlet-adapter (#1112)
    • 🔧 Make rtSlowRequestAmount and minRequestAmount in DegradeRule configurable (#789)
    • 🔧 Make maxParamByteSize configurable in ParamFlowRequestDataWriter of cluster client module and fix bugs (#823)
    • 👌 Improve Node and Metric interface to support conditional metric retrieval (#1115)
    • 👌 Support adding prefix to Dubbo service resource name in Sentinel Dubbo Adapter (#859)
    • 👌 Improve annotation aspect to support throwing original exception in fallback and blockHandler (#986)
    • ➕ Add Etcd DataSource extension (#1018)
    • ➕ Add Consul DataSource integration module (#979)
    • ➕ Add Spring Cloud Config data source extension (#899)
    • 👌 Improve the checking logic of SystemRule and enhance SystemRuleManager (#1050)
    • 👌 Support registering writable data-source for GatewayFlowRule and customized ApiDefinition (#1057)
    • ➕ Add init parameter to support unifying web context name in Sentinel Web CommonFilter (#1111)
    • 👌 Support URL exclusion using UrlCleaner in Spring WebFlux adapter (#1049)
    • Reuse connections of the same address in ZooKeeper data-source (#788)
    • ⚡️ Dependency update: fastjson to 1.2.62, nacos-client to 1.1.4, apollo-client to 1.5.0

    🐛 Bug fixes

    • 🛠 Fix the bug that resource name displayed in ClusterNode-related command APIs for SphU.entry(method) is incorrect (#1078)
    • 🛠 Fix hookOnCancel handing logic in SentinelReactorSubscriber (#1089)
    • 🛠 Fix the bug of getting the wrong current flow QPS in ClusterFlowChecker (#972)
    • 🛠 Fix the numeric overflow bug of ping response data in the cluster module (#844)
    • 🛠 Fix the bug of wrong RT and exception tracing in sentinel-grpc-adapter (#291 and #995)
    • 🛠 Fix the bug that the Zuul adapter does not exit the entry with parameters (#1148)

    Dashboard

    • ➕ Add version info in the left top of dashboard (#1015)
    • 👌 Support configuration for disabling login (#1004)

    Thanks for the contributors: @aq0706, @ballenwen, @cat-coco, @chenledong, @CodingSinger, @complone, @cookiejoo, @fangjian0423, @HaojunRen, @huangxfchn, @lhl4546, @linlinisme, @lkxiaolou, @wangybgit, @wavesZh, @ycx627954927, @zhangyide, @zhaoyuguang, @0704681032