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

250 Коммитов

Автор SHA1 Сообщение Дата
Matthew Podwysocki 0188ca180f
[communication] Move @azure/communication-call-automation to ESM/vitest (#31680)
### Packages impacted by this PR

- @azure/communication-call-automation

### Issues associated with this PR

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

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

Migrates package to ESM/vitest. Note that ServiceBus has issues with
Browser loads that we can fix in a later revision as Buffer is not
defined when you try to import any files. But then including Buffer then
also causes issues with the unit tests.

### 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-11-18 18:29:38 -05:00
Matthew Podwysocki 9a0d39ad2d
[communication] Move @azure/communication-chat to ESM/vitest (#31651)
### Packages impacted by this PR

- @azure/communication-chat

### Issues associated with this PR

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

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

Moves @azure/communication-chat to ESM/vitest.

### 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-11-18 09:21:58 -08:00
angellan-msft 26333cfd54
Update Sinon Library Version for Chat JS SDK (#31737)
This PR is used to update the Sinon library version for Chat JS SDK.

**Why is this change needed?**
We updated the Sinon Library Version of Signaling Client Code Repo to
resolve a government alert. And Chat SDK will depend on signaling
client. If they have the same dependency installed, the dependency
version should be the same.
As a result, we are supposed to update the library version of JS SDK for
version number alignment.

**Testing**
1.Unit tests passed after the change
2.E2E test passed using the sample app
2024-11-13 11:12:34 -08:00
Azure SDK Bot 0fa53b157c
Post release automated changes for communication releases (#31517)
Post release automated changes for azure-communication-chat
2024-11-06 09:00:59 -08:00
Jeremy Meng a28e8f0795 [EngSys] move to vendored version of cross-env via dev-tool
***NO_CI***

- apply the transformation

- update samples' README
2024-11-02 00:48:06 +00:00
Jeremy Meng 6a2c7300eb [eslint-plugin] add rule "@typescript-eslint/consistent-type-imports": "warn"
- apply lint:fix results

- revert fixes that are not related to consistent-type-imports and cases error

- regenerate .api.md files

- format

- update core-comparison diff
2024-10-30 15:48:52 +00:00
Jeremy Meng 1cae9db8e1 [EngSys] remove "audit" NPM script and it's related file
as we no longer use it and rely on GitHub security features.

***NO_CI***
2024-10-25 19:28:06 +00:00
angellan-msft 06b4e81891
Update AzureCommunicationChat Version to 1.5.4 (#31513)
### Describe the problem that is addressed by this PR
Bump @azure/communication-chat version from 1.5.3 to 1.5.4
2024-10-24 09:37:25 -07:00
Jeremy Meng 59bb0809ba [EngSys] use vendored version of `mkdirp` and `rimraf` from dev-tool
also remove dependency on `@microsoft/api-extractor` as we already move to
`dev-tool run extract-api` which calls api-extractor Api instead.

***NO_CI***
2024-10-23 17:53:07 +00:00
angellan-msft b35c333a87
Release Azure Communication Chat Version 1.5.3 (#31503)
### Packages impacted by this PR
N/A

### Issues associated with this PR
N/A

### Describe the problem that is addressed by this PR
Release Azure Communication Chat Version 1.5.3

### 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
2024-10-22 17:57:26 -07:00
angellan-msft e605b318e5
Get real-time notification configuration from Chat Gateway 2 (#31492)
### Packages impacted by this PR
@azure/communication-signaling

### Describe the problem that is addressed by this PR
This PR is used for retrieving Trouter Config from Chat GW rather than
hardcode it in signaling client.
There are 2 main changes.
1.Remove the "environment" from SignalingClientOptions as it should be
retrieved from Chat GW;
2.Declare a TrouterConfigClientOptions and pass it to Signaling Client
constructor since this is needed for signaling client to make http call
to Chat Gateway.


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

### Checklists
- [Yes] Added impacted package name to the issue description
- [No] 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)_
- [TODO] Added a changelog (if necessary)
2024-10-22 11:54:47 -07:00
Wes Haggard 1c50b6ac49
Switch to TME test subscription (#31329) 2024-10-14 18:19:12 -07:00
Matthew Podwysocki 61c8b9aae4 [EngSys] Add update-snippets to all package.json files ***NO_CI*** 2024-09-26 17:59:37 +00: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
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
Deyaaeldeen Almahallawi baaf363a0c
[Communication] Migrate to Bicep (#30859)
And update API versions.

Live tests run:
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072706&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072699&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072700&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072701&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072704&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072705&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072674&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072676&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072679&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072681&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072688&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072691&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072696&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072729&view=results

Failures are unrelated
2024-08-26 10:44:11 -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 8882adbe93 fix remaining linting errors
- ignore shims.d.ts for communication-chat

- suppress errors about Buffer because "buffer" package is used for browser
2024-08-22 11:43:26 -07:00
Jeremy Meng 4ab6590ffe Apply automated migration to eslint flat config 2024-08-22 11:43:19 -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
Jeremy Meng be6df7be7a
[communication] upgrade dependency `@azure/abort-controller` to v2 (#30602) 2024-08-02 10:37:32 -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
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
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
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
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 74dfa883b9 [EngSys] upgrade dep dependency `nyc` to ^17.0.0
***NO_CI***
2024-06-28 17:57:40 +00:00
luc 1feeb00285
Update the Core Client Version and Test Recorder (#30032)
### Packages impacted by this PR
@Azure/communication-chat 

### Issues associated with this PR
### Describe the problem that is addressed by this PR

Customer escalated the issue:
The issue was introduced from the @azure/communication-chat@1.4.0. Chat
client updated the internal API client by generating the new service
client version with the `endpoint` param to replace the `baseUri` and
kept the dependency version @azure/core-client@1.3.0 and higher. While
the `endpoint` is introduced only in @azure/core-client@1.6.0.
Customer see error "baseUrl is not specified" if the dependency version
not updated.

Update the @azure/core-client version to fix the issue


### 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-06-13 10:43:47 -07:00
Weiyang Ding(MSFT) 25c7a3ac72
Fix Communication Rooms Readme Issue And Push Recordings In Communication Library (#28607)
Fixes #27565

@joheredi, @mayurid, @alexokun for notification.

---------

Co-authored-by: Jiao Di (MSFT) <80496810+v-jiaodi@users.noreply.github.com>
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
2024-06-03 13:54:16 +08:00
JoshuaLai a4791ca1d9
Version bumping to fix sem version alignment (#29435) 2024-04-29 11:15:36 -04:00
Jeremy Meng e9561c1a52 [EngSys] back to use `nyc` for code coverage
now that we removed `esm` dependency, `nyc` should be working again, and `nyc`
appears to have better results than `c8` does.

***NO_CI***
2024-04-19 12:19:32 -07:00
Maor Leger 224f7c1c14 [EngSys] Migrate to dev-tool extract-api ***NO_CI*** 2024-04-19 18:13:41 +00:00
Maor Leger 446e9d831b [EngSys] Remove ESM dependency ***NO_CI*** 2024-04-19 15:45:48 +00:00
John 996d9a2e74
[Chat] Updated Release Date and Swagger Hash (#29304)
### 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-04-15 13:08:30 -07:00
Jeremy Meng 398494acd8 [EngSys] upgrade dev dependency `typescript` to `~5.4.5`
The only package that still stays on ~5.3.3 is search-document (tracked by issue #29283)

***NO_CI***
2024-04-11 23:19:38 +00:00
John 0600974555
[ACS][Chat][Interop] Promote File Sharing from Beta to GA (#28317) 2024-04-11 23:10:18 +00:00
Maor Leger d7173879bf [EngSys] C8 major version update ***NO_CI*** 2024-03-22 13:26:43 -05:00
Scott Beddall (from Dev Box) ecdb45e61d replace all tests.yml usage w/ extends to archetype-sdk-tests.yml ***NO_CI*** 2024-03-11 14:13:06 -07:00
Matthew Podwysocki ca72dcf5c9 [EngSys] move to rimraf 5 ***NO_CI*** 2024-03-07 16:48:30 -08:00
Jeremy Meng 09784c3724 [EngSys] upgrade dev dependency `pretter` to `^3.2.5`
There's some changes in 3.2.5 which caused formatting changes for tsconfig.json
which caused our rush automation failed in check-format when moving to latest 3.2.5.

https://github.com/prettier/prettier/blob/main/CHANGELOG.md#use-json-parser-for-tsconfigjson-by-default-16012-by-sosukesuzuki

This change upgrades prettier to version ^3.2.5 and format files using "rush format".

***NO_CI***
2024-02-06 12:13:14 -08:00
Jeremy Meng ee5c29d72d ***NO_CI***
bump to ~5.3.3
2024-01-26 11:25:48 -08:00
Matthew Podwysocki f70fa9821c [EngSys] Update TypeScript to 5.3 2024-01-26 11:25:47 -08:00
Jeremy Meng 0e1c8881f0 [EngSys] upgrade dev dependency `prettier` version to ^3.2.4
***NO_CI***

Latest versions of prettier now correctly formats `tsconfig.json`, which results
in differences with previous version of 3.1.1 in pnpm-lock.yaml. This is failing
the automated rush update pipeline because `check-format` fails with version
3.2.4.

This includes changes of
- bumping prettier version to ^3.2.4
- running `rush format`
2024-01-18 19:05:41 +00:00
Maqsood Jafferi 245a18317f
[JS] Granular Token feature GA Post-release | Dependent SDK Recording updates (#28163) 2024-01-12 12:03:39 +05:30
Jeremy Meng 12b4dcc257 [EngSys] upgrade to prettier v3
***NO_CI***

- remove dev dependency `prettier` from non-tool packages when possible and
  update them to run vendored prettier for `check-format` and `format` scripts

- upgrade rest of packages to prettier v3

- run `rush format` for all rush packages

This is a follow-up to https://github.com/Azure/azure-sdk-for-js/pull/28127 to
move the rest of repo to prettier v3.
2024-01-10 18:45:01 -05:00
Azure SDK Bot c60132e3ef
Post release automated changes for communication releases (#27981)
Post release automated changes for azure-communication-chat
2023-12-27 12:27:49 -08:00
Jeremy Meng f6e6736d3a [EngSys] remove dev dependency `mocha-junit-reporter`
***NO_CI***

We have replaced it with Mocha builtin XUnit reporter in PR https://github.com/Azure/azure-sdk-for-js/pull/27992
2023-12-06 22:28:15 +00:00
AmyL219 1e7cd9ad41
[ChatSDK][GA]Update Changelog.md for 1.4.0 GA release (#27977) 2023-12-04 14:37:32 -05:00
Jeff Fisher cc1f7e3542
[communication-chat] Migrate test recordings to asset repo (#27872)
### Packages impacted by this PR

`@azure/communication-chat`

### Issues associated with this PR

Fixes #27783

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

Runs the test-proxy migration script to externalize the recordings.
2023-11-27 18:39:36 +00:00
AmyL219 826f143925
Chat SDK with Inline Image (#27383) 2023-11-23 15:04:02 -05:00