diff --git a/v2/CHANGELOG.md b/v2/CHANGELOG.md index 6cc6a8b4..d88754bb 100644 --- a/v2/CHANGELOG.md +++ b/v2/CHANGELOG.md @@ -6,6 +6,7 @@ - Switch to Go 1.22.6 - Support for missing dirty read options (query, transaction apis) - Get inbound and outbound edges +- Deprecate VPACK support ## [2.1.0](https://github.com/arangodb/go-driver/tree/v2.1.0) (2024-04-02) - Switch to Go 1.21.5 diff --git a/v2/README.md b/v2/README.md index 0fee18bd..9acd1099 100644 --- a/v2/README.md +++ b/v2/README.md @@ -1,3 +1,12 @@ # ArangoDB Go Driver V2 -Implementation of Driver V2 makes use of runtime JSON/VPACK serialization, reducing memory and CPU Driver usage. +Implementation of Driver V2 makes use of runtime JSON serialization, reducing memory and CPU Driver usage. +The Combination of JSON serialization and HTTP2 support makes the driver more efficient and faster. + +## Deprecation Notice + +Since ArangoDB 3.12 VST support has been dropped and VPack is not anymore developed and maintained. +The driver will not support VST from version V2 and VPack support will be removed in the future. + +V1 driver is deprecated and will not receive any new features. Please use V2 instead. +In V2 we have introduced a new way of handling requests and responses, which is more efficient and easier to use. diff --git a/v2/connection/connection_http_content-type.go b/v2/connection/connection_http_content-type.go index 5d23f6d5..968e08d3 100644 --- a/v2/connection/connection_http_content-type.go +++ b/v2/connection/connection_http_content-type.go @@ -27,5 +27,7 @@ const ( ApplicationJSON = "application/json" + // ApplicationVPack is the content type for VelocyPack + // Deprecated: Use JSON instead ApplicationVPack = "application/x-velocypack" )