gitee.com/sasukebo/go-micro/v4@v4.7.1/CHANGELOG.md (about)

     1  # 4.5.0 (2021/12/19)
     2  
     3  ### Bug Fixes
     4  
     5  - nats deregister issue (#2384)
     6  - fixing f.IsExported undefined issue (#2382)
     7  - fix http_transport Recv and Close race condition on buff (#2374)
     8  - update protoc-gen-micro install doc
     9  - zookeeper registry delete event (#2372)
    10  - delete redundant lines (#2364)
    11  - modify the dependencies urls (#2363)
    12  - ignore unexported field (#2354)
    13  - Fix Micro CLI's proto comments (#2353)
    14  
    15  ### Features
    16  
    17  - Extend client mock with ability to test publish, and a few useful method like SetResponse and SetSubscriber (#2375)
    18  - go micro dashboard (#2361)
    19  
    20  # 4.4.0 (2021/11/11)
    21  
    22  ### Bug Fixes
    23  
    24  - fix(#2333): etcd grpc marshal issue (#2334)
    25  
    26  ### Features
    27  
    28  - upgrade to go 1.17 (#2346)
    29  - add nats and redis events plugins
    30  - add events package (#2341)
    31  
    32  # 4.3.0 (2021/11/01)
    33  
    34  ### Bug Fixes
    35  
    36  - flatten cli (#2332)
    37  - m3o client changed
    38  - use vanity url for cli command
    39  - fix broker nsq plugin nil pointer error (#2329)
    40  - fix config json slice parsing (#2330)
    41  - replace ioutil with io and os (#2327)
    42  - fixing #2308 (#2326)
    43  - Fix Micro CLI by removing replace line in go.mod
    44  - remove unnecessary dependencies between plugins
    45  - 1. use default memory registry in grpc plugins (#2317)
    46  - Add update rule to Makefile (#2315)
    47  - Plugins (#2311)
    48  
    49  ### Features
    50  
    51  - Rename gomu to micro (#2325)
    52  - stream CloseSend (#2323)
    53  - strip protoc-gen-micro go mod
    54  
    55  ### BREAKING CHANGES
    56  
    57  - go install gitee.com/sasukebo/go-micro/v4/cmd/micro@v4
    58  - go install gitee.com/sasukebo/go-micro/v4/cmd/protoc-gen-micro@v4
    59  - upgrade go micro to support stream.CloseSend
    60  
    61  # 4.2.1 (2021/10/14)
    62  
    63  ### Bug Fixes
    64  
    65  - fix gomu.
    66  
    67  # 4.2.0 (2021/10/13)
    68  
    69  ### Bug Fixes
    70  
    71  - fix examples go mod.
    72  - update go sums.
    73  - move to go-micro.dev.
    74  - upgrade protoc-gen-micro to v4.
    75  
    76  # 4.1.0 (2021/10/12)
    77  
    78  - v4.1.0.
    79  
    80  # 4.0.0 (2021/10/12)
    81  
    82  ### Features
    83  
    84  - Vanity URL go-micro.dev([#2271](https://gitee.com/sasukebo/go-micro/issues/2271)).
    85  
    86  ### BREAKING CHANGES
    87  
    88  - upgrade gitee.com/sasukebo/go-micro/v3 to gitee.com/sasukebo/go-micro/v4.
    89  
    90  # 3.7.0 (2021/10/11)
    91  
    92  - Add latest version (#2303).
    93  
    94  # 3.6.0 (2021/08/23)
    95  
    96  - Minor fixes https://gitee.com/sasukebo/go-micro/compare/v3.5.2...c7195aae9817db4eaf5483990fcb8706f86d3002.
    97  
    98  # 3.5.2 (2021/07/06)
    99  
   100  - Tag it and bag it.
   101  
   102  # 3.5.1 (2021/04/20)
   103  
   104  - Minor bug fixes.
   105  
   106  # 3.5.0 (2021/01/29)
   107  
   108  - kill the bugs.
   109  
   110  # 3.0.1 (2021/01/20)
   111  
   112  - Tag with protoc changes.
   113  
   114  # 3.0.0 (2021/01/20)
   115  
   116  - V3.
   117  
   118  ### BREAKING CHANGES
   119  
   120  - upgrade github.com/micro/go-micro/v2 to gitee.com/sasukebo/go-micro/v3.
   121  - change default transport from gRPC to mucp, using grpc server/client plugins.
   122  
   123  # 3.0.0-beta.3 (2020/09/29)
   124  
   125  - Secret implementation of config. Supporting config merge (#2027)
   126  - remove transport options
   127  - read service package (#2026)
   128  - env config implementation (#2024)
   129  - runtime: remove builder package (moved to micro) (#2023)
   130  - Fix branch names support for k8s runtime (#2020)
   131  - fix config bug (#2021)
   132  - runtime: minor fixes for local runtime (#2019)
   133  - remove memcache and update gomod
   134  - Add errors to config methods (#2015)
   135  - store/file: fix segmentation violation bug (#2013)
   136  - Config interface change (#2010)
   137  - proxy/grpc: fix client streaming bug (EOF not sent to the server) (#2011)
   138  - client/grpc: fix stream closed bug (#2009)
   139  - store/file: don't keep connection to boltdb open (#2006)
   140  - runtime/builder with golang implementation (#2003)
   141  - store: implement s3 blob store (#2005)
   142  - store: add blob interface with file implementation (#2004)
   143  - auth: remove micro specific code (#1999)
   144  - Fix running subfolders (#1998)
   145  - api: fix request body re-sequencing bug (#1996)
   146  - add Name to auth.Account as a user friendly alias (#1992)
   147  - Fixing top level run outside repo (#1993)
   148  - runtime: normalised service statuses (#1994)
   149  - Add 'Namespace' header to allowed CORS headers (#1990)
   150  - Remove all the external plugins except grpc (#1988)
   151  - util/kubernetes: fix TCPSocketAction bug (#1987)
   152  - Fixing the metric tagging issue here (#1986).
   153  
   154  # 3.0.0-beta.2 (2020/09/05)
   155  
   156  - Cut a v3 beta 2.
   157  
   158  # 3.0.0-beta (2020/08/12)
   159  
   160  - write nil when expiry is zero.
   161  
   162  # 3.0.0-alpha (2020/07/27)
   163  
   164  - v3 refactor (#1868).
   165  
   166  # 2.9.1 (2020/07/03)
   167  
   168  - push tags to docker hub (#1766).
   169  
   170  # 2.9.0 (2020/06/12)
   171  
   172  - Fix regex detection. Fixes #1663 (#1696).
   173  
   174  # 2.9.0-rc5 (2020/06/11)
   175  
   176  - Merge branch 'master' into release-2.9.0.
   177  
   178  # 2.9.0-rc4 (2020/06/11)
   179  
   180  - Merge branch 'master' into release-2.9.0.
   181  
   182  # 2.9.0-rc1 (2020/06/11)
   183  
   184  - Merge branch 'master' into release-2.9.0.
   185  
   186  # 2.8.0 (2020/05/31)
   187  
   188  - Rewrite Auth interface to use Rules
   189  - Add Cache interface into the Client for request caching
   190  - Fix atomic sequence updates in Client
   191  - Update go mod deps
   192  - Fix ipv6 parsing in mdns registry
   193  - Add namespacing to the default runtime
   194  - Replace go-git with v5
   195  - Increase register ttl to 90 seconds.
   196  
   197  # 2.7.0 (2020/05/18)
   198  
   199  - Fix the rpc handler json rpc body parsing
   200  - Use caddyserver/certmagic instead of mholt
   201  - Add HasRole to Account
   202  - Add jwt refresh token generation
   203  - Fix rpc stream close locking race
   204  - Add auth namespace env var
   205  - Strip the router penalty code
   206  - Add file upload util
   207  - Fix killing processes in runtime
   208  - Pass namespace to runtime commands
   209  - Generate account on start
   210  - Check errors in cockroachdb.
   211  
   212  # 2.6.0 (2020/05/04)
   213  
   214  - Fix discord bot authentication header
   215  - Improve api rpc regexp matching
   216  - Change auth account access via context
   217  - Create a jwt implementation of auth
   218  - Fix grpc content-type encoding bug
   219  - Consolidate proxy/network env var logic
   220  - Change secrets interface naming
   221  - Log file path in the logger
   222  - Change location of network resolver
   223  - Add Store to service options
   224  - Fix default runtime log parsing
   225  - Add namespace checks to k8s runtime
   226  - Add proper git checkout in local runtime
   227  - Add database/table options for store
   228  - Add pki implementation
   229  - Import qson.
   230  
   231  # 2.5.0 (2020/04/15)
   232  
   233  - api/router/registry: extract path based parameters from url to req (#1530).
   234  
   235  # 2.4.0 (2020/03/31)
   236  
   237  - There can be only one! (#1445).
   238  
   239  # 2.3.0 (2020/03/17)
   240  
   241  - grpc client/server fixes (#1355).
   242  
   243  # 2.2.0 (2020/02/28)
   244  
   245  - Rename Auth Validate to Verify
   246  - Replaces noop auth with base32 generated tokens
   247  - Change Excludes to Exclude
   248  - Add token option to auth
   249  - Add profile option and flags for debug
   250  - Add config loading for auth token
   251  - Move before start to before listening.
   252  
   253  # 2.1.2 (2020/02/24)
   254  
   255  - fix router panic (#1254).
   256  
   257  # 2.1.1 (2020/02/23)
   258  
   259  - update go modules (#1240).
   260  
   261  # 2.1.0 (2020/02/13)
   262  
   263  - Exclude Stats & Trace from Auth (#1192).
   264  
   265  # 2.0.0 (2020/01/30)
   266  
   267  - v2 release.
   268  
   269  # 1.18.0 (2019/12/08)
   270  
   271  - Add golang ci linter
   272  - Add race detection to travis
   273  - Please the linter
   274  - Do some perf optimisations on slice alloc
   275  - Move http broker to use single entry in registry
   276  - Strip the grpc metadata filtering
   277  - Strip the old codec usage
   278  - Disable retries in client when MICRO_PROXY is enabled
   279  - Strip old X-Micro headers
   280  - Add debug/log streaming implementations
   281  - Add first debug/log interface
   282  - Huge network/tunnel refactor to fix bugs
   283  - Fix proxy slice allocation bug
   284  - Splay out some of the network events
   285  - Default to AdvertiseLocal for router
   286  - Add runtime filtering with Type
   287  - Remove SIGKILL processing.
   288  
   289  # 1.17.1 (2019/11/27)
   290  
   291  - fix rpc server go routine leak
   292  - add a psuedo socket pool
   293  - update debug buffer to return entries.
   294  
   295  # 1.17.0 (2019/11/27)
   296  
   297  - Add github related issue templates
   298  - Add Dockerfile for predownloaded go-micro source
   299  - Regenerate all the protos to move to \*.pb.micro.go
   300  - Fix api handler to parse text/plain as default content type
   301  - Fix event handler to allow GET requests
   302  - Change http broker ids to go.micro.http.broker-uuid
   303  - Require protocol field in metadata to query services via client
   304  - Process raw frames in call to Publish
   305  - Complete proxy support for processing messages
   306  - Proxy support for publishing of messages
   307  - Fix grpc connection leak by always closing the connection
   308  - Add a debug ring buffer
   309  - Add broker to tunnel and network
   310  - Force network dns resolver to use cloudflare 1.0.0.1
   311  - Add option to specify whether server should handle signalling
   312  - Change mdns request timeout to 10ms rather than 100ms
   313  - Add router AdvertiseNone and AdvertiseLocal strategies
   314  - Rename runtime packager to builder
   315  - Add full support for a kubernetes runtime.
   316  
   317  # 1.16.0 (2019/11/09)
   318  
   319  - Pre-make slices for perf optimisation
   320  - Add runtime flag and k8s runtime
   321  - Add debug/profile for pprof profiling
   322  - Reduce go routines in mdns registry and registry cache
   323  - Optimise the router flap detection.
   324  
   325  # 1.15.1 (2019/11/03)
   326  
   327  - Router recovery penalty should be below 500.
   328  
   329  # 1.15.0 (2019/11/03)
   330  
   331  - go fmt -s
   332  - web generate service on registration
   333  - downgrade some network messages to trace
   334  - fix tunnel panic on deleting link
   335  - add postgres store
   336  - change grpc recover logging
   337  - add runtime service
   338  - add kubernetes runtime
   339  - add runtime notifier
   340  - proxy add header based routing for Micro-{Gateway, Router, Network}
   341  - network hash address based on service + node id
   342  - metadata add mergecontext function.
   343  
   344  # 1.14.0 (2019/10/25)
   345  
   346  - Remove consul registry
   347  - Change store Sync endpoint to List
   348  - Remove cloudflare-go usage in store
   349  - Add non-backwards compatible link changes.
   350  
   351  # 1.13.2 (2019/10/22)
   352  
   353  - Fix proxy selection to use round robin strategy.
   354  
   355  # 1.13.1 (2019/10/19)
   356  
   357  - Fix divide by zero bug in broker.
   358  
   359  # 1.13.0 (2019/10/18)
   360  
   361  - Fix network recursive read lock bug
   362  - Add certmagic random pull time
   363  - Strip http broker topic: prefix.
   364  
   365  # 1.12.0 (2019/10/17)
   366  
   367  - Add ACME Provider interface
   368  - Implement certmagic ACME Provider
   369  - Add certmagic Store implementation
   370  - Add broker service implementation
   371  - Add ability to set grpc dial and call options
   372  - Add etcd registry and other plugins
   373  - Add Network.Connect rpc endpoint
   374  - Resolve network node dns names
   375  - Support Network.Routes querying
   376  - Fix caching registry bugs
   377  - Move gossip registry to go-plugins
   378  - Add router advertise strategy
   379  - Add Cloudflare store implementation
   380  - Add store service implementation.
   381  
   382  # 1.11.3 (2019/10/12)
   383  
   384  - Fix the quic-go checksum mismatch by updating to 0.12.1.
   385  
   386  # 1.11.2 (2019/10/12)
   387  
   388  - Fix cache error check.
   389  
   390  # 1.11.1 (2019/10/07)
   391  
   392  - Fix cache registry deadlocking bug.
   393  
   394  # 1.11.0 (2019/10/01)
   395  
   396  - This is likely the last release of v1.
   397  
   398  # 1.10.0 (2019/09/11)
   399  
   400  - Add grpc client code application/grpc content-type
   401  - Move client to use stream dialer
   402  - Add network implementation
   403  - Add dynamic plugin loading
   404  - Add multilink usage in proxy
   405  - Add registry implementation
   406  - Scope mdns to .micro domain
   407  - Support grpc server processing by default
   408  - Add tunnel broker.
   409  
   410  # 1.9.1 (2019/08/19)
   411  
   412  - Fix waitgroup race condition.
   413  
   414  # 1.9.0 (2019/08/19)
   415  
   416  - Fix grpc codec for broker publishing
   417  - Use the connection pool for streaming
   418  - Send EOS from client when closing stream
   419  - Add stream header to mucp protocol
   420  - Add stream multiplexing in the server
   421  - Fix watcher bug in file config source
   422  - Fix monitoring watcher to only look at mucp services
   423  - Only check router status on lookup failure
   424  - Fix proxy streaming and client request processing
   425  - Fix host:port processing for messaging systems
   426  - Add start method to the router
   427  - Fix router race condition for default values
   428  - Add loopback detection to the tunnel
   429  - Add connection retry logic to tunnel
   430  - Make log levels accessible for the logger
   431  - Add proxy muxer for internal calls.
   432  
   433  # 1.8.3 (2019/08/12)
   434  
   435  - Fix nats draining
   436  - More verbose selector errors to return service name
   437  - Move handler debug package
   438  - Add a monitoring package
   439  - Fix consul address parsing
   440  - Fix server extraction code
   441  - Add tunnel implementation
   442  - Add util log level
   443  - Add util io package to wrap transport socket.
   444  
   445  # 1.8.2 (2019/08/06)
   446  
   447  - Point release for micro
   448  - Adds travis caching
   449  - Removes unused network code
   450  - Adds tunnel interface
   451  - Consul agent check
   452  - Router handler interface
   453  - Non host:port fixes.
   454  
   455  # 1.8.1 (2019/07/31)
   456  
   457  - Use mdns 0.2.0 release tag.
   458  
   459  # 1.8.0 (2019/07/29)
   460  
   461  - Move the selector into client
   462  - Change broker.Publication to broker.Event
   463  - Move cmd into config
   464  - Enable default json processing in api
   465  - Remove port from registry
   466  - Memory broker/transport race fixes
   467  - GRPC codec fix
   468  - Client pool interface
   469  - Router interface/service implementations
   470  - Config decoding fixes
   471  - Memory store expiration fix
   472  - Network link/tunnel/resolver packages
   473  - Proxy router caching
   474  - Registry util functions.
   475  
   476  # 1.7.0 (2019/06/21)
   477  
   478  - Update go mod
   479  - Move mock data out of memory registry
   480  - wrap the grpc codecs to support framing
   481  - change grpc resolution to use service.method
   482  - support full proxying via grpc
   483  - add text codec
   484  - move data/store
   485  - add network interface
   486  - add router package and implementation
   487  - move options to config/options
   488  - send gossip updates on register/deregister
   489  - fix node add/del bug
   490  - add handler wrapper back into core router.
   491  
   492  # 1.6.0 (2019/06/07)
   493  
   494  - Massive go.mod dependency cleanup _ Moved etcd, memcache, redis sync things to go-plugins _ uuid to google uuid \* blew away go.mod
   495  - Add better proxy interface and features
   496  - Add new options interface.
   497  
   498  # 1.5.0 (2019/06/05)
   499  
   500  - Fix go mod issues.
   501  
   502  # 1.4.0 (2019/06/04)
   503  
   504  - Final consolidation of all libraries.
   505  
   506  # 1.3.1 (2019/06/03)
   507  
   508  - Fix broken pipe bug. Don't send message when client closed connection..
   509  
   510  # 1.3.0 (2019/05/31)
   511  
   512  - The great rewrite.
   513  
   514  # 1.2.0 (2019/05/22)
   515  
   516  - Update go mod
   517  - Fix mock client
   518  - Fix retries logic
   519  - Fix consul api change
   520  - Use consul client for watcher
   521  - Fix gossip data races
   522  - Add registry check function.
   523  
   524  # 1.1.0 (2019/03/28)
   525  
   526  - Update go mod
   527  - Fix endpoint extractor generation.
   528  
   529  # 1.0.0 (2019/03/05)
   530  
   531  - 1.0.0 release.
   532  
   533  # 0.27.1 (2019/03/05)
   534  
   535  - Fix nil consul client.
   536  
   537  # 0.27.0 (2019/02/23)
   538  
   539  - Remove buff check in http transport
   540  - Change default version to latest
   541  - Add exchange routing
   542  - Update go modules.
   543  
   544  # 0.26.1 (2019/02/13)
   545  
   546  - Fix gossip registry
   547  - Update go modules for rcache.
   548  
   549  # 0.26.0 (2019/02/13)
   550  
   551  - Update go modules
   552  - Add gossip registry rejoin
   553  - Move selector to rcache.
   554  
   555  # 0.25.0 (2019/02/04)
   556  
   557  - Add server request body.
   558  
   559  # 0.24.1 (2019/02/01)
   560  
   561  - Various bug fixes
   562  - Backwards compatible with 0.14 and older
   563  - Fix mdns and gossip race conditions
   564  - Use official h2c server
   565  - Enable support for MICRO_PROXY.
   566  
   567  # 0.24.0 (2019/01/30)
   568  
   569  - Add go mod.
   570  
   571  # 0.23.0 (2019/01/29)
   572  
   573  - Move headers from X-Micro to Micro
   574  - Remove Register/Deregister methods from server
   575  - Move register_interval to be internal
   576  - Add subscriber context option.
   577  
   578  # 0.22.1 (2019/01/22)
   579  
   580  - Fix broken error handling
   581  - now returns error from ServeRequest router.
   582  
   583  # 0.22.0 (2019/01/18)
   584  
   585  - Address backwards compatibility.
   586  
   587  # 0.21.0 (2019/01/17)
   588  
   589  - Make MDNS the default registry
   590  - Move mocks to be memory implementations
   591  - Add metadata.Copy function.
   592  
   593  # 0.20.0 (2019/01/14)
   594  
   595  - BREAKING CHANGES.
   596  
   597  # 0.17.0 (2019/01/03)
   598  
   599  - Offline inbox for http broker
   600  - JSON/Proto/GRPC codecs
   601  - HTTP proxy from environment.
   602  
   603  # 0.16.0 (2018/12/29)
   604  
   605  - Fix cache/gossip data race
   606  - Rename cache selector to registry.
   607  
   608  # 0.15.1 (2018/12/18)
   609  
   610  - Selector cache lookup optimization.
   611  
   612  # 0.15.0 (2018/12/13)
   613  
   614  - Public NewSubscribeOptions
   615  - http2 broker support
   616  - Timeout error function
   617  - Consul Query Options
   618  - Gossip registry
   619  - RPC Codec renaming.
   620  
   621  # 0.14.1 (2018/11/22)
   622  
   623  - bug fix socket headers.
   624  
   625  # 0.14.0 (2018/11/21)
   626  
   627  - use google uuid
   628  - add http handler option.
   629  
   630  # 0.13.0 (2018/11/15)
   631  
   632  - add local/remote ip methods
   633  - various linting things
   634  - get checks on 0 ttl
   635  - accept loop.
   636  
   637  # 0.12.0 (2018/10/09)
   638  
   639  - reorder server flag
   640  - atomic increment sequence
   641  - new error method.
   642  
   643  # 0.11.0 (2018/08/24)
   644  
   645  - Support Consul Connect registration
   646  - Add/Use Init for initialisation from cmd.
   647  
   648  # 0.10.0 (2018/07/26)
   649  
   650  - Fix broker locking
   651  - Add RetryOnError as default retry policy
   652  - Fix mock client reflection
   653  - Support dialtimeout only above 0
   654  - Add verbose client errors
   655  - Allow client retries to be 0.
   656  
   657  # 0.9.0 (2018/06/09)
   658  
   659  - Reset server address on shutdown
   660  - Set default pool size to 1
   661  - Support reinitialising connection pool
   662  - Set retries to 1 by default
   663  - Return error for subscribers.
   664  
   665  # 0.8.0 (2018/04/20)
   666  
   667  - Rework of interfaces.
   668  
   669  # 0.7.0 (2018/04/10)
   670  
   671  - Move misc to util package
   672  - Add register ttl and interval flags
   673  - Fix protoc-gen-micro example.
   674  
   675  # 0.6.0 (2018/04/05)
   676  
   677  - Add consul TCP check
   678  - Atomic increment rpc stream sequence.
   679  
   680  # 0.5.0 (2018/03/04)
   681  
   682  - Support consul services without version
   683  - Switch to stdlib context.
   684  
   685  # 0.4.0 (2018/02/19)
   686  
   687  - Add WatchOption which allows filtering by service
   688  - Add Options method to registry
   689  - Add Conflict error
   690  - Only watch selected services in cache.
   691  
   692  # 0.3.0 (2018/01/02)
   693  
   694  - https support for consul
   695  - subscriber deadlock fix
   696  - selector top level option.
   697  
   698  # 0.2.0 (2017/10/29)
   699  
   700  - Performance improvements.
   701  
   702  # 0.1.4 (2017/09/04)
   703  
   704  - sort handler/subscriber endpoints
   705  - pass options to new subscriber.
   706  
   707  # 0.1.3 (2017/08/15)
   708  
   709  - Bug fix nil consul http client.
   710  
   711  # 0.1.2 (2017/07/20)
   712  
   713  - respond when codec errors out.
   714  
   715  # 0.1.1 (2017/06/12)
   716  
   717  - Fix potential panic/waitgroup bug.
   718  
   719  # 0.1.0 (2017/06/12)
   720  
   721  - Initial release.