aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Lavor <vlavor@cisco.com>2020-11-04 13:51:00 +0100
committerVladimir Lavor <vlavor@cisco.com>2020-11-04 13:53:01 +0100
commit2b743eede78b6fed115421716888f80088edefdb (patch)
treee2cff99bde80be91522763734272450164b1ae0c
parentb74e3b37479a7fa763bed1f2c76de612ee51dcbc (diff)
Update changelog
Change-Id: I08f5ba1fb5ec02717e5715447837ca3b75fa894d Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
-rw-r--r--CHANGELOG.md11
-rw-r--r--examples/binapi-types/binapi_types.go3
2 files changed, 9 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3bd9357..2bffb4d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,17 +29,19 @@ This file lists changes for the GoVPP releases.
- generated code now contains comment with information about versions of VPP and binapi-generator
- in addition to the file name, the binapi generator now accepts full path (including extension, e.g. `/usr/share/vpp/api/core/vpe.api.json`)
- dependency on `github.com/lunixbochs/struc` was removed
+- generated helper methods for `vpe_types.Timestamp`
### Features
- [socketclient](adapter/socketclient) received a new method to add client name
- added list of compatible messages to `CompatibilityError`
-- removed global binary API adapter - this change allows GoVPP to manage multiple VPP connections with different
+- removed global binary API adapter - this change allows GoVPP to manage multiple VPP connections with different
sockets simultaneously
- added support for the stats v2. The statsclient adapter recognized the version automatically so the `StatsAPI`
remained unchanged. In relation to this change, the legacy support (i.e. stat segment v0) for VPP <=19.04 was dropped.
- GoVPP now recognizes VPP state `NotResponding` which can be used to prevent disconnecting in case the VPP hangs
or is overloaded
-- added method `SetLogger` for setting the global logger
+- added method `SetLogger()` for setting the global logger
+- `StatsAPI` has a new method `GetMemory()` retrieving values related to the statseg memory heap
### Fixes
- `MsgCodec` will recover panic occurring during a message decoding
@@ -50,6 +52,7 @@ This file lists changes for the GoVPP releases.
- fixed name conflict in generated union field constructors
- size of unions composed of another unions is now calculated correctly
- fixed race condition in the VPP adapter mock
+- fixed crash caused by return value of uint kind
### Other
- improved log messages to provide more relevant info
@@ -58,12 +61,12 @@ This file lists changes for the GoVPP releases.
threshold was increased to 2 (up from 1)
#### Examples
-- added more code samples of working with unions in [union example](examples/union-example)
+- added more code samples of working with unions in [binapi-types](examples/binapi-types)
- added profiling mode to [perf bench](examples/perf-bench) example
- improved [simple client](examples/simple-client) example to work properly even with multiple runs
- added [multi-vpp](examples/multi-vpp) example displaying management of two VPP instances from single
application
-- added [stream-client](examples/stream-client) example showing usage of the new stream API
+- added [stream-client](examples/stream-client) example showing usage of the new stream API
#### Dependencies
- updated `github.com/sirupsen/logrus` dep to `v1.6.0`
diff --git a/examples/binapi-types/binapi_types.go b/examples/binapi-types/binapi_types.go
index 2dbaa3e..ae650a1 100644
--- a/examples/binapi-types/binapi_types.go
+++ b/examples/binapi-types/binapi_types.go
@@ -12,7 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-// union-example is an example to show how to use unions in VPP binary API.
+// binapi-types is an example showing how to use and convert data with
+// helper methods from *-types packages in VPP binary API.
package main
import (