From d28245015a9a8e0901430babfd5390fb61e851fd Mon Sep 17 00:00:00 2001 From: jwierzbo Date: Tue, 17 Sep 2024 15:16:14 +0200 Subject: [PATCH 1/2] OASIS-25945 Deprecate VPACK --- CHANGELOG.md | 1 + v2/README.md | 11 ++++++++++- v2/connection/connection_http_content-type.go | 2 ++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02d967ed..ba52c34b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [master](https://github.com/arangodb/go-driver/tree/master) (N/A) - Switch to Go 1.22.5 - Switch to Go 1.22.6 +- [V2] Deprecate VPACK support ## [1.6.2](https://github.com/arangodb/go-driver/tree/v1.6.2) (2024-04-02) - Switch to Go 1.20.11 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" ) From c000390c8e90a329565b97e143e97ab91e696c28 Mon Sep 17 00:00:00 2001 From: jwierzbo Date: Wed, 18 Sep 2024 11:24:32 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 - v2/CHANGELOG.md | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba52c34b..02d967ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,6 @@ ## [master](https://github.com/arangodb/go-driver/tree/master) (N/A) - Switch to Go 1.22.5 - Switch to Go 1.22.6 -- [V2] Deprecate VPACK support ## [1.6.2](https://github.com/arangodb/go-driver/tree/v1.6.2) (2024-04-02) - Switch to Go 1.20.11 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