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

16970 Коммитов

Автор SHA1 Сообщение Дата
Azure SDK Bot 4d28505259
Sync eng/common directory with azure-sdk-tools for PR 9004 (#31155)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9004 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-09-18 15:00:35 -07:00
Azure SDK Bot d867f62758
Sync eng/common directory with azure-sdk-tools for PR 9000 (#31151)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/9000 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-18 14:08:03 -07:00
microsoft-github-policy-service[bot] f029402c98
Auto-generated baselines by 1ES Pipeline Templates (#31118)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-18 17:00:33 -04:00
Azure SDK Bot 5785d76a09
Sync .github/workflows directory with azure-sdk-tools for PR 8995 (#31150)
Sync .github/workflows directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8995 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-18 08:38:33 -07:00
EmmaZhu-MSFT 51e1cac7e6
[Storage]Bump dependency version on @azure/core-xml (#31091) 2024-09-18 13:47:44 +08:00
KarishmaGhiya 1d8154ed5e
[Identity] update changelog for beta release (#31144) 2024-09-17 23:57:30 +00:00
Azure SDK Bot 6021109d37
Sync eng/common directory with azure-sdk-tools for PR 8994 (#31141)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8994 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-17 14:55:06 -07:00
Minh-Anh Phan 998eda5cf0
[App Config] Fix App Config Tests (#31079)
### Packages impacted by this PR
@azure/app-configuration

### Issues associated with this PR
#31010

### Describe the problem that is addressed by this PR
- Move away from nock mocking because of unexpected behavior change from
Node 22.7 and above.
- Update samples to avoid duplicate key error when the samples are run
in parallel
2024-09-17 12:39:29 -07:00
Azure SDK Bot 96dceffd46
Post release automated changes for schemaregistry releases (#31136)
Post release automated changes for azure-schema-registry-json
2024-09-17 12:18:27 -07:00
Minh-Anh Phan fdac51005e
[Schema Registry] Post release update for Schema Registry (#31138)
Update package version after release
2024-09-17 12:17:57 -07:00
sorrego-msft 9cb1458f45
Add communications TFV ownership (#31128) 2024-09-17 09:55:52 -07:00
Maor Leger c69c12472b
[identity] Support AZURE_AUTHORITY_HOST in cross cloud requests (#31134)
### Packages impacted by this PR

@azure/identity

### Issues associated with this PR

#30557

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

Looks like we missed one place where we need to read the
AZURE_AUTHORITY_HOST env var when porting logic over to msalClient. 
This PR addresses the issue and allows for environment variable to be read 
when needed.
2024-09-17 09:51:54 -07:00
Azure SDK Bot 738c9101fc
Sync eng/common directory with azure-sdk-tools for PR 8974 (#31132)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8974 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-09-16 16:00:19 -07:00
KarishmaGhiya e58bc20587
[Identity] Client assertion add token cache persistence (#31129)
To have ClientAssertionCredentialOptions implement
ISupportsTokenCachePersistenceOptions. As a consumer of Identity, Azure
PowerShell is dependent on the Azure Identity library for .NET. Now the
client assertion workflow has increasing usage, so the ask should have
higher priority.

Business Impact:
In the client assertion auth flow, Azure PowerShell customers acquire
the access token with the federated token. The access token must be used
by the subsequent Azure PowerShell cmdlets. We depend on Azure.Identity
to save the tokens to the MSAL cache. As the federated token has a short
lifetime, it's impossible to cache the federated token and
reauthenticate every time a cmdlet is run.
2024-09-16 15:29:06 -07:00
Weiyang Ding(MSFT) 5b025d1eaa
[sample][image-analysis] update the dependency package version in package.json (#30301)
Fixes [#28746](https://github.com/Azure/azure-sdk-for-js/issues/28746)

@joheredi and @dargilco for notification.
2024-09-16 12:19:54 -07:00
Azure SDK Bot 9e8083e3fd
[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-09-16 09:34:03 -07:00
Azure SDK Bot 60aac3a515
Post release automated changes for playwrighttesting releases (#31125)
Post release automated changes for azure-microsoft-playwright-testing
2024-09-16 18:17:42 +05:30
Kashish Gupta 39172766b6
docs(playwrighttesting): CHANGELOG for 1.0.0-beta.3 release for microsoft-playwright-testing (#31093)
### 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-09-16 09:11:02 +05:30
Siddharth Singha Roy ca5d6ce28d
fix(playwrighttesting): suppress POST test result API failures to prevent node process from being terminated (#31112)
### Packages impacted by this PR

@azure/microsoft-playwright-testing

### Issues associated with this PR

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

Any API failure in post test result API call would terminate the node
process immediately. This PR swallows the exception and allows the
execution to proceed.

### 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-09-16 09:10:28 +05:30
Azure SDK Bot 5fc65fd204
Post release automated changes for monitor releases (#31121)
Post release automated changes for azure-monitor-opentelemetry
2024-09-13 15:30:29 -07:00
Glenn Harper 4def110f0f
[AI] [Inference] Add tool sample with streaming chat completion (#30994)
### Packages impacted by this PR
@azure-rest/ai-inference

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Add tool sample with streaming chat completion

### 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: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>
2024-09-13 17:17:27 -04:00
Maor Leger 33c18dd48b
[identity] Use helper from core-util (#31115)
### Packages impacted by this PR

@azure/identity 

### Issues associated with this PR

#30187

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

Now that core-util is published with a `calculateRetryDelay` helper, we
can use that instead of duplicating the logic from core-rest-pipeline

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

There's an existing test suite for this policy, and this should be
considered a pure refactor now
2024-09-13 13:42:27 -07:00
Maor Leger 6c84c3ce60
[core] Use core-util's helper for exponential retry delay (#31117)
### Packages impacted by this PR

@azure/core-rest-pipeline

### Issues associated with this PR

#30187

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

Now that core-util is published with a `calculateRetryDelay` helper, we
can use that instead of duplicating the logic from core-rest-pipeline
2024-09-13 13:42:15 -07:00
Maor Leger 9af8d06255
[test-utils] Port CHANGELOG from 1.x branch (#31043)
### Packages impacted by this PR

@azure-tools/test-utils

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

I noticed that the hotfix changes from 1.x branch were not listed in the
CHANGELOG on main. This PR just ports those over so they are listed in
chronological order
2024-09-13 13:22:44 -07:00
Wes Haggard 91c74d81a0
Update PublishCodeCoverageResults to v2 (#31114) 2024-09-13 12:00:19 -07:00
Azure SDK Bot 6e73de2d7a
Sync eng/common directory with azure-sdk-tools for PR 8963 (#31116)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8963 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 11:59:01 -07:00
Matthew Podwysocki ebb399928e
[notification-hubs] Separate broadcast from send operations (#31102)
### Packages impacted by this PR

- @azure/notification-hubs

### Issues associated with this PR

- #30140

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

Separates the broadcast send and broadcast scheduled send into their own
methods instead of having in the base `sendNotification` and
`scheduleNotification` respectively. Creates two methods of
`sendBroadcastNotification` and `scheduleBroadcastNotification` for each
scenario.

cc @gunzip 

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

This allows us to keep required fields for either devices or tag based
expressions for mainline sends and tag based for scheduled sends in the
main methods and only separate the broadcast parts which are less used.

### 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
- [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-09-13 14:06:49 -04:00
Harsimar Kaur 26a04201af
[Monitor OpenTelemetry] Release Distro 1.7.1 & Exporter beta.26 (#31083)
### 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-09-13 10:57:00 -07:00
Azure SDK Bot 371cdd7d09
Post release automated changes for core releases (#31097)
Post release automated changes for azure-core-*
2024-09-13 09:53:02 -07:00
Azure SDK Bot 67c637706c
Sync eng/common directory with azure-sdk-tools for PR 8959 (#31106)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8959 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 09:20:46 -07:00
Kashish Gupta 9436badbfe
improved SAS expriy check logic (#31110)
### Packages impacted by this PR
`@azure/microsoft-playwright-testing`

### Issues associated with this PR
Improved Sas uri expiry logic.

### 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-09-13 16:10:48 +05:30
Azure SDK Bot c4ad370b4c
Sync eng/common directory with azure-sdk-tools for PR 8958 (#31104)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8958 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-09-12 16:55:17 -07:00
KarishmaGhiya 9fd61e0dda
[identity] update changelog for a previous release (#31103) 2024-09-12 15:01:18 -07:00
Ben Broderick Phillips c5d7d2d3e7
Add auto-baseline main pipeline config for core (#31098)
This should address the baseline PRs coming in for every pipeline
2024-09-12 16:08:34 -04:00
Timo van Veenendaal 91c9fd7050
[keyvault-certificates] fix minmax failure (#31084)
### Packages impacted by this PR

- `@azure/keyvault-certificates`

### Issues associated with this PR

- Fix #31012

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

1. Minmax tests are not run in the package directory (they are instead
run in `test/public`). This PR updates the path for some static test
resource files to be relative to the test file itself instead of
relative to the working directory.
2. Stop using instanceof for a couple of tests where we are testing the
type of the error. The name of the error should be enough. I think this
might have been causing failures maybe due to a dual-package hazard kind
of interaction?
2024-09-12 08:35:06 -07:00
Kashish Gupta d947988f81
fix(playwrighttesting): Updated error handling for reporting (#31090)
### Packages impacted by this PR
`
@azure/microsoft-playwright-testing`

### Issues associated with this PR
Display informational messages to the user in case of errors at the end
of test.

### 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-09-12 13:29:22 +00:00
Azure SDK Bot 7c99310503
Post release automated changes for playwrighttesting releases (#31089)
Post release automated changes for azure-microsoft-playwright-testing
2024-09-12 11:33:39 +05:30
Haopeng Wang ed42fd9f3f
batch test put test secret in fakeTestSecret.ts (#31085)
Co-authored-by: Hoppe Wang <hoppewang@microsoft.com>
2024-09-11 16:52:54 -07:00
Mary Gao 26c76fd83a
[core] Prepare release for core-lro in Sep (#31076)
Prepare release for core-lro in Sep
2024-09-12 07:44:24 +08:00
Hector Hernandez deb59370c2
[monitor-opentelemetry] Update enableTraceBasedSamplingForLogs config default value to false (#31082)
### Packages impacted by this PR
@azure/monitor-opentelemetry
2024-09-11 15:46:49 -07:00
Jeremy Meng e1e7eb4b9f
[eslint-plugin] exclude *.config.*ts from linting (#31050)
so we don't have errors in editors when opening vitest configs
2024-09-11 15:10:03 -07:00
Harsimar Kaur 941e0d032a
[monitor-opentelemetry] Fix document spam bug (#31081)
### Packages impacted by this PR
monitor-opentelemetry


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


### Describe the problem that is addressed by this PR
This PR addresses the issue where the live metrics component of the SDK
was re-emitting old documents at every time interval along with the new
documents.

Testing was manually done by including the app insights sdk in a test
application & checking the documents that appear on the documents pane
on the live metrics page.

### 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)_
- [ ] Added a changelog (if necessary)
2024-09-11 13:34:49 -07:00
Jeremy Meng ee6f42e2ab
[core-xml] fix stringifyXML missing XML namespace issue on Firefox (#31021)
Chrome-based browsers are more error-tolerant when the XML
namespace ("xmlns:...") was set via attribute, but that doesn't work on
Firefox,
which requires using of `createElementNS()` to create element with XML
namespace.

This PR adds special handling of the "xmlns" attribute.

-------

### Packages impacted by this PR
@azure/core-xml

### Issues associated with this PR
https://github.com/Azure/azure-sdk-for-js/issues/11655
https://github.com/Azure/azure-sdk-for-js/issues/30979
2024-09-11 13:06:29 -07:00
Jeremy Meng df493c5706
[Doc] Remove build instructions for non-rush packages from contributing guide (#31045)
per discussion at
https://github.com/Azure/azure-sdk-for-js/issues/23147#issuecomment-1252542676
2024-09-11 12:15:57 -07:00
Matthew Podwysocki 9eac817fff
[core] Remove excess listeners for streams (#31077)
### Packages impacted by this PR

- @azure/core-rest-pipeline

### Issues associated with this PR

- #31026

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

Removes excess listeners for streams to ensure that we're not adding
listeners to check for done and then not removing them.

### 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-09-11 13:05:32 -04:00
Matthew Podwysocki 370f60bba5
[web pub sub] update protobuf to ESM (#31044)
### Packages impacted by this PR

- @azure/web-pubsub-client-protobuf

### Issues associated with this PR

Fixes build issues associated with #30988

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

- #30988

### 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-09-11 12:50:57 -04:00
Siddharth Singha Roy 6f98c8dcc4
docs(playwrighttesting): CHANGELOG for 1.0.0-beta.2 release for microsoft-playwright-testing (#31075)
### 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)

---------

Co-authored-by: Vansh Vardhan Singh <vanshsingh@microsoft.com>
2024-09-11 18:29:44 +05:30
Siddharth Singha Roy 7727b2791d
docs(playwrighttesting): enhance authentication section in README (#31065)
### 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-09-11 11:54:02 +05:30
Siddharth Singha Roy 01b373d51c
fix(playwrighttesting): fetch access token value from environment variables (#31066)
### Packages impacted by this PR

@azure/microsoft-playwright-testing

### Issues associated with this PR

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

Fetching and setting access token was a one time operation in reporting.
Thus, when the token was rotated, it was not picked up by the reporter
worker resulting in expired token calls.

### 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-09-11 11:25:35 +05:30
Azure SDK Bot 00d6be82ca
[EngSys] automatic rush update --full (#31063)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-09-10 16:13:50 -07:00