Sentinel v1.5.0 Release Notes

Release Date: 2019-03-14 // about 5 years ago
  • ๐Ÿ’ฅ Breaking Changes

    Since 1.5.0, the minimum JDK version has been updated to 1.7. JDK 1.6 is no longer supported.

    There are some changes in Node interface: the return type of xxxQps methods (e.g. passQps, blockQps) has been changed from long to double to be more accurate.

    ๐Ÿ‘ In 1.5.0 we added common occupy mechanism in LeapArray so that Sentinel can occupy future buckets of the sliding window to support "final pass for prioritized requests when QPS exceeds the threshold". The Sph.entryWithPriority(xxx) method will take effect now in local flow control mode.

    ๐Ÿ”‹ Features / Enhancements

    • โšก๏ธ Update minimum JDK version to 1.7 (for all modules)
    • ๐Ÿ”จ Refactor Node interface: change return type of QPS get method to double (#564)
    • โž• Add occupy mechanism for future buckets of sliding window to support "prioritized requests" (#568)
    • โž• Add occupiable LeapArray support and code refactor/rearrangement
    • โž• Add Sentinel Reactor module to support reactive integration (#545)
    • โž• Add adapter module and implementation for Spring WebFlux (#556)
    • โž• Add try-with-resources support for Entry class (#550)
    • โž• Add an ApiCommandHandler to list all available commands and description (#491)
    • โž• Add CPU usage checking support in system protection rule (#484)
    • โž• Add a CommandCenterProvider to resolve and cache the CommandCenter instance (#409)
    • Automatically de-duplicate rules when loading rules (#571)
    • ๐Ÿ‘Œ Support recording total inbound traffic data in metric file (#555)
    • ๐Ÿ‘Œ Support passing args in Sph.entryWithPriority(xxx)
    • ๐Ÿ‘ Allow negative paramIndex as reversed-order index in ParamFlowRule (#549)
    • โž• Add AuthInfo parameter in the constructor of ZooKeeperDataSource to support ACL (#508)
    • Carry appName in FetchClusterServerInfo command
    • โšก๏ธ Optimize circuit breaking state transformation using CAS in DegradeRule (#538)
    • ๐Ÿ‘Œ Improve sleeping-based tests to be more stable and optimize slow tests (#546)
    • ๐Ÿ”„ Change default value of avgUsedTokens to zero to be more meaningful in DefaultController (#460)
    • โšก๏ธ Update fastjson dependency version to 1.2.56 (for sentinel-datasource-extension)
    • โšก๏ธ Update apollo-client version to 1.3.0 and add support for removing listener in sentinel-datasource-apollo (#562)

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix SimpleDateFormat concurrent issue in CspFormatter of sentinel-core (#548)
    • ๐Ÿ›  Fix Dubbo-related dependencies in sentinel-dubbo-demo (#534)

    Dashboard

    • ๐Ÿ‘Œ Support automatic/manual removal of unhealthy machines and disconnected applications in dashboard (#168)
    • โž• Add basic interface for authentication and authorization in Sentinel dashboard (#503)
    • ๐Ÿ‘Œ Improve management for foreign-app stand-alone token server in cluster page
    • โœ‚ Remove G2 lib tracking in frontend of Sentinel dashboard (#527)
    • ๐Ÿ›  Fix concurrent error in InMemoryMetricsRepository of the dashboard (#488)
    • โž• Add Apollo flow rule publisher sample in Sentinel dashboard (#535)

    Thanks for the contributors: @all4you, @ATAXGT, @cdfive, @HaojunRen, @hantianwei, @jasonjoo2010, @MickMo, @mjaow, @nick-tan, @xburning, @yikangfeng, @yklove