From 95efc3466a61d5ddda6731333e6f1384488b8ef2 Mon Sep 17 00:00:00 2001
From: Carter425 <146026801+Carter425@users.noreply.github.com>
Date: Thu, 21 Dec 2023 13:47:28 -0800
Subject: [PATCH 1/9] [repo] docs: Fixed broken links and updated language for
GA (#1084)
#minor
Fixed broken links on js readme to global links, updated Teams AI
Library verbiage per marketing recommendations, and updated information
for GA that posts to the NPM JS.
Converted main README to markdown for compatibility with NuGet. NOTE:
TOP Teams Logo image still needs to be adjusted as it is not compatible
with NuGet page.
## Attestation Checklist
- [x] My code follows the style guidelines of this project
- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (we use
[TypeDoc](https://typedoc.org/) to document our code)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
- Local testing
- E2E testing in Teams
- New and existing unit tests pass locally with my changes
### Additional information
> Feel free to add other relevant information below
---------
Signed-off-by: dependabot[bot]
Co-authored-by: Carter
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Corina Gum <>
Co-authored-by: Corina <14900841+corinagum@users.noreply.github.com>
---
README.md | 25 ++++++++++++-------------
js/packages/teams-ai/README.md | 16 +++++++++-------
2 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/README.md b/README.md
index 6861d8efc..ce9b33c7d 100644
--- a/README.md
+++ b/README.md
@@ -1,26 +1,23 @@
-# Teams AI Library
+#  Teams AI Library
[](https://dev.azure.com/DomoreexpGithub/Github_Pipelines/_build/latest?definitionId=4&branchName=main)
Welcome to the Teams AI Library! This SDK is specifically designed to assist you in creating bots capable of interacting with Teams and Microsoft 365 applications. It is constructed using the [Bot Framework SDK](https://github.com/microsoft/botbuilder-js) as its foundation, simplifying the process of developing bots that interact with Teams' artificial intelligence capabilities.
-
-
-
-This is a diagram of the Teams-AI flow. Teams AI SDK hooks into the Teams SDK and Azure OpenAI SDK to provide a seamless experience for developers.
-
-
-The SDK is currently available for JavaScript/TypeScript applications in the js folder and via the teams-ai package on NPM. We are actively developing parity for .NET, which will be available soon.
+
+This is a diagram of the Teams-AI flow. Teams AI SDK hooks into the Teams SDK and Azure OpenAI SDK to provide a seamless experience for developers.
+
+The SDK is currently available for JavaScript/TypeScript applications in the [`js`](./js) folder and via the [teams-ai package on NPM](https://www.npmjs.com/package/@microsoft/teams-ai). .NET support is available in the [`dotnet`](./dotnet) folder and via the [teams-ai package on NuGet](https://www.nuget.org/packages/Microsoft.Teams.AI).
## Getting Started
> ### 🖇️ Jump right in❗️ 📎
>
-> If you want to jump immediately into AI, try out the [04.ai.a.teamsChefbot](./js/samples/04.ai.a.teamsChefBot) sample. This sample is a simple bot that uses the OpenAI GPT model to build a Teams app. Just load it up in Visual Code and hit F5! 🎉
+> If you want to jump immediately into AI, try out the [04.ai.a.teamsChefbot](./js/samples/04.ai.a.teamsChefBot) sample. This sample is a simple bot that uses the OpenAI GPT model to build a Teams app. Just load it up in Visual Studio Code, rename the sample.env file to .env, add in your OpenAI key or Azure OpenAI key and endpoint in the .env file, and hit F5! 🎉
### Start with our getting started guides
-This SDK is under private preview and is subject to change. We welcome your feedback and contributions!
+This SDK is now generally available. We welcome your feedback and contributions!
**To get started, head over to the [Getting Started Guide](getting-started/README.md).**
@@ -28,7 +25,7 @@ This SDK is under private preview and is subject to change. We welcome your feed
### Teams-centric component scaffolding
-> For examples of the below, browse through the [JS](./js/samples/) folders.
+> For examples of the below, browse through the [`js`](./js/samples/) sample folders or the [`dotnet`](./dotnet/samples) sample folders.
> Simple scaffolding for any conversational app component, including:
- Chat bots
@@ -46,7 +43,9 @@ With a simple text file written in human language, you can describe the function
### Moderation
-A configurable API call to filter inappropriate content for input content, output content, or both. (See [OpenAIModerator.ts](./js/src/openai/OpenAIModerator.ts))
+A configurable API call to filter inappropriate content for input content, output content, or both.
+
+(Moderators are available whether you decide to you OpenAI or Azure OpenAI for your models. If using OpenAI see [OpenAIModerator.ts](./js/packages/teams-ai/src/moderators/OpenAIModerator.ts) or [OpenAIModerator.cs](https://github.com/microsoft/teams-ai/blob/46042530f43058a815df4376f0f068f9d8d2e144/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Moderator/OpenAIModerator.cs) and for Azure's moderator see [AzureContentSaftyModerator.ts](./js/packages/teams-ai/src/moderators/AzureContentSafetyModerator.ts). Azure's moderator for C# is in development)
### Predictive Engine to Map Intents to Actions
@@ -77,7 +76,7 @@ This SDK is licensed under the MIT License. This SDK includes tools to use APIs
This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
-the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
+the rights to use your contribution. For details, visit [https://cla.opensource.microsoft.com](https://cla.opensource.microsoft.com).
For more details, see [./CONTRIBUTING.md](./CONTRIBUTING.md).
diff --git a/js/packages/teams-ai/README.md b/js/packages/teams-ai/README.md
index 74029b5ea..b776b89df 100644
--- a/js/packages/teams-ai/README.md
+++ b/js/packages/teams-ai/README.md
@@ -1,6 +1,8 @@
# Teams AI Library
-Welcome to the Teams AI Library JavaScript package. See the [Teams AI repo README.md](https://github.com/microsoft/teams-ai), for general information, including updates on dotnet support.
+Welcome to the Teams AI Library JavaScript package!
+
+This SDK is specifically designed to assist you in creating bots capable of interacting with Teams and Microsoft 365 applications. It is constructed using the [Bot Framework SDK](https://github.com/microsoft/botbuilder-js) as its foundation, simplifying the process of developing bots that interact with Teams' artificial intelligence capabilities. See the [Teams AI repo README.md](https://github.com/microsoft/teams-ai), for general information, and .Net support is available via the [dotnet](https://github.com/microsoft/teams-ai/tree/main/dotnet) folder.
Requirements:
@@ -9,11 +11,11 @@ Requirements:
## Getting Started: Migration v.s. New Project
-If you're migrating an existing project, switching to add on the Teams AI layer is quick and simple. For a more-detailed walkthrough, see the [migration guide](https://github.com/microsoft/teams-ai/blob/main/getting-started/js/00.MIGRATION.md). The basics are listed below.
+If you're migrating an existing project, switching to add on the Teams AI Library layer is quick and simple. For a more-detailed walkthrough, see the [migration guide](https://github.com/microsoft/teams-ai/blob/main/getting-started/js/00.MIGRATION.md). The basics are listed below.
### Migration
-In your existing Teams bot, you'll need to add the Teams AI SDK package and import it into your bot code.
+In your existing Teams bot, you'll need to add the Teams AI Library SDK package and import it into your bot code.
```bash
yarn add @microsoft/teams-ai
@@ -47,11 +49,11 @@ That's it!
Run your bot (with ngrok) and sideload your manifest to test.
-For migrating specific features such as Message Extension and Adaptive Card capabilities, please see the [Migration Guide](../../getting-started/00.MIGRATION.md).
+For migrating specific features such as Message Extension and Adaptive Card capabilities, please see the [Migration Guide](https://github.com/microsoft/teams-ai/blob/main/getting-started/js/00.MIGRATION.md).
### New Project
-If you are starting a new project, you can use the [Teams AI SDK echobot sample](../samples/01.messaging.a.echoBot/) as a starting point. You don't need to make any changes to the sample to get it running, but you can use it as your base setup. Echo Bot supports the Teams AI SDK out of the box.
+If you are starting a new project, you can use the [Teams AI SDK echobot sample](https://github.com/microsoft/teams-ai/tree/main/js/samples/01.messaging.a.echoBot) as a starting point. You don't need to make any changes to the sample to get it running, but you can use it as your base setup. Echo Bot supports the Teams AI SDK out of the box.
You can either copy-paste the code into your own project, or clone the repo and run the Teams Toolkit features to explore.
@@ -75,7 +77,7 @@ const app = new ApplicationBuilder()
## AI Setup
-The detailed steps for setting up your bot to use AI are in the [GPT Setup Guide](../../../getting-started/js/01.AI-SETUP.md).
+The detailed steps for setting up your bot to use AI are in the [GPT Setup Guide](https://github.com/microsoft/teams-ai/blob/main/getting-started/js/01.AI-SETUP.md).
On top of your Microsoft App Id and password, you will need an Azure OpenAI or OpenAI API key. You can get one from the [OpenAI platform](https://platform.openai.com/). Once you have your key, add it to your `.env` file as `OPEN_AI_KEY`
@@ -98,6 +100,6 @@ const app = new Application({
});
```
-For more information on how to create and use prompts, see [APIREFERENCE](../../../getting-started/00.PROMPTS.md) and look at the [samples](../samples/) numbered `04._.xxx`).
+For more information on how to create and use prompts, see [PROMPTS](https://github.com/microsoft/teams-ai/blob/main/getting-started/00.PROMPTS.md) and look at the [samples](https://github.com/microsoft/teams-ai/tree/main/js/samples) numbered `04._.xxx`.
Happy coding!
From 02b20db3e1567f889ec1a76ae585d348c120d95b Mon Sep 17 00:00:00 2001
From: Alex Acebo
Date: Fri, 22 Dec 2023 10:57:38 -0800
Subject: [PATCH 2/9] test issue forms
---
.github/ISSUE_TEMPLATE/bug.yml | 61 +++++++++++++++++++++++++++++++
.github/ISSUE_TEMPLATE/config.yml | 1 +
2 files changed, 62 insertions(+)
create mode 100644 .github/ISSUE_TEMPLATE/bug.yml
create mode 100644 .github/ISSUE_TEMPLATE/config.yml
diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
new file mode 100644
index 000000000..ec02d9e55
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug.yml
@@ -0,0 +1,61 @@
+name: Bug Report
+description: File a bug report
+title: "[Bug]: "
+labels: ["bug"]
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to fill out this bug report!
+ - type: input
+ id: contact
+ attributes:
+ label: Contact Details
+ description: How can we get in touch with you if we need more info?
+ placeholder: ex. email@example.com
+ validations:
+ required: false
+ - type: textarea
+ id: what-happened
+ attributes:
+ label: What happened?
+ description: Also tell us, what did you expect to happen?
+ placeholder: Tell us what you see!
+ value: "A bug happened!"
+ validations:
+ required: true
+ - type: dropdown
+ id: version
+ attributes:
+ label: Version
+ description: What version of our software are you running?
+ options:
+ - 1.0.2 (Default)
+ - 1.0.3 (Edge)
+ default: 0
+ validations:
+ required: true
+ - type: dropdown
+ id: browsers
+ attributes:
+ label: What browsers are you seeing the problem on?
+ multiple: true
+ options:
+ - Firefox
+ - Chrome
+ - Safari
+ - Microsoft Edge
+ - type: textarea
+ id: logs
+ attributes:
+ label: Relevant log output
+ description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
+ render: Shell
+ - type: checkboxes
+ id: terms
+ attributes:
+ label: Code of Conduct
+ description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
+ options:
+ - label: I agree to follow this project's Code of Conduct
+ required: true
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 000000000..3ba13e0ce
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1 @@
+blank_issues_enabled: false
From 4a1ffc1bb7928d87716eb46635885d04f1bdcd6b Mon Sep 17 00:00:00 2001
From: Alex Acebo
Date: Fri, 22 Dec 2023 11:18:33 -0800
Subject: [PATCH 3/9] Update bug.yml
---
.github/ISSUE_TEMPLATE/bug.yml | 67 +++++++++++++++++-----------------
1 file changed, 33 insertions(+), 34 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
index ec02d9e55..9d222e4ec 100644
--- a/.github/ISSUE_TEMPLATE/bug.yml
+++ b/.github/ISSUE_TEMPLATE/bug.yml
@@ -6,51 +6,50 @@ body:
- type: markdown
attributes:
value: |
- Thanks for taking the time to fill out this bug report!
- - type: input
- id: contact
- attributes:
- label: Contact Details
- description: How can we get in touch with you if we need more info?
- placeholder: ex. email@example.com
- validations:
- required: false
- - type: textarea
- id: what-happened
+ **Please note: any submissions with insufficient reproducible information will be marked as 'Waiting for customer input' and may be closed is there is no response**
+ - type: dropdown
+ id: language
attributes:
- label: What happened?
- description: Also tell us, what did you expect to happen?
- placeholder: Tell us what you see!
- value: "A bug happened!"
+ label: Language
+ description: Which language are you using?
+ multiple: true
+ options:
+ - Javascript/Typescript
+ - C#
+ - Python
+ default: 0
validations:
required: true
- - type: dropdown
+ - type: input
id: version
attributes:
label: Version
- description: What version of our software are you running?
- options:
- - 1.0.2 (Default)
- - 1.0.3 (Edge)
- default: 0
+ description: Which version are you using?
+ placeholder: Version...
+ value: latest
validations:
required: true
- - type: dropdown
- id: browsers
+ - type: textarea
+ id: description
attributes:
- label: What browsers are you seeing the problem on?
- multiple: true
- options:
- - Firefox
- - Chrome
- - Safari
- - Microsoft Edge
+ label: Description
+ description: Provide a clear and concise description of what the bug is.
+ placeholder: Description...
+ validations:
+ required: true
- type: textarea
- id: logs
+ id: repro
attributes:
- label: Relevant log output
- description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
- render: Shell
+ label: Reproduction Steps
+ description: How do you trigger this bug? Please walk us through it step by step.
+ value: |
+ 1.
+ 2.
+ 3.
+ ...
+ render: bash
+ validations:
+ required: true
- type: checkboxes
id: terms
attributes:
From 1b3add281208b3d7862c8de63e3aedd087a424e9 Mon Sep 17 00:00:00 2001
From: Alex Acebo
Date: Fri, 22 Dec 2023 11:20:10 -0800
Subject: [PATCH 4/9] Update bug.yml
---
.github/ISSUE_TEMPLATE/bug.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
index 9d222e4ec..9adb87cff 100644
--- a/.github/ISSUE_TEMPLATE/bug.yml
+++ b/.github/ISSUE_TEMPLATE/bug.yml
@@ -2,6 +2,7 @@ name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug"]
+projects: ["microsoft/teams-ai"]
body:
- type: markdown
attributes:
From 1ddfa9fda3615d9e9b420c9281a217974fd1d50b Mon Sep 17 00:00:00 2001
From: Alex Acebo
Date: Fri, 22 Dec 2023 11:21:08 -0800
Subject: [PATCH 5/9] Update bug.yml
---
.github/ISSUE_TEMPLATE/bug.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
index 9adb87cff..53a1b7bf9 100644
--- a/.github/ISSUE_TEMPLATE/bug.yml
+++ b/.github/ISSUE_TEMPLATE/bug.yml
@@ -2,7 +2,7 @@ name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug"]
-projects: ["microsoft/teams-ai"]
+projects: ["microsoft/719"]
body:
- type: markdown
attributes:
From c1cd6363bb04660232a7ffba19465708c5680c8a Mon Sep 17 00:00:00 2001
From: Alex Acebo
Date: Fri, 22 Dec 2023 11:39:11 -0800
Subject: [PATCH 6/9] add feature request form
---
.github/ISSUE_TEMPLATE/bug-report-template.md | 57 -------------------
.github/ISSUE_TEMPLATE/bug.yml | 10 +---
.../feature-request-template.md | 25 --------
.github/ISSUE_TEMPLATE/feature.yml | 34 +++++++++++
4 files changed, 35 insertions(+), 91 deletions(-)
delete mode 100644 .github/ISSUE_TEMPLATE/bug-report-template.md
delete mode 100644 .github/ISSUE_TEMPLATE/feature-request-template.md
create mode 100644 .github/ISSUE_TEMPLATE/feature.yml
diff --git a/.github/ISSUE_TEMPLATE/bug-report-template.md b/.github/ISSUE_TEMPLATE/bug-report-template.md
deleted file mode 100644
index fffe76da6..000000000
--- a/.github/ISSUE_TEMPLATE/bug-report-template.md
+++ /dev/null
@@ -1,57 +0,0 @@
----
-name: General bug report template
-about: Create a report related to the Android portion of the SDK
-title: "[Bug]: "
-labels: bug, new submission
-assignees: ""
----
-
----
-
-name: General Bug report
-about: Create a report to help us improve
-title: ''
-labels: bug
-assignees: ''
-
----
-
-**Please note: any submissions with insufficient reproducible information will be marked as 'Waiting for customer input' and may be closed is there is no response**
-
-**Describe the bug**
-
-> Provide a clear and concise description of what the bug is.
-
-**To Reproduce**
-
-> Steps to reproduce the behavior:
-
-1. Go to '...'
-2. Click on '....'
-3. Scroll down to '....'
-4. See error
-
-**Expected behavior**
-
-> Provide a clear and concise description of what you expected to happen.
-
-**Screenshots**
-
-> If applicable, add screenshots to help explain your problem.
-
-**Desktop(s) (please complete the following information):**
-
-- OS: [e.g. macOS]
-- Browser [e.g. chrome, safari]
-- Version [e.g. 22]
-
-**Smartphone (please complete the following information):**
-
-- Device: [e.g. iPhone6]
-- OS: [e.g. iOS8.1]
-- Browser [e.g. stock browser, safari]
-- Version [e.g. 22]
-
-**Additional context**
-
-> Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
index 53a1b7bf9..89ce0f8da 100644
--- a/.github/ISSUE_TEMPLATE/bug.yml
+++ b/.github/ISSUE_TEMPLATE/bug.yml
@@ -50,12 +50,4 @@ body:
...
render: bash
validations:
- required: true
- - type: checkboxes
- id: terms
- attributes:
- label: Code of Conduct
- description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
- options:
- - label: I agree to follow this project's Code of Conduct
- required: true
+ required: true
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/feature-request-template.md b/.github/ISSUE_TEMPLATE/feature-request-template.md
deleted file mode 100644
index f4789c35a..000000000
--- a/.github/ISSUE_TEMPLATE/feature-request-template.md
+++ /dev/null
@@ -1,25 +0,0 @@
----
-name: Feature request template
-about: Suggest an idea for this project
-title: "[Feature Request]: "
-labels: enhancement, new submission
-assignees: ""
----
-
-**Please note: any submissions with insufficient reproducible information will be marked as 'Waiting for customer input' and may be closed is there is no response**
-
-**Describe your user scenario**
-
-> Provide a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
-
-**Describe the solution you'd like**
-
-> Provide a clear and concise description of what you want to happen, with code snippets or pseudo code as applicable.
-
-**Describe alternatives you've considered**
-
-> Provide a clear and concise description of any alternative solutions or features you've considered.
-
-**Additional context**
-
-> Add any other context or screenshots about the feature request here.
diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml
new file mode 100644
index 000000000..05ed3f165
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature.yml
@@ -0,0 +1,34 @@
+name: Feature Request
+description: Suggest an idea for this project
+title: "[Feature Request]: "
+labels: ["enhancement"]
+projects: ["microsoft/719"]
+body:
+ - type: markdown
+ attributes:
+ value: |
+ **Please note: any submissions with insufficient reproducible information will be marked as 'Waiting for customer input' and may be closed is there is no response**
+ - type: textarea
+ id: scenario
+ attributes:
+ label: Scenario
+ description: Provide a clear and concise description of what the problem is. Ex. I'm always frustrated when [...].
+ placeholder: Scenario...
+ validations:
+ required: true
+ - type: textarea
+ id: solution
+ attributes:
+ label: Solution
+ description: Provide a clear and concise description of what you want to happen, with code snippets or pseudo code as applicable.
+ placeholder: Solution...
+ validations:
+ required: true
+ - type: textarea
+ id: context
+ attributes:
+ label: Additional Context
+ description: Add any other context or screenshots about the feature request here.
+ placeholder: Additional Context...
+ validations:
+ required: false
\ No newline at end of file
From beee8f75f03175514fc89d503f5ab95af5e21770 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 27 Dec 2023 09:52:38 -0800
Subject: [PATCH 7/9] [repo] bump: (deps): Bump the production group with 1
update (#1106)
#minor
Bumps the production group with 1 update:
[github/codeql-action](https://github.com/github/codeql-action).
Updates `github/codeql-action` from 3.22.11 to 3.22.12
Changelog
See the releases
page for the relevant changes to the CodeQL CLI and language
packs.
Note that the only difference between v2 and
v3 of the CodeQL Action is the node version they support,
with v3 running on node 20 while we continue to release
v2 to support running on node 16. For example
3.22.11 was the first v3 release and is
functionally identical to 2.22.11. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.
[UNRELEASED]
No user facing changes.
3.22.12 - 22 Dec 2023
Update default CodeQL bundle version to 2.15.5. #2047
3.22.11 - 13 Dec 2023
[v3+ only] The CodeQL Action now runs on Node.js v20. #2006
2.22.10 - 12 Dec 2023
Update default CodeQL bundle version to 2.15.4. #2016
2.22.9 - 07 Dec 2023
No user facing changes.
2.22.8 - 23 Nov 2023
Update default CodeQL bundle version to 2.15.3. #2001
2.22.7 - 16 Nov 2023
Add a deprecation warning for customers using CodeQL version 2.11.5
and earlier. These versions of CodeQL were discontinued on 8 November
2023 alongside GitHub Enterprise Server 3.7, and will be unsupported by
CodeQL Action v2.23.0 and later. #1993
If you are using one of these versions, please update to CodeQL CLI
version 2.11.6 or later. For instance, if you have specified a custom
version of the CLI using the 'tools' input to the 'init' Action, you can
remove this input to use the default version.
Alternatively, if you want to continue using a version of the CodeQL
CLI between 2.10.5 and 2.11.5, you can replace
github/codeql-action/*@v2 by
github/codeql-action/*@v2.22.7 in your code scanning
workflow to ensure you continue using this version of the CodeQL
Action.
2.22.6 - 14 Nov 2023
Customers running Python analysis on macOS using version 2.14.6 or
earlier of the CodeQL CLI should upgrade to CodeQL CLI version 2.15.0 or
later. If you do not wish to upgrade the CodeQL CLI, ensure that you are
using Python version 3.11 or earlier, as CodeQL version 2.14.6 and
earlier do not support Python 3.12. You can achieve this by adding a setup-python
step to your code scanning workflow before the step that invokes
github/codeql-action/init.
Update default CodeQL bundle version to 2.15.2. #1978
2.22.5 - 27 Oct 2023
No user facing changes.
2.22.4 - 20 Oct 2023
Update default CodeQL bundle version to 2.15.1. #1953
Users will begin to see warnings on Node.js 16 deprecation in their
Actions logs on code scanning runs starting October 23, 2023.
All code scanning workflows should continue to succeed regardless of
the warning.
... (truncated)
Commits
012739e
Merge pull request #2052
from github/update-v3.22.12-40cb08c12
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore ` will
remove the ignore condition of the specified dependency and ignore
conditions
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
.github/workflows/dotnet-codeql.yml | 4 ++--
.github/workflows/js-codeql.yml | 4 ++--
.github/workflows/scorecards.yml | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/dotnet-codeql.yml b/.github/workflows/dotnet-codeql.yml
index eb5d583b6..d4ad8546b 100644
--- a/.github/workflows/dotnet-codeql.yml
+++ b/.github/workflows/dotnet-codeql.yml
@@ -39,7 +39,7 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Initialize CodeQL
- uses: github/codeql-action/init@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
+ uses: github/codeql-action/init@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
with:
languages: csharp
- name: Setup .NET
@@ -50,6 +50,6 @@ jobs:
working-directory: dotnet/packages/Microsoft.TeamsAI/
run: dotnet build Microsoft.Teams.AI.sln --configuration Release
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
+ uses: github/codeql-action/analyze@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
with:
category: "/language:csharp"
diff --git a/.github/workflows/js-codeql.yml b/.github/workflows/js-codeql.yml
index 3b2719502..5a240e9ce 100644
--- a/.github/workflows/js-codeql.yml
+++ b/.github/workflows/js-codeql.yml
@@ -38,10 +38,10 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Initialize CodeQL
- uses: github/codeql-action/init@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
+ uses: github/codeql-action/init@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
with:
languages: javascript
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
+ uses: github/codeql-action/analyze@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
with:
category: "/language:javascript"
diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml
index 5fde71903..68c86ffc4 100644
--- a/.github/workflows/scorecards.yml
+++ b/.github/workflows/scorecards.yml
@@ -66,6 +66,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
- uses: github/codeql-action/upload-sarif@b374143c1149a9115d881581d29b8390bbcbb59c # v3.22.11
+ uses: github/codeql-action/upload-sarif@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
with:
sarif_file: results.sarif
From 100a39cddbdb43ef1c293ce92b715699958e3162 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 2 Jan 2024 13:53:58 -0800
Subject: [PATCH 8/9] [JS] bump: (deps): Bump the production group in /js with
2 updates (#1108)
#minor Bumps the production group in /js with 2 updates:
[axios](https://github.com/axios/axios) and
[openai](https://github.com/openai/openai-node).
Updates `axios` from 1.6.2 to 1.6.3
Release notes
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore ` will
remove the ignore condition of the specified dependency and ignore
conditions
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
js/packages/teams-ai/package.json | 4 ++--
.../package.json | 2 +-
.../03.adaptiveCards.a.typeAheadBot/package.json | 2 +-
js/samples/05.chatModeration/package.json | 2 +-
js/samples/06.assistants.a.mathBot/package.json | 2 +-
js/samples/06.assistants.b.orderBot/package.json | 2 +-
js/yarn.lock | 16 ++++++++--------
7 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/js/packages/teams-ai/package.json b/js/packages/teams-ai/package.json
index 969c9d072..4746bffb7 100644
--- a/js/packages/teams-ai/package.json
+++ b/js/packages/teams-ai/package.json
@@ -23,13 +23,13 @@
"types": "./lib/index.d.ts",
"dependencies": {
"@azure/msal-node": "^2.6.0",
- "axios": "^1.6.2",
+ "axios": "^1.6.3",
"botbuilder": "^4.21.3",
"botbuilder-dialogs": "^4.21.3",
"gpt-3-encoder": "^1.1.4",
"json-colorizer": "^2.2.2",
"jsonschema": "1.4.1",
- "openai": "^4.23.0",
+ "openai": "^4.24.1",
"uuid": "^9.0.1",
"yaml": "^2.3.4"
},
diff --git a/js/samples/02.messageExtensions.a.searchCommand/package.json b/js/samples/02.messageExtensions.a.searchCommand/package.json
index 080da50dd..7aa45331c 100644
--- a/js/samples/02.messageExtensions.a.searchCommand/package.json
+++ b/js/samples/02.messageExtensions.a.searchCommand/package.json
@@ -24,7 +24,7 @@
"dotenv": "^16.3.1",
"replace": "~1.2.0",
"restify": "~11.1.0",
- "axios": "^1.6.2"
+ "axios": "^1.6.3"
},
"devDependencies": {
"@types/dotenv": "6.1.1",
diff --git a/js/samples/03.adaptiveCards.a.typeAheadBot/package.json b/js/samples/03.adaptiveCards.a.typeAheadBot/package.json
index af3c8c8df..251f77f14 100644
--- a/js/samples/03.adaptiveCards.a.typeAheadBot/package.json
+++ b/js/samples/03.adaptiveCards.a.typeAheadBot/package.json
@@ -24,7 +24,7 @@
"dotenv": "^16.3.1",
"replace": "~1.2.0",
"restify": "~11.1.0",
- "axios": "^1.6.2"
+ "axios": "^1.6.3"
},
"devDependencies": {
"@types/dotenv": "6.1.1",
diff --git a/js/samples/05.chatModeration/package.json b/js/samples/05.chatModeration/package.json
index 2fbd090fe..9e596cc65 100644
--- a/js/samples/05.chatModeration/package.json
+++ b/js/samples/05.chatModeration/package.json
@@ -20,7 +20,7 @@
},
"dependencies": {
"@microsoft/teams-ai": "~1.0.1",
- "axios": "^1.6.2",
+ "axios": "^1.6.3",
"botbuilder": "^4.21.3",
"dotenv": "^16.3.1",
"jsonwebtoken": "^9.0.2",
diff --git a/js/samples/06.assistants.a.mathBot/package.json b/js/samples/06.assistants.a.mathBot/package.json
index 281c691d6..439185573 100644
--- a/js/samples/06.assistants.a.mathBot/package.json
+++ b/js/samples/06.assistants.a.mathBot/package.json
@@ -20,7 +20,7 @@
},
"dependencies": {
"@microsoft/teams-ai": "~1.0.1",
- "axios": "^1.6.2",
+ "axios": "^1.6.3",
"botbuilder": "^4.21.3",
"dotenv": "^16.3.1",
"jsonwebtoken": "^9.0.2",
diff --git a/js/samples/06.assistants.b.orderBot/package.json b/js/samples/06.assistants.b.orderBot/package.json
index 216927985..e9a07e0a7 100644
--- a/js/samples/06.assistants.b.orderBot/package.json
+++ b/js/samples/06.assistants.b.orderBot/package.json
@@ -20,7 +20,7 @@
},
"dependencies": {
"@microsoft/teams-ai": "~1.0.1",
- "axios": "^1.6.2",
+ "axios": "^1.6.3",
"botbuilder": "^4.21.3",
"dotenv": "^16.3.1",
"jsonwebtoken": "^9.0.2",
diff --git a/js/yarn.lock b/js/yarn.lock
index 2b2607ddb..8ca3b0b12 100644
--- a/js/yarn.lock
+++ b/js/yarn.lock
@@ -2059,10 +2059,10 @@ axios@^0.27.2:
follow-redirects "^1.14.9"
form-data "^4.0.0"
-axios@^1.3.4, axios@^1.6.2:
- version "1.6.2"
- resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.2.tgz#de67d42c755b571d3e698df1b6504cde9b0ee9f2"
- integrity sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==
+axios@^1.3.4, axios@^1.6.3:
+ version "1.6.3"
+ resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.3.tgz#7f50f23b3aa246eff43c54834272346c396613f4"
+ integrity sha512-fWyNdeawGam70jXSVlKl+SUNVcL6j6W79CuSIPfi6HnDUmSCH6gyUys/HrqHeA/wU0Az41rRgean494d0Jb+ww==
dependencies:
follow-redirects "^1.15.0"
form-data "^4.0.0"
@@ -7272,10 +7272,10 @@ openai@^3.2.1:
axios "^0.26.0"
form-data "^4.0.0"
-openai@^4.23.0:
- version "4.23.0"
- resolved "https://registry.yarnpkg.com/openai/-/openai-4.23.0.tgz#17b0e8493094e658896b683c6bf1824246d4d47b"
- integrity sha512-ey2CXh1OTcTUa0AWZWuTpgA9t5GuAG3DVU1MofCRUI7fQJij8XJ3Sr0VtgxoAE69C9wbHBMCux8Z/IQZfSwHiA==
+openai@^4.24.1:
+ version "4.24.1"
+ resolved "https://registry.yarnpkg.com/openai/-/openai-4.24.1.tgz#3759001eca835228289fcf18c1bd8d35dae538ba"
+ integrity sha512-ezm/O3eiZMnyBqirUnWm9N6INJU1WhNtz+nK/Zj/2oyKvRz9pgpViDxa5wYOtyGYXPn1sIKBV0I/S4BDhtydqw==
dependencies:
"@types/node" "^18.11.18"
"@types/node-fetch" "^2.6.4"
From bf2b0ea7a55b8a00a9e1f13e35990dd7b5a1f7b8 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 2 Jan 2024 13:54:44 -0800
Subject: [PATCH 9/9] [JS] bump: (deps-dev): Bump the development group in /js
with 7 updates (#1109)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
#minor Bumps the development group in /js with 7 updates:
| Package | From | To |
| --- | --- | --- |
|
[@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor)
| `7.38.5` | `7.39.0` |
|
[@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)
| `6.15.0` | `6.17.0` |
|
[@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)
| `6.15.0` | `6.17.0` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) |
`46.9.1` | `46.10.1` |
|
[eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier)
| `5.0.1` | `5.1.2` |
| [typedoc](https://github.com/TypeStrong/TypeDoc) | `0.25.4` | `0.25.6`
|
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `20.10.5` | `20.10.6` |
Updates `@microsoft/api-extractor` from 7.38.5 to 7.39.0
Changelog
#6238210e44
Thanks @​BPScott!
- Add exports mapping to package.json, to allow import
eslintPluginRecommended from 'eslint-plugin-prettier/recommended'
to work as expected.
Strictly speaking this is a breaking change as it removes the ability
for people to import from
"eslint-plugin-prettier/eslint-plugin-prettier.js" and
"eslint-plugin-prettier/recommended.js" but the former was
never recommended in the first place and the latter has only been
available for a few days.
#6212b09e7f
Thanks @​JounQin!
- feat: support parsing markdown via
eslint-mdx natively
What means the following is unnecessary anymore when using with
eslint-mdx/eslint-plugin-mdx!
If you are using flat config, import the recommended config from
eslint-plugin-prettier/recommended. Like the legacy format
recommended config, this automatically includes the contents of
eslint-config-prettier.
#6238210e44
Thanks @​BPScott!
- Add exports mapping to package.json, to allow import
eslintPluginRecommended from 'eslint-plugin-prettier/recommended'
to work as expected.
Strictly speaking this is a breaking change as it removes the ability
for people to import from
"eslint-plugin-prettier/eslint-plugin-prettier.js" and
"eslint-plugin-prettier/recommended.js" but the former was
never recommended in the first place and the latter has only been
available for a few days.
#6212b09e7f
Thanks @​JounQin!
- feat: support parsing markdown via
eslint-mdx natively
What means the following is unnecessary anymore when using with
eslint-mdx/eslint-plugin-mdx!
If you are using flat config, import the recommended config from
eslint-plugin-prettier/recommended. Like the legacy format
recommended config, this automatically includes the contents of
eslint-config-prettier.
Fixed infinite loop caused by a fix for some complicated
union/intersection types, #2468.
Improved infinite loop detection in type converter to reduce false
positives.
v0.25.5
Features
Added a new hierarchy.html page to HTML output which displays the
full inheritance hierarchy for classes included in the documentation, #182.
Added a --navigation.includeFolders (default:
true) option to create nested navigation for projects which
include many entry points, #2388.
Type parameters on functions/classes can will now link to the
"Type Parameters" section, #2322.
Type parameters have also been changed to have a distinct color from
type aliases when rendering, which can be changed with custom CSS.
TypeDoc now provides warnings if a signature comment is directly
specified on a signature and contains @param tags which do
not apply, #2368.
Extended reflection preview view for interfaces to include type
parameters, #2455.
Added special cases for converting methods which are documented as
returning this or accepting this as a
parameter, #2458.
Note: This will only happen if a method is declared as method():
this, it will not happen if the method implicitly returns
this
as the compiler strips that information when creating types for a class
instance.
Improved handling of functions with properties. Previous TypeDoc
versions would always create a separate
namespace for properties, now, TypeDoc will create a separate namespace
if the function is declaration merged
with a namespace. If the properties are added via
Object.assign or via property assignment on the function
TypeDoc will now instead add the properties to the function's page, #2461.
Bug Fixes
If both an interface and a variable share a name/symbol, TypeDoc
will no longer link to the variable when referenced in a type position,
#2106.
notDocumented validation will no longer require
documentation for data within parameters that cannot be documented via
@param, #2291.
"defined in" locations for signatures will now always be
contained within the function declaration's location. This prevents
defined in sometimes pointing to node_modules, #2307.
Type parameters will now be resolved for arrow-methods on classes
like regular class methods, #2320.
TypeDoc now inherits typedocOptions fields from
extended tsconfig files, #2334.
Methods which return function types no longer have duplicated
comments, #2336.
Comments on function-like type aliases will now show up under the
type alias, rather than nested within the type declaration, #2372.
Improved detection of default values for parameters with
destructured values, #2430.
Fix crash when converting some complicated union/intersection types,
#2451.
Navigation triangle markers should no longer display on a separate
line with some font settings, #2457.
@group and @category organization is now
applied later to allow inherited comments to create groups/categories,
#2459.
Conversion order should no longer affect link resolution for classes
with properties whose type does not rely on this, #2466.
Keyword syntax highlighting introduced in 0.25.4 was not always
applied to keywords.
Module reflections now have a custom M icon rather than
sharing with the namespace icon.
Note: The default CSS still colors both modules and namespaces the same,
as it is generally uncommon to have both in a generated site.
If all members in a group are hidden from the page, the group will
be hidden in the page index on page load.
Fixed infinite loop caused by a fix for some complicated
union/intersection types, #2468.
Improved infinite loop detection in type converter to reduce false
positives.
v0.25.5 (2024-01-01)
Features
Added a new hierarchy.html page to HTML output which displays the
full inheritance hierarchy for classes included in the documentation, #182.
Added a --navigation.includeFolders (default:
true) option to create nested navigation for projects which
include many entry points, #2388.
Type parameters on functions/classes can will now link to the
"Type Parameters" section, #2322.
Type parameters have also been changed to have a distinct color from
type aliases when rendering, which can be changed with custom CSS.
TypeDoc now provides warnings if a signature comment is directly
specified on a signature and contains @param tags which do
not apply, #2368.
Extended reflection preview view for interfaces to include type
parameters, #2455.
Added special cases for converting methods which are documented as
returning this or accepting this as a
parameter, #2458.
Note: This will only happen if a method is declared as method():
this, it will not happen if the method implicitly returns
this
as the compiler strips that information when creating types for a class
instance.
Improved handling of functions with properties. Previous TypeDoc
versions would always create a separate
namespace for properties, now, TypeDoc will create a separate namespace
if the function is declaration merged
with a namespace. If the properties are added via
Object.assign or via property assignment on the function
TypeDoc will now instead add the properties to the function's page, #2461.
Bug Fixes
If both an interface and a variable share a name/symbol, TypeDoc
will no longer link to the variable when referenced in a type position,
#2106.
notDocumented validation will no longer require
documentation for data within parameters that cannot be documented via
@param, #2291.
"defined in" locations for signatures will now always be
contained within the function declaration's location. This prevents
defined in sometimes pointing to node_modules, #2307.
Type parameters will now be resolved for arrow-methods on classes
like regular class methods, #2320.
TypeDoc now inherits typedocOptions fields from
extended tsconfig files, #2334.
Methods which return function types no longer have duplicated
comments, #2336.
Comments on function-like type aliases will now show up under the
type alias, rather than nested within the type declaration, #2372.
Improved detection of default values for parameters with
destructured values, #2430.
Fix crash when converting some complicated union/intersection types,
#2451.
Navigation triangle markers should no longer display on a separate
line with some font settings, #2457.
@group and @category organization is now
applied later to allow inherited comments to create groups/categories,
#2459.
Conversion order should no longer affect link resolution for classes
with properties whose type does not rely on this, #2466.
Keyword syntax highlighting introduced in 0.25.4 was not always
applied to keywords.
Module reflections now have a custom M icon rather than
sharing with the namespace icon.
Note: The default CSS still colors both modules and namespaces the same,
as it is generally uncommon to have both in a generated site.
If all members in a group are hidden from the page, the group will
be hidden in the page index on page load.