v2.6.0
版本发布时间: 2023-08-11 10:13:42
apache/shenyu最新发布版本:v2.6.1(2024-01-17 21:48:21)
2.6.0
New Features
- Support shenyu-admin expose prometheus metrics
- Add shenyu Level-1 cache and Level-2 cache
- Save extend plugin jar to shenyu admin
- Support shenyu upload plugin hot load in gateway
- Support apollo sync data and register data
- Initializes client information collection
- Support spring-boot-client auto config in shenyu client
- Add TCP plugin
- Super admin forces password change
- Spring-mvc(boot) client support collect api-meta
- Add zookeeper discovery sync
- Initializes Shenyu ingress controller
- Add discovery upstream and proxy selector proxy
- Expose shenyu actuator endpoint
- Add naocs discovery sync
- Add apollo discovery sync
- Add HttpLongPolling discovery sync
- Add consul discovery sync
- Add huawei cloud lts loging plugin
- Support openGauss database for shenyu admin
- Support polaris config sync and register center
API Changes
Enhancement
- Add tags for shenyu api doc client
- Add brpc integrated test
- Brpc support shared thread pool
- Add mapType to cryptor request and response plugin
- Crypto plugin supports multi field names
- Add p2c loadbalancer
- Modify plugin jar to Base64-string in plugin data
- Add shortest response load balancer
- Add hash load balancer test case
- Add DetailSerivice test case
- Tolerant path slash for shenyu
- Add shenyu-common enums test case
- Add shenyu-common dto test case
- Add shenyu-admin model test case
- Add shenyu match cache test case
- Support k8s probes
- Add shenyu-admin service test case
- Add document json data in api doc
- The SPEL in the mock plugin is secure by default
- Add test cases for ShenyuClientApiDocExecutorSubscriber
- Add test case for shenyu-client-sofa module
- Add tag relation for shenyu api doc
- Support shenyu admin, bootstrap service stop script bat in windows
- Add test case for ShenyuSdkClientFactory
- Add websocket synchronization method for e2e-springcloud
- Support divide plugin active offline
- Add springcloud service instance cache
- Change password support i18n
- Add websocket sync for shenyu discovery
- Update springboot to 2.7.13
- Add other syn method e2e-spring-cloud
- Add api doc client generated annotation attribute
- Update zookeeper client register repository active offline
- Update apollo client register repository active offline
- Storage adjustment for swagger type API documents, change from local cache to database
- Support nacos client offline
- Add e2e alibaba dubbo test case
- Add e2e apache dubbo test case
- Add shenyu-spring-sdk test cases
- Add e2e sofa test cases
- Add apollo config sync test case
- Add database connection pool
- Add idea icon for shenyu project
Refactor
- Optimize shenyu-admin
- Refactor least active balance algorithm
- Optimized version-one for sign-plugin
- Optimize upstream check service
- Resolve shenyu project global version
- Refactor ShenyuConsulConfigWatch code
- Refactor shenyu trie codes
- Check uri condition of rule when saving
- Optimize shenyu-client code for shenyu-client-websocket
- Add license for admin dependency micrometer
- Update maven-assembly-plugin to 3.5.0
- Optimize global plugin sorting
- Use BearerToken replace StatelessToken in shenyu-admin
- Refactor shenyu-logging module
- Add validation for api doc
- Optimize Trie code and improve wildcard * supporting
- Refactor the custom plugin support hot load
- Refactor ShenyuWebHandler putPlugin methods
- Refactor Shenyu webfilter
- Reactor oauth2 plguin
- Refactor shenyu selector data continued field
- Refactor shenyu selector and rule cache
- Removed unused generics in shenyu client
- Refactor shenyu-plugin-sentinel plugin
- Refactor cache and add endpoint to expose cache
- Refactor checkUserPassword, not print known error log when startup
- Add some parameters for log
- Refactor shenyu global exception handler
- Add shenyu upload plugin integrated test case
- Optimize some syntactic sugar
- Change discovery_upstream discovery_handler_id
- Refactor shenyu global exception handlers
- Refactor shenyu plugin module
- Refactor AlibabaDubboConfigCache
- Remove hutool from dependency
- Refactor ShenyuClientShutdownHook
- Extractor add BaseAnnotationApiBeansExtractor
- Support multi-client registration
- Refactor shenyu-e2e support shenyu check style
- Refactor shenyu client register base
- Add domain test for shenyu divide plugin
- Update other rpc_ext for the same service
- Optimize consul connect operation
- Refactor shenyu e2e springcloud yaml change
- Add integrated test for k8s ingress controller
- Split the document field of the apidoc detail interface,and add fields such as requestHeaders and responseParameters
- Add swagger sample project to test the relevant functionality of the API documentation
- Optimize the display of form fields in json format
- Refactor shenyu log observability
- Add bootstrap start log
- Refactor api document for swagger
- Upgrade grpc version to 1.53.0
- Refactor api meta data process function
- polish master code and pom
Bug Fix
- Smart h2 path
- Fix crypto-response plugin
- Fix jdk8 Map computeIfAbsent performance bug
- Fix zombieRemovalTimes code
- Fix the upgraded sql file
- Remove detectOfflineLinks tag
- Ignore flattened-pom
- Fix LOG invoke method
- Fix NPE for shenyu-example-springcloud with nacos
- Fix shenyu-admin names for arguement of type
- Fix loadbalance spi resource
- Fix sql script error
- Fix to 24-hour format and timeZone for jackson
- Fix JwtUtils error
- Fix dubbo invoker cache bug
- Fix missing HOST delete operation
- Fix SpringMvcClientEventListener test case
- Fix pass update PENDING_SYNC for zombie
- Fix Memory leak
- Fix rule query failed because there are too many rules
- Fix missing actuator dependency and port error in examples http
- Fix UpstreamCheckUtils http and https
- Fix FileFilter make memory leak
- Fix zookeeper sync error
- Fix MemorySafeWindowTinyLFUMap memory leak error
- Fix lack separator of path of ApiDoc
- Fix NPE for shenyu trie
- Fix plugin skip error
- Fix oracle sql error
- Fix shenyu icon can't load in shenyu admin
- Fix hystrix fallback bug
- Fix warm up time for divide and springcloud
- Fix springcloud service chooser
- Fix shenyu-spring-boot-starter-plugin-mock add spring.factories
- Fix shenyu-client-mvc and shenyu-client-springcloud lose ip
- Fix empty rule data and selector data in cache
- Fix api document module update api detail error
- Fix get topic from config in KafkaLogCollectClient
- Fix logging console thread safety
- Fix brpc integration testing response size
- Fix selector update gray remove cache for plugn-dubbo-common
- Fix shenyu admin menu name bug
- Fix shenyu admin cannot configure consul port
- Fix shenyu client metadata and uri cannot sync to admin with apollo
- Fix PathVariable annotation url cannot match
- Fix could not update uri in PathPattern mode
- Fix client shutdown method call twice
- Fix shenyu mishandle consul configuration
- Remove unused configuration from Request, modifyResponse plugin
- Fix http registration metadata
- Fix websocket lost the user-defined clost status
- Fix consul register lose the prop of meta-path when special symbol
- Fix etcd sync error
- Fix admin sync error
- Fix shenyu motan plugin execute error
2.5.1
New Features
- Add brpc example
- Add spring boot starter plugin brpc&admin
- Add brpc-plugin
- Add shenyu-client-api-doc
- Add sdk duplicate class check
- Support diff nacos namespace
- Add array method of expression in mock plugin
- Support generation of mock data on request
- Support user specify http request domain
- Add MockRequestRecord
- Development shenyu-register-instance-eureka
- Support API document Api doc detail mapper
- Add api doc ddl
- Add TagMapper and TagRelationMapper
- Add api and api_rule_relation mapper
- Not config rule
- Refactor message readers
- Add sentinel rule handle parameter
- Add shenyu-e2e test engine
- Make an Apache Shenyu SSO authentication plugin based on casdoor
- Add logging-tencent-cls plugin
- Support clickhouse-logging-pugin
- Add logging-pulsar plugin
- Add new plugin: key-auth
- Fix sign plugin DataBufferLimitException error
- Fix context-path error
API Changes
Enhancement
- Add simpler client annotations for motan
- Add simpler client annotations for websocket
- Add configuration in starter for motan plugin
- Add convenience annotation for shenyu-client-springcloud and shenyu-client-springmvc
Refactor
- Refactor some code for mock request of api doc
- Refactor logging-clickhouse
- Polish maven dependencies of dubbo
- Refactor sign plugin
- Update ShenyuExtConfiguration
- Remove unnecessary singleton
- Fix generating mock data in multithreading
- Refactor sdk test and processArgument
- Refactor DefaultSignService
- Fix shenyu-admin rule
- Optimized ShaUtil
- Fix cache too large
- Fix ConcurrentModificationException
- Fix sync data in etcd
- Refactor shenyu sdk client
- Optimize request timeout response
- Refactor log module
- Refactor shenyu-client-springcloud
- Refactor MotanServiceEventListener
- Refactor shenyu-admin sync data listener
- Refactor shenyu-client-tars
- Refactor client sdks alibaba dubbo
- Refactor springmvc client
- Refactor admin mapper config
- Refactor shenyu-plugin-logging
- Optimize random algorithm
- Refactor random loadbalancer
- Refactor logging-kafka
Bug Fix
- Remove redundant cookie setting
- Fix appAuth delete
- fix Cryptor-Request Plugin
- To avoid load the same ext plugins repeatedly
- Fix the TagRelationQuery
- Fix upgrade sql
- Fix Nacos register NPE
- Fix sandbox json parsing
- Prevent the first time from failing to load
- Fix plugin update bug by modifying config field setter
- Fix postgresql sql
- Fix the postgresql error during ShenYu-Admin startup
- Fix sentinel can't fuse
- Fix TencentClsLogCollectClient
- Fix change password error
- Fix selector page
- Fix request plugin can't replaceCookie
- Fix RateLimiterPlugin concurrent handler error