0.23.0 (2022-04-04)
Features Added
- Added
runtime.Pager[T any]
andruntime.Poller[T any]
supporting types for central, generic, implementations. - Added
cloud
package with a new API for cloud configuration - Added
FinalStateVia
field toruntime.NewPollerOptions[T any]
type.
Breaking Changes
- Removed the
Poller
type-alias to the internal poller implementation. - Added
Ptr[T any]
andSliceOfPtrs[T any]
in theto
package and removed all non-generic implementations. NullValue
andIsNullValue
now take a generic type parameter instead of an interface func parameter.- Replaced
arm.Endpoint
withcloud
API- Removed the
endpoint
parameter fromNewRPRegistrationPolicy()
arm/runtime.NewPipeline()
and.NewRPRegistrationPolicy()
now return anerror
- Removed the
- Refactored
NewPoller
andNewPollerFromResumeToken
funcs inarm/runtime
andruntime
packages.- Removed the
pollerID
parameter as it's no longer required. - Created optional parameter structs and moved optional parameters into them.
- Removed the
- Changed
FinalStateVia
field to aconst
type.
Other Changes
- Converted expiring resource and dependent types to use generics.