Граф коммитов

17178 Коммитов

Автор SHA1 Сообщение Дата
Timo van Veenendaal d8ca8e2be3
[core-client-rest] use helpers for isCredential (#31494)
### Packages impacted by this PR

- `@azure-rest/core-client`

### Describe the problem that is addressed by this PR

Simplify `isCredential` helper used in getClient.ts. This change was
already made in the unbranded package but not in Azure core.

No change in the Unbranded diff report for this PR because I made the
change and updated the diff as part of #31487, just forgot to check in
this particular change. The unbranded diff check is currently reporting
a failure on main and this change should fix that.
2024-10-22 11:36:26 -07:00
Howie Leung 71e5e3a2c3
update change log (#31493)
### Packages impacted by this PR
update change log

### Issues associated with this PR


### Describe the problem that is addressed by this PR
update change log

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-10-22 18:08:49 +00:00
Maor Leger b3bda3a2f9
[attestation] Migrate to ESM and tshy (#31433)
### Packages impacted by this PR

@azure/attestation

### Issues associated with this PR

#31338 

### Describe the problem that is addressed by this PR

Migrates `@azure/attestation` to ESM and tshy.

Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>
2024-10-22 09:39:30 -07:00
Timo van Veenendaal 7c51b1e579
[ts-http-runtime] Update ts-http-runtime with recent Core changes (#31487)
### Packages impacted by this PR

- `@typespec/ts-http-runtime`

### Describe the problem that is addressed by this PR

Updating the unbranded Core package with some recent changes in Core
that didn't make it over.
2024-10-22 08:33:04 -07:00
Azure SDK Bot 5d53a80f0f
Sync eng/common directory with azure-sdk-tools for PR 9229 (#31490)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9229 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-21 18:22:27 -07:00
Timo van Veenendaal 31b76c94f5
[ts-http-runtime] add azure diff check tool (#31285)
### Packages impacted by this PR

- `@typespec/ts-http-runtime`

### Describe the problem that is addressed by this PR

We have had issues with the unbranded Core package becoming out of sync
with the Azure packages. This PR adds a report which is a diff between
the Azure Core packages and the unbranded package and causes the lint
step to fail if there are any differences between Azure and unbranded
that do not appear in the report. Running the `lint:fix` script will
update the diff report. This will mean that:

- Making an Azure Core change without a corresponding change to
unbranded package, either in the source code or in the diff report, will
result in a CI failure
- Changes to the diff report can be reviewed so that any differences
between Azure and unbranded implementations of a feature can be easily
compared

Why use the lint script (and lint:fix)? This is already run by CI, so by
using it we don't need to make any changes to pipeline steps to get this
working. This script is a one-off and so I just want to do the bare
minimum to get things working 😄
2024-10-21 21:44:06 +00:00
Howie Leung 0b6bbeab42
Fixed scope in samples and readme (#31486)
### Packages impacted by this PR
No code changes.   Only sample and readme

### Issues associated with this PR
Sample has scope incorrect for connection

### Describe the problem that is addressed by this PR
Sample has scope incorrect for connection

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-10-21 14:26:16 -07:00
Azure SDK Bot 26a149be0d
Sync eng/common directory with azure-sdk-tools for PR 9216 (#31485)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9216 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-21 12:56:48 -07:00
Azure SDK Bot 1c6a7bd057
[EngSys] automatic rush update --full
<p dir="auto">This is an automatic PR generated weekly with changes from running the command rush update --full</p>
2024-10-21 09:25:23 -07:00
Azure SDK Bot 2de7a5a1ec
Post release automated changes for playwrighttesting releases (#31479)
Post release automated changes for azure-microsoft-playwright-testing
2024-10-21 10:13:54 +00:00
Kashish Gupta f4dc7953e6
docs(playwrighttesting): CHANGELOG for 1.0.0-beta.4 release for microsoft-playwright-testing (#31477)
### Packages impacted by this PR

@azure/microsoft-playwright-testing

### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-10-21 12:35:55 +05:30
Azure SDK Bot 14979f7d20
Post release automated changes for redisenterprise releases (#31427)
Post release automated changes for azure-arm-redisenterprisecache
2024-10-21 09:40:32 +08:00
Scott Addie 276c94b6d4
Improve API docs for DAC and ChainedTokenCredential (#31454)
Drive traffic to the new credential chains doc on Learn. Also, eliminate
duplication in the `DefaultAzureCredential` API docs.

---------

Co-authored-by: Karishma Ghiya <kaghiya@microsoft.com>
2024-10-19 09:34:54 -05:00
Jeremy Meng 1f4c88c136
[EngSys] upgrade dev dependency `@typescript-eslint/*` to `~8.10.0` (#31466)
- replace version string with ~8.10.0
- rush update
- [monitor-opentelemetry-exporter] fixing linting error of unnecessary `undefine` type for the optional parameter
2024-10-18 13:22:56 -07:00
Minh-Anh Phan dfd239c0c5
[Identity] Add subscription property for AzureCliCredentialOptions (#31451)
Closes #27781

Add subscription property for AzureCliCredentialOptions

---------

Co-authored-by: Charles Lowell <10964656+chlowell@users.noreply.github.com>
2024-10-18 13:22:08 -07:00
Azure SDK Bot 2a7059e425
Sync eng/common directory with azure-sdk-tools for PR 9212 (#31457)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9212 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-18 07:53:38 -07:00
Kashish Gupta ee6d08ecb0
fix(playwrighttesting):escape config parameters (#31460)
### Packages impacted by this PR
@azure/microsoft-playwright-testing

### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-10-18 18:18:01 +05:30
Azure SDK Bot d2356b1450
Sync eng/common directory with azure-sdk-tools for PR 9181 (#31455)
* save-package-properties.yml only activates PR diff mechanism if the service directory is "auto"

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-17 17:03:57 -07:00
Azure SDK Bot b18c38d1d1
Post release automated changes for identity releases (#31452)
Post release automated changes for azure-identity
2024-10-17 13:50:11 -07:00
Ryan Hurey 782dc8896a
Prep for stable release. (#31450)
### Packages impacted by this PR
@azure-rest/ai-vision-image-analysis

### Issues associated with this PR
N/A

### Describe the problem that is addressed by this PR
Stable Release

### Are there test cases added in this PR? _(If not, why?)_
No changes.
2024-10-17 11:29:32 -07:00
Azure SDK Bot 61e98b1015
Post release automated changes for keyvault releases (#31441)
Post release automated changes for azure-keyvault-common
2024-10-17 11:09:18 -07:00
Kashish Gupta 497321f040
fix(playwrighttesting): removing duplicate runId from env (#31449)
### Packages impacted by this PR
`
@azure/microsoft-playwright-testing`

### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-10-17 23:09:21 +05:30
Kashish Gupta 57b8380983
feat(playwrighttesting): Added runName in service config (#31379)
### Packages impacted by this PR
`
@azure/microsoft-playwright-testing`

### Issues associated with this PR

added RUNNAME field in playwright service config.
### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)

---------

Co-authored-by: Siddharth Singha Roy <siddharthsingharoy@gmail.com>
2024-10-17 21:43:41 +05:30
Azure SDK Bot 258b4b1527
Sync eng/common directory with azure-sdk-tools for PR 9177 (#31432)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9177 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-10-17 08:53:13 -07:00
Azure SDK Bot 97e9849a9a
Handle missing artifacts without exception (#31437)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9179 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-16 16:22:39 -07:00
Jeremy Meng d0b70a8253
[ServiceBus] expose omitMessagesBody option under ./experimental subpath (#31361)
playing with the idea of exposing features under the `./experimental`
subpath and add a dev-tool command to report error if we consume
experimental Apis in a GA package.

[ServiceBus] Add the experimental diagnostic feature omitMessageBody 

via an augmented `PeekMessagesOptions` interface under `./experimental`
subpath export.

After migrating to ESM, we no longer use rolled-up dts files thus lose the ability
to trim `@beta` Apis from public type definition files. This PR explores an approach to
expose Apis from the `./experimental` export.
2024-10-16 15:37:05 -07:00
Azure SDK Bot 24d787765e
Sync .github/workflows directory with azure-sdk-tools for PR 9199 (#31438)
Sync .github/workflows directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9199 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-16 15:26:19 -07:00
Azure SDK Bot 20f3c84adf
Sync eng/common directory with azure-sdk-tools for PR 9202 (#31439)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9202 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-16 15:25:29 -07:00
Azure SDK Bot 3e11a2ede2
Sync eng/common directory with azure-sdk-tools for PR 9147 (#31440)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9147 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-10-16 15:07:06 -07:00
Jeff Fisher efbd492734
Fix lint issues in CODEOWNERS (#31435)
Address remaining CODEOWNERS issues - for areas with no good owners I
have removed them, same with folks who I contacted to set themselves
public but did not respond.
2024-10-16 16:37:05 -05:00
Harsimar Kaur 3a21d19685
[monitor-opentelemetry] Live Metrics: Perf Counter update (#31341)
### Packages impacted by this PR
[monitor-opentelemetry]

### Describe the problem that is addressed by this PR
See:
https://github.com/aep-health-and-standards/Telemetry-Collection-Spec/blob/main/ApplicationInsights/livemetrics.md#process-metrics

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?
For CPU, looked at
[.net](7c8f16deec/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/src/LiveMetrics/Manager.Metrics.cs (L290))
&
[java](43bdc30cb2/sdk/monitor/azure-monitor-opentelemetry-exporter/src/main/java/com/azure/monitor/opentelemetry/exporter/implementation/quickpulse/QuickPulseDataCollector.java (L358))
implementations, along with this [stack
overflow](https://stackoverflow.com/questions/74776323/trying-to-get-normalized-cpu-usage-for-node-process#:~:text=I'm%20trying%20to%20calculate%20the%20normalized%20cpu%20percentage%20for%20my).
They all seem to be following the same rough calculation & multiplying
by 100 in the end for a percentage.


### Are there test cases added in this PR? _(If not, why?)_
Modified an existing test to assert that the body of the post request
includes old/new counter names with the process counter values.

### Checklists
- [x] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [x] Added a changelog (if necessary)
2024-10-16 13:10:55 -07:00
KarishmaGhiya 2d33359509
[Identity] Add Pop token support (#30961)
Fixes https://github.com/Azure/azure-sdk-for-js/issues/23329

- Added SHR PoP token support to @azure/core-auth 
- Added SHR PoP token support to `InteractiveBrowserCredential` Native
Broker Scenarios via @azure/identity and @azure/identity-broker
2024-10-16 19:18:28 +00:00
Timo van Veenendaal 97fe6d14ab
[keyvault] keyvault-common: use released @azure/logger dependency (#31434)
### Describe the problem that is addressed by this PR

Exactly the same as https://github.com/Azure/azure-sdk-for-js/pull/31418
except for logger
2024-10-16 18:35:26 +00:00
Minh-Anh Phan 327e08506d
[OpenAI] Add a sample for global batch (#31278)
Add batch sample
2024-10-16 11:35:07 -07:00
Matthew Podwysocki e008167f7a
[monitor] update to latest OTEL (#31431)
### Packages impacted by this PR

- @azure/monitor-opentelemetry-exporter
- @azure/monitor-opentelemetry

### Issues associated with this PR

- #31391

### Describe the problem that is addressed by this PR

Updates to latest packages

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-10-16 12:31:50 -04:00
Matthew Podwysocki fe7545b8bd
[communication] Move @azure/communication-common to ESM/vitest (#31419)
### Packages impacted by this PR

- @azure/communication-common

### Issues associated with this PR

- https://github.com/Azure/azure-sdk-for-js/issues/31338

### Describe the problem that is addressed by this PR

Updates to ESM/vitest for @azure/communication-common

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-10-16 11:51:06 -04:00
Kashish Gupta 0cacd2113a
fix(playwrighttesting): multiple runId issue for scalable runs (#31364)
### Packages impacted by this PR
`@azure/microsoft-playwright-testing`
 

### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-10-16 20:32:05 +05:30
ZiWei Chen 113b188eba
[mgmt] redisenterprise release (#31177)
https://github.com/Azure/sdk-release-request/issues/5502
2024-10-16 15:36:40 +08:00
Praven Kuttappan 3d0c106120
Update API view parser to 2.0.2 (#31421)
Update API parser version to 2.0.0 to rebuild reviews with include a bug
fix about context end
2024-10-15 21:01:05 -04:00
Deyaaeldeen Almahallawi 26720a6f5b
[OpenAI] Edit tests.yml (#31415)
Omitting a default value.
2024-10-15 17:08:55 -07:00
Timo van Veenendaal 6cf40f0d2f
[keyvault] keyvault-common: use core-util@^1.10.0 (#31418)
### Packages impacted by this PR

- `@azure/keyvault-common`

### Describe the problem that is addressed by this PR

Caught this while doing pre-release checks. `@azure/core-util@^1.10.1`
has not released yet
2024-10-16 00:06:20 +00:00
Matthew Podwysocki 47ecb2d6ce
[maps] Migrate @azure/maps-common to ESM/vitest (#31409)
### Packages impacted by this PR

- @azure/maps-common

### Issues associated with this PR

- #31338

### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-10-15 19:30:25 -04:00
Azure SDK Bot ca1660f1b8
Sync .github/workflows directory with azure-sdk-tools for PR 9134 (#31412)
Sync .github/workflows directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9134 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-10-15 14:39:27 -07:00
Praven Kuttappan ebecebf70c
Update JS parser version (#31407)
Update JS API parser to 2.0.1
2024-10-15 16:51:04 -04:00
Scott Addie e0becfcea0
Drive traffic to credential chains doc (#31414)
Replace much of the `DefaultAzureCredential` content in the Azure
Identity README with a link to the new credential chains doc on Learn.
2024-10-15 15:00:03 -05:00
Timo van Veenendaal fdf877de22
[keyvault] Prepare release (#31410)
### Packages impacted by this PR

- `@azure/keyvault-common`
- `@azure/keyvault-admin`
- `@azure/keyvault-certificates`
- `@azure/keyvault-keys`
- `@azure/keyvault-secrets`

Preparing for release of CAE support + ESM migration.
2024-10-15 10:25:48 -07:00
EmmaZhu-MSFT d8764f9e6e
[Storage]Bump package version for STG96 features preview (#31404) 2024-10-16 01:19:57 +08:00
Deyaaeldeen Almahallawi 692bdd1802
[OpenAI] Update tests (#31402)
- ~re-enable running samples~ [Will be deferred to another PR]
- ~re-enable min/max testing~ [Will be deferred to another PR]
- use service connection to enable cross-tenants testing

Live run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4231515&view=results
2024-10-15 09:20:01 -07:00
ZiWei Chen 3894beb8ad
[mgmt] add useragentinfo (#31370)
Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
2024-10-15 15:15:18 +08:00
EmmaZhu-MSFT 86a89f4e4a
STG96 blob and datalake (#31385) 2024-10-15 11:05:59 +08:00