github Azure/azure-sdk-for-go sdk/internal/v0.8.1

latest releases: sdk/data/azcosmos/v1.2.0, sdk/security/keyvault/azcertificates/v1.3.0, sdk/security/keyvault/azkeys/v1.3.0...
pre-release3 years ago

0.8.1 (2021-10-21)

Features Added

  • Exports RecordMode, PlaybackMode, and LiveMode for determining test mode
  • When running in LiveMode no traffic will be routed to the proxy and the StartRecording/StopRecording methods are no-ops.
  • Adds the following sanitizers: BodyKeySanitizer, BodyRegexSanitizer, ContinuationSanitizer, GeneralRegexSanitizer, HeaderRegexSanitizer, OAuthResponseSanitizer, RemoveHeaderSanitizer, URISanitizer, URISubscriptionIDSanitizer
  • Adds ResetSanitizer for removing all sanitizers in an active session.
  • Add GroupForReplace to the recording.RecordingOptions option for use in sanitizers.

Breaking Changes

  • Removes testing.T parameter from GetEnvVariable
  • Renames IdHeader to IDHeader and UpstreamUriHeader to UpstreamURIHeader
  • Renames StartRecording to Start and StopRecording to Stop

Don't miss a new azure-sdk-for-go release

NewReleases is sending notifications on new releases.