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

16491 Коммитов

Автор SHA1 Сообщение Дата
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
Deyaaeldeen Almahallawi 0b1a9eb210
Add typechecking to vitest.shared.config.ts (#30427)
To enable typechecking test suites, otherwise type errors will go
silent. See https://vitest.dev/config/#typecheck
2024-07-16 11:05:40 -07:00
Deyaaeldeen Almahallawi 4e867553ff
[Event Hubs] Revert GeoDR earliestPosition change (#30425)
### Packages impacted by this PR
@azure/event-hubs

### Issues associated with this PR

N/A

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

The service doesn't recognize the GeoDR representation of earliest
position causing tests to fail. This PR reverts this change for now
until the service is updated.

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

N/A

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

https://github.com/Azure/azure-sdk-for-js/pull/30191/

### 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-07-16 10:45:28 -07:00
Sarangan Rajamanickam c8b33a367f
[@azure/eventgrid] Fix Timestamp deserialization (#30399)
### Packages impacted by this PR

@azure/eventgrid

### Issues associated with this PR

NA

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

Fix Timestamp deserialization


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

No special design considerations

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

No

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

https://github.com/Azure/azure-sdk-for-net/pull/44982

### 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-07-16 10:13:36 -07:00
Azure SDK Bot 2332bfd287
Post release automated changes for appconfiguration releases (#30416)
Post release automated changes for azure-app-configuration
2024-07-16 09:19:13 -07:00
Azure SDK Bot f6cffeed9e
Post release automated changes for identity releases (#30424)
Post release automated changes for azure-identity

---------

Co-authored-by: Maor Leger <maorleger@users.noreply.github.com>
2024-07-16 15:45:06 +00:00
Jeremy Meng b93b62368b [EngSys] remove tsconfig.package.json
which only extends from tsconfig.json.  There might be more customization for
packages in the early days but not any more.

This PR removes it and updates packages to extends tsconfig.json directly

***NO_CI***
2024-07-16 13:27:25 +00:00
Wes Haggard 92c0ef8c70
Add logging for partner publish pipeline (#30418) 2024-07-15 16:02:19 -07:00
Maor Leger b92d9212e9
[identity] Update documentation to call out lack of ExcludeXXXCredential support (#30413)
### Packages impacted by this PR

@azure/identity

### Issues associated with this PR

Resolves #30119

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

Updates the troubleshooting doc to call out the lack of parity in
Identity's DAC options. Most customers have the base expectation that all tier-1
languages have feature parity so we should document areas where the SDKs differ.

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

#30120

---------

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2024-07-15 23:00:23 +00:00
Maor Leger bb67a8f6a7
[identity] Fix build failures (#30415)
### Packages impacted by this PR

@azure/identity

### Issues associated with this PR

N/A nightly failures

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

on 7/1 AKS released a new patch version, but we have the older version
hardcoded. As a result, deploy-test-resources started failing.

This PR updates the test-resources-pre script to fetch the latest
available AKS version.
2024-07-15 15:05:37 -07:00
Minh-Anh Phan ad65a17b67
[App Config] Update Etag parsing for list configuration setting (#30384)
### Packages impacted by this PR
@azure/app-configuration

### Issues associated with this PR
#30282
2024-07-15 13:17:18 -07:00
Manik Khandelwal f0ac28977d
[Cosmos] Split/Merge support for Bulk API (#28725)
### Packages impacted by this PR
@azure/cosmos

### Issues associated with this PR
[Split Proof Bulk / Batch / Patch APIs in Cosmos JS SDK · Issue #18682 ·
Azure/azure-sdk-for-js
(github.com)](https://github.com/Azure/azure-sdk-for-js/issues/18682)
At present, if the bulk API SDK encounters a partition merge or split
during the process, it returns an error. Please review the process
outlined below:


![image](https://github.com/Azure/azure-sdk-for-js/assets/113669638/99a15e72-b019-48e5-bc02-d9f064e6309d)


### Describe the problem that is addressed by this PR
This PR ensures that the Bulk API is resistant to partition splitting
and merging.

### 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've implemented a BFS (breadth-first search) based approach. This
method involves splitting batch items according to the new partition
range and adding them back to the FIFO queue(newly introduced) to manage
partition splits/merges. Please refer to the following process for more
details.

![image](https://github.com/Azure/azure-sdk-for-js/assets/113669638/33648faa-d06d-47b0-b017-4097bed56b92)


### 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>
2024-07-16 00:20:57 +05:30
Maor Leger f0418a6871
[identity] Prepare identity for July release (#30286) 2024-07-15 08:06:06 -07:00
ZiWei Chen e506615a53
[mgmt] informaticadatamanagement release (#30388)
https://github.com/Azure/sdk-release-request/issues/5065
2024-07-15 15:53:08 +08:00
Jeremy Meng 13408d4f2e
[EngSys] add a pipeline that can be manually triggered (#30269)
to lint and build all packages. This can be used to valid changes that
touches
large number of files, and are skipping CIs.

---------

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2024-07-12 14:33:41 -07:00
Azure SDK Bot 87dfa84d02
Sync eng/common directory with azure-sdk-tools for PR 8598 (#30363)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8598 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-07-12 17:17:33 -04:00
Jeremy Meng e6737fc679
[EngSys] remove `downlevelIteration` typescript option (#30398)
It helps old JS runtimes that only support ES 5 but we moved to ES 6
long time ago
and now moved to ES2017. Most of our packages don't have this option.
This PR
removes its usage.
2024-07-12 12:34:56 -07:00
Jeremy Meng 5dd28937bc
[EngSys] remove outdated tools (#30394)
- Management packages now support token credentials
- ESM workaround no longer used now that we moved to tsx loader
2024-07-12 11:37:44 -07:00
Jackson Weber 912371e1fe
[Monitor OpenTelemetry] Update Live Metrics Instrumentation Key to be Set by Env Var (#30274)
### Packages impacted by this PR
@azure/monitor-opentelemetry

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Live Metrics instrumentation key should still be set when an env var is
used to initialize the SDK. This functionality is also important for the
OpenTelemetry agent live metrics process.

### 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-07-12 09:19:00 -07:00
Jeremy Meng 088c2a9c61
[CODEOWNERS] add an entry for /common/tools (#30393)
and cover eslint-plugin-azure-sdk-helper directory too
2024-07-12 08:45:32 -07:00
Matthew Podwysocki 880162583e
[monitor] update to latest OTEL (#30360)
### Packages impacted by this PR

- @azure/monitor-opentelemetry-exporter
- @azure/monitor-opentelemetry
- @azure/monitor-query
- @azure/opentelemetry-instrumentation-azure-sdk

### Issues associated with this PR

- https://github.com/Azure/azure-sdk-for-js/issues/30324
- https://github.com/Azure/azure-sdk-for-js/issues/30323
- https://github.com/Azure/azure-sdk-for-js/issues/30322
- https://github.com/Azure/azure-sdk-for-js/issues/30321
- https://github.com/Azure/azure-sdk-for-js/issues/30320
- https://github.com/Azure/azure-sdk-for-js/issues/30318
- https://github.com/Azure/azure-sdk-for-js/issues/30317
- https://github.com/Azure/azure-sdk-for-js/issues/30316

### 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-12 08:39:22 -07:00
Azure SDK Bot b48aac8faf
Post release automated changes for core releases (#30389)
Post release automated changes for azure-rest-core-client
2024-07-12 07:33:57 -07:00
Jeremy Meng 46e1d53039
[core-amqp] add react-native version for some utilities (#30350)
similar to PR https://github.com/Azure/azure-sdk-for-js/pull/30080

-------

### Packages impacted by this PR
`@azure/core-amqp`

### Issues associated with this PR

https://github.com/Azure/azure-sdk-for-js/issues/30065
2024-07-12 07:32:28 -07:00
Deyaaeldeen Almahallawi 6b2c45d7ee
[Vite Browser Map] Fix types (#30372)
### Packages impacted by this PR
@azure/-tools/vite-plugin-browser-test-map

### Issues associated with this PR

N/A

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

The type declaration file wasn't set in package.json and the return type
of the plugin function was too permissive causing type errors when
imported.

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

N/A

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

N/A

### 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)_
- [ ] Added a changelog (if necessary)
2024-07-12 06:42:16 -07:00
Minh-Anh Phan 3888ad0535
[core-client-rest] Update Serialization Check Logic (#30339)
### Describe the problem that is addressed by this PR
Currently, all request body that has content types that start with
"application/json" will be serialized by the `getRequestBody` function.
This is an issue for Schema Registry because the request body has
already been serialized and the content type also starts with
"application/json". Reordering the serialization method to check for
`Uint8Array` before checking for "application/json" would eliminate this
problem.

### 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?
- Add an option called `skipSerialization` in the internal options bag
for sending request. It'll affect the RLC experience and force the
customer to use this option to make a successful request
- Check for specific content types. It'll be limited in scope and affect
other services that also has a similar content type format
2024-07-11 21:24:25 +00:00
Jackson Weber 6fbc9881c4
[Monitor OpenTelemetry] Update Web Snippet (#30352)
### Packages impacted by this PR
@azure/monitor-opentelemetry

### Describe the problem that is addressed by this PR
Updates the @microsoft/applicationinsights-web-snippet package to the
latest version.

### 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-07-11 10:34:13 -07:00
Azure SDK Bot da9cf5306a
Sync eng/common directory with azure-sdk-tools for PR 8588 (#30364)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8588 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-07-11 13:26:29 -04:00
Jeremy Meng 0b12a530af
[CODEOWNERS] Adding js-core team to specific sdk/core sub folders (#30370)
while still keeping individual owners as Subject Matter Experts
2024-07-11 10:04:16 -04:00
Glenn Harper b9605b5f8d
[AI] [Inference] add image url test (#30362)
### Packages impacted by this PR
@azure-rest/ai-inference

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Adds a test for vision model to read and describe an image url

### 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-10 19:26:21 -04:00
Jeremy Meng 05b9cc7a05
[EngSys] unpin @microsoft/applicationinsights-web-snippet version (#30369)
Now that https://github.com/microsoft/ApplicationInsights-JS/issues/2369
has
been fixed.

Revert "[EngSys] temporarily pin
@microsoft/applicationinsights-web-snippet version (#30233)"

This reverts commit 1df8d78576.
2024-07-10 23:21:28 +00:00
Azure SDK Bot 0d842e8a4e
Post release automated changes for core releases (#30368)
Post release automated changes for azure-logger
2024-07-10 23:11:43 +00:00
Jeremy Meng ccd66b77cc
[eslint-plugin] upgrade typescript-eslint dependencies to ~7.16.0 (#30365)
Two places were missed in previous PR of upgrading to 7.15.0 so linting
still
warn about TypeScript 5.5. This PR fixes the warnings too.
2024-07-10 15:16:03 -07:00
Azure SDK Bot 0da88642fe
Sync eng/common directory with azure-sdk-tools for PR 8597 (#30366)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8597 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-07-10 14:26:52 -07:00
Sarangan Rajamanickam f9e4e1ff16
[@azure/eventgrid-namespaces][@azure/eventgrid]Migrate EventGrid Packages away from Local Authentication (#30309)
### Packages impacted by this PR

1. @azure/eventgrid-namespaces 
2. @azure/eventgrid

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

### Describe the problem that is addressed by this PR
This PR has been created to move the eventgrid packages away from Local
Authentication. The migration guide has been used for reference.

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

No special design consideration.

### Are there test cases added in this PR? _(If not, why?)_
NA. Existing test cases are sufficient.

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

### 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)_
- [ ] Added a changelog (if necessary)
2024-07-10 12:56:51 -07:00
Jeremy Meng 1cd9184029
[test][ACR] move to use federated auth (#30173)
- bump @azure-tools/test-credential to ^2.0.0
- remove env vars that are no longer used from tests.yml
- update karma.config.js to remove env vars
- remove unused env vars from test utils
- remove unused env vars from sample.env
- bump dev dep `@azure/identity` version to ^4.2.1
- re-publish samples

---------

Co-authored-by: Timo van Veenendaal <timov@microsoft.com>
2024-07-10 10:36:36 -07:00
ZiWei Chen 3a1fa84aa6
[mgmt] redisenterprisecache release (#29679)
https://github.com/Azure/sdk-release-request/issues/5176
2024-07-10 14:27:57 +08:00
EmmaZhu-MSFT fa77fc670f
[Storage] Correct content-length header with request body length (#30186)
### 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-10 11:41:31 +08:00
Scott Addie 2506834140
Update bug_report.md (#30347)
Update API ref site link to the newer form to avoid a redirect
2024-07-10 00:52:09 +00:00
Sarangan Rajamanickam 89764af4af
Update tests.yml for Azure Pipelines (#30353) 2024-07-09 21:31:35 +00:00
Jeff Fisher b440bf5581
[CODEOWNERS] Add rule for mgmt review files (#30348)
### Describe the problem that is addressed by this PR

This PR does two things:

- Adds a new more specific rule for api.md files inside of Mgmt packages
to ensure @qiaozha and @MaryGao can approve changes to ARM packages.
- Cleans up our manual listing of deputies for api.md reviews to be the
core review team since it was mostly redundant.
2024-07-09 16:16:21 -05:00
Jeremy Meng d33192b981
[core-logger] Prepare for 2024 July release (#30351)
- Update CHANGELOG
2024-07-09 14:04:51 -07:00
Scott Addie 6aa191c967
Update Samples link in Azure Identity README (#30346)
Don't pin the samples link to the v2 folder. Instead, drop the reader in
the main samples directory and allow them to select a version/sample
folder.
2024-07-09 19:14:25 +00:00
Jeremy Meng 6e5ec16450
[samples][identity] remove v3-beta samples directory (#30329)
as v3 and v4 have been GA'd and samples for them have been published,
there's no
value in keeping v3-beta directory.  This PR deletes it.
2024-07-09 11:26:59 -07:00
Jeremy Meng d13d9d36f9
[CODEOWNERS] add an entry for ai-translation-document-rest (#30330)
Resolves issue https://github.com/Azure/azure-sdk-for-js/issues/30236

---------

Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
2024-07-09 11:06:55 -07:00
Sarangan Rajamanickam 1cab34e443
[@azure/monitor-query][@azure/monitor-ingestion] Migrate Monitor Packages away from Local Authentication (#30209)
### Packages impacted by this PR
1. @azure/monitor-query
2. @azure/monitor-ingestion

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

### Describe the problem that is addressed by this PR
This PR has been created to move the monitor packages away from Local
Authentication. The migration guide has been used for reference.

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

### Are there test cases added in this PR? _(If not, why?)_
NA. Existing test cases are sufficient.

### Provide a list of related PRs _(if any)_
1. https://github.com/Azure/azure-sdk-for-js/issues/29699
2. https://github.com/Azure/azure-sdk-for-js/issues/30308

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

---------

Co-authored-by: Minh-Anh Phan <111523473+minhanh-phan@users.noreply.github.com>
2024-07-09 10:49:15 -07:00
Jeremy Meng 7f676765ce
[core] prepare for 2024 July release (#30336)
- update CHANGELOG entries
2024-07-09 09:27:03 -07:00
Jeremy Meng d3446abaf1
[Storage] fix broken unit-test after typescript 5.5.3 upgrade (#30334)
Not exactly sure what changes cause this error:

>[node-tests] Exception during run: ../storage-common/src/index.ts(4,1):
error TS2354: This syntax requires an imported helper but module 'tslib'
cannot be found.

It seems to only happen for shared source when running unit tests and
could be
related to `tsx` loader since normal tsc build works fine.

This PR change `export *` to export items explicitly.

-------

### Packages impacted by this PR
`@azure/storage-*`
2024-07-09 09:21:52 -07:00
Jeremy Meng 8b5718945b
[generate-doc] skipping doc generation for non-package files (#30338)
We have shared source code directories like storage-common which are not
real packages. They
now cause latest `typedoc` to crash. We don't have a usage scenario so
this PR
skips directories that don't have a package name.
2024-07-09 09:19:57 -07:00
Jackson Weber 42dab5b48e
[Monitor OpenTelemetry Exporter] Fix OTel Version and Resolve Async Issues with Logs Test (#30331)
### Packages impacted by this PR
@azure/monitor-opentelemetry-exporter

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Fix failing exporter test for logs.

### 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-07-08 16:06:33 -07:00