Releases: arangodb/go-driver
Releases · arangodb/go-driver
Release list
v2.3.1
v2.3.0
- Metrics API: added Metrics (GET /_admin/metrics) for 4.0+ and deprecated GetMetrics (GET /_admin/metrics/v2)
- ArangoDB 4.0 deprecations: documented additional deprecations on master, including replication LoggerFirstTick/LoggerTickRange and ClusterStatistics, so users can discover all v4.0-related deprecations
- Tests: test/cluster.sh passes javascript.startup-options-allowlist=.* for ArangoDB 3.12.9+ require("internal").options() in JS transactions
- Fix Version.CompareTo for pre-release patch suffixes (e.g. -nightly) by comparing the numeric patch instead of the full sub-version string
- Add DontFollowRedirect fields to HTTP connection configuration
- Switched to Go 1.25.8 to fix a security vulnerability
- QueryProperties: Added slowStreamingQueryThreshold field
- RunningAQLQuery: Added exitCode (slow queries), modificationQuery, and warnings
- QuerySubOptions/ExplainQueryOptions: Added usePlanCache, failOnWarning, fullCount, maxNodesPerCallstack, maxWarningCount, profile, and other missing options
- CollectionDocumentImportOptions: Added overwriteCollectionPrefix, ignoreMissing, details fields
- KeyGeneratorType: Added support for 'uuid' and 'padded'
- License: Added diskUsage and upgrading fields for Community Edition dataset limits
- DatabaseSharding: Added support for "flexible" value
- ServerHealth: Added LastAckedTime, Timestamp, SyncTime for Coordinators/DB-Servers
- Vector index: Added 3.12.9+ trainingState/errorMessage response support; EnsureVectorIndex now forwards the inBackground option when set
- Switch to Go 1.25.9 to fix security issues in the standard library (GO-2026-4870, GO-2026-4946, GO-2026-4947)
- Implement TLS dialing with InsecureSkipVerify for h2 support
Deprecations and Removals (v2.x, in preparation for ArangoDB v4.0)
- CollectionStatus and collection status/statusString: Only values 3 (loaded) and 5 (deleted) are in use; other status values and status/statusString properties deprecated (may be removed in v4.0)
- minReplicationFactor: Deprecated, use writeConcern instead
- QueryOverwrite (AQL queries): Deprecated, will be removed in v4.0
- CollectionDocumentCreateOptions.Overwrite: Deprecated, will be removed in v4.0
- KeyGeneratorType: Deprecated types not in docs
- EngineType: 'mmfiles' is deprecated/removed
- Consolidation policy 'bytes_accum': deprecated for inverted indexes (per devel inverted index API docs); not deprecated for ArangoSearch views
- CacheRespObject: Reviewed for missing fields per API docs
- Foxx, User-defined AQL functions (UDFs), JavaScript Transactions, Foxx Queues, /_api/tasks, Task/TaskOptions: Deprecated, will be removed in v4.0. Deprecation comments added on: ClientFoxx, ClientFoxxService, Manifest; CreateUserDefinedFunction, DeleteUserDefinedFunction, GetUserDefinedFunctions, UserDefinedFunctionObject; TransactionJS, TransactionJSOptions; ClientTasks, Task, TaskOptions; ExecuteAdminScript; ServerStatusResponse.FoxxApi, CoordinatorInfo.Foxxmaster/IsFoxxmaster; replication ApplierConfig.IncludeFoxxQueues
- CollectionDocumentImportOptions: Deprecated/removed legacy fields as per API docs
- CreateGraphOptions: Only 'satellites' is valid; others moved to GraphDefinition
- Fulltext index type: Deprecated, will be removed in v4.0. minLength option is only used for fulltext indexes. FulltextIndexType constant added (deprecated); MinLength and fulltext-related comments in collection_indexes.go and client_admin_cluster.go
- DatabaseSharding: Both "" and "flexible" supported for creation; server response checked
- EdgeDetails: $label clarified as user-defined
- ExplainQueryOptions: Deprecated/removed legacy options, added missing ones
- KeyOpts.LastValue: Used internally only
- LicenseStatus: 'expired' not used; added diskUsage, upgrading if missing
- Enterprise Edition features: Now available in Community Edition (v3.12.5+); docs/comments updated. Comments updated across graph (SmartGraph, Satellite, IsSmart, IsDisjoint, Satellites), query options (AllowDirtyReads, SatelliteSyncWait, SkipInaccessibleCollections, EnterpriseOnly), collection opts (IsSmart, SmartJoinAttribute, SmartGraphAttribute), ArangoSearch/views (OptimizeTopK, PrimarySortCache, PrimaryKeyCache, Nested, Cache), inverted index (OptimizeTopK, Nested), backup (Force), and shared (PrimarySort Cache)
- ServerStatusResponse: 'mode' deprecated, use 'operationMode'
- ServerHealth: LastHeartbeatAcked, LastHeartbeatSent, LastHeartbeatStatus deprecated (not returned by current server, older format)
ServerInformation: 'writeOpsEnabled' is deprecated - ServerRole: SingleActive and SinglePassive deprecated (Active Failover removed in v3.12.0)
- SetCollectionPropertiesOptionsV2: 'journalSize' is deprecated (no longer existent since v3.7; MMFiles removed)
- Collection option fields: IsVolatile, DoCompact, IndexBuckets, JournalSize are deprecated
v2.2.0
- Add endpoint to fetch deployment id
- Add ARM Support for V2 testcases
- Set TESTV2PARALLEL from 1 to 4
- Disabled V8 related testcases in V1 and V2
- Added new ConsolidationPolicy attributes to support updated configuration options for ArangoSearch Views properties and Inverted Indexes
- Add Vector index feature
- Add Len() method to response readers for bulk CRUD operations; add ReadAll() helpers; improve thread-safety with mutexes; fix OldObject/NewObject pointer reuse in readers
- Add shutdown endpoints to v2
- Switch to Go 1.24.11
- Switched to Go 1.24.13 to fix a security vulnerability
- Modified Test_UserCreation test case to use parallel execution and replaced hardcoded usernames with dynamically generated values.
v2.1.6
- Add missing endpoints from replication
- Add missing endpoints from monitoring
- Add missing endpoints from administration
- Add missing endpoints from cluster
- Add missing endpoints from security
- Add missing endpoints from authentication
- Add missing endpoints from general-request-handling
- Add benchmark tests for v1 and v2 to compare performance
- Switch to Go 1.24.9
v1.6.9
v2.1.5
v1.6.7
v2.1.3
- Switch to Go 1.22.11
- Switch to jwt-go v5
- Fix incorrect Http method for ReplaceDocuments
- Fix unmarshalling error due to field name collision in Documents.
- Add bulk operations on Collections to VertexCollection and Edges (General and Satellite Graphs only)
- Add OldRev to CollectionDocumentUpdateResponse and CollectionDocumentReplaceResponse