This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
Version 0.7.0
Pre-release
Pre-release
This release upgrades the protocol buffers implementation to use
google.golang.org/protobuf
instead of github.com/golang/protobuf
.
There have been several breaking changes to marshalkit's protobuf
package,
although the functionality remains the same.
In summary, the various codec types in this package have been replaced by a
single Codec
type which is configured for different encoding formats by using
different marshalers/unmarshalers provided by google.golang.org/protobuf
.
Added
- Add
protobuf.Codec
,Marshaler
andUnmarshaler
- Add
protobuf.NativeBasicMediaType
,DefaultNativeMarshaler
andDefaultNativeMarshaler
- Add
protobuf.JSONBasicMediaType
,DefaultJSONMarshaler
andDefaultJSONMarshaler
- Add
protobuf.TextBasicMediaType
,DefaultTextMarshaler
andDefaultTextMarshaler
Removed
- Remove
protobuf.NativeCodec
,JSONCodec
andTextCodec