Repository navigation
Repository CHANGELOG
主仓库文档快照;main 的说明不自动适用于所有已发布版本。 来源:原文 · 提交
832124aaacf0· 返回目录
Apache Dubbo-go 3.3.2 is a production-readiness release focused on API consolidation, Triple protocol capabilities, application-level metadata, service governance, concurrency safety, and release tooling. It completes the removal of the legacy config package, moves the project baseline to Go 1.25, expands generic invocation and HTTP-facing Triple features, refreshes generated-project workflows, and fixes multiple races, stale-snapshot issues, and resource leaks.
- Go 1.25 is now required. The module and project toolchain have moved from Go 1.24 to Go 1.25. #3469
-
The legacy
dubbo.apache.org/dubbo-go/v3/configpackage has been removed. Applications that imported it directly must migrate to the instance/options APIs and configuration types underglobal. The root compatibility bridge has also been removed. #3372 #3448 #3449 -
Direct users of the low-level
triple_protocol.ClientAPI must pass the RPC method explicitly. The higher-levelclient.Clientand generated-client APIs remain unchanged. #3086 -
The Hystrix filter has moved to
apache/dubbo-go-extensions. Existing users should import the extension implementation and keep using the registered filter name. #3253 - The legacy gRPC and Dubbo3 protocol implementations and the IDL-mode switch are now deprecated in preparation for a future removal. #3469
-
Expand generic invocation support. Triple generic calls can now interoperate without generated stubs, with new
protobuf-jsonandbeangeneralizers, typed invocation, class metadata, and exception-class handling. #3154 #3170 #3171 #3174 #3175 #3183 - Enhance Triple for HTTP and cloud-native workloads. This release adds CORS, REST OpenAPI support, stateful HTTP/3 negotiation with probe and cooldown, mounting existing HTTP handlers on a Triple listener, and unary response header/trailer capture through call options. #3090 #3280 #3281 #3301 #3443 #3446
- Add Kubernetes health probes. Applications can expose liveness, readiness, and startup checks. #3213
- Rework graceful shutdown. The shutdown lifecycle now coordinates consumers, providers, registries, and acknowledgements through a unified implementation and configurable shutdown state. #3235 #3293 #3386 #3388
- Strengthen application-level metadata. The release completes the local metadata lifecycle, makes metadata state concurrency-safe, clarifies metadata-report selection, canonicalizes revisions, adds renewal and garbage collection, and hardens remote loading with report-to-RPC fallback and conflict-aware service-to-application mapping updates. #3357 #3362 #3367 #3369 #3370 #3371 #3373 #3395
- Improve routing and governance. Static router configuration injection, script-router registration, router-chain snapshot caching, and additional routing context are now supported. #3215 #3224 #3252 #3305
- Improve observability. A context-aware logger interface integrates trace fields with Logrus and Zap, logger initialization now synchronizes the public Dubbo-go facade, and Triple metrics distinguish additional RPC failure conditions. #3189 #3195 #3345
- Expose snapshots of
CustomConfigandInstanceOptionsfor applications that need to inspect resolved instance configuration. #3481
- Fix races across URL cloning, shared extension registries, metadata state, protocol lifecycle, Nacos and directory state, consistent hashing, round-robin load balancing, sticky invokers, and service-discovery listeners. #3160 #3264 #3265 #3269 #3270 #3271 #3307 #3317 #3367 #3435 #3439 #3442
- Respect cancellation and timeouts while dialing Triple HTTP/2 connections and validate Getty server TLS configuration before enabling SSL. #3156 #3165
- Preserve Go/Java Triple interoperability with case-insensitive method routing that does not duplicate or pollute service metadata. #3277
- Fix routing correctness for context attachments, provider tags, application names and URL attributes, affinity-router initialization, and invalid script-router configuration updates. #3164 #3185 #3208 #3216 #3256 #3417
- Prevent panics during concurrent invoker destruction and avoid a server startup deadlock caused by holding the server lock while blocking in
Serve. #3184 #3238 - Reconcile initial Nacos and Polaris subscription state so stale providers are removed when current registry snapshots arrive. #3479 #3482
- Fix retained URL state and clean up pending remoting responses on request errors and heartbeat timeouts to prevent memory growth. #3282 #3440
- Preserve multiple Nacos providers and routable environment metadata, keep application tags in
MetadataInfo, and retain Apollo context paths when building configuration-center addresses. #3309 #3331 #3400 - Preserve OpenTelemetry
traceparentvalues and fix the metadata supplier type mismatch that broke trace propagation. #3285 #3433 - Make Triple stream response closure non-blocking and harden protocol initialization, metadata headers, trailer attachments, and Getty write error handling. #3307 #3418 #3428 #3434 #3466
- Fix generic invocation of variadic methods and add warnings for unsupported or ambiguous variadic RPC definitions. #3284 #3294
- Prevent JSON-RPC nil-pointer panics for unsupported content types and missing exporters. #3298 #3312
- Make consistent hashing use the configured
hash.argumentsindexes and accept non-string request arguments without panicking. #3430 #3432 - Add bounded exponential-backoff retries for Nacos subscriptions and failback cluster retries. #3178 #3180
- Refactor the low-level Triple client from one client per method to one client per service, reducing managed client instances from O(methods) to O(1) per service. #3086
- Reduce allocations in
common.URLcloning, string rendering, equality checks, map conversion, and key construction. #3399 #3403 #3404 #3412 #3488 - Reduce temporary allocations in load-balancing and service-discovery hot paths, and add fast paths for Triple content-type canonicalization. #3410 #3414 #3415 #3416
- Remove the Viper dependency and continue decoupling runtime components from legacy configuration internals. #3323 #3449
- Add a Linux/RISC-V build check and update security-sensitive and networking dependencies. #3244 #3368 #3467 #3470
- Refresh the companion tool versions for the release:
protoc-gen-go-tripleandprotoc-gen-triple-openapi3.3.2,dubbogo-cli1.0.1, andimports-formatter1.0.11. The Triple generator now emits the modernNewXxxandRegisterXxxHandlerAPI style by default, records generator andprotocversions in generated files, and retains legacy output behinduseOldVersion=true. #3585 - Rework CLI scaffolds to generate protobuf and Triple sources through
make proto-geninstead of embedding generated files. New projects use Go 1.25 with the stable Dubbo-go v3.3.1 dependency, treat wrapped EOF as normal stream completion, and are compiled end to end in Linux CI. #3585 #3587
- Document Triple header and trailer APIs and the migration path for reading generic-call response attachments; refresh filter documentation and repair outdated README links. #3158 #3365 #3380 #3381 #3447
- Refresh the English and Chinese documentation for maintained tools, update the current configuration schema and example, and remove the obsolete variadic-RPC contract checker. #3585
- Add default protection rules for the default and release branches, upgrade the Codecov action, and add the Linux/RISC-V build workflow. #3325 #3375 #3470
Special thanks to all contributors to Apache Dubbo-go 3.3.2:
@04cb @Aetherance @Aias00 @Alanxtl @AlexStocks @AsperforMias @CAICAIIs @chaojixinren @eye-gu @fallintoplace @HarshMehta112 @HGD-coder @jieguo-coder @lesbass @mochengqian @MrSibe @nagisa-kunhah @nanjiek @NeverENG @Oxidaner @phpcyy @Qiao-yq @Saramanda9988 @Similarityoung @Snow-kal @Tsukikage7 @Vanillaxi @whimc1 @wyf027 @XnLemon @xxs588 @yangpixi @ywxzm03 @zbchi
Full Changelog: https://github.com/apache/dubbo-go/compare/v3.3.1...v3.3.2
This release introduces major enhancements to the Triple protocol, improvements to configuration and registry centers (Nacos, Apollo, Zookeeper), and extensive refactoring of core modules to improve stability and performance. This version also updates compatibility to Go 1.24.
- Support group and version wildcards for exact interface matching. #3080
-
Support injecting
dubbo.taginto service metadata. #3069 - Expose Router-related APIs. #3066
-
Update Go version support to Go 1.24 and remove deprecated
rand.seedusage. #3046 - Introduce an imports formatter tool and integrate it into CI checks. #3019
- Add configuration hot-reloading capability. #2992
- Support running HTTP/2 and HTTP/3 servers simultaneously. #2972
-
Add
WithInterfaceoption for client initialization. #2946 - Add tooling support to generate OpenAPI documentation for Triple services. #2951
- Add experimental HTTP/3 support for the Triple protocol. #2916
- Redesign TLS APIs and add new TLS configuration for Triple protocol. #2852 #2891
- Support Non-IDL mode in the new Triple implementation. #2858
- Add support for Apollo as a configuration center. #2857
- Support decoding Hessian from stream to improve performance for large packet transmission. #2841
- Add generic call support for the new Triple protocol. #2818
- Fix Nacos deregistration failure during shutdown. #3108
- Prevent panic when retrieving metadata from Java providers. #3092
- Adjust log level from Error to Warn when application parameters are empty in Tag Router. #3035
- Fix nil pointer dereference in multiple modules. #3071
-
Resolve URL parameter loss in
SetParamsmethod. #3022 - Handle cluster extension creation failures instead of panicking. #3021 #3064
- Fix incorrect log rotation paths to prevent file loss. #3014
- Correct counter decrement logic on error. #3013
-
Fix metadata retrieval failures caused by
meta-verrors and empty remote storage parameters. #2952 #2953 -
Fix provider configuration loading in
dubbo.Load(). #2941 - Fix attachment passing issues from server to client in Triple protocol. #2928 #2854
- Fix Nacos weight configuration not taking effect. #2937
- Reduce latency in Zookeeper client node perception. #2930
- Fix read prefix EOF errors in the communication layer. #2912
- Fix Nacos instance overwrite issues. #2882
- Resolve logical infinite loop issues. #2879
- Fix Nacos subscription issues where newly registered services were not detected. #2859
- Fix Nacos weight option configuration logic. #2843
-
Fix error propagation in
marshalRequest. #2817 - Fix Context Attachment error handling in Triple streaming calls. #2810
-
Refactor: Config Decoupling. Decoupled dependencies from
configpackage to resolve circular dependencies across registry, filter, and TLS modules. - Optimize performance by precompiling regex patterns. #3067
-
Improve Weighted RoundRobin by adding
lastUpdatefield to state storage. #3053 - Fix multiple package imports in Triple code generation. #3052
- Address memory leaks related to goroutine management, file handles, and extension caches. #3023
- Refactor logger module and add comprehensive unit tests. #2838 #2993
- Rewrite Makefile to improve build consistency and developer experience. #2975
-
Use
errgroupto improve error handling during graceful shutdown. #2973 -
Replace deprecated CAS operations with
CompareAndSwap. #2962 -
Harden Triple
openServererror handling for configuration errors. #2945 - Add timeout control for graceful shutdown in Triple protocol. #2943
-
Migrate
interface{}toanythroughout the codebase for Go 1.18+ compatibility. #2848
- Add logging for the service registration lifecycle. #3043
- Align trace scope names with OpenTelemetry specifications. #3041
-
Add
Insecureoption to tracing configuration. #3028 - Upgrade OpenTelemetry dependencies to v1.21.0. #2971
-
Add
make check-fmtcommand to CI pipeline. #3055 -
Update README contact info and fix invalid links in
README_CN. #3020 - Integrate imports formatter and License header checks into CI. #2961 #2957
- Resolve various SonarQube/SonarCloud false positives and AI bot warnings. #2902
Special thanks to all contributors for their efforts in this release: @1kasa @97ZQ @ALSoryu @Akashisang @Alanxtl @AlexStocks @CAICAIIs @Flying-Tom @FoghostCn @HSenCode @KamToHung @MinatoWu @MrSibe @Nexusrex18 @No-SilverBullet @Rinai-R @Similarityoung @Snow-kal @WangzJi @Whitea029 @ayamzh @baerwang @dongjiang1989 @evanzhang87 @flypiggyyoyoyo @hs80 @liushiqi1001 @manzhizhen @marsevilspirit @nanjiek @phpcyy @sebbASF @wqyenjoy @xuzhijvn @yumosx @yxrxy @zbchi @ziyyun
This release introduces multiple bug fixes, new features, and code enhancements to improve the stability and functionality of Apache Dubbo-Go. Key improvements include resolving various service discovery and registry-related issues, addressing memory leaks, and enhancing the error handling and stability of the underlying communication library. Additionally, new features such as script-based routing, improved Java compatibility, Triple protocol keepalive, and support for Protobuf-based MetadataService have been implemented.
- Resolved initialization of the correct OTEL-GRPC exporter. #2666 #2679
- Resolved test case inconsistencies. #2660
- Resolved makezero bug. #2682
- Resolved nacos service discovery issues. #2691 #2694
- Corrected protoc-gen-go-triple path. #2690
- Resolved segmentation fault due to a nil backupCodec. #2698
- Resolved zookeeper mapping key issues. #2711
- Resolved issues with nacos registry '*' subscription. #2713
- Resolved nacos service discovery not retrieving all service names. #2715
- Resolved potential deadlock scenarios. #2716
- Resolved service disconnection and configuration invalidation issues. #2717
- Implemented error handling for triple handler using codeUnimplemented. #2719
- Resolved router rule parsing log errors. #2720
- Resolved memory leak issues by setting baseinvoker's URL to nil. #2726
- Resolved incorrect CallClientStream result handling. #2732
- Resolved slice initialization length issue. #2734
- Improved logging of file names, function names, and line numbers. #2744
- Resolved automatic camel case conversion in HTTP proxy requests. #2746
- Resolved issues reported by golangci-lint. #2754
- Resolved incorrect metric type for dubbo_registry_directory. #2766
- Resolved panic in findMappedServices. #2768
- Ensured thread-safe ListenerSet usage in CacheListener. #2769
- Improved subscription behavior to wait for register completion or timeout. #2775
- Resolved rc.id being always nil. #2778
- Resolved issue where the same address could not distinguish different registry centers. #2784
- Removed unnecessary setdeadline usage. #2785
- Resolved various problematic error returns. #2791
- Resolved additional memory leak issues. #2792
- Resolved some inaccurate comments. #2793
- Fixed data race in ReadMessage(). getty#123
- Fixed memory leak issue caused by slice interception. #hessian2/374
- Resolved URL parsing panic and improve error handling in dubbogo-cli for ZooKeeper. 2795
- Added script-based routing functionality. #2669
- Introduced support for conditional routing with multiple destinations. #2685
- Implemented new conditional rules. #2686
- Enhanced Java interoperability. #2687
- Added Protobuf-based MetadataService support. #2723
- Introduced keepalive configuration for triple protocol. #2757
- Enhanced nacos registry with multi-category subscription support. #2783
- Added triple protocol keepalive config. #triple87
- Added triple protocol connection pool. #triple91
- Added unit tests for metadata. #2665
- Improved code comments. #2668
- Renamed method
WithClientChecktoWithClientNoCheck. #2680 - Optimized Nacos endpoint handling. #2692
- Updated
UseAsMetaReportandUseAsConfigCenterto use string values to prevent overrides. #2693 - Updated condition rule sorting logic. #2688
- Differentiated business errors from RPC wire errors. #2712
- Standardized timeout unit to milliseconds in the Dubbo protocol. #2737
- Move internal into dubbo-go-samples repo. 2794
- Limited reconnect attempts and duration. getty#117
Special thanks to all contributors for their efforts in improving Apache Dubbo-Go: @1kasa @AlbumenJ @AlexStocks @alingse @ALLen442 @baerwang @chickenlj @cuishuang @FinalT @FoghostCn @gexincoding @knowmost @linfeip @marsevilspirit @Nexusrex18 @No-SilverBullet @SHA-4096 @ShawnJeffersonWang @snowLeopard331 @solisamicus @wcy666103 @YarBor @yumosx
- Implement RemoveConfig API for nacos and zookeeper
- Expose TLSConfig for config api
- Add subscribe any value
- Implement condition routing basic functions and complete related tests
- Implement dynamic routing
- Tag route static config
- Upgrade nacos 2.x
- Print logs of registered providers and consumers
- Add request processing total and request succeed total metrics
- Add some metrics about RT
- Add metrics base api interface
- Sliding window and rt quantile metrics
- Fix: Call Java provider occur error use group+version on triple protocol
- Fix: Register instance protocol info to polaris when use Tripe
- Fix: Custom triple server message size
- Fix: Start a new routine when subscribing
- Fix: Upgrade hessian2 to fix java wrapper object decoding bug
- Fix: Polaris service discovery cause nil panic
- Fix: The metadata invoker is destroyed too early
- Fix: Format imports in metrics module
- Fix: Solve config bool field zero value bug by using pointer
- Fix: Disable metrics filter by default instead
- Add serviceMappingListener for application service discovery
- The argument to ioutil.ReadFile in the config.WithPath method is changed to conf.path
- Upgrade hessian2 to support java wrapper types
- Tablewrite cli show
- Refactor: remove providers and add prefix when use polaris
- Log configuration supports other frameworks and can configure log file generation directory and file size
- Ignore node not exist error message and continue retry
- Refactor: Split metrics module into multiple files
- Ignore zk node already exist when store provider/consumer metadata
- Try update value if node already exists
- Refactor: Use promauto and promhttp
- Chore: Unnecessary use of fmt.Sprintf
- Chore: Pkg imported more than once
- Fix: Consumers try to reconnect to the metadata service of offline providers infinitely
- Fix: Service discovery registry notify before return
- Fix: Do not launch Polaris governance capability if Polaris is not enabled
- Fix: Config of metrics enbale not works
- Fix: Replace assignment behavior with copy operation to avoid OOM
- CLI: Support getting metadata from metadataCenter
- Support TLS for gRPC protocols
- Support TLS for Dubbo/Triple protocols
- Support Polaris subscribe
- Support Polaris ratelimit
- Support polaris router ability
- Fix: leastactive choose wrong invoker
- Fix: add more setter of ReferenceConfigBuilder
- Fix: timeout don't support ms bug
- Fix: env DUBBO_IP_TO_REGISTRY doesn't work
- Upgrade Triple to v1.1.9
- Docs: update style and out-of-date links in readme
- Upgrade Hessian to v1.11.3
- Upgrade gopkg.in/yaml.v3 to 3.0.0
- Refactor registry polaris project
- Support Grpc based Health check
- Support xds certificate
- Support gracefully offline without registry
- Support nacosRegistry and polarisRegistry register ip and port from env
- Fix: typo correction
- Fix: revision calc
- Fix: rand.Seed() duplicate concurrent calls
- Fix: when creating metrics objects concurrently
- Fix: remove consumer of polaris
- Fix: assembleMsg bad use, pass []any as any in variadic function
- Fix: getting attributes issue
- Fix: PolarisServiceWatcher
- Fix: route with more invokers
- Fix: shutdown InternalSignal default value
- Fix: service discovery related issues and add mesh proxy mode support
- Fix: polaris Subscriber
- Fix: adaptive-service: deadlock caused by rwMutex in limiter mapper
- Chore remove apollo config center
- Reduce common directory
- Remove useless time format
- Enhance ServiceDefinition in MetadataService
- Add dubbo-go cli and edit readme
- Gost upgrade to master of latest
- Upgrade hessian2 to v1.11.1
- Configure placeholder lookup
- Enable publish servicedefinition to metadata center
- Add the set of getty logger
- Use notifyAll insteadOf notify for listener events notify
- Support hessian java method java.lang param
- Support istio xds
- Support istio xds ring hash
- Support otel trace
- Fix: where limitation not updates
- Fix: rootConfig and getty-session-param
- Fix: xds adsz empty metadata
- Fix: decode net stream bytes as getty rule
- Fix: ip register issue
- Fix: getty unit test
- Fix: remove HEADER_LENGTH in decode because of discard
- Fix: xds log use dubbogo logger
- Fix: limit rpc package data size by user's config rather than DEFAULT_LEN
- Fix: complete grpc based protocol panic recover handle
- Add req.Data to OnMessage panic error log
- Add nacos updateCacheWhenEmpty options
- Xds enhancement
- Mock etcd and nacos in ut
- Use summary type to observe p99
- Remove gomonkey
- Optimized load balancing algorithm
- RandomLoadBalance code optimization
- Export hessian type api
- Export method getArgsTypeList for extension
- Support Graceful Shutdown
- Support
$invokeAsyncfor generic service - Support config the Nacos context path
- Fix: JSON-RPC request timeout time dynamically
- Fix: the heartbeat of polaris cannot be reported
- Fix: triple protocol request doesn't carry attachment such as group or version
- Fix: location trim space
- Fix: add category key to the Consumer for diff with Provider
- Disabled Adaptive Service if set disabled by the Client
- Don't load Adaptive Service Filter if not set
- Log print the caller
- Refactor invocation interface
- Refactor Nacos listener check-healthy
- Refactor Zookeeper dynamic configuration listener
- Adaptive service support
- User defined configuration of dubbogo.yml
- Extend configuration file format
- Polaris-Mesh reigstry support
- Triple proto reflection support
- Triple pb with jaeger tracing support
- Validate nacos's user and password configuration
- Fix bug of service configuration exported field
- Fix bug of attachments' nil or empty string
- Fix bug of zookeeper cpu idling
- Fix bug of register url without group/version key if value is empty, instead of "" value.
- Fix Hessian encode attachments return error
- Fix consumer zk registry path bug
- Fix bug of graceful shutdown filter
- Validate nacos service-discovery's group and namespace
- Validate consumer config's 'check' key
- Set rootConfig to global rootConfig pointer in init function
- Fix bug of register of app-level-service-discovery not use metadata's configuration
- Add triple max size configuration
- Hessian2 supports setting the type of Java method parameters
- Logger of dubbo-go internal codes are changed to the framework's logger
- Nacos suppports unregister and unsubscribe
- Register service mapping using registry config's address
- Add nacos registry url's 'methods' key
- Filter with single instance
- Refactor of listen dir event
- Load reference before service
- Change triple's http2 implementation from net/http to grpc
- Adjuest the startup process of configcenter
-
Triple features
-
Refer to QuickStart of dubbo-go 3.0, and Dubbo-go-samples to try protoc-gen-go-triple pb generator plugin.
-
Response exception from client
Triple client can get the error stacks from server, pointing to real error occurs position.
-
-
Refer to Docs of dubbo-go 3.0 Metrics, and dubbo-go-samples/metrics] to try new metrics support.
-
Remove sleep to wait for service discovery logic
Set reference check default to true and remove extra time.Sleep logic in client side during service-discovery remove time.Sleep
-
Refer to Docs of dubbo-go 3.0 Router, and dubbo-go-samples/meshrouter to try dynamic mesh router support.
-
New config API support New root config API builder
Refer to Docs of dubbo-go 3.0 Configuration, and dubbo-go-samples/config-api to try new config API.
-
Refer to Docs of dubbo-go 3.0 logger, and dubbo-go-samples/logger to try new logger support.
-
Refer to Docs of dubbo-go 3.0 generic, and dubbo-go-samples/generic to try new generic support.
-
One of the biggest update in this release is the configuration optimization. We discarded the old configuration and introduced a new one. Currently, the new configuration has been updated to the master branch of samples (corresponding to latest dubbo-go 3.0), and there are introductions and detailed examples on the our website dubbogo.github.
-
Triple:
-
Set default tcp read buffer to 4k to decrease gc, and descrease CPU usage by 60% of 3.0.0-rc2
-
-
Use class Name as the default reference name
You can set service/refernce key to provider/consumer's struct name: Config samples & Target provider struct,
And there is no needs to define (p*Provider) Reference() method from now on.
-
Fix: fix the exception when tcp timeout is less than 1s for 3.0 #1362
-
Delete zk registry when set defualt consumer/provider config
- Add Triple Msgpack Codec
- Add Triple user defined serializer support
- Add gRPC provider reference in codes generated by protoc-gen-dubbo3
- Add integration tests using dubbo-go-samples
- Add service discovery support etcd remote reporter
- Add service discovery support nacos remote reporter
- Add grpc server reflection register logic
- Make remote metadata center configurable
- Enhance nacos connection
- Add unit tests for zk metadata report
- Restructuring remoting metadata service
- Dependency prompting for unit tests
- Make cluster interceptor a chain
- Improve etcd version and change create to put
- Remove reflect in grpc server
- Change lb hash logic
- Fix: zk invoker refer check fail,and service will be added in cache invokers fail problem
- Fix: app level service discovery local mod URL serialize fail problem
- Fix: m1 cpu exec fail problem
- Fix: metadata info struct contains unsupported field
- Fix: go race in directory
- Fix: zk name changes from default to conn location
Milestone:
- Add triple protocol
- Add dubbo3 router
- Add app-level remote service discovery
- Add default config
- Add pass through proxy factory
- Replace default config string with const value
- Add retry times in zookeeper starting
- Client pool enhance
- Impl the way of load configure file
- Fix: get failback error
- Fix: delete a service provider when using k8s hpa
- Fix: fix reExporter bug when config-center {applicationName}.configurator data change
- Fix: stop the provider app panic error
- bump github.com/RoaringBitmap/roaring from 0.6.0 to 0.6.1
- bump github.com/RoaringBitmap/roaring from 0.5.5 to 0.6.0
- bump github.com/RoaringBitmap/roaring from 0.5.5 to 0.6.0
- Bump github.com/magiconair/properties from 1.8.4 to 1.8.5
Milestone:
- Add dubbo-go-cli telnet tool
- Add Prox ImplementFunc to allow override impl
- Add read configuration path from the command line when start
- Add use invoker with same ip as client first
- Add an "api way" to set general configure
- Add registry ip:port set from enviroment variable
- introduce ConfigPostProcessor extension
- Impl extension of two urls comparison
- using event-driven to let router send signal to notify channel
- lint codes
- Imp: destroy invoker smoothly
- Improve config center
- Fix: generic struct2MapAll key of map keep type
- Fix: when events empty, delete all the invokers
- Fix: file service discovery run in windows
- Fix: make metadata report work without serviceDiscovery
- Fix: consumer invoker cache set nil after the ZK connection is lost
- Fix: integration test in Github action
- Fix: etcd exit panic
- Fix: when connect to provider fail, will occur panic
- Fix: support getty send Length, when the data transfer failed
- Fix: RPCInvocation.ServiceKey use PATH_KEY instead of INTERFACE_KEY
- Fix: zk too many tcp conn
- Fix: fix zk listener func pathToKey
- Fix: graceful shutdown
- Fix: nacos service provider does not require subscribe
- Fix: key of generic map convert is more general
- Fix: body buffer too short
- Bump dubbo-go-hessian2 from v1.9.0-rc1 to v1.9.1
- Bump github.com/nacos-group/nacos-sdk-go from 1.0.5 to v1.0.7
Milestone:
- Add Address notification batch mode
- Add dubbo-gen stream support
- Add Change verify to Makefile
- Add more automatic components
- Add grpc max message size config
- when it need local ip, it will get it every time. We can get local ip once, and reused it
- enhance client's connectivity
- Imp: get local ip once and reused it
- Remove unmeaning logic
- Fix: nacos registry can not get namespaceId @peaman
- Fix: url encode
- Fix: try to fix too many files open error
- Fix: refact heartbeat
- Fix: router_config add &url to url
- Fix: Router chain can not build immediately when started
- Fix: client block until timeout when provider return with PackageResponse_Exception
- Fix: URL.String() data race panic
- Fix: generic "encode hessian.Object"
- Bump github.com/mitchellh/mapstructure from 1.2.3 to 1.3.3
- Bump github.com/go-resty/resty/v2 from 2.1.0 to 2.3.0
- Bump github.com/opentracing/opentracing-go from 1.1.0 to 1.2.0
- Bump github.com/creasty/defaults from 1.3.0 to 1.5.1
- Bump github.com/dubbogo/gost from 1.9.1 to 1.9.2
- Bump github.com/zouyx/agollo/v3 from 3.4.4 to 3.4.5
- Bump github.com/golang/mock from 1.3.1 to 1.4.4
- Bump github.com/nacos-group/nacos-sdk-go from 1.0.0 to 1.0.1
- Bump github.com/magiconair/properties from 1.8.1 to 1.8.4
- Bump github.com/prometheus/client_golang from 1.1.0 to 1.8.0
- Bump go.uber.org/atomic from 1.6.0 to 1.7.0
Milestone: https://github.com/apache/dubbo-go/milestone/5
- Fix etcd cluster reconnect
- Fix zookeeper deadlock problem
- Fix generic struct2MapAll
- Fix Consumer panic when restart provider
- Fix etcd can not registry @lin-jianjun
- Fix cannot call go provider service when used by java dubbo 2.7.7 version @jack15083
- Fix go client quit abnormally when it connects java server @wenxuwan
- Fix sentinel windows issue @louyuting
- Fix metadata default port @sanxun0325
- Fix consul can not destroy @LaurenceLiZhixin
Milestone: https://github.com/apache/dubbo-go/milestone/6
- Add consul service discovery @zhangshen023
- Add File system service discovery @DogBaoBao
- Migrate travis Ci to Github Actions @sdttttt
- Add sentinel-golang flow control/circuit breaker @louyuting
- Add dubbo-go docs and blog into doc directory @oaoit
- Add address notification batch mode @beiwei30
- Refactor network and codec model @fangyincheng @georgehao
- Remove unnecessary return and judgement @YongHaoWu
- Improve exporter append method @gaoxinge
- Refactor for proxyInvoker cannot be extended @cvictory
- Refactor attachment type from map[string]stiring to map[string]interface{} @cvictory
- Improve map access concurrency @skyao
- Improve code quantity @gaoxinge
- Fix etcdv3 lease @zhangshen023
- Fix rename SethealthChecker to SetHealthChecker @watermelo
- Fix init config problem in HystrixFilter @YGrylls
- Fix zookeeper listener report error after started @wenxuwan
Milestone: https://github.com/apache/dubbo-go/milestone/4
Project: https://github.com/apache/dubbo-go/projects/10
- Fix etcd cluster reconnect
- Fix zookeeper deadlock problem
- Fix generic struct2MapAll
- Fix Consumer panic when restart provider
- Fix etcd can not registry @lin-jianjun
- Fix cannot call go provider service when used by java dubbo 2.7.7 version @jack15083
- Fix go client quit abnormally when it connects java server @wenxuwan
- Fix sentinel windows issue @louyuting
- Fix metadata default port @sanxun0325
- Fix consul can not destroy @LaurenceLiZhixin
Milestone: https://github.com/apache/dubbo-go/milestone/6
- Add consul service discovery @zhangshen023
- Add File system service discovery @DogBaoBao
- Migrate travis Ci to Github Actions @sdttttt
- Add sentinel-golang flow control/circuit breaker @louyuting
- Add dubbo-go docs and blog into doc directory @oaoit
- Add address notification batch mode @beiwei30
- Refactor network and codec model @fangyincheng @georgehao
- Remove unnecessary return and judgement @YongHaoWu
- Improve exporter append method @gaoxinge
- Refactor for proxyInvoker cannot be extended @cvictory
- Refactor attachment type from map[string]stiring to map[string]interface{} @cvictory
- Improve map access concurrency @skyao
- Improve code quantity @gaoxinge
- Fix etcdv3 lease @zhangshen023
- Fix rename SethealthChecker to SetHealthChecker @watermelo
- Fix init config problem in HystrixFilter @YGrylls
- Fix zookeeper listener report error after started @wenxuwan
Milestone: https://github.com/apache/dubbo-go/milestone/4
Project: https://github.com/apache/dubbo-go/projects/10
- Add dynamic tag router
- Add TLS support
- Add Nearest first for multiple registry
- Add application and service level router
- Add dynamic tag router
- Avoid init the log twice
- Correct words and format codes
- Change log stack level from warn to error
- Optimize remotes configuration
- Fix register service instance after provider config load
- Fix call subscribe function asynchronously
- Fix tag router rule copy
- Fix nacos unit test failed
- Fix can not inovke nacos destroy when graceful shutdown
- Fix zk lost event
- Fix k8s ut bug
Milestone: https://github.com/apache/dubbo-go/milestone/2?closed=1
Project: https://github.com/apache/dubbo-go/projects/8
- Application-Level Registry Model
- Support grpc json protocol
- Ftr: using different labels btw provider and consumer, k8s service discovery across namespaces
- Optimize err handling
- Add attribute method into Invocation and RpcInvocation
- Optimize lock for zookeeper registry
- Improve code coverage of zookeeper config center
- Improve code coverage of nacos config center and configuration parser
- Kubernetes as registry enhance
- Optimize zk client's lock and tests
- Add setInvoker method for invocation
- Upgrade getty & hessian2
- Optimize router design: Extract priority router
- NamespaceId config for nacos
- Fix Gitee problem
- Gitee quality analyses -- common
- Nacos client logDir path seperator for Windows
- Fix various linter warnings
- Fixed some issues in config folder that reported by sonar-qube
- Zk disconnected, dubbo-go panic when subscribe
- Enhancement cluster code analysis
- Add comment for common directory
- Add comments for config_center
- Update the comments in metrics
- Add comments for config
- Updated the dubbo-go-ext image
- Add comment for cluster
- Update the comments in filter directory
- Add comment for metadata
- Update the comments in protocol directory
- Add comments for remoting
- Update the comments in registy directory
- Condition router
- Context support
- Opentracing & transfer context end to end for jsonrpc protocol
- Opentracing & transfer context end to end for dubbo protocol
- Grpc tracing for client and server
- Nacos config center
- Prometheus support
- Support sign and auth for request
- Healthy instance first router
- User can add attachments for dubbo protocol
- K8s as registry
- Rest protocol
- Reduce the scope of lock in zk listener
- Trace error of getGettyRpcClient
- Refactor to add base_registry
- Do not listen to directory event if zkPath ends with providers/ or consumers/
- Add apollo config center support
- Gracefully shutdown
- Add consistent hash load balance support
- Add sticky connection support
- Add async call for dubbo protocol
- Add generic implement
- Add request timeout for method
- Add grpc protocol
- The SIGSYS and SIGSTOP are not supported in windows platform
- Error should be returned when
NewURLfailed - Split config center GetConfig method
- Modify closing method for dubbo protocol
- Add SetLoggerLevel method
- Change the position of the lock
- Change zk version and add base_registry
- Fix negative wait group count
- After disconnection with ZK registry, cosumer can't listen to provider changes
- The generic filter and default reference filters lack ','
- Url encode zkpath
- Fix jsonrpc about HTTP/1.1
- Fix zk bug
- HessianCodec failed to check package header length
- Add etcdv3 registry support
- Add nacos registry support
- Add fail fast cluster support
- Add available cluster support
- Add broadcast cluster support
- Add forking cluster support
- Add service token authorization support
- Add accessLog filter support
- Add tps limit support
- Add execute limit support
- Move callService to invoker & support attachments
- Move example in dubbo-go project away
- Support dynamic config center which compatible with dubbo 2.6.x & 2.7.x and commit the zookeeper impl
- Split gettyRPCClient.close and gettyRPCClientPool.remove in protocol/dubbo/pool.go
- Remove client from pool before closing it
- Enhance the logic for fetching the local address
- Add protocol_conf default values
- Add task pool for getty
- Update getty: remove read queue
- Clean heartbeat from PendingResponse
- GettyRPCClientPool remove deadlock
- Fix failover cluster bug and url parameter retries change int to string type
- Fix url params unsafe map
- Read protocol config by map key in config yaml instead of protocol name
- Fix dubbo group issues #238 pr #243 and pr #244
- Fix bug in reference_config
- Fix high memory bug in zookeeper listener