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

17390 Коммитов

Автор SHA1 Сообщение Дата
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
EmmaZhu-MSFT 3d5db3864a
STG96 File (#31381)
### Packages impacted by this PR


### 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-15 10:59:21 +08:00
Wes Haggard 1c50b6ac49
Switch to TME test subscription (#31329) 2024-10-14 18:19:12 -07:00
Matthew Podwysocki c5b1b80f4b
[appconfiguration] Upgrade to ESM/vitest (#30066)
- @azure/app-configuration ESM migration
2024-10-14 15:32:11 -07:00
Minh-Anh Phan feacb89b2f
[SR Json and Avro] Samples Fix (#31399)
Fix the samples #31357 and re-enable min max on SR Avro package
2024-10-14 15:09:14 -07:00
Jeff Fisher cdf6464f5c
Correct lint issues in CODEOWNERS (#31401)
### Describe the problem that is addressed by this PR

Some labels were incorrect due to minor typos, whereas some no longer
exist.
2024-10-14 14:57:44 -07:00
Deyaaeldeen Almahallawi bc0a1ee7fd
[Event Hubs] Add hotfix changelog entry (#31397) 2024-10-14 21:32:18 +00:00
Deyaaeldeen Almahallawi 06cfc0d211
[Event Hubs] Re-enable min/max testing (#31351)
Live run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4230873&view=results

---------

Co-authored-by: Maor Leger <maorleger@microsoft.com>
2024-10-14 14:20:14 -07:00
Azure SDK Bot 66eae11d1b
Post release automated changes for notificationhubs releases (#31400)
Post release automated changes for azure-notification-hubs
2024-10-14 17:09:52 -04:00
Jeremy Meng be9a5757b0
[ServiceBus] re-enable min/max testing (#31396)
now that we have better merged vitest configs
2024-10-14 13:46:11 -07:00
Jeremy Meng ed6da25e13
[test][ai-translation-document] skip broken test (#31394)
tracking issue: https://github.com/Azure/azure-sdk-for-js/issues/31393
2024-10-14 11:22:12 -07:00
Matthew Podwysocki 03c210fda5
[notification-hubs] Release 2.0 (#31392)
### Packages impacted by this PR

- @azure/notification-hubs

### Issues associated with this PR

- #30439
- #30697

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

Releasing fixes for `@azure/notification-hubs` plus new features.

### 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-14 13:38:13 -04:00
Azure SDK Bot 9513058fa3
[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-14 09:51:09 -07:00
Maor Leger 155d4be91b
[dev-tool] Migrate package codemods (#31324)
### Packages impacted by this PR

@azure/dev-tool

### Issues associated with this PR

Resolves #31325

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

In order to automate as much as possible, we're introducing a set of
codemods to dev-tool's migrate-package command which can be added to by anyone.
These codemods will run in sequence and commit their work in stages for ease
of reviewing
2024-10-14 09:01:46 -07:00
Azure SDK Bot a9e7d73bcb
Post release automated changes for core releases (#31363)
Post release automated changes for azure-rest-core-client
2024-10-14 09:01:17 -07:00
Maor Leger 2e53d49699
[engsys] Allow min/max tests to use vitest config of the target package (#31343)
### Packages impacted by this PR


### Issues associated with this PR

Resolves #30578 

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

While simple settings like `test-timeout` and `hook-timeout` are often
defined in package.json scripts, there are
other settings that are specified in the vitest.config.ts of the target
package.

Our existing setup uses the default vitest template which does not work
for libraries that use customized config.

This PR improves that experience by creating a 3-way-merge of:
1. The base config
2. The template config (which specifies the test patterns)
3. The package's config

Only done for node right now. If you need it for browser, you now have a
path forward

### 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?

There are some gotchas here:
1. testTimeout is defined in package.json which takes precedence over
any config files I believe - it may be surprising that your testTimeout
does not take (note that this is somewhat the case today)
2. The package's config adds files under `test/**/*.spec.ts` to the
include pattern. This is fine, because the min/max tests are placed
under `test/public` so that pattern will not match anything

I really want to clean up min/max - but this is not the time
2024-10-14 08:08:06 -07:00
Deyaaeldeen Almahallawi 09df4d579c
[Event Hubs Checkpoint Tables] Update tests (#31366)
To accommodate GeoDR.

Live run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4226755&view=results
2024-10-14 07:31:36 -07:00
ZiWei Chen 538823cf13
[mgmt] add missing tsp-location (#31386) 2024-10-14 17:16:06 +08:00
Azure SDK Bot d34dc4e76c
Post release automated changes for hybridcompute releases (#31378)
Post release automated changes for azure-arm-hybridcompute
2024-10-12 21:33:04 +08:00
ZiWei Chen 9ccc79a350
[mgmt] hybridcompute release (#31377)
https://github.com/Azure/sdk-release-request/issues/5581
2024-10-12 17:06:00 +08:00
Azure SDK Bot 103e2bf291
Post release automated changes for batch releases (#31231)
Post release automated changes for azure-arm-batch
2024-10-11 17:59:12 -07:00
Sarangan Rajamanickam a3941a6d53
[@azure/eventgrid] Update System events for EG Version 5.8.0 (#31369)
### Packages impacted by this PR

@azure/eventgrid

### Issues associated with this PR

NA

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

This PR consists of the following changes:

- A new property `onBehalfOfCallee` is added to the
`AcsIncomingCallEventData` interface.
- The property `serializedName` has been removed from
`MediaJobOutputProgressEventData` & `MediaJobScheduledEventData` models.

### 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?

There are no specific/complex design scenarios for this task. It is a
straightforward regenerate and some standard changes to the custom layer
of the code.

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

No. This item is standard and we need not add test cases for every new
events. The existing cases would be sufficient.

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

- https://github.com/Azure/azure-sdk-for-js/pull/28513 (This is the PR
that adds similar events to the SDK in the 5.2.0 release)
- https://github.com/Azure/azure-sdk-for-js/pull/28891 (This is the PR
that adds similar events to the SDK in the 5.3.0 release)
- https://github.com/Azure/azure-sdk-for-js/pull/29035 (This is the PR
that adds similar events to the SDK in the 5.4.0 release)
- https://github.com/Azure/azure-sdk-for-js/pull/29872 (This is the PR
that adds similar events to the SDK in the 5.5.0 release)
- https://github.com/Azure/azure-sdk-for-js/pull/30811 (This is the PR
that adds similar events to the SDK in the 5.6.0 release)
- https://github.com/Azure/azure-sdk-for-js/pull/31186 (This is the PR
that adds similar events to the SDK in the 5.7.0 release)

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_
```autorest --typescript swagger\README.md```

### 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-11 15:01:17 -07:00
Harsimar Kaur e27c896af2
[monitor-opentelemetry] Live Metrics Filtering for Documents (#31312)
### Packages impacted by this PR
monitor-opentelemetry

### Describe the problem that is addressed by this PR
This PR adds support for document filtering in live metrics.

### Are there test cases added in this PR? _(If not, why?)_
Modifications were made to existing unit tests to test documents
functionality, as much of the new code added uses existing filtering
functionality. Also, many cases for documents were manually tested E2E,
such as the single/multi session cases for applying filters to documents
and metrics & confirming that SDK conforms to any configuration sent to
it by the service.

### 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-11 13:31:10 -07:00
Azure SDK Bot acdcea72ef
Sync eng/common directory with azure-sdk-tools for PR 9102 (#31362)
* Add CompatibleConvertFrom-Yaml to common Package-Helpers
* Add CI artifact parsing to Save-Package-Properties, now each individual packageinfo.json file contains the relevant ci artifact lines for the package. This short circuits needing to re-parse this information in common checks.

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-10-11 13:01:49 -07:00
Minh-Anh Phan 72187a1b21
[Schema Registry Avro] ESM Migrate (#31131)
Migrate SR Avro
2024-10-11 11:23:55 -07:00
Jeremy Meng 0e2c0bd934
[ServiceBus] migrate to ESM/tshy/vitest (#31304)
- apply the result of `dev-tool admin migrate-package --package-name
@azure/service-bus`

without removing chai usages in tests because it is causing crash when
running
the command

- work around compilation error from "long" with `"skipLibCheck": true`

- fix assert/chai/etc.

- replace sinon usage with vi
2024-10-11 08:35:13 -07:00
Timo van Veenendaal 21e70690ec
[core-client-rest] Prepare patch release (#31359)
### Packages impacted by this PR

- `@azure-rest/core-client`


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

Preparing for out of band patch release to fix regression (#31349).
2024-10-10 20:44:59 +00:00
Jackson Weber 483c779e89
[Monitor OpenTelemetry Exporter] Update Statsbeat Shutdown Logic & Only Disable Non-Essential Statsbeat (#31319)
### Packages impacted by this PR
@azure/monitor-opentelemetry-exporter

### Describe the problem that is addressed by this PR
We should follow the spec regarding which status codes should cause
statsbeat to shutdown and fail silently.
We should also align with other languages on the environment variable
used to disable statsbeat.

### 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-10 11:38:30 -07:00
Deyaaeldeen Almahallawi 61ab7ab456
[Bicep linter] Migrate to 1es-redirect (#31353)
Migrating the bicep devops pipeline to use the secure 1es pipeline.
2024-10-10 11:33:15 -07:00
Timo van Veenendaal 60584c7cbc
[core-client-rest] Fix serialization of non-string path parameters (#31352)
### Packages impacted by this PR

- `@azure-rest/core-client`

### Issues associated with this PR

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

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

We generate RLCs that allow for path parameters to be `number`. The
change for `allowReserved` assumed that path parameters could only be
`string`, causing number parameters to not be serialized properly. This
PR fixes that assumption.

### 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?)_

Added a test to check for a number path parameter

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

- #31058
2024-10-10 09:14:28 -07:00
Kashish Gupta ba3199944b
fix(playwrighttesting): optional fields in playwright config are compulsory in service reporter (#31348)
### Packages impacted by this PR
`
@azure/microsoft-playwright-testing`

### Issues associated with this PR

Made browser name optional.
### 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-10 12:07:56 +05:30
Jackson Weber bca61b4e17
[Monitor OpenTelemetry Exporter] Add Non-Essential Statsbeat (#31340)
### Packages impacted by this PR
@azure/monitor-opentelemetry-exporter

### Describe the problem that is addressed by this PR
We should collect non-essential statsbeat about disk retry.

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

### 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-09 14:52:59 -07:00
Maor Leger 5b7a025ac1
[keyvault-keys] Migrate to ESM and tshy (#31332)
### Packages impacted by this PR

@azure/keyvault-keys

### Issues associated with this PR

Resolves #30822 

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

Migrate keyvault-keys to ESM and tshy
2024-10-09 13:01:26 -07:00
Maor Leger f64cb62716
[identity] Add to guidelines when to use MSAL directly (#31337)
### Packages impacted by this PR

@azure/identity

### Issues associated with this PR

Resolves #31307

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

It is not clear from our documentation that @azure/identity is optimized
for the "pass a credential to another client library" use-case and that
refreshing / caching / etc. are implementation details without proper API support and
documentation.

This PR attempts to provide additional information regarding when to use
something like MSAL directly.

---------

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2024-10-09 12:00:32 -07:00
Deyaaeldeen Almahallawi 9115f0e364
[Event Hubs] Add message structure validation to the producer (#31346)
### Packages impacted by this PR
@azure/event-hubs

### Issues associated with this PR
https://github.com/Azure/azure-sdk-for-js/issues/31067

### Describe the problem that is addressed by this PR
This PR adds runtime validation to the input message structure. This is
needed so that strict receivers that follow the AMQP spec don't reject
non-compliant messages.

### 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?
N/A

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

### Provide a list of related PRs _(if any)_
https://github.com/Azure/azure-sdk-for-js/pull/31330

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

### 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-09 10:13:33 -07:00
Jackson Weber ea8667fecf
[Monitor OpenTelemetry] Fix Log Record Processor Warning (#31288)
### Packages impacted by this PR
@azure/monitor-opentelemetry

### 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-09 09:36:20 -07:00
Deyaaeldeen Almahallawi f1615c85ef
[Event Hubs] Re-enable samples testing (#31347)
Addresses https://github.com/Azure/azure-sdk-for-js/issues/30580

Live run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4211884&view=results
2024-10-09 08:52:27 -07:00
Christopher Anderson afde2d2838
fix(CosmosDB: http protocol endpoints no longer break CosmosClient (#31120)
### Packages impacted by this PR
@azure/cosmos

### Issues associated with this PR
#31119 

### Describe the problem that is addressed by this PR
1. "http:" protocol now works properly
2. Unhandled errors in tests now properly include stack trace in STDERR

### 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?
We could possibly have done a further bifurcation of the logic for http:
vs https:. I chose this design because it was a minimal change and
maintains the original intent.

### Are there test cases added in this PR? _(If not, why?)_
No. There's not currently a good means to test http: against Cosmos DB,
but that's a WIP.

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

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

### 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)_ - N/A
- [ ] Added a changelog (if necessary) - N/A

---------

Co-authored-by: Chris Anderson <andersonc@microsoft.com>
2024-10-09 14:22:23 +05:30
Azure SDK Bot 14bef3be43
Sync eng/common directory with azure-sdk-tools for PR 9106 (#31339)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9106 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-08 15:57:51 -07:00