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

2507 Коммитов

Автор SHA1 Сообщение Дата
Matthew Podwysocki 9fcee80f1a
[core] Add README snippets for core (#31204)
### Packages impacted by this PR

- @azure/dev-tool
- @azure/abort-controller
- @azure/core-amqp
- @azure/core-auth
- @azure/core-client
- @azure-rest/core-client
- @azure/core-http-compat
- @azure/core-lro
- @azure/core-paging
- @azure/core-rest-pipeline
- @azure/core-tracing
- @azure/core-util
- @azure/core-xml
- @azure/logger
- @typespec/ts-http-runtime

### Issues associated with this PR


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

Adds snippets extraction to core.

### 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-25 09:35:12 -04:00
ZiWei Chen 99409f1826
[mgmt] mongocluster preivew release (#31124)
https://github.com/Azure/sdk-release-request/issues/5488

---------

Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
2024-09-25 19:51:07 +08:00
Daniel Getu 3398d73db5
[Search] Regenerate with 2024-09-01-preview spec (#31133) 2024-09-24 23:34:03 -07:00
Jeremy Meng 13f5beb45a
[eslint-plugin] turning off some rules for test/snippets.spec.ts (#31205)
as its code is meant to be included in docs and not required to be
perfect.
2024-09-24 14:06:22 -07:00
Jeremy Meng 3b67e63dcd
[dev-tool] generate merged api.json from subpath exports (#31164)
This PR creates a merged api.json file from individual api.json files of
subpath exports. The `ApiModel` type from api-extractor-model already
allows multiple `EntryPoint` but so far only one is added.

With this new file, we can also attach more information to the
`metadata` properties. Even though they are not loaded by `ApiModel`, we
could still read that information from the file directly. This saves us
from having to upload multiple files to ApiView.
2024-09-23 16:52:22 -07:00
Minh-Anh Phan 2d2ccf5e42
[Dev-Tool] Update the build-test command to check for browser files (#31184)
### Describe the problem that is addressed by this PR
The current overrides for the browser specific files only replace them
if they are under "src" directory. This PR adds the "test" directory for
test coverage
2024-09-23 10:31:24 -07:00
Azure SDK Bot cf51ccd040
[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-23 09:41:08 -07:00
Matthew Podwysocki 8597959155
[dev-tool] Add snippets extraction (#31143)
### Packages impacted by this PR

- @azure/dev-tool

### Issues associated with this PR

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

This PR implements a new dev-tool command: `dev-tool run
update-snippets`.

This command looks for code fences in markdown files and JSDoc comments,
and updates them with the contents of test methods in a file named
`snippets.spec.ts`.

For example, the following fence indicates that the contents of a test
named "new_configurationclient" should be used:

````
```js snippet:new_configurationclient
```
````

After running `dev-tool run update-snippets`, the contents of the
snippet will be populated:

````
```js snippet:new_configurationclient
import { ConfigurationClient } from "@azure/template";
import { DefaultAzureCredential } from "@azure/identity";

const client = new ConfigurationClient(
  "<app configuration endpoint>",
  new DefaultAzureCredential()
);
```
````

To accomplish this, the command uses the TypeScript compiler API to
extract and transpile snippets from `snippets.spec.ts`. Snippets are the
contents of calls to the `it` function. If syntax with the shape
`it(<literal string>, <function with block>)` appears in
`snippets.spec.ts`, it will be considered a snippet that is valid for
injection.

("Function with block" means either a `function () { ... }` expression
or an arrow function with a block on the arrow side (`() => { ... }`).
An arrow function that has an expression on the right hand side (`() =>
(...)`) will not be recognized.)

For example:

```ts
  it("new_configurationclient", function () {
    // @ts-ignore
    const client = new ConfigurationClient(
      process.env.ENDPOINT ?? "<app configuration endpoint>",
      new DefaultAzureCredential()
    );
  });
```

The transpiler automatically "cleans" and validates the snippet using
similar techniques as the sample transpiler. As a result, it enforces
the same syntactic rules that the sample transpiler does. In addition to
those, it removes references to `process.env` (if an alternative is
specified), removes compiler pragmas like `// @ts-ignore`, and
automatically inserts imports for symbols that the snippet uses. So in
the above snippet, imports for `ConfigurationClient` and
`DefaultAzureCredential` are required, automatically detected, and
injected into the resulting snippet.

Snippets without `snippet:${name}` tags are _errors_ when using this
command, so a package must be fully migrated to use it.

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

- #24536

### 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-20 19:05:10 -04:00
Jeremy Meng e11ec1aa1d
[eslint-plugin] ignore *.api.md files from linting (#31180)
### Packages impacted by this PR
`@eslint-plugin-azure-sdk`
2024-09-20 12:31:41 -07:00
Jeremy Meng a7b3656a05 [EngSys] upgrade dev dependency `typescript` version to `~5.6.2`
***NO_CI***

- replace version to "~5.6.2"
- rush update
- add `"skipLibCheck": true` for several packages that are affected by https://github.com/vitest-dev/vitest/issues/4688

- [formrecognizer] help TypeScript to understand with more explicit type

- [schema-registry-{avro,json}] skip lib check due to lru-cache issue with the Iterator TReturn change

https://github.com/isaacs/node-lru-cache/issues/348
2024-09-19 18:07:31 -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
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
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
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
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
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
Jeremy Meng bc7574ebf7
[Test] downgrade test-credential to v1 for Service Bus tests (#30913)
as it hasn't been migrated to vitest yet.
2024-09-10 13:41:49 -07:00
Azure SDK Bot f756c33c74
[EngSys] automatic rush update --full (#31034)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-09-09 12:54:32 -07:00
ZiWei Chen 8ddc182af9
[mgmt] eventhub release (#30454)
https://github.com/Azure/sdk-release-request/issues/5318
2024-09-06 09:59:59 +08:00
ZiWei Chen 59d3d9a346
[mgmt] billing release (#30990)
https://github.com/Azure/sdk-release-request/issues/5457
2024-09-05 15:22:10 +08:00
Jackson Weber 14a1dc5156
[monitor] Update OTel Dependencies (#30980)
### Packages impacted by this PR
@azure/monitor-opentelemetry
@azure/monitor-opentelemetry-exporter
@azure/monitor-query
@azure/opentelemetry-instrumentation-azure-sdk

Updates OpenTelemetry dependencies.

### 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-04 17:05:22 -04:00
Azure SDK Bot c1db23f973
[EngSys] automatic rush update --full (#30973)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-09-03 07:09:09 -07:00
Jeremy Meng b7e1fd2698
[eslint-plugin] fix `ts-modules-only-named` invalid test cases (#30924)
There's some change in `typescript-eslint` that breaks some eslint test
cases.
Previously when running tests, in a rule's `create()` method, we get a
relative
path for `context.filename`, and when we pass a setting of `{ main:
"src/test.ts" }` in rule tester option, the two were considered the same
file,
therefore the following condition check failed, and we continue to
report error
for default exports.


6dd8b582e2/common/tools/eslint-plugin-azure-sdk/src/rules/ts-modules-only-named.ts (L31)

After the upgrade, `context.filename` now contains the full path, the
file
`src/test.ts` in our test fixture has a full path of
`/.../common/tools/eslint-plugin-azure-sdk/tests/fixture/src/test.ts`.
It is not
considered the same file as the passed settings implies
`/.../common/tools/eslint-plugin-azure-sdk/src/test.ts` when we run the
tests.
So we return earlier instead of going to check for default exports.

This is not an issue in real scenario where we have settings of `{ main:
"src/index.ts" }`, which would match the full path of the file we are
linting
when we run `eslint` from a package directory.

This PR fixes the test by passing `tests/fixture/src/test.ts` in the
settings so
that it matches the full path of `context.filename` we get in
`create()`.
2024-08-28 14:52:44 -07:00
ZiWei Chen f55aa15db3
[mgmt] hdinsight release (#30733)
https://github.com/Azure/sdk-release-request/issues/5414
2024-08-28 10:10:50 +08:00
Jeremy Meng 06529fc7d9
[EngSys] re-enable rush build cache (#30818)
Use AzureCLI@2 task to generate a SAS for cache write credential so we
don't need to store secrets anymore.
2024-08-27 14:24:31 -07:00
Jeremy Meng d5f6d677ec [EngSys] standardize OSS copyright header
- [eslint-plugin] github-source-headers rule should use "MIT License".

  This change updates our linter rule and the whole repository to have consistent
  license header.

***NO_CI***

- remove "All rights reserved." from header

- "MIT license" => "MIT License"
2024-08-27 13:01:38 -07:00
Jeremy Meng 7029a9a745
[dev-tool] add command to type check files not being built by tshy (#30810)
In our current setup, tshy won't build test and samples-dev folder even
they are
included in tsconfig.json. This PR adds a command that does the
type-checking
for all files included in tsconfig.json, and allow additional files to
be passed
in as well.
2024-08-27 09:23:48 -07:00
Jeremy Meng 6041bc3950
[eslint-plugin] add an override to turn off tsdoc/syntax for samples-dev (#30902)
because dev-tool is using @summary and @azsdk-weight when publishing
samples.
2024-08-26 16:18:45 -07:00
Jeremy Meng bf2a1f74bf
[EngSys] upgrade dev dependency `@eslint/js` to ^9.9.0 (#30901)
to be consistent with `eslint` version.

Also removed the eslint plugin helper. It was added to help
vscode-eslint
extension to resolve plugin packages. With flat config it is no longer
needed.
2024-08-26 16:08:52 -07:00
Azure SDK Bot 98c96590fc
[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-08-26 09:48:52 -07:00
Jeremy Meng 0a7913a414 remove temporary logging 2024-08-23 17:04:42 -07:00
Jeremy Meng c34a1c6482 skip linting for config files for the two packages that don't depend on dev-tool 2024-08-23 16:38:09 -07:00
Jeremy Meng 5adb09d715 [engsys] upgrade dev dependency eslint to v9
***NO_CI***

- bump eslint version to ^9.9.0
- [eslint-plugin] remove eslint-plugin-import for now. Will re-visit until it supports eslint v9
2024-08-23 16:37:40 -07:00
Jeremy Meng 038ed97cd2
[eslint-plugin] fix tests after upgrading typescript-eslint (#30889)
- adjust options passed `RuleTester` constructor
- remove `recommended` property that no longer exists
- use `output` of array to indicate multi-pass fixes with overlapping
range
- temporarily disable two test cases of ts-modules-only-named suite.
2024-08-23 16:13:22 -07:00
Jeremy Meng 2ce3c5feb4 [eslint-plugin] upgrade typescript-eslint to v8
***NO_CI***

- bump typescript-eslint dependencies version to ~8.2.0

- [eslint-plugin] suppress new linting errors appearing with v8

- [eslint-plugin] react to removed typescript-eslint property

  related PR https://github.com/typescript-eslint/typescript-eslint/pull/9025

- [eslint-plugin] turn off @typescript-eslint/no-unused-expressions

  as no-unused-expressions is already reported by eslint

- [dev-tool] fix new linting errors

- Remove @typescript-eslint/ban-types that no longer exists

  and replace with more specific rules wherever applicable.

- [cosmosdb] combine the test eslint config with the main one

- delete catch expression when caught error is not used

- fix or suppress linting errors in code files
2024-08-23 10:19:23 -07:00
ZiWei Chen 1c2e977494
[mgmt] hdinsightcontainers release (#30732)
https://github.com/Azure/sdk-release-request/issues/5410
2024-08-23 13:42:13 +08:00
ZiWei Chen e94e5614a1
[mgmt] azurestackhci release (#30873)
https://github.com/Azure/sdk-release-request/issues/5371
2024-08-23 13:40:29 +08:00
Maor Leger 58ac994ec5
[keyvault-certificates] Migrate to ESM and tshy (#30819)
### Packages impacted by this PR

@azure/keyvault-certificates

### Issues associated with this PR

N/A

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

Migrates keyvault-certificates to ESM and tshy
2024-08-22 12:49:35 -07:00
Jeremy Meng 1764824335 add patterns for json and source blocks in markdown
because in flat config, the path is resolved relative to the config file.
The added patterns are for when the central flat config is used.
2024-08-22 11:41:29 -07:00
ZiWei Chen 73d5edced4
[mgmt] netapp release (#30714)
https://github.com/Azure/sdk-release-request/issues/5392
2024-08-22 15:54:45 +08:00
ZiWei Chen 09acdf0d1f
[mgmt] compute release (#30713)
https://github.com/Azure/sdk-release-request/issues/5383
2024-08-22 15:44:04 +08:00
Siddharth Singha Roy 21b1956dcc
Onboard @azure/microsoft-playwright-testing sdk (#30433)
### Packages impacted by this PR
@azure/microsoft-playwright-testing
@azure/create-microsoft-playwright-testing

### Issues associated with this PR


### Describe the problem that is addressed by this PR
- Onboard 2 packages
- @azure/microsoft-playwright-testing: Client library used to integrate
Playwright OSS with Microsoft Playwright Testing service
- @azure/create-microsoft-playwright-testing: Utility library to setup
@azure/microsoft-playwright-testing

#### What does the package do

- Playwright OSS client connects to the service-hosted browsers using
the API provided by Playwright OSS. The package provides an abstraction
over this interaction
- Test results are published from the machine running the tests to the
service.
 
To integrate the service with a Playwright project, users will need to
install a package along with Playwright OSS package. The package is
tightly coupled with Playwright OSS package and also is responsible for
entra id authentication.


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

---------

Co-authored-by: Vansh Vardhan Singh <vanshvsingh@gmail.com>
2024-08-22 10:31:28 +05:30
Jeremy Meng a0f2553fce
[eslint-plugin] turn off `eslint-plugin-n` rules for browsers (#30795)
Add a configuration to turn off all `eslint-plugin-n` rules for browser
code files.

Also remove the redundant `plugins` block in `nCustomization` because
the
plugin's "flat/recommended" config already does that


e5e758ea0c/lib/index.js (L87)

-------

### Packages impacted by this PR

eslint-plugin-azure-sdk
2024-08-21 09:11:32 -07:00
Harsha Nalluru 5586f99081
[Document Intelligence] Generate 1.0.0-beta.3 version (#30373)
- Regeneration done
- Tests in sync with latest src
- Live tests 
- Migrated to ESM and vitest
- Added new tests for the new features
- Added custom code to support 
- the "completed" poller status for batch analysis
`/documentModels/{modelId}:analyzeBatch`
   - getting operation id from the poller
- and the new `/documentModels/{modelId}/analyzeResults/{resultId}/pdf`
and
`/documentModels/{modelId}/analyzeResults/{resultId}/figures/{figureId}`
methods
2024-08-20 22:21:29 +00:00
Maor Leger c6213d531f
[keyvault-common] Migrate to ESM and tshy (#30772)
### Packages impacted by this PR

@azure/keyvault-common

### Issues associated with this PR


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

Migrates keyvault-common to ESM and tshy
2024-08-20 12:00:16 -07:00
Minh-Anh Phan c2459f58ba
[OpenAI] Add Live Test Pipeline (#30506)
### Packages impacted by this PR


### Issues associated with this PR


### Describe the problem that is addressed by this PR
Add live test pipeline for OpenAI service

### 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-08-20 09:16:37 -07:00
Azure SDK Bot 013283a9d0
[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-08-19 08:58:35 -07:00
Jeremy Meng 0854e57c06
[linting] move monitor-opentelemetry-exporter to use flat config (#30792)
- add a config in eslint-plugin-azure-sdk for linting with type
information
- remove .eslint* and replace with eslint.config.mjs
- remove --ext from linting NPM scripts
- fix linting error: URL is now available in global scope on our
supported platforms.
2024-08-16 17:18:54 -07:00
Jeremy Meng 9c2c8eecc2
[eslint-plugin] upgrade `eslint-plugin-no-only-tests` to `^3.3.0` (#30775)
which allows up to remove the fixup as the new version supports flat
config.

-------

### Packages impacted by this PR
eslint-plugin-azure-sdk
2024-08-15 16:03:38 -07:00
Jeremy Meng d53f35436a
[eslint-plugin] enable eslint-plugin-promise for our flat config (#30774)
now that the plugin has flat config support

-------

### Packages impacted by this PR
eslint-plugin-azure-sdk
2024-08-15 16:03:06 -07:00
Jeremy Meng 405c244bb1 [linting] move perf tests to use eslint flat config
***NO_CI***

- add one flat config file for perf tests

- update NPM scripts of these packages to use that flat config for perf tests

  As eslint v8 still not switched to flat config by default, this change
  temporarily uses `cross-env` to set `ESLINT_USE_FLAT_CONFIG=true`

  Once we moved to eslint v9 the env var can be removed.
2024-08-15 10:56:56 -07:00
Maor Leger be4e4c4f9d
[keyvault-admin] Migrate to ESM and tshy (#30743)
### Packages impacted by this PR

@azure/keyvault-admin

### Issues associated with this PR


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

Migrates keyvault-admin to ESM and tshy
2024-08-15 10:48:12 -07:00
Jeremy Meng 732f0502dd
[lint] remove usage of passing internal eslintrc via command line (#30761)
and replacing them with eslint.config.mjs so that both command line
eslint and
the vscode eslint extension can use the same config.

- since vite-plugin-browser-test-map doesn't depend on
eslint-plugin-azure-sdk, add linter dev dependencies and a flat config
to it.

- add an internal flat config to our eslint plugin. use it in added flat
config for test utility packages
2024-08-14 18:37:10 -07:00
Jeremy Meng 40c5e01744
[EngSys] rush update --full to fix inconsistent playwright versions (#30753)
eventhubs-checkpointstore-blob still has playwright 1.45.3 in lockfile.
This PR updates the version to 1.46.0
2024-08-14 13:11:41 -07:00
Jeremy Meng 45dd8373db
[EngSys] fix some inconsistent dependency versions in our tools (#30745)
- use ^ version when possible
- upgrade fs-extra to v11
- unpin cross-env
- unpin @types/express-serve-static-core
2024-08-14 11:59:19 -07:00
Matthew Podwysocki f9d5a5e254
[test-utils] Adding @azure-tools/test-utils-vitest (#30740)
### Packages impacted by this PR

- @azure-tools/test-utils-vitest

### Issues associated with this PR

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

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

Adding in the tracing support and moving the matrix to a new module

### 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>
Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>
2024-08-14 14:05:33 -04:00
Deyaaeldeen Almahallawi 04e383e6f9
Upgrade tshy to v2 (#30747)
And in some cases downgrade from v3 to v2 (in event hubs and in
core-sse).
2024-08-13 16:01:59 -07:00
Deyaaeldeen Almahallawi 8637d50849
[clients] Upgrade vitest to v2 (#30730)
CI failure is unrelated, see
https://dev.azure.com/azure-sdk/public/_build/results?buildId=4046824&view=logs&j=58292cae-3c74-5729-4cfd-9ceee65fe129&t=5e44d412-b571-5a43-3bb4-5c5145c0a5aa.
2024-08-13 13:48:01 -07:00
Jeremy Meng 78671335a4
[EngSys] upgrade dev dependency `puppeteer` to ^23.0.2 (#30727)
- replace v22 version with v23 version
- run `rush update`
2024-08-13 12:05:49 -07:00
Deyaaeldeen Almahallawi d6e1da0636
[core] Upgrade to vitest v2 (#30728) 2024-08-13 10:16:53 -07:00
Haopeng Wang 9643b373cc
Add @azure-rest/batch package (#29306)
### Packages impacted by this PR
@azure-rest/batch

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Add @azure-rest/batch package

### 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
- [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: NickKouds <nickouds@hotmail.com>
2024-08-12 17:45:12 -07:00
Azure SDK Bot 0e27c77f8a
[EngSys] automatic rush update --full (#30716)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-08-12 10:21:40 -07:00
Minh-Anh Phan ffbd3e6fa2
[Test-Credential] Update to Azure Pipeline Credential (#30633)
### Packages impacted by this PR
test-credential

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Update the `createTestCredential` to use Azure Pipeline Credential when
in the Dev Ops env
2024-08-12 09:50:52 -07:00
Matthew Podwysocki 958ceaff57
[core-amqp] Remove polyfills (#30708)
### Packages impacted by this PR

- @azure/core-amqp

### Issues associated with this PR


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

Removes the polyfills for vite and instead injects the given polyfills
for process and Buffer.

### 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-08-10 18:27:20 -04:00
Deyaaeldeen Almahallawi 679254d71e
[core-sse] Fix NodeJS socket behavior (#30707)
### Packages impacted by this PR
@azure/core-sse

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

### Describe the problem that is addressed by this PR
In NodeJS, when the response stream is exhausted and the server closes
the connection, the underlying socket gets set to null. This is
problematic because core-sse is misled by the type of
`http.IncomingMessage.socket` that stipulates the socket is always a
valid object. This PR checks first if the socket is defined before it
closes it.

### 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)_
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)_
- [x] Added a changelog (if necessary)
2024-08-09 17:42:36 -07:00
ZiWei Chen ab4c9cbf41
[mgmt] healthdataaiservices release (#30664)
https://github.com/Azure/sdk-release-request/issues/5387
2024-08-09 09:57:54 -07:00
EmmaZhu-MSFT f2e9d183da
Storage/stg95 (#30681)
[Storage] update to stage 95 versions
2024-08-08 11:26:38 -07:00
Jeremy Meng 95a2b38a63
[eslint-plugin] exports ./prettier.json (#30676)
so that VS Code prettier extension can import it via the "prettier" key
in most of our packages' package.json:

```
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
```

### Packages impacted by this PR
eslint-plugin-azure-sdk
2024-08-07 09:39:14 -07:00
ZiWei Chen d6bab1b74c
[mgmt] appcontainers release (#30407)
https://github.com/Azure/sdk-release-request/issues/5297
2024-08-07 15:05:24 +08:00
Jeremy Meng 664f087275
[eslint-plugin] add `eslint-plugin-n` (#30640)
This allows us to remove usage of the outdated and now archived
`eslint-plugin-node`. This PR

- adds `eslint-plugin-n` and its customization into our `eslint-plugin-azure-sdk`
- updates monitor-opentelemetry* packages to remove dev dependency on the old plugin

### Packages impacted by this PR
- eslint-plugin-azure-sdk
2024-08-05 10:59:53 -07:00
Azure SDK Bot a438b8ae96
[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-08-05 10:03:30 -07:00
Deyaaeldeen Almahallawi 085100584e
[Event Hubs Checkpoint Store Tables] Migrate to TSHY and vitest (#30639)
As the title says.

Live run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4021464&view=results
2024-08-02 22:16:59 -07:00
Deyaaeldeen Almahallawi 55682acf66
[mockhub] Migrate to TSHY and vitest (#30634)
- migrates mockhub to TSHY and vitest
- stubs a test suite
- add a review folder
- migrates samples to be published by dev-tool

/cc @harshanalluru
2024-08-02 16:51:09 -07:00
luc b0d1f9bf63
Update signaling version and Changelog (#30617)
### Packages impacted by this PR
@Azure/communication-chat 

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

- Update the dependency @azure/communication-signaling package version
to fix the regressions in real time notification support in React
Native.
- 
- Update the dependency @azure/core-rest-pipeline package version to fix
the regressions in client response support in React Native.


### 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-08-02 13:49:50 -07:00
Deyaaeldeen Almahallawi 689d583ddf
[Event Hubs Checkpoint Store] Migrate to TSHY and vitest (#30620)
### Packages impacted by this PR
@azure/eventhubs-checkpointstore-blob

### Issues associated with this PR

N/A

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

- migrates to use TSHY and vitest
- uses storage endpoint instead of storage connection string in the
tests
- enables browser testing
- updates test-resources.json accordingly
- fixes a behavior where an error is being wrapped in another

Live tests run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4018408&view=results

### 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-08-02 11:06:26 -07:00
ZiWei Chen d166c6983c
[mgmt] computefleet with modular (#30358)
https://github.com/Azure/sdk-release-request/issues/5256
2024-08-01 10:48:02 +08:00
Deyaaeldeen Almahallawi ea4c874241
[Event Hubs] Fix browser bundling (#30592)
The browser tests are
[failing](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4009481&view=logs&j=8f098e13-557e-5a76-9331-06424800e0fa&t=52fc44a1-b208-5374-c579-e601a962726b)
because some test suites import test-utils that imports chai@^4.0.0
which conflicts with chai@^5.0.0 that vitest depends on. This PR
consolidates the tests that depend on test-utils in one test suite and
excludes it from the browser tests for now.

Live tests run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4013779&view=results
2024-07-31 18:51:12 -07:00
Azure SDK Bot c043ed5226
[EngSys] automatic rush update --full (#30594)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-07-31 14:56:49 -07:00
Jeremy Meng 32e24895a5
[dev-tool] switch to ESLint flat config (#30565)
- add dev dependency to `@eslint/js` and `typescript-eslint`
- add a flat config eslint.config.mjs for dev-tool
2024-07-31 13:04:44 -07:00
ZiWei Chen 77bce1c227
[mgmt] refresh mongocluster (#30374)
fixes https://github.com/Azure/azure-sdk-for-js/issues/30327
2024-07-31 17:40:12 +08:00
Deyaaeldeen Almahallawi a1d93c49ad
[Event Hubs] Migrate to use TSHY and vitest (#30421)
### Packages impacted by this PR
@azure/event-hubs

### Issues associated with this PR

N/A

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

This PR does the following:
- migrates Event Hubs client library to the new world of using TSHY for
building the library and using vitest as the test runner
- consolidates client building in a single module and uses fully
qualified name spaces and token credentials to build clients instead of
using connection strings
- runs mock-hub once instead of in every test module
- disables min/max testing and samples testing because they're not
playing well with TSHY and vitest at the moment. I'll open an issue to
track turning them back on once the testing pipelines have been
upgraded.

Live Tests are passing:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4000037&view=results

### 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-30 12:04:11 -07:00
danielszaniszlo bb555ae72d
Fix dependency versions after testing package (#30564)
### 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-30 09:54:42 -07:00
Azure SDK Bot 1d5d98a632
[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-07-29 09:38:18 -07:00
ZiWei Chen 69d472a72e
[mgmt] network release (#30434)
https://github.com/Azure/sdk-release-request/issues/5305
2024-07-28 20:05:46 +08:00
ZiWei Chen c3ae1398ff
[mgmt] servicefabricmanagedclusters release (#30537)
https://github.com/Azure/sdk-release-request/issues/5375
2024-07-26 16:43:20 +08:00
ZiWei Chen 730ac9f9e1
[mgmt] redhatopenshift release (#30538)
https://github.com/Azure/sdk-release-request/issues/5368
2024-07-26 15:42:57 +08:00
ZiWei Chen 9451f22b6f
[mgmt] hrbridcompute release (#30469)
https://github.com/Azure/sdk-release-request/issues/5333
2024-07-26 14:40:20 +08:00
ZiWei Chen 443561eaff
[mgmt] rediscache release (#30405)
https://github.com/Azure/sdk-release-request/issues/5293
2024-07-26 14:02:42 +08:00
ZiWei Chen 99ad7e50bc
[mgmt] netapp release (#30436)
https://github.com/Azure/sdk-release-request/issues/5309
2024-07-26 13:52:33 +08:00
ZiWei Chen 1591f79cde
[mgmt] compute release (#30423)
https://github.com/Azure/sdk-release-request/issues/5301
breaking caused by
https://github.com/Azure/azure-rest-api-specs/pull/28891
2024-07-26 13:51:02 +08:00
ZiWei Chen 8136945bf9
[mgmt] qumulo release (#30440)
https://github.com/Azure/sdk-release-request/issues/5326
breaking caused by
https://github.com/Azure/azure-rest-api-specs/pull/29673
2024-07-26 13:38:25 +08:00
ZiWei Chen df20dc9902
[mgmt] dataprotection release (#30314)
https://github.com/Azure/sdk-release-request/issues/5277
2024-07-26 10:22:28 +08:00
ZiWei Chen df7179214d
[mgmt] search release (#30014)
https://github.com/Azure/sdk-release-request/issues/5244
2024-07-25 18:37:17 +08: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
ZiWei Chen ddad23e69d
[mgmt] containerservice release (#30390)
https://github.com/Azure/sdk-release-request/issues/5290
2024-07-23 18:18:09 +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
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
Azure SDK Bot 450e4384c1
[EngSys] automatic rush update --full (#30486)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-07-22 10:55:33 -05: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
Azure SDK Bot d367b3b142
[EngSys] automatic rush update --full (#30409)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-07-16 21:26:49 +00: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
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
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 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
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
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
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
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
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
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
ZiWei Chen 3a1fa84aa6
[mgmt] redisenterprisecache release (#29679)
https://github.com/Azure/sdk-release-request/issues/5176
2024-07-10 14:27:57 +08:00
Jeremy Meng a5b44acf25
[EngSys] upgrade @typescript-eslint/* dev dependencies to ~7.15.0 (#30326)
TypeScript 5.5 is supported. No changes impact us.
2024-07-08 10:10:09 -07:00
Azure SDK Bot 189363701c
[EngSys] automatic rush update --full (#30319)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-07-08 09:02:34 -07:00
Driele Neves Ribeiro fd3536cf9c
[DevCenter] Update tsp latest commit (#30033)
Update tsp-location.yaml to point to a commit from main in the spec repo
and regenerate. The previous commit hash was from a branch never merged,
blocking the attempt to release the sdk

After regenerating from latest tsp main, those were the changes
introduced:
* EnvionmentType name was updated to readonly (later fix added on the
typespec)
* PollingHelper and lro packages got updated (updated by code gen). Live
test for the LRO operations was executed and no issue was detected.

Previous PR for current sdk:
https://github.com/Azure/azure-sdk-for-js/pull/29512
APIView: [@azure-rest/developer-devcenter -
apiview.dev](https://apiview.dev/Assemblies/Review/e17096012eb7466a8aab7c74742c6bff?revisionId=b4d2f5f84d98499dacfcc5e7cdd15d52)

---------

Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
2024-07-05 11:53:39 -07:00
ZiWei Chen a9397f7729
[mgmt] Mongocluster with modular (#30102)
Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
Co-authored-by: qiaozha <qiaozha@microsoft.com>
2024-07-05 15:31:41 +08:00
Jeremy Meng 1a09f43108 [EngSys] upgrade dev dependency `typescript` version to `~5.5.3`
***NO_CI***

- also include *.api.md updates due to the following TypeScript 5.5 change

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-5.html#simplified-reference-directive-declaration-emit
2024-07-03 22:24:35 +00:00
Jeremy Meng 48341baf6a
[eslint-plugin] update to check whether package is ESM (#30287)
Previously it was checking the existence of .tshy directory. Now that we
removed
all .tshy the code is broken. This PR updates to check the package.json
instead.
2024-07-03 14:23:23 -07:00
Matthew Podwysocki c8aa2f8fdf [EngSys] Update version of tshy ***NO_CI*** 2024-07-03 18:40:06 +00:00
Jeremy Meng 1880e2f4fe
[dev-tool] fix linting error (#30220)
of


>/datadrive/git/jssdk/common/tools/dev-tool/src/commands/admin/migrate-package.ts
  242:45  error  Unnecessary escape character: \i  no-useless-escape
2024-07-02 16:21:08 -04:00
Jeremy Meng 907b4edd0b
[schemaregistry-avro] upgrade dev dependency `stream` to ^0.0.3 (#30257)
and update pnpm-lock.yaml

Resolves issue https://github.com/Azure/azure-sdk-for-js/issues/30249
2024-07-01 16:51:54 -07:00
Jeremy Meng 1df8d78576
[EngSys] temporarily pin @microsoft/applicationinsights-web-snippet version (#30233)
our `rush update --full` automation introduced a compilation error due
to

https://github.com/microsoft/ApplicationInsights-JS/issues/2369

This PR pins its version to 1.1.2 until the issue is fixed.
2024-07-01 20:23:29 +00:00
Azure SDK Bot 8e25c7a303
[EngSys] automatic rush update --full (#30248)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-07-01 09:40:50 -07:00
Jeremy Meng 74dfa883b9 [EngSys] upgrade dep dependency `nyc` to ^17.0.0
***NO_CI***
2024-06-28 17:57:40 +00:00
hamshavathimunibyraiah 72f170abc7
Document Translation service SDK (#29916)
### 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-06-27 17:35:07 -07:00
Deyaaeldeen Almahallawi 67e0fcb1fc
[Event Hubs] Update deps (#30213) 2024-06-27 13:47:58 -07:00
Glenn Harper 57e1223581
[AI] [Inference] RLC for Inference SDK (#29863)
### Packages impacted by this PR
 @azure/ai-inference

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Initial release of @azure/ai-inference SDK

### 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-06-27 11:23:51 -07:00
ZiWei Chen 515c08e7b7
[mgmt] storage release (#30039)
https://github.com/Azure/sdk-release-request/issues/5260
2024-06-27 17:43:05 +08:00
ZiWei Chen 9330021261
[mgmt] appcomplianceautomation release (#30015)
https://github.com/Azure/sdk-release-request/issues/5248
2024-06-27 12:45:18 +08:00
ZiWei Chen f97b049007
[mgmt] selfhelp release (#30181)
https://github.com/Azure/sdk-release-request/issues/5281
2024-06-27 12:40:42 +08:00
ZiWei Chen b4d9885209
[mgmt] scvmm release (#30012)
https://github.com/Azure/sdk-release-request/issues/5268
2024-06-26 10:53:16 +08:00
Jana R e6db98ecb5
[doc] fixed typos and punctuation (#29225)
Fixed typos and added punctuations to improve readability of README.md
files.

---------

Co-authored-by: Maor Leger <maorleger@users.noreply.github.com>
2024-06-25 07:02:57 -07:00
ZiWei Chen 59c7f7d209
[mgmt] storagemover release (#30041)
https://github.com/Azure/sdk-release-request/issues/5264
2024-06-25 13:56:18 +08:00
Matthew Podwysocki dd1e54afee
[dev-tool] Update ts-morph (#30162)
### Packages impacted by this PR

- @azure/dev-tool

### Issues associated with this PR

- #30160

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

Updates to latest ts-morph package.

### 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-06-24 16:51:37 +00:00
Azure SDK Bot 21e6cf64af
[EngSys] automatic rush update --full (#30159)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-06-24 10:48:04 -05:00
ZiWei Chen 29ecebee5d
[mgmt] avs release (#29692)
https://github.com/Azure/sdk-release-request/issues/5190
2024-06-24 13:31:02 +08:00
ZiWei Chen b3009def8f
[mgmt] mysql-flexible release (#29478)
https://github.com/Azure/sdk-release-request/issues/5151
2024-06-21 19:04:37 +08:00
ZiWei Chen fc95498783
[mgmt] mobilenetwork release (#29950)
https://github.com/Azure/sdk-release-request/issues/5236
2024-06-21 18:54:51 +08:00
ZiWei Chen 68705a58d3
[mgmt] deploymentstacks release (#29944)
https://github.com/Azure/sdk-release-request/issues/5218

swagger pr: https://github.com/Azure/azure-rest-api-specs/pull/29361
2024-06-21 18:45:45 +08:00
ZiWei Chen 5eba9218fe
[mgmt] imagebuilder release (#30036)
https://github.com/Azure/sdk-release-request/issues/5252
2024-06-21 17:57:09 +08:00
ZiWei Chen cfc93dc37b
[mgmt] appservice release (#29690)
https://github.com/Azure/sdk-release-request/issues/5181
2024-06-21 17:53:07 +08:00
ZiWei Chen 86fc1e0702
[mgmt] network release (#29947)
https://github.com/Azure/sdk-release-request/issues/5221
2024-06-21 17:28:43 +08:00
ZiWei Chen 0d59772ec5
[mgmt] cosmosdb preview release (#30067)
https://github.com/Azure/sdk-release-request/issues/5210
2024-06-21 16:48:42 +08:00
Minh-Anh Phan 571f5484ae
Run rush update --full (#30126)
- Run rush update --full after release hot fix for test-credential 1.2
2024-06-20 10:59:22 -07:00
Matthew Podwysocki ccbaaecd3f
[dev-tool] Update migration tool for Sinon and Node Imports (#30115)
### Packages impacted by this PR

- @azure/dev-tool

### Issues associated with this PR


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

Adds the following:
- Global regex replace for context replacements
- Changes sinon spy to `vi.spyOn`
- Adds node specifiers to node imports

### 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-06-20 12:58:45 -04:00
Azure SDK Bot 9ba448355a
[EngSys] automatic rush update --full (#30078)
This is an automatic PR generated weekly with changes from running the
command rush update --full
2024-06-19 10:53:23 -07:00
Matthew Podwysocki d4afe6477a
[dev-tool] Update migration tool to include beforeEach fixes (#30098)
### Packages impacted by this PR

- @azure/dev-tool

### Issues associated with this PR


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

Fixed the `beforeEach` statements to get rid of the Mocha `Context` and
replace with `vitest` context and fixes the test-recorder creation.

### 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-06-18 20:55:09 +00:00
Jeremy Meng 57d1bd9c76
[eslint-plugin] set package version back to 3.0.0 (#30090)
to fix broken nightly pipelines where we update `@azure` package
versions to
nightly versions and dependency versions to a range for their nightly
versions.
Versino `^3.0.0` would not get updated because of the following chech in
`set-dev.js` then `rush install` would fail to find matching one and
report error.


9488fe4bd7/eng/tools/versioning/set-dev.js (L80)
2024-06-18 11:36:16 -07:00
Minh-Anh Phan c2583d2eeb
[Test-Credential] Update DAC to ChainedTokenCredential (#29955)
### Packages impacted by this PR
@azure-tools/test-credentials

### Issues associated with this PR


### Describe the problem that is addressed by this PR
- Exclude Managed Identity from DAC so that we can run live test
pipeline successfully. The 4 credentials that we try is: Powershell,
Cli, Developer Cli, Environment Credential in listed order. See [the migration
guide](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/1080/Secret-auth-migration)
- Increase the default timeout for vitest to our default timeout (18000
ms)

Co-authored-by: Harsha Nalluru <sanallur@microsoft.com>
2024-06-17 11:13:26 -07:00
Matthew Podwysocki b0dcd6649c
[dev-tool] Add additional fixes for the migration tool (#30064)
### Packages impacted by this PR

- @azure/dev-tool

### Issues associated with this PR


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

Adds updates for the following:
- Changes assert to only use `vitest` for now and not sure the
`@azure-tools/test-utils`
- Any utility in the `/test` folders will be updated to use `vitest` for
assertions
- Add `beforeEach`, `afterEach`, `vi` and `expect` to any test class
using `sinon` for easy replacement
- Fix pathing issue so that `import { foo } from "..";` is translated to
`import { foo } from "../index.js";`
- Removes `source-map-support` as we're not using Karma.

### 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-06-14 21:33:46 -04:00