forked from apache/dubbo-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCHANGELOG.md
More file actions
1130 lines (859 loc) · 76.9 KB
/
Copy pathCHANGELOG.md
File metadata and controls
1130 lines (859 loc) · 76.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
## 3.3.2
### Summary
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.
### Breaking Changes and Upgrade Notes
- **Go 1.25 is now required.** The module and project toolchain have moved from Go 1.24 to Go 1.25. [#3469](https://github.com/apache/dubbo-go/pull/3469)
- **The legacy `dubbo.apache.org/dubbo-go/v3/config` package has been removed.** Applications that imported it directly must migrate to the instance/options APIs and configuration types under `global`. The root compatibility bridge has also been removed. [#3372](https://github.com/apache/dubbo-go/pull/3372) [#3448](https://github.com/apache/dubbo-go/pull/3448) [#3449](https://github.com/apache/dubbo-go/pull/3449)
- **Direct users of the low-level `triple_protocol.Client` API must pass the RPC method explicitly.** The higher-level `client.Client` and generated-client APIs remain unchanged. [#3086](https://github.com/apache/dubbo-go/pull/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](https://github.com/apache/dubbo-go/pull/3253)
- The legacy gRPC and Dubbo3 protocol implementations and the IDL-mode switch are now deprecated in preparation for a future removal. [#3469](https://github.com/apache/dubbo-go/pull/3469)
### New Features
- **Expand generic invocation support.** Triple generic calls can now interoperate without generated stubs, with new `protobuf-json` and `bean` generalizers, typed invocation, class metadata, and exception-class handling. [#3154](https://github.com/apache/dubbo-go/pull/3154) [#3170](https://github.com/apache/dubbo-go/pull/3170) [#3171](https://github.com/apache/dubbo-go/pull/3171) [#3174](https://github.com/apache/dubbo-go/pull/3174) [#3175](https://github.com/apache/dubbo-go/pull/3175) [#3183](https://github.com/apache/dubbo-go/pull/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](https://github.com/apache/dubbo-go/pull/3090) [#3280](https://github.com/apache/dubbo-go/pull/3280) [#3281](https://github.com/apache/dubbo-go/pull/3281) [#3301](https://github.com/apache/dubbo-go/pull/3301) [#3443](https://github.com/apache/dubbo-go/pull/3443) [#3446](https://github.com/apache/dubbo-go/pull/3446)
- **Add Kubernetes health probes.** Applications can expose liveness, readiness, and startup checks. [#3213](https://github.com/apache/dubbo-go/pull/3213)
- **Rework graceful shutdown.** The shutdown lifecycle now coordinates consumers, providers, registries, and acknowledgements through a unified implementation and configurable shutdown state. [#3235](https://github.com/apache/dubbo-go/pull/3235) [#3293](https://github.com/apache/dubbo-go/pull/3293) [#3386](https://github.com/apache/dubbo-go/pull/3386) [#3388](https://github.com/apache/dubbo-go/pull/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](https://github.com/apache/dubbo-go/pull/3357) [#3362](https://github.com/apache/dubbo-go/pull/3362) [#3367](https://github.com/apache/dubbo-go/pull/3367) [#3369](https://github.com/apache/dubbo-go/pull/3369) [#3370](https://github.com/apache/dubbo-go/pull/3370) [#3371](https://github.com/apache/dubbo-go/pull/3371) [#3373](https://github.com/apache/dubbo-go/pull/3373) [#3395](https://github.com/apache/dubbo-go/pull/3395)
- **Improve routing and governance.** Static router configuration injection, script-router registration, router-chain snapshot caching, and additional routing context are now supported. [#3215](https://github.com/apache/dubbo-go/pull/3215) [#3224](https://github.com/apache/dubbo-go/pull/3224) [#3252](https://github.com/apache/dubbo-go/pull/3252) [#3305](https://github.com/apache/dubbo-go/pull/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](https://github.com/apache/dubbo-go/pull/3189) [#3195](https://github.com/apache/dubbo-go/pull/3195) [#3345](https://github.com/apache/dubbo-go/pull/3345)
- Expose snapshots of `CustomConfig` and `InstanceOptions` for applications that need to inspect resolved instance configuration. [#3481](https://github.com/apache/dubbo-go/pull/3481)
### Bug Fixes and Reliability
- 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](https://github.com/apache/dubbo-go/pull/3160) [#3264](https://github.com/apache/dubbo-go/pull/3264) [#3265](https://github.com/apache/dubbo-go/pull/3265) [#3269](https://github.com/apache/dubbo-go/pull/3269) [#3270](https://github.com/apache/dubbo-go/pull/3270) [#3271](https://github.com/apache/dubbo-go/pull/3271) [#3307](https://github.com/apache/dubbo-go/pull/3307) [#3317](https://github.com/apache/dubbo-go/pull/3317) [#3367](https://github.com/apache/dubbo-go/pull/3367) [#3435](https://github.com/apache/dubbo-go/pull/3435) [#3439](https://github.com/apache/dubbo-go/pull/3439) [#3442](https://github.com/apache/dubbo-go/pull/3442)
- Respect cancellation and timeouts while dialing Triple HTTP/2 connections and validate Getty server TLS configuration before enabling SSL. [#3156](https://github.com/apache/dubbo-go/pull/3156) [#3165](https://github.com/apache/dubbo-go/pull/3165)
- Preserve Go/Java Triple interoperability with case-insensitive method routing that does not duplicate or pollute service metadata. [#3277](https://github.com/apache/dubbo-go/pull/3277)
- Fix routing correctness for context attachments, provider tags, application names and URL attributes, affinity-router initialization, and invalid script-router configuration updates. [#3164](https://github.com/apache/dubbo-go/pull/3164) [#3185](https://github.com/apache/dubbo-go/pull/3185) [#3208](https://github.com/apache/dubbo-go/pull/3208) [#3216](https://github.com/apache/dubbo-go/pull/3216) [#3256](https://github.com/apache/dubbo-go/pull/3256) [#3417](https://github.com/apache/dubbo-go/pull/3417)
- Prevent panics during concurrent invoker destruction and avoid a server startup deadlock caused by holding the server lock while blocking in `Serve`. [#3184](https://github.com/apache/dubbo-go/pull/3184) [#3238](https://github.com/apache/dubbo-go/pull/3238)
- Reconcile initial Nacos and Polaris subscription state so stale providers are removed when current registry snapshots arrive. [#3479](https://github.com/apache/dubbo-go/pull/3479) [#3482](https://github.com/apache/dubbo-go/pull/3482)
- Fix retained URL state and clean up pending remoting responses on request errors and heartbeat timeouts to prevent memory growth. [#3282](https://github.com/apache/dubbo-go/pull/3282) [#3440](https://github.com/apache/dubbo-go/pull/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](https://github.com/apache/dubbo-go/pull/3309) [#3331](https://github.com/apache/dubbo-go/pull/3331) [#3400](https://github.com/apache/dubbo-go/pull/3400)
- Preserve OpenTelemetry `traceparent` values and fix the metadata supplier type mismatch that broke trace propagation. [#3285](https://github.com/apache/dubbo-go/pull/3285) [#3433](https://github.com/apache/dubbo-go/pull/3433)
- Make Triple stream response closure non-blocking and harden protocol initialization, metadata headers, trailer attachments, and Getty write error handling. [#3307](https://github.com/apache/dubbo-go/pull/3307) [#3418](https://github.com/apache/dubbo-go/pull/3418) [#3428](https://github.com/apache/dubbo-go/pull/3428) [#3434](https://github.com/apache/dubbo-go/pull/3434) [#3466](https://github.com/apache/dubbo-go/pull/3466)
- Fix generic invocation of variadic methods and add warnings for unsupported or ambiguous variadic RPC definitions. [#3284](https://github.com/apache/dubbo-go/pull/3284) [#3294](https://github.com/apache/dubbo-go/pull/3294)
- Prevent JSON-RPC nil-pointer panics for unsupported content types and missing exporters. [#3298](https://github.com/apache/dubbo-go/pull/3298) [#3312](https://github.com/apache/dubbo-go/pull/3312)
- Make consistent hashing use the configured `hash.arguments` indexes and accept non-string request arguments without panicking. [#3430](https://github.com/apache/dubbo-go/pull/3430) [#3432](https://github.com/apache/dubbo-go/pull/3432)
- Add bounded exponential-backoff retries for Nacos subscriptions and failback cluster retries. [#3178](https://github.com/apache/dubbo-go/pull/3178) [#3180](https://github.com/apache/dubbo-go/pull/3180)
### Performance and Engineering
- 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](https://github.com/apache/dubbo-go/pull/3086)
- Reduce allocations in `common.URL` cloning, string rendering, equality checks, map conversion, and key construction. [#3399](https://github.com/apache/dubbo-go/pull/3399) [#3403](https://github.com/apache/dubbo-go/pull/3403) [#3404](https://github.com/apache/dubbo-go/pull/3404) [#3412](https://github.com/apache/dubbo-go/pull/3412) [#3488](https://github.com/apache/dubbo-go/pull/3488)
- Reduce temporary allocations in load-balancing and service-discovery hot paths, and add fast paths for Triple content-type canonicalization. [#3410](https://github.com/apache/dubbo-go/pull/3410) [#3414](https://github.com/apache/dubbo-go/pull/3414) [#3415](https://github.com/apache/dubbo-go/pull/3415) [#3416](https://github.com/apache/dubbo-go/pull/3416)
- Remove the Viper dependency and continue decoupling runtime components from legacy configuration internals. [#3323](https://github.com/apache/dubbo-go/pull/3323) [#3449](https://github.com/apache/dubbo-go/pull/3449)
- Add a Linux/RISC-V build check and update security-sensitive and networking dependencies. [#3244](https://github.com/apache/dubbo-go/pull/3244) [#3368](https://github.com/apache/dubbo-go/pull/3368) [#3467](https://github.com/apache/dubbo-go/pull/3467) [#3470](https://github.com/apache/dubbo-go/pull/3470)
### Tooling
- Refresh the companion tool versions for the release: `protoc-gen-go-triple` and `protoc-gen-triple-openapi` 3.3.2, `dubbogo-cli` 1.0.1, and `imports-formatter` 1.0.11. The Triple generator now emits the modern `NewXxx` and `RegisterXxxHandler` API style by default, records generator and `protoc` versions in generated files, and retains legacy output behind `useOldVersion=true`. [#3585](https://github.com/apache/dubbo-go/pull/3585)
- Rework CLI scaffolds to generate protobuf and Triple sources through `make proto-gen` instead 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](https://github.com/apache/dubbo-go/pull/3585) [#3587](https://github.com/apache/dubbo-go/pull/3587)
### Documentation and CI
- 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](https://github.com/apache/dubbo-go/pull/3158) [#3365](https://github.com/apache/dubbo-go/pull/3365) [#3380](https://github.com/apache/dubbo-go/pull/3380) [#3381](https://github.com/apache/dubbo-go/pull/3381) [#3447](https://github.com/apache/dubbo-go/pull/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](https://github.com/apache/dubbo-go/pull/3585)
- Add default protection rules for the default and release branches, upgrade the Codecov action, and add the Linux/RISC-V build workflow. [#3325](https://github.com/apache/dubbo-go/pull/3325) [#3375](https://github.com/apache/dubbo-go/pull/3375) [#3470](https://github.com/apache/dubbo-go/pull/3470)
### Contributors
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
## 3.3.1
### Summary
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**.
### New Features
- **Support** group and version wildcards for exact interface matching. [#3080](https://github.com/apache/dubbo-go/pull/3080)
- **Support** injecting `dubbo.tag` into service metadata. [#3069](https://github.com/apache/dubbo-go/pull/3069)
- **Expose** Router-related APIs. [#3066](https://github.com/apache/dubbo-go/pull/3066)
- **Update** Go version support to Go 1.24 and remove deprecated `rand.seed` usage. [#3046](https://github.com/apache/dubbo-go/pull/3046)
- **Introduce** an imports formatter tool and integrate it into CI checks. [#3019](https://github.com/apache/dubbo-go/pull/3019)
- **Add** configuration hot-reloading capability. [#2992](https://github.com/apache/dubbo-go/pull/2992)
- **Support** running HTTP/2 and HTTP/3 servers simultaneously. [#2972](https://github.com/apache/dubbo-go/pull/2972)
- **Add** `WithInterface` option for client initialization. [#2946](https://github.com/apache/dubbo-go/pull/2946)
- **Add** tooling support to generate OpenAPI documentation for Triple services. [#2951](https://github.com/apache/dubbo-go/pull/2951)
- **Add** experimental HTTP/3 support for the Triple protocol. [#2916](https://github.com/apache/dubbo-go/pull/2916)
- **Redesign** TLS APIs and add new TLS configuration for Triple protocol. [#2852](https://github.com/apache/dubbo-go/pull/2852) [#2891](https://github.com/apache/dubbo-go/pull/2891)
- **Support** Non-IDL mode in the new Triple implementation. [#2858](https://github.com/apache/dubbo-go/pull/2858)
- **Add** support for Apollo as a configuration center. [#2857](https://github.com/apache/dubbo-go/discussions/2857)
- **Support** decoding Hessian from stream to improve performance for large packet transmission. [#2841](https://github.com/apache/dubbo-go/pull/2841)
- **Add** generic call support for the new Triple protocol. [#2818](https://github.com/apache/dubbo-go/pull/2818)
### Bug Fixes
- **Fix** Nacos deregistration failure during shutdown. [#3108](https://github.com/apache/dubbo-go/pull/3108)
- **Prevent** panic when retrieving metadata from Java providers. [#3092](https://github.com/apache/dubbo-go/pull/3092)
- **Adjust** log level from Error to Warn when application parameters are empty in Tag Router. [#3035](https://github.com/apache/dubbo-go/pull/3035)
- **Fix** nil pointer dereference in multiple modules. [#3071](https://github.com/apache/dubbo-go/pull/3071)
- **Resolve** URL parameter loss in `SetParams` method. [#3022](https://github.com/apache/dubbo-go/pull/3022)
- **Handle** cluster extension creation failures instead of panicking. [#3021](https://github.com/apache/dubbo-go/issues/3012) [#3064](https://github.com/apache/dubbo-go/pull/3064)
- **Fix** incorrect log rotation paths to prevent file loss. [#3014](https://github.com/apache/dubbo-go/pull/3014)
- **Correct** counter decrement logic on error. [#3013](https://github.com/apache/dubbo-go/pull/3013)
- **Fix** metadata retrieval failures caused by `meta-v` errors and empty remote storage parameters. [#2952](https://github.com/apache/dubbo-go/pull/2952) [#2953](https://github.com/apache/dubbo-go/pull/2953)
- **Fix** provider configuration loading in `dubbo.Load()`. [#2941](https://github.com/apache/dubbo-go/pull/2941)
- **Fix** attachment passing issues from server to client in Triple protocol. [#2928](https://github.com/apache/dubbo-go/pull/2928) [#2854](https://github.com/apache/dubbo-go/pull/2854)
- **Fix** Nacos weight configuration not taking effect. [#2937](https://github.com/apache/dubbo-go/pull/2937)
- **Reduce** latency in Zookeeper client node perception. [#2930](https://github.com/apache/dubbo-go/pull/2930)
- **Fix** read prefix EOF errors in the communication layer. [#2912](https://github.com/apache/dubbo-go/pull/2912)
- **Fix** Nacos instance overwrite issues. [#2882](https://github.com/apache/dubbo-go/pull/2882)
- **Resolve** logical infinite loop issues. [#2879](https://github.com/apache/dubbo-go/pull/2879)
- **Fix** Nacos subscription issues where newly registered services were not detected. [#2859](https://github.com/apache/dubbo-go/pull/2859)
- **Fix** Nacos weight option configuration logic. [#2843](https://github.com/apache/dubbo-go/pull/2843)
- **Fix** error propagation in `marshalRequest`. [#2817](https://github.com/apache/dubbo-go/pull/2817)
- **Fix** Context Attachment error handling in Triple streaming calls. [#2810](https://github.com/apache/dubbo-go/pull/2810)
### Code Enhancements
- **Refactor: Config Decoupling.** Decoupled dependencies from `config` package to resolve circular dependencies across registry, filter, and TLS modules.
- **Optimize** performance by precompiling regex patterns. [#3067](https://github.com/apache/dubbo-go/pull/3067)
- **Improve** Weighted RoundRobin by adding `lastUpdate` field to state storage. [#3053](https://github.com/apache/dubbo-go/pull/3053)
- **Fix** multiple package imports in Triple code generation. [#3052](https://github.com/apache/dubbo-go/pull/3052)
- **Address** memory leaks related to goroutine management, file handles, and extension caches. [#3023](https://github.com/apache/dubbo-go/pull/3023)
- **Refactor** logger module and add comprehensive unit tests. [#2838](https://github.com/apache/dubbo-go/pull/2838) [#2993](https://github.com/apache/dubbo-go/pull/2993)
- **Rewrite** Makefile to improve build consistency and developer experience. [#2975](https://github.com/apache/dubbo-go/pull/2975)
- **Use** `errgroup` to improve error handling during graceful shutdown. [#2973](https://github.com/apache/dubbo-go/pull/2973)
- **Replace** deprecated CAS operations with `CompareAndSwap`. [#2962](https://github.com/apache/dubbo-go/pull/2962)
- **Harden** Triple `openServer` error handling for configuration errors. [#2945](https://github.com/apache/dubbo-go/pull/2945)
- **Add** timeout control for graceful shutdown in Triple protocol. [#2943](https://github.com/apache/dubbo-go/pull/2943)
- **Migrate** `interface{}` to `any` throughout the codebase for Go 1.18+ compatibility. [#2848](https://github.com/apache/dubbo-go/pull/2848)
### Observability
- **Add** logging for the service registration lifecycle. [#3043](https://github.com/apache/dubbo-go/pull/3043)
- **Align** trace scope names with OpenTelemetry specifications. [#3041](https://github.com/apache/dubbo-go/pull/3041)
- **Add** `Insecure` option to tracing configuration. [#3028](https://github.com/apache/dubbo-go/pull/3028)
- **Upgrade** OpenTelemetry dependencies to v1.21.0. [#2971](https://github.com/apache/dubbo-go/pull/2971)
### Documentation & CI
- **Add** `make check-fmt` command to CI pipeline. [#3055](https://github.com/apache/dubbo-go/pull/3055)
- **Update** README contact info and fix invalid links in `README_CN`. [#3020](https://github.com/apache/dubbo-go/pull/3020)
- **Integrate** imports formatter and License header checks into CI. [#2961](https://github.com/apache/dubbo-go/pull/2961) [#2957](https://github.com/apache/dubbo-go/pull/2957)
- **Resolve** various SonarQube/SonarCloud false positives and AI bot warnings. [#2902](https://github.com/apache/dubbo-go/pull/2902)
### Contributors
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
## 3.3.0
## Summary
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.
### Bug Fixes
- Resolved initialization of the correct OTEL-GRPC exporter. [#2666](https://github.com/apache/dubbo-go/pull/2666) [#2679](https://github.com/apache/dubbo-go/pull/2679)
- Resolved test case inconsistencies. [#2660](https://github.com/apache/dubbo-go/pull/2660)
- Resolved makezero bug. [#2682](https://github.com/apache/dubbo-go/pull/2682)
- Resolved nacos service discovery issues. [#2691](https://github.com/apache/dubbo-go/pull/2691) [#2694](https://github.com/apache/dubbo-go/pull/2694)
- Corrected protoc-gen-go-triple path. [#2690](https://github.com/apache/dubbo-go/pull/2690)
- Resolved segmentation fault due to a nil backupCodec. [#2698](https://github.com/apache/dubbo-go/pull/2698)
- Resolved zookeeper mapping key issues. [#2711](https://github.com/apache/dubbo-go/pull/2711)
- Resolved issues with nacos registry '*' subscription. [#2713](https://github.com/apache/dubbo-go/pull/2713)
- Resolved nacos service discovery not retrieving all service names. [#2715](https://github.com/apache/dubbo-go/pull/2715)
- Resolved potential deadlock scenarios. [#2716](https://github.com/apache/dubbo-go/pull/2716)
- Resolved service disconnection and configuration invalidation issues. [#2717](https://github.com/apache/dubbo-go/pull/2717)
- Implemented error handling for triple handler using codeUnimplemented. [#2719](https://github.com/apache/dubbo-go/pull/2719)
- Resolved router rule parsing log errors. [#2720](https://github.com/apache/dubbo-go/pull/2720)
- Resolved memory leak issues by setting baseinvoker's URL to nil. [#2726](https://github.com/apache/dubbo-go/pull/2726)
- Resolved incorrect CallClientStream result handling. [#2732](https://github.com/apache/dubbo-go/pull/2732)
- Resolved slice initialization length issue. [#2734](https://github.com/apache/dubbo-go/pull/2734)
- Improved logging of file names, function names, and line numbers. [#2744](https://github.com/apache/dubbo-go/pull/2744)
- Resolved automatic camel case conversion in HTTP proxy requests. [#2746](https://github.com/apache/dubbo-go/pull/2746)
- Resolved issues reported by golangci-lint. [#2754](https://github.com/apache/dubbo-go/pull/2754)
- Resolved incorrect metric type for dubbo_registry_directory. [#2766](https://github.com/apache/dubbo-go/pull/2766)
- Resolved panic in findMappedServices. [#2768](https://github.com/apache/dubbo-go/pull/2768)
- Ensured thread-safe ListenerSet usage in CacheListener. [#2769](https://github.com/apache/dubbo-go/pull/2769)
- Improved subscription behavior to wait for register completion or timeout. [#2775](https://github.com/apache/dubbo-go/pull/2775)
- Resolved rc.id being always nil. [#2778](https://github.com/apache/dubbo-go/pull/2778)
- Resolved issue where the same address could not distinguish different registry centers. [#2784](https://github.com/apache/dubbo-go/pull/2784)
- Removed unnecessary setdeadline usage. [#2785](https://github.com/apache/dubbo-go/pull/2785)
- Resolved various problematic error returns. [#2791](https://github.com/apache/dubbo-go/pull/2791)
- Resolved additional memory leak issues. [#2792](https://github.com/apache/dubbo-go/pull/2792)
- Resolved some inaccurate comments. [#2793](https://github.com/apache/dubbo-go/pull/2793)
- Fixed data race in ReadMessage(). [getty#123](https://github.com/apache/dubbo-getty/pull/123)
- Fixed memory leak issue caused by slice interception. [#hessian2/374](https://github.com/apache/dubbo-go-hessian2/pull/374)
- Resolved URL parsing panic and improve error handling in dubbogo-cli for ZooKeeper. [2795](https://github.com/apache/dubbo-go/pull/2795)
### New Features
- Added script-based routing functionality. [#2669](https://github.com/apache/dubbo-go/pull/2669)
- Introduced support for conditional routing with multiple destinations. [#2685](https://github.com/apache/dubbo-go/pull/2685)
- Implemented new conditional rules. [#2686](https://github.com/apache/dubbo-go/pull/2686)
- Enhanced Java interoperability. [#2687](https://github.com/apache/dubbo-go/pull/2687)
- Added Protobuf-based MetadataService support. [#2723](https://github.com/apache/dubbo-go/pull/2723)
- Introduced keepalive configuration for triple protocol. [#2757](https://github.com/apache/dubbo-go/pull/2757)
- Enhanced nacos registry with multi-category subscription support. [#2783](https://github.com/apache/dubbo-go/pull/2783)
- Added triple protocol keepalive config. [#triple87](https://github.com/dubbogo/triple/pull/87)
- Added triple protocol connection pool. [#triple91](https://github.com/dubbogo/triple/pull/91)
### Code Enhancements
- Added unit tests for metadata. [#2665](https://github.com/apache/dubbo-go/pull/2665)
- Improved code comments. [#2668](https://github.com/apache/dubbo-go/pull/2668)
- Renamed method `WithClientCheck` to `WithClientNoCheck`. [#2680](https://github.com/apache/dubbo-go/pull/2680)
- Optimized Nacos endpoint handling. [#2692](https://github.com/apache/dubbo-go/pull/2692)
- Updated `UseAsMetaReport` and `UseAsConfigCenter` to use string values to prevent overrides. [#2693](https://github.com/apache/dubbo-go/pull/2693)
- Updated condition rule sorting logic. [#2688](https://github.com/apache/dubbo-go/pull/2688)
- Differentiated business errors from RPC wire errors. [#2712](https://github.com/apache/dubbo-go/pull/2712)
- Standardized timeout unit to milliseconds in the Dubbo protocol. [#2737](https://github.com/apache/dubbo-go/pull/2737)
- Move internal into dubbo-go-samples repo. [2794](https://github.com/apache/dubbo-go/pull/2794)
- Limited reconnect attempts and duration. [getty#117](https://github.com/apache/dubbo-getty/pull/123)
### Contributors
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
## 3.1.0
### Features
- [Implement RemoveConfig API for nacos and zookeeper](https://github.com/apache/dubbo-go/pull/2234)
- [Expose TLSConfig for config api](https://github.com/apache/dubbo-go/pull/2245)
- [Add subscribe any value](https://github.com/apache/dubbo-go/pull/2267)
- [Implement condition routing basic functions and complete related tests](https://github.com/apache/dubbo-go/pull/2299)
- [Implement dynamic routing](https://github.com/apache/dubbo-go/pull/2303)
- [Tag route static config](https://github.com/apache/dubbo-go/pull/2304)
- [Upgrade nacos 2.x](https://github.com/apache/dubbo-go/pull/2316)
- [Print logs of registered providers and consumers](https://github.com/apache/dubbo-go/pull/2320)
- [Add request processing total and request succeed total metrics](https://github.com/apache/dubbo-go/pull/2331)
- [Add some metrics about RT](https://github.com/apache/dubbo-go/pull/2340)
- [Add metrics base api interface](https://github.com/apache/dubbo-go/pull/2350)
- [Sliding window and rt quantile metrics](https://github.com/apache/dubbo-go/pull/2356)
### Bugfixes
- [Fix: Call Java provider occur error use group+version on triple protocol](https://github.com/apache/dubbo-go/pull/2204)
- [Fix: Register instance protocol info to polaris when use Tripe](https://github.com/apache/dubbo-go/pull/2238)
- [Fix: Custom triple server message size](https://github.com/apache/dubbo-go/pull/2246)
- [Fix: Start a new routine when subscribing](https://github.com/apache/dubbo-go/pull/2297)
- [Fix: Upgrade hessian2 to fix java wrapper object decoding bug](https://github.com/apache/dubbo-go/pull/2312)
- [Fix: Polaris service discovery cause nil panic](https://github.com/apache/dubbo-go/pull/2317)
- [Fix: The metadata invoker is destroyed too early](https://github.com/apache/dubbo-go/pull/2322)
- [Fix: Format imports in metrics module](https://github.com/apache/dubbo-go/pull/2323)
- [Fix: Solve config bool field zero value bug by using pointer](https://github.com/apache/dubbo-go/pull/2344)
- [Fix: Disable metrics filter by default instead](https://github.com/apache/dubbo-go/pull/2354)
### Enhancements
- [Add serviceMappingListener for application service discovery](https://github.com/apache/dubbo-go/pull/2205)
- [The argument to ioutil.ReadFile in the config.WithPath method is changed to conf.path](https://github.com/apache/dubbo-go/pull/2209)
- [Upgrade hessian2 to support java wrapper types](https://github.com/apache/dubbo-go/pull/2222)
- [Tablewrite cli show](https://github.com/apache/dubbo-go/pull/2237)
- [Refactor: remove providers and add prefix when use polaris](https://github.com/apache/dubbo-go/pull/2274)
- [Log configuration supports other frameworks and can configure log file generation directory and file size](https://github.com/apache/dubbo-go/issues/2247)
- [Ignore node not exist error message and continue retry](https://github.com/apache/dubbo-go/pull/2307)
- [Refactor: Split metrics module into multiple files](https://github.com/apache/dubbo-go/pull/2310)
- [Ignore zk node already exist when store provider/consumer metadata](https://github.com/apache/dubbo-go/pull/2311)
- [Try update value if node already exists](https://github.com/apache/dubbo-go/pull/2314)
- [Refactor: Use promauto and promhttp](https://github.com/apache/dubbo-go/pull/2333)
- [Chore: Unnecessary use of fmt.Sprintf](https://github.com/apache/dubbo-go/pull/2352)
- [Chore: Pkg imported more than once](https://github.com/apache/dubbo-go/pull/2353)
## 3.0.5
### Bugfixes
- [Fix: Consumers try to reconnect to the metadata service of offline providers infinitely](https://github.com/apache/dubbo-go/pull/2166)
- [Fix: Service discovery registry notify before return](https://github.com/apache/dubbo-go/pull/2168)
- [Fix: Do not launch Polaris governance capability if Polaris is not enabled](https://github.com/apache/dubbo-go/pull/2171)
- [Fix: Config of metrics enbale not works](https://github.com/apache/dubbo-go/pull/2180)
- [Fix: Replace assignment behavior with copy operation to avoid OOM](https://github.com/apache/dubbo-go/pull/2182)
## 3.0.4
### Features
- [CLI: Support getting metadata from metadataCenter](https://github.com/apache/dubbo-go/pull/2066)
- [Support TLS for gRPC protocols](https://github.com/apache/dubbo-go/pull/2073)
- [Support TLS for Dubbo/Triple protocols](https://github.com/apache/dubbo-go/pull/2117)
- [Support Polaris subscribe](https://github.com/apache/dubbo-go/pull/2100)
- [Support Polaris ratelimit](https://github.com/apache/dubbo-go/pull/2128)
- [Support polaris router ability](https://github.com/apache/dubbo-go/pull/2132)
### Bugfixes
- [Fix: leastactive choose wrong invoker](https://github.com/apache/dubbo-go/pull/2068)
- [Fix: add more setter of ReferenceConfigBuilder](https://github.com/apache/dubbo-go/pull/2098)
- [Fix: timeout don't support ms bug](https://github.com/apache/dubbo-go/pull/2105)
- [Fix: env DUBBO_IP_TO_REGISTRY doesn't work](https://github.com/apache/dubbo-go/pull/2138)
### Enhancements
- [Upgrade Triple to v1.1.9](https://github.com/apache/dubbo-go/pull/2072)
- [Docs: update style and out-of-date links in readme](https://github.com/apache/dubbo-go/pull/2079)
- [Upgrade Hessian to v1.11.3](https://github.com/apache/dubbo-go/pull/2087)
- [Upgrade gopkg.in/yaml.v3 to 3.0.0](https://github.com/apache/dubbo-go/pull/2112)
- [Refactor registry polaris project](https://github.com/apache/dubbo-go/pull/2125)
## 3.0.3
### Features
- [Support Grpc based Health check](https://github.com/apache/dubbo-go/pull/1935)
- [Support xds certificate](https://github.com/apache/dubbo-go/pull/1945)
- [Support gracefully offline without registry](https://github.com/apache/dubbo-go/pull/1973)
- [Support nacosRegistry and polarisRegistry register ip and port from env](https://github.com/apache/dubbo-go/pull/2061)
### Bugfixes
- [Fix: typo correction](https://github.com/apache/dubbo-go/pull/1924)
- [Fix: revision calc](https://github.com/apache/dubbo-go/pull/1926)
- [Fix: rand.Seed() duplicate concurrent calls](https://github.com/apache/dubbo-go/pull/1958)
- [Fix: when creating metrics objects concurrently](https://github.com/apache/dubbo-go/pull/1961)
- [Fix: remove consumer of polaris](https://github.com/apache/dubbo-go/pull/1962)
- [Fix: assembleMsg bad use, pass []any as any in variadic function](https://github.com/apache/dubbo-go/pull/1964)
- [Fix: getting attributes issue](https://github.com/apache/dubbo-go/pull/1968)
- [Fix: PolarisServiceWatcher](https://github.com/apache/dubbo-go/pull/1988)
- [Fix: route with more invokers](https://github.com/apache/dubbo-go/pull/2000)
- [Fix: shutdown InternalSignal default value ](https://github.com/apache/dubbo-go/pull/2003)
- [Fix: service discovery related issues and add mesh proxy mode support](https://github.com/apache/dubbo-go/pull/2022)
- [Fix: polaris Subscriber](https://github.com/apache/dubbo-go/pull/2026)
- [Fix: adaptive-service: deadlock caused by rwMutex in limiter mapper](https://github.com/apache/dubbo-go/pull/2053)
### Enhancements
- [Chore remove apollo config center](https://github.com/apache/dubbo-go/pull/1932)
- [Reduce common directory](https://github.com/apache/dubbo-go/pull/1948)
- [Remove useless time format](https://github.com/apache/dubbo-go/pull/1955)
- [Enhance ServiceDefinition in MetadataService](https://github.com/apache/dubbo-go/pull/1963)
- [Add dubbo-go cli and edit readme](https://github.com/apache/dubbo-go/pull/1971)
- [Gost upgrade to master of latest](https://github.com/apache/dubbo-go/pull/1993)
- [Upgrade hessian2 to v1.11.1](https://github.com/apache/dubbo-go/pull/1995)
- [Configure placeholder lookup](https://github.com/apache/dubbo-go/pull/2014)
- [Enable publish servicedefinition to metadata center](https://github.com/apache/dubbo-go/pull/2025)
- [Add the set of getty logger](https://github.com/apache/dubbo-go/pull/2029)
- [Use notifyAll insteadOf notify for listener events notify](https://github.com/apache/dubbo-go/pull/2043)
## 3.0.2
### Features
- [Support hessian java method java.lang param](https://github.com/apache/dubbo-go/pull/1783)
- [Support istio xds](https://github.com/apache/dubbo-go/pull/1804)
- [Support istio xds ring hash](https://github.com/apache/dubbo-go/pull/1828)
- [Support otel trace](https://github.com/apache/dubbo-go/pull/1886)
### Bugfixes
- [Fix: where limitation not updates](https://github.com/apache/dubbo-go/pull/1784)
- [Fix: rootConfig and getty-session-param](https://github.com/apache/dubbo-go/pull/1802)
- [Fix: xds adsz empty metadata](https://github.com/apache/dubbo-go/pull/1813)
- [Fix: decode net stream bytes as getty rule](https://github.com/apache/dubbo-go/pull/1820)
- [Fix: ip register issue](https://github.com/apache/dubbo-go/pull/1821)
- [Fix: getty unit test](https://github.com/apache/dubbo-go/pull/1829)
- [Fix: remove HEADER_LENGTH in decode because of discard](https://github.com/apache/dubbo-go/pull/1831)
- [Fix: xds log use dubbogo logger](https://github.com/apache/dubbo-go/pull/1846)
- [Fix: limit rpc package data size by user's config rather than DEFAULT_LEN](https://github.com/apache/dubbo-go/pull/1848)
- [Fix: complete grpc based protocol panic recover handle](https://github.com/apache/dubbo-go/pull/1866)
### Enhancements
- [Add req.Data to OnMessage panic error log](https://github.com/apache/dubbo-go/pull/1847)
- [Add nacos updateCacheWhenEmpty options](https://github.com/apache/dubbo-go/pull/1852)
- [Xds enhancement](https://github.com/apache/dubbo-go/pull/1853)
- [Mock etcd and nacos in ut](https://github.com/apache/dubbo-go/pull/1873)
- [Use summary type to observe p99](https://github.com/apache/dubbo-go/pull/1875)
- [Remove gomonkey](https://github.com/apache/dubbo-go/pull/1881)
- [Optimized load balancing algorithm](https://github.com/apache/dubbo-go/pull/1884)
- [RandomLoadBalance code optimization](https://github.com/apache/dubbo-go/pull/1899)
- [Export hessian type api](https://github.com/apache/dubbo-go/pull/1911)
- [Export method getArgsTypeList for extension](https://github.com/apache/dubbo-go/pull/1913)
## 3.0.1
### Features
- [Support Graceful Shutdown](https://github.com/apache/dubbo-go/pull/1675)
- [Support `$invokeAsync` for generic service](https://github.com/apache/dubbo-go/pull/1674)
- [Support config the Nacos context path](https://github.com/apache/dubbo-go/pull/1656)
### Bugfixes
- [Fix: JSON-RPC request timeout time dynamically](https://github.com/apache/dubbo-go/pull/1713)
- [Fix: the heartbeat of polaris cannot be reported](https://github.com/apache/dubbo-go/pull/1688)
- [Fix: triple protocol request doesn't carry attachment such as group or version](https://github.com/apache/dubbo-go/pull/1700)
- [Fix: location trim space](https://github.com/apache/dubbo-go/pull/1670)
- [Fix: add category key to the Consumer for diff with Provider](https://github.com/apache/dubbo-go/pull/1672)
### Enhancements
- [Disabled Adaptive Service if set disabled by the Client](https://github.com/apache/dubbo-go/pull/1748)
- [Don't load Adaptive Service Filter if not set ](https://github.com/apache/dubbo-go/pull/1735)
- [Log print the caller ](https://github.com/apache/dubbo-go/pull/1732)
- [Refactor invocation interface](https://github.com/apache/dubbo-go/pull/1702)
- [Refactor Nacos listener check-healthy ](https://github.com/apache/dubbo-go/pull/1729)
- [Refactor Zookeeper dynamic configuration listener](https://github.com/apache/dubbo-go/pull/1665)
## 3.0.0
### Features
- [Adaptive service support](https://github.com/apache/dubbo-go/pull/1649)
- [User defined configuration of dubbogo.yml](https://github.com/apache/dubbo-go/pull/1640)
- [Extend configuration file format](https://github.com/apache/dubbo-go/pull/1626)
- [Polaris-Mesh reigstry support](https://github.com/apache/dubbo-go/pull/1620)
- [Triple proto reflection support](https://github.com/apache/dubbo-go/pull/1603)
- [Triple pb with jaeger tracing support](https://github.com/apache/dubbo-go/pull/1596)
### Bugfixes
- [Validate nacos's user and password configuration](https://github.com/apache/dubbo-go/pull/1645)
- [Fix bug of service configuration exported field](https://github.com/apache/dubbo-go/pull/1639/files)
- [Fix bug of attachments' nil or empty string](https://github.com/apache/dubbo-go/pull/1631)
- [Fix bug of zookeeper cpu idling](https://github.com/apache/dubbo-go/pull/1629)
- [Fix bug of register url without group/version key if value is empty, instead of "" value.](https://github.com/apache/dubbo-go/pull/1612)
- [Fix Hessian encode attachments return error](https://github.com/apache/dubbo-go/pull/1588)
- [Fix consumer zk registry path bug](https://github.com/apache/dubbo-go/pull/1586)
- [Fix bug of graceful shutdown filter](https://github.com/apache/dubbo-go/pull/1585)
- [Validate nacos service-discovery's group and namespace](https://github.com/apache/dubbo-go/pull/1581)
- [Validate consumer config's 'check' key](https://github.com/apache/dubbo-go/pull/1568)
- [Set rootConfig to global rootConfig pointer in init function](https://github.com/apache/dubbo-go/pull/1564)
- [Fix bug of register of app-level-service-discovery not use metadata's configuration](https://github.com/apache/dubbo-go/pull/1565)
### Enhancements
- [Add triple max size configuration](https://github.com/apache/dubbo-go/pull/1654)
- [Hessian2 supports setting the type of Java method parameters](https://github.com/apache/dubbo-go/pull/1625)
- [Logger of dubbo-go internal codes are changed to the framework's logger](https://github.com/apache/dubbo-go/pull/1617)
- [Nacos suppports unregister and unsubscribe](https://github.com/apache/dubbo-go/pull/1616)
- [Register service mapping using registry config's address](https://github.com/apache/dubbo-go/pull/1611)
- [Add nacos registry url's 'methods' key](https://github.com/apache/dubbo-go/pull/1608)
- [Filter with single instance](https://github.com/apache/dubbo-go/pull/1591)
- [Refactor of listen dir event](https://github.com/apache/dubbo-go/pull/1589)
- [Load reference before service](https://github.com/apache/dubbo-go/pull/1571)
- [Change triple's http2 implementation from net/http to grpc](https://github.com/apache/dubbo-go/pull/1566)
- [Adjuest the startup process of configcenter](https://github.com/apache/dubbo-go/pull/1560)
## 3.0.0-rc3
### Feature:
- Triple features
- [New triple pb generation tool](https://github.com/dubbogo/tools/pull/17)
Refer to [QuickStart of dubbo-go 3.0](https://dubbogo.github.io/zh-cn/docs/user/quickstart/3.0/quickstart.html), and [Dubbo-go-samples](https://github.com/apache/dubbo-go-samples) to try protoc-gen-go-triple pb generator plugin.
- [Response exception from client](https://github.com/dubbogo/triple/pull/30)
Triple client can get the error stacks from server, pointing to real error occurs position.
- [Multi params support](https://github.com/apache/dubbo-go/pull/1344)
- [New metrics support](https://github.com/apache/dubbo-go/pull/1540)
Refer to [Docs of dubbo-go 3.0 Metrics](https://dubbogo.github.io/zh-cn/docs/user/samples/metrics.html), and [dubbo-go-samples/metrics](https://github.com/apache/dubbo-go-samples/tree/master/metrics)] to try new metrics support.
- [Remove sleep to wait for service discovery logic](https://github.com/apache/dubbo-go/pull/1531)
Set reference check default to true and remove extra time.Sleep logic in client side during service-discovery [remove time.Sleep](https://github.com/apache/dubbo-go-samples/pull/276/files)
- [Registry Waittime configurable](https://github.com/apache/dubbo-go/pull/1516/files)
- [Dynamic Route Config](https://github.com/apache/dubbo-go/pull/1519)
Refer to [Docs of dubbo-go 3.0 Router](https://dubbogo.github.io/zh-cn/docs/user/samples/mesh_router.html), and [dubbo-go-samples/meshrouter](https://github.com/apache/dubbo-go-samples/tree/master/route/meshroute) to try dynamic mesh router support.
- [New config API support](https://github.com/apache/dubbo-go/pull/1499) [New root config API builder](https://github.com/apache/dubbo-go/pull/1491)
Refer to [Docs of dubbo-go 3.0 Configuration](https://dubbogo.github.io/zh-cn/docs/user/concept/configuration.html), and [dubbo-go-samples/config-api](https://github.com/apache/dubbo-go-samples/tree/master/config-api) to try new config API.
- [Support custom registry group name on Nacos](https://github.com/apache/dubbo-go/pull/1353)
- [GRPC supports multi pb](https://github.com/apache/dubbo-go/pull/1361)
- [New logger support](https://github.com/apache/dubbo-go/pull/1335)
Refer to [Docs of dubbo-go 3.0 logger](https://dubbogo.github.io/zh-cn/docs/user/samples/custom-logger.html), and [dubbo-go-samples/logger](https://github.com/apache/dubbo-go-samples/tree/master/logger) to try new logger support.
- [Generic invocation supports](https://github.com/apache/dubbo-go/pull/1315)
Refer to [Docs of dubbo-go 3.0 generic](https://dubbogo.github.io/zh-cn/docs/user/samples/generic.html), and [dubbo-go-samples/generic](https://github.com/apache/dubbo-go-samples/tree/master/generic) to try new generic support.
- [Support key generate function in service event](https://github.com/apache/dubbo-go/pull/1286)
### Enhancement:
- [Configuration Enhancement](https://github.com/apache/dubbo-go/commit/1397e8bba97f14b7656a5afc9bc92530bb693092)
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](https://github.com/apache/dubbo-go-samples) (corresponding to latest dubbo-go 3.0), and there are introductions and detailed examples on the our website [dubbogo.github](https://dubbogo.github.io).
- Triple:
- [Triple CPU usage optimization](https://github.com/dubbogo/triple/pull/32/files)
Set default tcp read buffer to 4k to decrease gc, and descrease CPU usage by 60% of 3.0.0-rc2
- [Add Triple Debug Log](https://github.com/dubbogo/triple/pull/29)
- [Support Apollo secret](https://github.com/apache/dubbo-go/pull/1533)
- [Use class Name as the default reference name ](https://github.com/apache/dubbo-go/pull/1339)
You can set service/refernce key to provider/consumer's struct name: [Config samples](https://github.com/apache/dubbo-go-samples/blob/master/helloworld/go-server/conf/dubbogo.yml#L15) & [Target provider struct](https://github.com/apache/dubbo-go-samples/blob/master/helloworld/go-server/cmd/server.go#L45),
And there is no needs to define (p*Provider) Reference() method from now on.
- [Set default logger level to info](https://github.com/apache/dubbo-go/pull/1549/files#diff-d5ab135265094924568957f56eaef061c7948d2664daa995fbe0de4c7ab2d272R82)
- [Refactor of filter package sturcture](https://github.com/apache/dubbo-go/pull/1299)
- [Refactor of cluster package structure](https://github.com/apache/dubbo-go/pull/1507)
### Bugfix:
- [Heartbeat's timeout will modify consumer's timeout](https://github.com/apache/dubbo-go/pull/1532)
- [Remove zk test to ensure ut could be run locally](https://github.com/apache/dubbo-go/pull/1357)
- [Add Application Registry](https://github.com/apache/dubbo-go/pull/1493)
- [Change serviceName like java style on nacos](https://github.com/apache/dubbo-go/pull/1352)
- [Url serialization bug](https://github.com/apache/dubbo-go/pull/1292)
- [Change the key of a mock echo filter](https://github.com/apache/dubbo-go/pull/1381)
- [Fix: fix the exception when tcp timeout is less than 1s for 3.0 #1362](https://github.com/apache/dubbo-go/pull/1380)
- [Registry timeout not pars](https://github.com/apache/dubbo-go/pull/1392)
- [Fix Isprovider check](https://github.com/apache/dubbo-go/pull/1500)
- [Delete zk registry when set defualt consumer/provider config](https://github.com/apache/dubbo-go/pull/1324/files)
## 3.0.0-rc2
### New Features
- [Add Triple Msgpack Codec](https://github.com/apache/dubbo-go/pull/1242)
- [Add Triple user defined serializer support](https://github.com/apache/dubbo-go/pull/1242)
- [Add gRPC provider reference in codes generated by protoc-gen-dubbo3](https://github.com/apache/dubbo-go/pull/1240)
- [Add integration tests using dubbo-go-samples](https://github.com/apache/dubbo-go/pull/1223)
- [Add service discovery support etcd remote reporter](https://github.com/apache/dubbo-go/pull/1221)
- [Add service discovery support nacos remote reporter](https://github.com/apache/dubbo-go/pull/1218)
- [Add grpc server reflection register logic](https://github.com/apache/dubbo-go/pull/1216)
### Enhancement
- [Make remote metadata center configurable](https://github.com/apache/dubbo-go/pull/1258)
- [Enhance nacos connection](https://github.com/apache/dubbo-go/pull/1255)
- [Add unit tests for zk metadata report](https://github.com/apache/dubbo-go/pull/1229)
- [Restructuring remoting metadata service](https://github.com/apache/dubbo-go/pull/1227)
- [Dependency prompting for unit tests](https://github.com/apache/dubbo-go/pull/1212)
- [Make cluster interceptor a chain](https://github.com/apache/dubbo-go/pull/1211)
- [Improve etcd version and change create to put](https://github.com/apache/dubbo-go/pull/1203)
- [Remove reflect in grpc server](https://github.com/apache/dubbo-go/pull/1200)
- [Change lb hash logic](https://github.com/apache/dubbo-go/pull/1267)
### Bugfixes
- [Fix: zk invoker refer check fail,and service will be added in cache invokers fail problem](https://github.com/apache/dubbo-go/pull/1249)
- [Fix: app level service discovery local mod URL serialize fail problem](https://github.com/apache/dubbo-go/pull/1238)
- [Fix: m1 cpu exec fail problem](https://github.com/apache/dubbo-go/pull/1236)
- [Fix: metadata info struct contains unsupported field](https://github.com/apache/dubbo-go/pull/1234)
- [Fix: go race in directory](https://github.com/apache/dubbo-go/pull/1222)
- [Fix: zk name changes from default to conn location](https://github.com/apache/dubbo-go/pull/1263)
### Dependencies
- [bump actions/cache from 2.1.5 to 2.1.6](https://github.com/apache/dubbo-go/pull/1230)
Milestone:
- [https://github.com/apache/dubbo-go/milestone/12](https://github.com/apache/dubbo-go/milestone/12?closed=1)
## 3.0.0-rc1
### New Features
- [Add triple protocol](https://github.com/apache/dubbo-go/pull/1071)
- [Add dubbo3 router](https://github.com/apache/dubbo-go/pull/1187)
- [Add app-level remote service discovery](https://github.com/apache/dubbo-go/pull/1161)
- [Add default config](https://github.com/apache/dubbo-go/pull/1073)
- [Add pass through proxy factory](https://github.com/apache/dubbo-go/pull/1081)
### Enhancement
- [Replace default config string with const value](https://github.com/apache/dubbo-go/pull/1182)
- [Add retry times in zookeeper starting](https://github.com/apache/dubbo-go/pull/1179)
- [Client pool enhance](https://github.com/apache/dubbo-go/pull/1119)
- [Impl the way of load configure file](https://github.com/apache/dubbo-go/pull/1099)
### Bugfixes
- [Fix: get failback error](https://github.com/apache/dubbo-go/pull/1177)
- [Fix: delete a service provider when using k8s hpa](https://github.com/apache/dubbo-go/pull/1157)
- [Fix: fix reExporter bug when config-center {applicationName}.configurator data change](https://github.com/apache/dubbo-go/pull/1144)
- [Fix: stop the provider app panic error](https://github.com/apache/dubbo-go/pull/1129)
### Dependencies
- [bump github.com/RoaringBitmap/roaring from 0.6.0 to 0.6.1](https://github.com/apache/dubbo-go/pull/1195)
- [bump github.com/RoaringBitmap/roaring from 0.5.5 to 0.6.0](https://github.com/apache/dubbo-go/pull/1175)
- [bump github.com/RoaringBitmap/roaring from 0.5.5 to 0.6.0](https://github.com/apache/dubbo-go/pull/1163)
- [Bump github.com/magiconair/properties from 1.8.4 to 1.8.5](https://github.com/apache/dubbo-go/pull/1115)
Milestone:
- [https://github.com/apache/dubbo-go/milestone/9](https://github.com/apache/dubbo-go/milestone/9?closed=1)
## 1.5.6
### New Features
- [Add dubbo-go-cli telnet tool](https://github.com/apache/dubbo-go/pull/818)
- [Add Prox ImplementFunc to allow override impl](https://github.com/apache/dubbo-go/pull/1019)
- [Add read configuration path from the command line when start](https://github.com/apache/dubbo-go/pull/1039)
- [Add use invoker with same ip as client first](https://github.com/apache/dubbo-go/pull/1023)
- [Add an "api way" to set general configure](https://github.com/apache/dubbo-go/pull/1020)
- [Add registry ip:port set from enviroment variable](https://github.com/apache/dubbo-go/pull/1036)
### Enhancement
- [introduce ConfigPostProcessor extension](https://github.com/apache/dubbo-go/pull/943)
- [Impl extension of two urls comparison](https://github.com/apache/dubbo-go/pull/854)
- [using event-driven to let router send signal to notify channel](https://github.com/apache/dubbo-go/pull/976)
- [lint codes](https://github.com/apache/dubbo-go/pull/941)
- [Imp: destroy invoker smoothly](https://github.com/apache/dubbo-go/pull/1045)
- [Improve config center](https://github.com/apache/dubbo-go/pull/1030)
### Bugfixes
- [Fix: generic struct2MapAll key of map keep type](https://github.com/apache/dubbo-go/pull/928)
- [Fix: when events empty, delete all the invokers](https://github.com/apache/dubbo-go/pull/758)
- [Fix: file service discovery run in windows](https://github.com/apache/dubbo-go/pull/932)
- [Fix: make metadata report work without serviceDiscovery](https://github.com/apache/dubbo-go/pull/948)
- [Fix: consumer invoker cache set nil after the ZK connection is lost](https://github.com/apache/dubbo-go/pull/985)
- [Fix: integration test in Github action](https://github.com/apache/dubbo-go/pull/1012)
- [Fix: etcd exit panic](https://github.com/apache/dubbo-go/pull/1013)
- [Fix: when connect to provider fail, will occur panic](https://github.com/apache/dubbo-go/pull/1021)
- [Fix: support getty send Length, when the data transfer failed](https://github.com/apache/dubbo-go/pull/1028)
- [Fix: RPCInvocation.ServiceKey use PATH_KEY instead of INTERFACE_KEY ](https://github.com/apache/dubbo-go/pull/1078/files)
- [Fix: zk too many tcp conn](https://github.com/apache/dubbo-go/pull/1010)
- [Fix: fix zk listener func pathToKey](https://github.com/apache/dubbo-go/pull/1066)
- [Fix: graceful shutdown](https://github.com/apache/dubbo-go/pull/1007)
- [Fix: nacos service provider does not require subscribe](https://github.com/apache/dubbo-go/pull/1056)
- [Fix: key of generic map convert is more general](https://github.com/apache/dubbo-go/pull/1041)
- [Fix: body buffer too short](https://github.com/apache/dubbo-go/pull/1090)
### Dependencies
- [Bump dubbo-go-hessian2 from v1.9.0-rc1 to v1.9.1](https://github.com/apache/dubbo-go/pull/1088/files)
- [Bump github.com/nacos-group/nacos-sdk-go from 1.0.5 to v1.0.7](https://github.com/apache/dubbo-go/pull/1106)
Milestone:
- [https://github.com/apache/dubbo-go/milestone/7](https://github.com/apache/dubbo-go/milestone/7?closed=1)
- [https://github.com/apache/dubbo-go/milestone/10](https://github.com/apache/dubbo-go/milestone/10?closed=1)
## 1.5.5
### New Features
- [Add Address notification batch mode](https://github.com/apache/dubbo-go/pull/741)
- [Add dubbo-gen stream support](https://github.com/apache/dubbo-go/pull/794)
- [Add Change verify to Makefile](https://github.com/apache/dubbo-go/pull/831)
- [Add more automatic components](https://github.com/apache/dubbo-go/pull/832)
- [Add grpc max message size config](https://github.com/apache/dubbo-go/pull/824)
### Enhancement
- [when it need local ip, it will get it every time. We can get local ip once, and reused it](https://github.com/apache/dubbo-go/pull/807)
- [enhance client's connectivity](https://github.com/apache/dubbo-go/pull/800)
- [Imp: get local ip once and reused it](https://github.com/apache/dubbo-go/pull/808)
- [Remove unmeaning logic](https://github.com/apache/dubbo-go/pull/855)
### Bugfixes
- [Fix: nacos registry can not get namespaceId](https://github.com/apache/dubbo-go/pull/778) [@peaman](https://github.com/peaman)
- [Fix: url encode](https://github.com/apache/dubbo-go/pull/802)
- [Fix: try to fix too many files open error](https://github.com/apache/dubbo-go/pull/797)
- [Fix: refact heartbeat](https://github.com/apache/dubbo-go/pull/889)
- [Fix: router_config add &url to url](https://github.com/apache/dubbo-go/pull/910)
- [Fix: Router chain can not build immediately when started](https://github.com/apache/dubbo-go/pull/927)
- [Fix: client block until timeout when provider return with PackageResponse_Exception](https://github.com/apache/dubbo-go/pull/926)
- [Fix: URL.String() data race panic](https://github.com/apache/dubbo-go/pull/944)
- [Fix: generic "encode hessian.Object"](https://github.com/apache/dubbo-go/pull/945)
### Dependencies
- [Bump github.com/mitchellh/mapstructure from 1.2.3 to 1.3.3](https://github.com/apache/dubbo-go/pull/838)
- [Bump github.com/go-resty/resty/v2 from 2.1.0 to 2.3.0](https://github.com/apache/dubbo-go/pull/837)
- [Bump github.com/opentracing/opentracing-go from 1.1.0 to 1.2.0](https://github.com/apache/dubbo-go/pull/836)
- [Bump github.com/creasty/defaults from 1.3.0 to 1.5.1](https://github.com/apache/dubbo-go/pull/835)
- [Bump github.com/dubbogo/gost from 1.9.1 to 1.9.2](https://github.com/apache/dubbo-go/pull/834)
- [Bump github.com/zouyx/agollo/v3 from 3.4.4 to 3.4.5](https://github.com/apache/dubbo-go/pull/845)
- [Bump github.com/golang/mock from 1.3.1 to 1.4.4](https://github.com/apache/dubbo-go/pull/844)
- [Bump github.com/nacos-group/nacos-sdk-go from 1.0.0 to 1.0.1](https://github.com/apache/dubbo-go/pull/843)
- [Bump github.com/magiconair/properties from 1.8.1 to 1.8.4](https://github.com/apache/dubbo-go/pull/861)
- [Bump github.com/prometheus/client_golang from 1.1.0 to 1.8.0 ](https://github.com/apache/dubbo-go/pull/860)
- [Bump go.uber.org/atomic from 1.6.0 to 1.7.0](https://github.com/apache/dubbo-go/pull/859)
- [](https://github.com/apache/dubbo-go/pull/843)
Milestone: [https://github.com/apache/dubbo-go/milestone/5](https://github.com/apache/dubbo-go/milestone/5?closed=1)
## 1.4.5
### Bugfixes
- [Fix too many files open error](https://github.com/apache/dubbo-go/pull/828) [@wenxuwan](https://github.com/wenxuwan) Milestone: [https://github.com/apache/dubbo-go/milestone/6](https://github.com/apache/dubbo-go/milestone/6?closed=1)
## 1.5.4
### Bugfixes
- [Fix etcd cluster reconnect](https://github.com/apache/dubbo-go/pull/828)
- [Fix zookeeper deadlock problem](https://github.com/apache/dubbo-go/pull/826)
- [Fix generic struct2MapAll](https://github.com/apache/dubbo-go/pull/822)
- [Fix Consumer panic when restart provider](https://github.com/apache/dubbo-go/pull/803)
- [Fix etcd can not registry](https://github.com/apache/dubbo-go/pull/819) [@lin-jianjun](https://github.com/lin-jianjun)
- [Fix cannot call go provider service when used by java dubbo 2.7.7 version](https://github.com/apache/dubbo-go/pull/815) [@jack15083](https://github.com/jack15083)
- [Fix go client quit abnormally when it connects java server](https://github.com/apache/dubbo-go/pull/820) [@wenxuwan](https://github.com/wenxuwan)
- [Fix sentinel windows issue](https://github.com/apache/dubbo-go/pull/821) [@louyuting](https://github.com/louyuting)
- [Fix metadata default port](https://github.com/apache/dubbo-go/pull/821) [@sanxun0325](https://github.com/sanxun0325)
- [Fix consul can not destroy](https://github.com/apache/dubbo-go/pull/788) [@LaurenceLiZhixin](https://github.com/LaurenceLiZhixin)
Milestone: [https://github.com/apache/dubbo-go/milestone/6](https://github.com/apache/dubbo-go/milestone/6?closed=1)
## 1.5.3
### New Features
- [Add consul service discovery](https://github.com/apache/dubbo-go/pull/701) [@zhangshen023](https://github.com/zhangshen023)
- [Add File system service discovery](https://github.com/apache/dubbo-go/pull/732) [@DogBaoBao](https://github.com/DogBaoBao)
- [Migrate travis Ci to Github Actions](https://github.com/apache/dubbo-go/pull/752) [@sdttttt](https://github.com/sdttttt)
- [Add sentinel-golang flow control/circuit breaker](https://github.com/apache/dubbo-go/pull/748) [@louyuting](https://github.com/louyuting)
- [Add dubbo-go docs and blog into doc directory](https://github.com/apache/dubbo-go/pull/767) [@oaoit](https://github.com/oaoit)
### Enhancement
- [Add address notification batch mode](https://github.com/apache/dubbo-go/pull/741) [@beiwei30](https://github.com/beiwei30)
- [Refactor network and codec model](https://github.com/apache/dubbo-go/pull/673) [@fangyincheng](https://github.com/fangyincheng) [@georgehao](https://github.com/georgehao)
- [Remove unnecessary return and judgement](https://github.com/apache/dubbo-go/pull/730) [@YongHaoWu](https://github.com/YongHaoWu)
- [Improve exporter append method](https://github.com/apache/dubbo-go/pull/722) [@gaoxinge](https://github.com/gaoxinge)
- [Refactor for proxyInvoker cannot be extended](https://github.com/apache/dubbo-go/pull/747) [@cvictory](https://github.com/cvictory)
- [Refactor attachment type from map\[string\]stiring to map\[string\]interface{}](https://github.com/apache/dubbo-go/pull/713) [@cvictory](https://github.com/cvictory)
- [Improve map access concurrency](https://github.com/apache/dubbo-go/pull/739) [@skyao](https://github.com/skyao)
- [Improve code quantity](https://github.com/apache/dubbo-go/pull/763) [@gaoxinge](https://github.com/gaoxinge)
### Bugfixes
- [Fix etcdv3 lease](https://github.com/apache/dubbo-go/pull/738) [@zhangshen023](https://github.com/zhangshen023)
- [Fix rename SethealthChecker to SetHealthChecker](https://github.com/apache/dubbo-go/pull/746) [@watermelo](https://github.com/watermelo)
- [Fix init config problem in HystrixFilter](https://github.com/apache/dubbo-go/pull/731) [@YGrylls](https://github.com/YGrylls)
- [Fix zookeeper listener report error after started](https://github.com/apache/dubbo-go/pull/735) [@wenxuwan](https://github.com/wenxuwan)
Milestone: [https://github.com/apache/dubbo-go/milestone/4](https://github.com/apache/dubbo-go/milestone/4?closed=1)
Project: [https://github.com/apache/dubbo-go/projects/10](https://github.com/apache/dubbo-go/projects/10)
## 1.5.4
### Bugfixes
- [Fix etcd cluster reconnect](https://github.com/apache/dubbo-go/pull/828)
- [Fix zookeeper deadlock problem](https://github.com/apache/dubbo-go/pull/826)
- [Fix generic struct2MapAll](https://github.com/apache/dubbo-go/pull/822)
- [Fix Consumer panic when restart provider](https://github.com/apache/dubbo-go/pull/803)
- [Fix etcd can not registry](https://github.com/apache/dubbo-go/pull/819) [@lin-jianjun](https://github.com/lin-jianjun)
- [Fix cannot call go provider service when used by java dubbo 2.7.7 version](https://github.com/apache/dubbo-go/pull/815) [@jack15083](https://github.com/jack15083)
- [Fix go client quit abnormally when it connects java server](https://github.com/apache/dubbo-go/pull/820) [@wenxuwan](https://github.com/wenxuwan)
- [Fix sentinel windows issue](https://github.com/apache/dubbo-go/pull/821) [@louyuting](https://github.com/louyuting)
- [Fix metadata default port](https://github.com/apache/dubbo-go/pull/821) [@sanxun0325](https://github.com/sanxun0325)
- [Fix consul can not destroy](https://github.com/apache/dubbo-go/pull/788) [@LaurenceLiZhixin](https://github.com/LaurenceLiZhixin)
Milestone: [https://github.com/apache/dubbo-go/milestone/6](https://github.com/apache/dubbo-go/milestone/6?closed=1)
## 1.5.3
### New Features
- [Add consul service discovery](https://github.com/apache/dubbo-go/pull/701) [@zhangshen023](https://github.com/zhangshen023)
- [Add File system service discovery](https://github.com/apache/dubbo-go/pull/732) [@DogBaoBao](https://github.com/DogBaoBao)
- [Migrate travis Ci to Github Actions](https://github.com/apache/dubbo-go/pull/752) [@sdttttt](https://github.com/sdttttt)
- [Add sentinel-golang flow control/circuit breaker](https://github.com/apache/dubbo-go/pull/748) [@louyuting](https://github.com/louyuting)
- [Add dubbo-go docs and blog into doc directory](https://github.com/apache/dubbo-go/pull/767) [@oaoit](https://github.com/oaoit)
### Enhancement
- [Add address notification batch mode](https://github.com/apache/dubbo-go/pull/741) [@beiwei30](https://github.com/beiwei30)
- [Refactor network and codec model](https://github.com/apache/dubbo-go/pull/673) [@fangyincheng](https://github.com/fangyincheng) [@georgehao](https://github.com/georgehao)
- [Remove unnecessary return and judgement](https://github.com/apache/dubbo-go/pull/730) [@YongHaoWu](https://github.com/YongHaoWu)
- [Improve exporter append method](https://github.com/apache/dubbo-go/pull/722) [@gaoxinge](https://github.com/gaoxinge)
- [Refactor for proxyInvoker cannot be extended](https://github.com/apache/dubbo-go/pull/747) [@cvictory](https://github.com/cvictory)
- [Refactor attachment type from map\[string\]stiring to map\[string\]interface{}](https://github.com/apache/dubbo-go/pull/713) [@cvictory](https://github.com/cvictory)
- [Improve map access concurrency](https://github.com/apache/dubbo-go/pull/739) [@skyao](https://github.com/skyao)
- [Improve code quantity](https://github.com/apache/dubbo-go/pull/763) [@gaoxinge](https://github.com/gaoxinge)
### Bugfixes
- [Fix etcdv3 lease](https://github.com/apache/dubbo-go/pull/738) [@zhangshen023](https://github.com/zhangshen023)
- [Fix rename SethealthChecker to SetHealthChecker](https://github.com/apache/dubbo-go/pull/746) [@watermelo](https://github.com/watermelo)
- [Fix init config problem in HystrixFilter](https://github.com/apache/dubbo-go/pull/731) [@YGrylls](https://github.com/YGrylls)
- [Fix zookeeper listener report error after started](https://github.com/apache/dubbo-go/pull/735) [@wenxuwan](https://github.com/wenxuwan)
Milestone: [https://github.com/apache/dubbo-go/milestone/4](https://github.com/apache/dubbo-go/milestone/4?closed=1)
Project: [https://github.com/apache/dubbo-go/projects/10](https://github.com/apache/dubbo-go/projects/10)
## 1.5.1
### New Features
- [Add dynamic tag router](https://github.com/apache/dubbo-go/pull/703)
- [Add TLS support](https://github.com/apache/dubbo-go/pull/685)
- [Add Nearest first for multiple registry](https://github.com/apache/dubbo-go/pull/659)
- [Add application and service level router](https://github.com/apache/dubbo-go/pull/662)
- [Add dynamic tag router](https://github.com/apache/dubbo-go/pull/665)
### Enhancement
- [Avoid init the log twice](https://github.com/apache/dubbo-go/pull/719)
- [Correct words and format codes](https://github.com/apache/dubbo-go/pull/704)
- [Change log stack level from warn to error](https://github.com/apache/dubbo-go/pull/702)
- [Optimize remotes configuration](https://github.com/apache/dubbo-go/pull/687)
### Bugfixes
- [Fix register service instance after provider config load](https://github.com/apache/dubbo-go/pull/694)
- [Fix call subscribe function asynchronously](https://github.com/apache/dubbo-go/pull/721)
- [Fix tag router rule copy](https://github.com/apache/dubbo-go/pull/721)
- [Fix nacos unit test failed](https://github.com/apache/dubbo-go/pull/705)
- [Fix can not inovke nacos destroy when graceful shutdown](https://github.com/apache/dubbo-go/pull/689)
- [Fix zk lost event](https://github.com/apache/dubbo-go/pull/692)
- [Fix k8s ut bug](https://github.com/apache/dubbo-go/pull/693)
Milestone: [https://github.com/apache/dubbo-go/milestone/2?closed=1](https://github.com/apache/dubbo-go/milestone/2?closed=1)
Project: [https://github.com/apache/dubbo-go/projects/8](https://github.com/apache/dubbo-go/projects/8)
## 1.5.0
### New Features
- [Application-Level Registry Model](https://github.com/apache/dubbo-go/pull/604)
- [DelegateMetadataReport & RemoteMetadataService](https://github.com/apache/dubbo-go/pull/505)
- [Nacos MetadataReport implementation](https://github.com/apache/dubbo-go/pull/522)
- [Nacos service discovery](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/nacos/service_discovery.go)
- [Zk metadata service](https://github.com/apache/dubbo-go/pull/633)
- [Zk service discovery](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/zookeeper/service_discovery.go)
- [Etcd metadata report](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/metadata/report/etcd/report.go)
- [Etcd metadata service discovery](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/etcdv3/service_discovery.go)
- [Support grpc json protocol](https://github.com/apache/dubbo-go/pull/582)
- [Ftr: using different labels btw provider and consumer, k8s service discovery across namespaces](https://github.com/apache/dubbo-go/pull/577 )
### Enhancement
- [Optimize err handling ](https://github.com/apache/dubbo-go/pull/536/)
- [Add attribute method into Invocation and RpcInvocation](https://github.com/apache/dubbo-go/pull/537)
- [Optimize lock for zookeeper registry](https://github.com/apache/dubbo-go/pull/578)
- [Improve code coverage of zookeeper config center](https://github.com/apache/dubbo-go/pull/549)
- [Improve code coverage of nacos config center and configuration parser](https://github.com/apache/dubbo-go/pull/587)
- [Kubernetes as registry enhance](https://github.com/apache/dubbo-go/pull/577)
- [Optimize zk client's lock and tests](https://github.com/apache/dubbo-go/pull/601)
- [Add setInvoker method for invocation](https://github.com/apache/dubbo-go/pull/612)
- [Upgrade getty & hessian2](https://github.com/apache/dubbo-go/pull/626)
- [Optimize router design: Extract priority router](https://github.com/apache/dubbo-go/pull/630)
- [NamespaceId config for nacos](https://github.com/apache/dubbo-go/pull/641)
### Bugfixes
- [Fix Gitee problem](https://github.com/apache/dubbo-go/pull/590)
- [Gitee quality analyses -- common](https://github.com/apache/dubbo-go/issues/616)
- [Nacos client logDir path seperator for Windows](https://github.com/apache/dubbo-go/pull/591)
- [Fix various linter warnings](https://github.com/apache/dubbo-go/pull/624)
- [Fixed some issues in config folder that reported by sonar-qube](https://github.com/apache/dubbo-go/pull/634)
- [Zk disconnected, dubbo-go panic when subscribe](https://github.com/apache/dubbo-go/pull/613)
- [Enhancement cluster code analysis](https://github.com/apache/dubbo-go/pull/632)
### Document & Comment
- [Add comment for common directory](https://github.com/apache/dubbo-go/pull/530)
- [Add comments for config_center](https://github.com/apache/dubbo-go/pull/545)
- [Update the comments in metrics](https://github.com/apache/dubbo-go/pull/547)
- [Add comments for config](https://github.com/apache/dubbo-go/pull/579)
- [Updated the dubbo-go-ext image](https://github.com/apache/dubbo-go/pull/581)
- [Add comment for cluster](https://github.com/apache/dubbo-go/pull/584)
- [Update the comments in filter directory](https://github.com/apache/dubbo-go/pull/586)