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

10912 Коммитов

Автор SHA1 Сообщение Дата
ZiWei Chen 7e12350584
[mgmt] add sanitized for bot service test cases (#30511)
fixes https://github.com/Azure/azure-sdk-for-js/issues/30491
2024-07-25 11:32:52 +08:00
Timo van Veenendaal df9a34466b
[core] Make `request` and `response` properties on RestError non-enumerable (#30518)
### Packages impacted by this PR

- `@azure/core-rest-pipeline`
- `@typespec/ts-http-runtime`

### Issues associated with this PR

- See e.g. https://github.com/Azure/azure-sdk-for-js/issues/30247
- Also https://github.com/Azure/azure-sdk-for-js/issues/29910
- And #29630

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

Taken from my last PR #30483:

> `PipelineRequest` and `PipelineResponse` objects may contain secrets
in the request URL or headers. This is problematic since `RestError`
objects are often logged. While we override `util.inspect.custom` to
sanitize log output in Node, this does not work in all situations and
environments. For example:
> - `console.log` in browser does not respect `util.inspect.custom`,
meaning secrets could be logged to the browser console. Other non-Node
environments also may not respect this Node-specific functionality.
> - JSON serialization of `RestError` objects. Calling `JSON.stringify`
on the `RestError` currently results in an object that contains
unsanitized secrets. We have encountered scenarios where the JSON
serialization is logged, for example with vitest.

This PR fixes this issue by making the `request` and `response`
properties **non-enumerable**. This means they are ignored by
JSON.stringify and `Object.entries`/`Object.keys`, but the properties
are still directly accessible. This should prevent any potential
sensitive information being accidentally logged in the majority of
scenarios. I think this is a better balance of not breaking folks versus
improving security than the approach in #30483.
2024-07-24 17:34:59 -07:00
Graham Thomas d328d966b3
Update CHANGELOG.md Healthdataaiservices (#30525)
### 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-07-24 16:32:30 -07:00
Jeremy Meng ef1966b79a
[core] Add react-native support at top level (#30521)
For back-compatibility.

This PR adds react-native top level field to package.json, similar to PR
https://github.com/Azure/azure-sdk-for-js/pull/30493.

-------

### Packages impacted by this PR
core-util, core-rest-pipeline, core-amqp, logger
2024-07-24 15:07:46 -07:00
Matthew Podwysocki ebaf7154b6
[core-xml] Adding RN support at top level (#30493)
### Packages impacted by this PR

- @azure/core-xml

### Issues associated with this PR

- #30411

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

Adds a key for `react-native` at the `package.json` level.

### 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-07-24 14:16:05 -07:00
Maor Leger 4efdc7a20a
[identity] Delete msalNodeCommon based flows (#30477)
### Packages impacted by this PR

@azure/identity


### Issues associated with this PR

#29900 

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

Now that all node credentials are migrated to MSALClient, we can finally
delete MsalNode based flows!

Leaving browserFlows as an exercise for the reader 😉 

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

Deleting code
2024-07-24 13:07:46 -07:00
Glenn Harper 0478aba4c9
[AI] [Inference] add non-happy path tests (#30520)
### Packages impacted by this PR
@azure-rest/ai-inference

### Issues associated with this PR


### Describe the problem that is addressed by this PR
adds chat multi-turn and auth error test

### 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-07-24 12:55:57 -07:00
danielszaniszlo b8a128da00
Adding Javascript SDK for health deid service (#30049)
### Packages impacted by this PR
This PR includes the JavaScript/Typescript SDK for health deid service.
It includes:
- tests
- samples
- Readme

### 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: Harsha Nalluru <sanallur@microsoft.com>
2024-07-24 11:38:47 -07:00
Deyaaeldeen Almahallawi f56eed633e
[OpenAI] Edit migration guide (#30512)
Fixes typos and spacing.
2024-07-24 10:44:47 -07:00
Maor Leger 2637a26820
[identity] fix nightly builds (#30517)
Identity nightly builds started failing with:

```
/eng/pipelines/templates/jobs/live.tests.yml (Line: 237, Col: 28): 'SYSTEM_ACCESSTOKEN' is already defined
3988289
/eng/pipelines/templates/jobs/live.tests.yml (Line: 258, Col: 28): 'SYSTEM_ACCESSTOKEN' is already defined
3988289
/eng/pipelines/templates/jobs/live.tests.yml (Line: 282, Col: 28): 'SYSTEM_ACCESSTOKEN' is already defined
3988289
/eng/pipelines/templates/stages/archetype-sdk-tests.yml: Object reference not set to an instance of an object.
```

Other builds are fine, so likely specific to identity. Searching the
code I see
we define SYSTEM_ACCESSTOKEN in our tests.yml (likely for testing
AzurePipelinesCredential). Another mystery solved, I hope.
2024-07-24 09:56:40 -07:00
Daniel Getu 8ab8edad25
[Search] Merge samples and changelog for 2024-07 GA release (#30514)
### Packages impacted by this PR

@azure/search-documents

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

Adds sample and changelog changes from the GA branch for 2024-07 release
#30494

### Checklists
- [x] Added impacted package name to the issue description
2024-07-24 08:19:53 -07:00
Jeremy Meng 3a68e456b2 [Samples] update "src/**.ts" to "src/**/*.ts" in tsconfig.json
Previously dev-tool has been fixed to generate correct include path in samples
tsconfig.json but samples were not updated.

This PR fixes the samples tsconfig.json in one run; otherwise with the recent
branch protection policy changes, when individual packages re-publish samples,
js-core team would have to approve the tsconfig.json changes.

***NO_CI***
2024-07-24 13:53:00 +00:00
Deyaaeldeen Almahallawi 796c37798e
[OpenAI] Add sample for tts (#30507) 2024-07-23 15:06:52 -07:00
cqnguy23 ee2c251b2c
Migrate secret auth WebPubSub (#30471)
- Migrate tests away from secret based authentication

---------

Co-authored-by: chuongnguyen <chuongnguyen@microsoft.com>
2024-07-23 09:07:13 -07:00
Glenn Harper 60f458ffaa
[AI] [Inference] Add image file sample and test for chat completions (#30505)
### Packages impacted by this PR
@azure-rest/ai-inference

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Adds image file sample and test for chat completions

### 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-07-23 11:48:02 -04:00
ZiWei Chen ddad23e69d
[mgmt] containerservice release (#30390)
https://github.com/Azure/sdk-release-request/issues/5290
2024-07-23 18:18:09 +08:00
Azure SDK Bot 992f43393c
Post release automated changes for storage releases (#30499)
Post release automated changes for azure-storage-blob
2024-07-23 16:18:40 +08:00
ZiWei Chen 27067aa8f8
[mgmt] edgezones with modular (#30341)
https://github.com/Azure/sdk-release-request/issues/5072

---------

Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
2024-07-23 11:44:56 +08:00
Azure SDK Bot 424bfd1b50
Post release automated changes for openai releases (#30497)
Post release automated changes for azure-openai
2024-07-22 18:00:37 -07:00
Minh-Anh Phan 681de6db5b
[Eng] Set Default for Federated Auth to True (#30163)
### Describe the problem that is addressed by this PR
Remove local federated auth in tests.yml and enable Federated Auth by
default in eng folder
2024-07-22 17:24:20 -07:00
Deyaaeldeen Almahallawi 76ea5a1f2e
[OpenAI] Edit links (#30496)
To point to the main branch rather than the deleted feature branch.
2024-07-23 00:15:06 +00:00
Deyaaeldeen Almahallawi fe595c963c
[OpenAI] Add companion library (#30467)
WIP

---------

Co-authored-by: Minh-Anh Phan <minhanhphan@microsoft.com>
Co-authored-by: Minh-Anh Phan <111523473+minhanh-phan@users.noreply.github.com>
2024-07-22 16:57:28 -07:00
aditishree1 65374d31eb
Add CorrelatedActivityId to response headers and diagnostics (#30359)
### Packages impacted by this PR
@azure/cosmos

### Issues associated with this PR


### Describe the problem that is addressed by this PR
This PR adds correlated activity id to response and error headers and
diagnostics.

### 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: Aditishree . <adlnu@microsoft.com>
2024-07-23 05:18:45 +05:30
Hector Hernandez f1ecbf942e
[monitor-opentelemetry] Fix issue with standard metrics dependency cardinality (#30468)
### Packages impacted by this PR
@azure/monitor-opentelemetry

### Issues associated with this PR
https://github.com/microsoft/ApplicationInsights-node.js/issues/1342
2024-07-22 12:23:48 -07:00
EmmaZhu-MSFT fb7ab94e61
[Storage]Bump package version, upgrade @azure/core-tracing dependency (#30437)
### 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)

---------

Co-authored-by: Jeremy Meng <jeremy.ymeng@gmail.com>
2024-07-22 08:54:44 -07:00
aditishree1 4516e1b8fb
updated non-streamable query in README (#29782)
### Packages impacted by this PR
@azure/cosmos

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Updated non-streamable cross-partition query in README

### 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: Aditishree . <adlnu@microsoft.com>
2024-07-22 09:44:22 +05:30
aditishree1 7ace3facf4
[cosmos]update Changelog for 4.0.1 (#30106)
### Packages impacted by this PR
@azure/cosmos

### Issues associated with this PR
This PR adds v4 features in changelog.

### 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: Aditishree . <adlnu@microsoft.com>
2024-07-22 09:43:18 +05:30
Glenn Harper 9663ddbf7a
[AI] [Inference] chat and embeddings regression tests (#30478)
### Packages impacted by this PR
@azure-rest/ai-inference

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Add regression tests for chat completions and embeddings routes

### 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-07-20 13:15:34 -04:00
Ryan Hurey 95c6595d93
Update tests with environmental changes (#30464)
### 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
Test cases were failing on playback due to environment
mis-configuration.

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

### 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-07-19 09:17:48 -04:00
Scott Addie 6f78d49242
Reformat DefaultAzureCredential flow chart (#30465)
**Summary of changes**
- Improve use of horizontal space
- Bump the CLI version requirement
2024-07-19 12:13:53 +00:00
rajuanitha88 abb870bb93
Use federated auth for ACS SDKs (#30344)
Changes:
In order to move away from Secret based authentication, we want to adopt
FIC.
For the same azure-sdk team has added the support and we need to use
service connection for our live test pipelines to access our test
resources.
2024-07-18 14:31:25 -07:00
Maor Leger acc1168630
[identity] Clean up samples (#30461)
Clean up some identity samples
2024-07-18 13:34:44 -07:00
Ryan Hurey d927ca5702
Prep for ImageAnalysis Beta3 (#30460)
### 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
Changelog and user agent update for beta-3

### Are there test cases added in this PR? _(If not, why?)_
No. Version update only.

### 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-07-18 15:39:00 -04:00
Hector Hernandez dcf717c9d2
[monitor-opentelemetry] Add support for Azure Functions v4 types (#30452)
### Packages impacted by this PR
@azure/monitor-opentelemetry

### Issues associated with this PR
https://github.com/microsoft/ApplicationInsights-node.js/issues/1332
2024-07-18 11:36:57 -07:00
Ryan Hurey 35cfc70047
Add EntraID support to ImageAnalysis RLC (#30451)
### 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
Re-generated the client to pick up a TypeSpec change that added EntraID
support.
Added test case for above.
Modified readme to show use of DefaultAzureCredential

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

### Provide a list of related PRs _(if any)_
https://github.com/Azure/azure-rest-api-specs/pull/28482

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_
2024-07-18 11:25:49 -07:00
koen-mertens 96c6a45859
Radiology insights ga (#29374)
### 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)

---------

Co-authored-by: Karolien Gellynck <kgellynck@microsoft.com>
Co-authored-by: Karolien Gellynck <karoliengellynck@hotmail.com>
Co-authored-by: Karolien Gellynck <138193722+KarolGel@users.noreply.github.com>
Co-authored-by: tomsft <138026577+tomsft@users.noreply.github.com>
Co-authored-by: kumarajay <kumarajay@microsoft.com>
2024-07-18 11:18:42 -07:00
Minh-Anh Phan 23705058f3
[Attestation, Confidential Ledger, Language, Mixed Reality] Test Suite Migration (#30397)
### Packages impacted by this PR
- Attestation - Live pipeline passes
[here](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3962859&view=results)
- Confidential Ledger - Live pipeline passes
[here](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3957828&view=results)
- Remote Rendering - Live pipeline passes
[here](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3963016&view=results)
- Text Analytics - Live pipeline passes
[here](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3963103&view=results)
- Language Text - Live pipeline passes
[here](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3970838&view=results)

### Describe the problem that is addressed by this PR
Migrate the test suites for the above services to use Federated Auth.
Skip failing tests in the live pipeline for Text Analytics & Language
Text with a tracking issue here #30395
2024-07-18 10:23:27 -07:00
Glenn Harper 1e8e7e0edf
[AI] [Inference] use createTestCredential for tests (#30450)
### Packages impacted by this PR
@azure-rest/ai-inference

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Uses Entra ID for testing

### 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-07-18 07:29:30 -07:00
Manik Khandelwal 9a9ac5b1d3
[Cosmos] Vector Search feature (#29946)
### Packages impacted by this PR
@azure/cosmos

### Issues associated with this PR
This PR adds vector indexes, vector embedding policy and vector queries
to enable Vector Similarity Search in Cosmos DB.

The vector embedding policy, part of the container-level settings,
includes details like the dimensions of embeddings, their data type, and
the method used to measure similarity between vectors.

Additionally, it introduces a new feature called Vector Indexes in the
Indexing policy, similar to composite or spatial indexes. These indexes
specify which paths are indexed and the type of indexing applied for
improved search performance.

This PR also contains sample about the usage of these newly introduced
fields.

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

### 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: Manik Khandelwal <mkhandelwal@microsoft.com>
Co-authored-by: Aman Rao <amanrao@microsoft.com>
2024-07-18 06:27:53 -07:00
Maor Leger 8680d63a18
[identity] Use MCR for as docker registry (#30442)
### Packages impacted by this PR

@azure/identity 


We're getting rate-limited by dockerhub - this PR switches to use mcr's
mirror for our CI pipeline.
2024-07-17 15:34:14 -07:00
Azure SDK Bot 83b2ea9d76
Post release automated changes for identity releases (#30448)
Post release automated changes for azure-identity
2024-07-17 13:38:01 -07:00
Vinothini Dharmaraj 44c6dffede
updating the version number (#30176)
Updating the alpha version number
2024-07-17 12:47:05 -07:00
Maor Leger b3c04fb87f
[identity] Prepare identity for July beta release (#30443) 2024-07-17 10:25:57 -07:00
aditishree1 f13baff442
[cosmos] Enable support for composite Indexing policy (#30438)
### Packages impacted by this PR

@azure/cosmos

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

### Describe the problem that is addressed by this PR
The NodeJS Cosmos SDK does not support adding Composite Indexes, the
Indexing Policy has no such property. This PR addresses that issue

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

### 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: Manik Khandelwal <mkhandelwal@microsoft.com>
Co-authored-by: Aditishree . <adlnu@microsoft.com>
2024-07-17 11:09:30 -05:00
EmmaZhu-MSFT 4fde7e9b2b
[Storage]Added to pack referenced files under storage-blob folder. (#30306)
[Storage]Added to pack referenced files under storage-blob folder.
### 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-07-17 10:44:58 +08:00
Glenn Harper a0a17f3417
[AI] [Inference] add embeddings routes, sync with latest TypeSpec (#30379)
### Packages impacted by this PR
@azure-rest/ai-inference

### Issues associated with this PR


### Describe the problem that is addressed by this PR
add embeddings routes, sync with latest TypeSpec

### 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-07-16 19:31:07 -04:00
Maor Leger 1d9920a9f5
[identity] Use MSAL for Managed Identity (#30172)
### Packages impacted by this PR

@azure/identity

### Issues associated with this PR

Resolves #25253

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

With MSAL implementing Managed Identity via the
ManagedIdentityApplication, we
want to migrate our existing legacy implementation to use MSAL instead.

This PR:
- Creates a msalMsiProvider that implements the MSAL MSI flow
- Moves ManagedIdentityCredential to use msalMsiProvider under the hood

Some implementation details:
- TokenExchangeMsi is _not_ supported by MSAL and we expect to continue
supporting it as a special handler
- IMDS probing is _not_ supported by MSAL and we expect to continue
probing and failing-fast as a special handler

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

#30045
2024-07-16 15:54:41 -07:00
Jeremy Meng 25e9d423af
[apimanagement] remove console.log from bundling command output (#30430)
so that rush doesn't treat successful builds as completed with warnings

-------

### Packages impacted by this PR
@azure/api-management-custom-widgets-scaffolder
2024-07-16 13:52:55 -07:00
Jeremy Meng 1b71788c5c
[EngSys] upgrade dev dependency `prettier` to 3.3.3 (#30429)
There's some behavior change that adds parentheses for nullish coalescing in
ternary.  So we will need to re-format our code base.

- remove prettier from packages that don't need them since we run the vendored
version via dev-tool
2024-07-16 13:52:10 -07:00
Minh-Anh Phan 70ea132759
[Digital Twin Core] Migrate Test Suite (#30396)
### Packages impacted by this PR
@azure/digital-twins-core

### Issues associated with this PR
#30395
#29699

### Describe the problem that is addressed by this PR
Migrate test suite to use federated authentication. Skip 1 test that is
failing in the live pipeline. Tracking issue is linked to this PR
2024-07-16 12:15:21 -07:00