Skip to content

1.1.17

Latest

Choose a tag to compare

@HJianBo HJianBo released this 21 Apr 11:24
· 6 commits to master since this release
b1e742a

Highlights

  • Switch InfluxDB v1 authentication from u / p URL query parameters to Authorization: Basic ...
  • Update ping_with_auth to use header-based authentication for v1 instead of query-string credentials
  • Keep unauthenticated /ping behavior as the default and strip all Authorization headers when ping auth is disabled

Changes

  • remove v1 credential query parameters from write and auth path construction to avoid leaking credentials in URLs
  • use Basic Auth headers for v1 requests, including compatibility with partial username / password configuration
  • simplify v1 /ping handling to always use /ping
  • prevent v2/v3 from inheriting v1 Basic Auth behavior and keep their token-based headers unchanged
  • add regression coverage for URL credential leakage, duplicate auth headers, and ping auth behavior
  • align README wording and option types with the implemented behavior

Full Changelog

  • 07bcc69 Gate v1 ping credentials behind explicit opt-in
  • c97b04d Apply ping auth option consistently across versions
  • 1de6889 Align common tests with opt-in ping auth defaults
  • 73f4062 Keep local agent state out of ping auth change
  • 90935af Accept verbose v1 ping success responses
  • b78c740 fix: use basic auth for influxdb v1
  • 4799a31 fix: avoid duplicate auth headers for v2/v3
  • 81212ef fix: simplify v1 ping auth path
  • 8bf86f0 fix: preserve partial v1 basic auth compatibility
  • cd7d293 test: assert v1 paths omit credentials
  • c920a40 chore: address review comments