github Azure/azure-sdk-for-go sdk/azcore/v0.23.0

0.23.0 (2022-04-04)

Features Added

  • Added runtime.Pager[T any] and runtime.Poller[T any] supporting types for central, generic, implementations.
  • Added cloud package with a new API for cloud configuration
  • Added FinalStateVia field to runtime.NewPollerOptions[T any] type.

Breaking Changes

  • Removed the Poller type-alias to the internal poller implementation.
  • Added Ptr[T any] and SliceOfPtrs[T any] in the to package and removed all non-generic implementations.
  • NullValue and IsNullValue now take a generic type parameter instead of an interface func parameter.
  • Replaced arm.Endpoint with cloud API
    • Removed the endpoint parameter from NewRPRegistrationPolicy()
    • arm/runtime.NewPipeline() and .NewRPRegistrationPolicy() now return an error
  • Refactored NewPoller and NewPollerFromResumeToken funcs in arm/runtime and runtime packages.
    • Removed the pollerID parameter as it's no longer required.
    • Created optional parameter structs and moved optional parameters into them.
  • Changed FinalStateVia field to a const type.

Other Changes

  • Converted expiring resource and dependent types to use generics.

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

NewReleases is sending notifications on new releases.