8000 Tags · springe2004/go-micro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: springe2004/go-micro

Tags

v0.26.1

Toggle v0.26.1's commit message
- Fix gossip registry

- Update go modules for rcache

v0.26.0

Toggle v0.26.0's commit message
- Update go modules

- Add gossip registry rejoin
- Move selector to rcache

v0.25.0

Toggle v0.25.0's commit message
- Add server request body

v0.24.1

Toggle v0.24.1's commit message
- Various bug fixes

- Backwards compatible with 0.14 and older
- Fix mdns and gossip race conditions
- Use official h2c server
- Enable support for MICRO_PROXY

v0.24.0

Toggle v0.24.0's commit message
- Add go mod

v0.23.0

Toggle v0.23.0's commit message
- Move headers from X-Micro to Micro-

- Remove Register/Deregister methods from server
- Move register_interval to be internal
- Add subscriber context option

v0.22.1

Toggle v0.22.1's commit message
- Fix broken error handling - now returns error from ServeRequest router

v0.22.0

Toggle v0.22.0's commit message
Address backwards compatibility

Due to breaking changes in the past 3 weeks, I've had to address how this should be tackled
in the long term. I've made the effort to make codec transition evolutionary as well as
the api changes for Method() move to Endpoint(). In the process I've had to break the
CallFunc signature but few likely use this.

- Codecs are now evolutionary and backwards compatible
- Service Method() is now back in the interface

v0.21.0

Toggle v0.21.0's commit message
- Make MDNS the default registry

- Move mocks to be memory implementations
- Add metadata.Copy function

v0.20.0

Toggle v0.20.0's commit message
BREAKING CHANGES

Do not move to this tag unless you're willing to incur the breaking changes.
This changes the default codec to raw protobuf and switches the content-type
application/octet-stream to use the bytes codec also. This breaking change
affects any previous use.

To explicitly be backwards compatible do the following.

In the server

```
// Process octet-stream as proto-rpc in the old ways
server.DefaultCodecs["application/octet-stream"] = protorpc.NewCodec
// Process json in the old way
server.DefaultCodecs["application/json"] = jsonrpc.NewCodec
// Process protobuf in the old way
server.DefaultCodecs["application/protobuf"] = protorpc.NewCodec
```

In the client

```
// In the client send proto-rpc to be forwards compatible
client.DefaultContentType = "application/proto-rpc"
```

There are changes to application/json and application/protobuf to use raw formats
rather than json-rpc or proto-rpc. This will likely break behaviour via the api.
The easiest way to resolve this is to reset these as well but it causes further issue.

I would advise finding a common rolling path forward e.g a common compatible content-type/codec.

This is an unfortunate change that has to be made so we can process raw formats.

Method now moves to endpoint. In most places we have Endpoint specified except in the client/server abstractions.
This has now moved. Most should be unaffected. But be aware of the change. Any wrappers may break.
0