diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2020-06-23 14:10:53 +0200 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2020-06-24 08:17:33 +0200 |
commit | ceed73403bdb61387d04be8b47183e9c4a970749 (patch) | |
tree | 3f48a49051672efb44945b279b9f69693bc48540 /CHANGELOG.md | |
parent | 94620e85f0bdbb054af07ce3670fadc1f76cfdf0 (diff) |
Fix codec fallback and generate type imports
Change-Id: Idd76c7f19d952939caf153928ac60175845078ff
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 86e3edc..2c0ca09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,13 +14,23 @@ This file lists changes for the GoVPP releases. ## 0.4.0 (in development) > _NOT RELEASED YET_ +### Binapi Generator +- generator code has been split into multiple packages: + - [vppapi](binapigen/vppapi) - parses VPP API (`.api.json`) files + - [binapigen](binapigen) - processes parsed VPP API and handles code generation +- previously required manual patches for generated code should not longer be needed +- any types imported from other VPP API (`*_types.api`) files are now automatically resolved for generated Go code +- dependency on `github.com/lunixbochs/struc` was removed and message un/marshaling is now part of generated code +- generated code now contains comment with information about versions of VPP and binapi-generator +- RPC service code is now generated into a separated file (`*_rpc.ba.go`) in same directory + ### Features - optimized [socketclient](adapter/socketclient) adapter and add method to set client name - added list of compatible messages to `CompatibilityError` ### Fixes -- `MsgCodec` will recover panic occurring during a message decoding -- calling `Unsubscibe` will close the notification channel +- `MsgCodec` will recover panic occurring during a message decoding +- calling `Unsubscibe` will close the notification channel ### Other - improved log messages to provide more relevant info |