Skip to content

Edgegrid v10.0.0 release

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Feb 07:53
a4ebb84

EDGEGRID GOLANG RELEASE NOTES

10.0.0 (Feb 3, 2025)

BREAKING CHANGES:

  • APPSEC

    • Renamed field FirewallPolicyIds to FirewallPolicyIDs in the following structures:
      • Siemexp
      • RatePolicyAPISelectors
      • GetSiemSettingsResponse
      • UpdateSiemSettingsRequest
      • RemoveSiemSettingsRequest
    • Removed the deprecated NetworkLayerProtection interface containing these methods:
      • GetNetworkLayerProtections
      • GetNetworkLayerProtection
      • UpdateNetworkLayerProtection
      • RemoveNetworkLayerProtection
    • Removed these deprecated methods:
      • GetExportConfigurations
      • GetPenaltyBoxes
      • GetRatePolicyAction
      • RemovePolicyProtections
      • GetSlowPostProtectionSetting
      • GetWAFModes
  • BOTMAN

    • Removed the deprecated ChallengeInterceptionRules interface containing these methods:
      • GetChallengeInterceptionRules
      • UpdateChallengeInterceptionRules
  • CPS

    • Removed the deprecated UpdateChange method.
  • IAM

    • Removed the deprecated UpdateTFA method.
  • Logging

    • Changed logger from apex to the custom interface
      • Logger method differences:
        • A new method With has been added that condenses the apex methods (WithError, WithField, WithFields, WithDuration) into one.
          • WithError, WithField, WithFields, WithDuration methods are not included in the new logger.
          • The Entry (documentation) type no longer exists in the new logger, With instead of Entry returns a new logger instance with new fields.
        • Logging methods (Fatal, Error, Warn, Info, Debug) can accept key-value pairs in addition to a message,
          • The attribute arguments are processed as follows: If an argument is a string and this is not the last argument, the following argument is treated as the value and the two are combined into an key - value pair. Otherwise, the argument is treated as a value with key "!BADKEY".
          • formatted logging methods (Fatalf, Errorf, Warnf, Infof, Debugf) remain unchanged.
    • By default slog with custom handler is used.
    • log.Interface allows users to define default logger with SetLogger method and provides option to use different logger backend.
      • Instructions on using different logger backends can be found in pkg/log/README.md file
    • Log output structure have changed slightly,
      • Time format was adjusted, logger will use 24-hour clock with milliseconds instead of 12-hour clock used previously.
  • Networklists

    • Renamed field UniqueIds to UniqueIDs in the following structures:
      • GetNetworkListSubscriptionRequest
      • UpdateNetworkListSubscriptionRequest
      • RemoveNetworkListSubscriptionRequest

FEATURES/ENHANCEMENTS:

BUG FIXES:

  • DNS
    • Fixed an incorrect URL for the ListGroups method.