1.0.0 (2021-10-07)
Features Added
- Enabled browser support
- Added different result objects
LogsQueryPartialResult
,LogsQuerySuccessfulResult
orLogsQueryError
based on the success scenarios for log queries.
Breaking Changes
- Renamed
ErrorInfo
toLogsErrorInfo
, which now extends theError
class andcode
as an additional property. Removed all the other properties. query
method inLogsQueryClient
renamed toqueryWorkspace
query
method inMetricsQueryClient
renamed toqueryResource
- Renamed the status types in
LogsQueryResultStatus
.Partial
toPartialFailure
andFailed
toFailure
. - Renamed
timeGrain
inMetricAvailability
togranularity
- Renamed
TimeInterval
toQueryTimeInterval
- Updated constants in
Durations
to camel-case. - Removed
credentialOptions.credentialScopes
property inLogsQueryClientOptions
since scopes other than default are not supported yet. - Removed
throwOnAnyError
flag fromLogsQueryOptions
andLogsQueryBatchOptions
- Removed the error classes
BatchError
andAggregateBatchError
- Updated
LogsQueryBatchResult
object to be a list of objects with the following possible types:LogsQueryPartialResult
LogsQuerySuccessfulResult
LogsQueryError
- Updated
LogsQueryResult
object to be of typeLogsQuerySuccessfulResult
orLogsQueryPartialResult
Bugs Fixed
- Updated
listMetricNamespaces
signature to return the list of appropriateMetricsNamespaces
object type