Fixed
-
Fixed connection failures with undici 8.x (
InvalidArgumentError: invalid content-length header)
when usingconfig.agentOptionsby not setting a manualContent-Lengthheader on undici fetch requests.
(#855) -
Tests: Version-gated skips for ArangoDB 4.0+ API and behavior changes (DE-1151); prerelease tags
(e.g.4.0-nightly) parse to a numeric minor version again so skip gates are not driven byNaN. -
Tests: More reliable cluster and
ROUND_ROBINintegration runs (shared timeouts, propagation helpers,
stable access-token and analyzer listing). -
Dev:
undiciadded as a devDependency so integration tests usingagentOptionsresolve the dynamic
import("undici")inconnection.ts(optional peer alone is not installed by default).
Added
- Added CircleCI pipelines for integration tests and browser smoke (
.circleci/): single and cluster-server matrices (Node 22/24, SSL, CJS/ESM), HTTP/1.1 vs HTTP/2 smoke, optional full-matrix viadocker-img, and Puppeteer browser smoke on Enterprise 3.12 and 4.0-nightly (GCR images).
Changed
- CI: Integration tests and browser smoke run on CircleCI instead of GitHub Actions. GitHub Actions CI
(.github/workflows/ci.yml) onmainonly promotesstable; Update docs and CodeQL chain off CI.
README status badge points to CircleCI. - CI (DE-1167): Run CircleCI jobs on org self-hosted runners —
node-testexecutors use
arangodb/medium-arm64-privileged;browser-smokeusesarangodb/medium-amd64-privileged; new
setup-dockercommand installs Docker and startsdockerdin the job (DinD; no
setup_remote_docker). - CI: Default ArangoDB images are
gcr.io/gcr-for-testing/arangodb/enterprise:3.12and
gcr.io/gcr-for-testing/arangodb/enterprise-preview:4.0-nightly. - CI:
login-docker-hubbeforestart-dbvia contextdocker-hub
(DOCKER_HUB_USER/DOCKER_HUB_PASSWORD). - CI: Browser smoke — Google Chrome (AMD64) in the job;
smoke-test.mjsserves on port 8559 and
proxies toARANGO_PROXY_TARGET(default127.0.0.1:8529locally,172.28.0.1:8529in CI);
Databaseuses the smoke origin (PUPPETEER_SKIP_DOWNLOADin CI).