github Azure/azure-sdk-for-js @azure/monitor-query_1.0.0

latest releases: @azure/template_1.0.12-beta.3738128, @azure-tools/test-utils_1.0.0, @azure/arm-compute_21.6.0...
2 years ago

1.0.0 (2021-10-07)

Features Added

  • Enabled browser support
  • Added different result objects LogsQueryPartialResult, LogsQuerySuccessfulResult or LogsQueryError based on the success scenarios for log queries.

Breaking Changes

  • Renamed ErrorInfo to LogsErrorInfo, which now extends the Error class and code as an additional property. Removed all the other properties.
  • query method in LogsQueryClient renamed to queryWorkspace
  • query method in MetricsQueryClient renamed to queryResource
  • Renamed the status types in LogsQueryResultStatus. Partial to PartialFailure and Failed to Failure.
  • Renamed timeGrain in MetricAvailability to granularity
  • Renamed TimeInterval to QueryTimeInterval
  • Updated constants in Durations to camel-case.
  • Removed credentialOptions.credentialScopes property in LogsQueryClientOptions since scopes other than default are not supported yet.
  • Removed throwOnAnyError flag from LogsQueryOptions and LogsQueryBatchOptions
  • Removed the error classes BatchError and AggregateBatchError
  • Updated LogsQueryBatchResult object to be a list of objects with the following possible types:
    • LogsQueryPartialResult
    • LogsQuerySuccessfulResult
    • LogsQueryError
  • Updated LogsQueryResult object to be of type LogsQuerySuccessfulResult or LogsQueryPartialResult

Bugs Fixed

  • Updated listMetricNamespaces signature to return the list of appropriate MetricsNamespaces object type

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

NewReleases is sending notifications on new releases.