Skip to content

Releases: alibaba/Sentinel

v1.4.1

04 Jan 07:22
Compare
Choose a tag to compare

This is a milestone version that provides enhancements for cluster flow control.

Features / Enhancements

  • Improve Sentinel dashboard for cluster flow control management (#384)
  • Support multiple tokens per request entry (#380)
  • Improve retry and stop control logic in cluster token client
  • Improve cluster state manager to modify cluster mode more flexible
  • Enhance config and log for cluster token client
  • Improve namespace register logic for embedded cluster token server mode
  • Add cluster embedded mode handling logic for parameter flow checker
  • Add basic monitoring command API for cluster token server
  • Upgrade nacos-client version and construct NacosDataSource by Properties (#348, @fangjian0423)
  • Make the default statistic max RT value TIME_DROP_VALVE configurable (#292, @cdfive)
  • Rearrange the constructor of LeapArray to match with interval and sampleCount property
  • Refinement for heartbeat logic in sentinel-transport related module
  • Polish cluster flow control demo to be more instructive
  • Add some unit test for sentinel-transport-netty-http module (#321, @cdfive)

Bug fixes

  • Fix bug in search logic of metric files (#331)
  • Fix wrong empty check in FlowRuleApiPublisher of Sentinel dashboard (#353, @foreveryang321)

Thanks for the contributors: @allencloud, @canglang1973, @cdfive, @fangjian0423, @foreveryang321, @jz0630, @YoungHu

v1.4.0

14 Dec 07:11
Compare
Choose a tag to compare

This is a significant milestone version that provides cluster flow control feature.

Note: The cluster flow control module requires JDK 1.7 or later versions.

Features / Enhancements

  • Add cluster flow control interface and default implementation (#257, #294)
    • Add basic token client and server interface in Sentinel Core
    • Add cluster common module for common interface, entity and registry
    • Add cluster client module for default token client implementation (using Netty as transport library)
    • Add cluster server module for default token server implementation
    • Add basic cluster config and rule management mechanism
    • Support flexible transformation of cluster mode (between client and embedded server)
    • Add basic support for cluster mode in Sentinel dashboard (#302)
  • Add prioritized entry support in ProcessorSlot and SphU (#255)
  • Add "warmup with rate limiting" implementation for traffic shaping (#220)
  • Add HTTP-method level flow control support in Sentinel Web Servlet Filter (#282, @ro9er)
  • Add client ip property in transport common module to resolve ip problem in Docker env (#261, @nick-tan)
  • Optimize the click sensitivity of dashboard's sidebar menu (#268, @cdfive)
  • Extract annotation support base class for customized AOP extensions (#223, #214, @bitonly)
  • Extract flow rule checker from FlowRule (#234)
  • Improve log info and condition about fetching metrics in Sentinel dashboard (#219, @xcaspar)

Bug fixes

  • Fix padding issue of charts in monitoring page of Sentinel dashboard (fixes #251, @cdfive)
  • Support parameters in entry of Sentinel annotation support to enable parameter flow control
  • Support automatic exception tracing in Sentinel annotation support

Thanks for the contributors: @bitonly, @canglang1973, @cdfive, @nick-tan, @ro9er, @xcaspar

v1.3.0-GA

30 Oct 07:32
Compare
Choose a tag to compare

This is a production-ready GA version including enhancements for Sentinel dashboard and some other enhancements / bug fixes.

Features / Enhancements

  • Add support for configuring authority rules and parameter rules in Sentinel Dashboard (#176, #189)
  • Add support for degrading by exception count per minute (#174)
  • @SentinelResource annotation supports method name as default resource name (#187)
  • Enhance rule checking in rule managers and Sentinel Dashboard (#202)
  • Support config the log base directory via system property
  • Support config whether the log name contains pid
  • Support to retry when port specified has been used in sentinel-transport-netty-http (#161, @jasonjoo2010)
  • LogBase support variable arguments (#161, @jasonjoo2010)

Bug fixes

  • Fix bug for wrong coordinate scaling of QPS chart (passed/blocked) in monitoring page of Sentinel Dashboard (fixes #22, @jasonjoo2010)
  • Fix bug for wrong log file name checking and performance problem (fixes #181)
  • Fix bug for body reading in HttpServerHandler of sentinel-transport-netty-http (fixes #184, @jasonjoo2010)
  • Fix bug for ConcurrentModificationException when getting machine map in AppInfo of Sentinel Dashboard (fixes #201)

Thanks for the contributors: @jasonjoo2010, @shannon312, @waveng

v0.2.0

27 Sep 11:52
Compare
Choose a tag to compare

This is a milestone version providing new cool features like asynchronous invocation support and flow control by frequent (hot spot) parameters.

Note: this is the last milestone version that supports JDK 1.6. Since next milestone version, the minimum JDK version will be 1.7.

Features

  • Add support for asynchronous invocation entry (#146)
  • Flow control by frequent (hot spot) parameters (#156)
  • Support extensible slot chain builder using SPI mechanism (#145)
  • Add callback registry for statistic slot for extensions
  • Add Redis data source extension (#102, @tigerMoon)
  • Add MetricsRepository interface and reuse original in-memory implementation for Sentinel Dashboard (#126)
  • Access control for white-list / black-list (AuthorityRule)
  • Add RequestOriginParser for Sentinel Web Servlet Integration to support extracting request origin

Enhancements

  • Refactor data source hierarchy: spilt into readable and writable data source (#124)
  • Support JDK-based proxy in Sentinel annotation support (#111)
  • Enhance exception tracing in Sentinel Dubbo Adapter
  • Enhance FileRefreshableDataSource (check file modified) and support FileWritableDataSource (#125, @yfh0918)
  • Refactor LeapArray to reuse code for current bucket
  • Enhance log and null check for rule managers
  • Add benchmark for Sentinel
  • Extract MetricsReader from MetricSearcher (#103, @refactormachine)

Bug fixes

  • Fix bugs for Sentinel internal error when context count exceeds MAX_CONTEXT_NAME_SIZE (#152)
  • Fix bugs for degrade rule checking (fixes #109 and #128)
  • Fix bug for error file separator regex in Windows environment (fixes #52)
  • Fix bug for missing maxQueueingTimeMs in equals and hashCode method of FlowRule (fixes #99)
  • Fix bug for system rule page in Sentinel Dashboard (fixes #51)
  • Fix bug for automatic exit of default context when exiting the entry
  • Fix bug for probability of metric lose when collecting metrics
  • Fix bug for update logic of minRt in metric bucket

Thanks for the contributors: @kimmking, @refactormachine, @talshalti, @tigerMoon, @yfh0918

v0.1.1

09 Aug 03:29
Compare
Choose a tag to compare

Features

  • Add Nacos data source extension (#8)
  • Add ZooKeeper data source extension (#33, @guonanjun)
  • Add Sentinel annotation and AspectJ support (#43)
  • Add default fallback support for Dubbo adapter
  • Add Apollo data source extension (#46, @nobodyiam)

Bug fixes

  • Enhance error handling when parsing bad dashboard addresses (fixes #38)
  • Fix bugs about runtime port and heartbeat sending logic (fixes #20)

Enhancements

  • Optimize for statistic data structures (leap array)
  • Use named thread factory for clear identification (#10)
  • Refine degrade rule checking and default value of flow rule attributes

Thanks for the contributors: @guonanjun, @manzhizhen, @nobodyiam, @xg1907