Giter Club home page Giter Club logo

bryan-roe / semantic-kernel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/semantic-kernel

1.0 1.0 2.0 183.9 MB

Integrate cutting-edge LLM technology quickly and easily into your apps

Home Page: https://bryan-roe.github.io/semantic-kernel/

License: MIT License

Shell 0.01% Python 25.96% Java 10.56% C# 59.14% Makefile 0.01% Handlebars 0.11% Batchfile 0.01% Jupyter Notebook 2.56% PowerShell 0.04% JavaScript 0.02% HTML 0.01% TypeScript 1.55% F# 0.02%

semantic-kernel's People

Contributors

adrianwyatt avatar awharrison-28 avatar brunoborges avatar bryan-roe avatar crickman avatar dehoward avatar dependabot[bot] avatar dluc avatar dmytrostruk avatar dsgrieve avatar eavanvalkenburg avatar github-actions[bot] avatar gitri-ms avatar glahaye avatar joe-braley avatar johnoliver avatar joowon-dm-snu avatar krzysztof318 avatar lemillermicrosoft avatar markwallace-microsoft avatar milderhc avatar mkarle avatar moonbox3 avatar rogerbarreto avatar sergeymenshykh avatar shawncal avatar stephentoub avatar taochenosu avatar teresaqhoang avatar web-flow avatar

Stargazers

 avatar

semantic-kernel's Issues

### Motivation and Context

Motivation and Context

Example of PowerShell planning:

image

Description

Contribution Checklist

Motivation and Context

Description

Contribution Checklist

Originally posted by @Bryan-Roe in #122

### Motivation and Context

Motivation and Context

Description

Contribution Checklist

Summary by Sourcery

This pull request introduces several new features including classes and plugins for integrating with OpenAI, Gmail, Bing, and IMAP protocols. These additions enhance the capabilities of the Semantic Kernel by enabling email fetching, web searching, and web page content processing.

  • New Features:
    • Introduced AutoGenPlanner class for integrating OpenAI Function Calling and AutoGen agents with Semantic Kernel.
    • Added GmailConnector class to interact with Gmail API for fetching emails.
    • Implemented BingConnector class to perform web searches using the Bing Search API.
    • Created EmailPlugin class to process emails over IMAP protocol and Gmail API.
    • Added ImapConnector class for standard IMAP email fetching.
    • Introduced BingPlugin class to search Bing and retrieve web page URLs.
    • Implemented WebPagesPlugin class to fetch and process text content from web pages.

Originally posted by @Bryan-Roe in #268

Bumps [danielpalme/ReportGenerator-GitHub-Action](https://github.com/danielpalme/reportgenerator-github-action) from 5.2.2 to 5.2.3.

Bumps danielpalme/ReportGenerator-GitHub-Action from 5.2.2 to 5.2.3.

Release notes

Sourced from danielpalme/ReportGenerator-GitHub-Action's releases.

5.2.3

#656 Changed handling of files which are not found in source directory

Commits

Dependabot compatibility score

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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Originally posted by @dependabot in #41

### Motivation and Context

Motivation and Context

Description

Contribution Checklist

Summary by Sourcery

This pull request updates multiple documentation files to correct the URLs for OpenAI API Key references and addresses minor formatting inconsistencies.

  • Documentation:
    • Updated various documentation files to correct URLs for OpenAI API Key references and fixed minor formatting issues.

Originally posted by @Bryan-Roe in #264

**suggestion:** Consider adding logging for delete operations.

          **suggestion:** Consider adding logging for delete operations.

Adding logging for delete operations can help in tracking and debugging issues related to data removal.

        this._logger.LogInformation("Attempting to delete collection {0}", collectionName);
        await this._chromaClient.DeleteCollectionAsync(collectionName, cancellationToken).ConfigureAwait(false);
        this._logger.LogInformation("Successfully deleted collection {0}", collectionName);

Originally posted by @sourcery-ai[bot] in #124 (comment)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.2 to 0.3.5.

Bumps ruff from 0.3.2 to 0.3.5.

Release notes

Sourced from ruff's releases.

v0.3.5

Changes

Preview features

  • [pylint] Implement modified-iterating-set (E4703) (#10473)
  • [refurb] Implement for-loop-set-mutations (FURB142) (#10583)
  • [refurb] Implement unnecessary-from-float (FURB164) (#10647)
  • [refurb] Implement verbose-decimal-constructor (FURB157) (#10533)

Rule changes

  • [flake8-comprehensions] Handled special case for C401 which also matches C416 (#10596)
  • [flake8-pyi] Mark unaliased-collections-abc-set-import fix as "safe" for more cases in stub files (PYI025) (#10547)
  • [numpy] Add row_stack to NumPy 2.0 migration rule (#10646)
  • [pycodestyle] Allow cell magics before an import (E402) (#10545)
  • [pycodestyle] Avoid blank line rules for the first logical line in cell (#10291)

Configuration

  • Respected nested namespace packages (#10541)
  • [flake8-boolean-trap] Add setting for user defined allowed boolean trap (#10531)

Bug fixes

  • Correctly handle references in __all__ definitions when renaming symbols in autofixes (#10527)
  • Track ranges of names inside __all__ definitions (#10525)
  • [flake8-bugbear] Avoid false positive for usage after continue (B031) (#10539)
  • [flake8-copyright] Accept commas in default copyright pattern (#9498)
  • [flake8-datetimez] Allow f-strings with %z for DTZ007 (#10651)
  • [flake8-pytest-style] Fix PT014 autofix for last item in list (#10532)
  • [flake8-quotes] Ignore Q000, Q001 when string is inside forward ref (#10585)
  • [isort] Always place non-relative imports after relative imports (#10669)
  • [isort] Respect Unicode characters in import sorting (#10529)
  • [pyflakes] Fix F821 false negatives when from __future__ import annotations is active (attempt 2) (#10524)
  • [pyflakes] Make unnecessary-lambda an always-unsafe fix (#10668)
  • [pylint] Fixed false-positive on the rule PLW1641 (eq-without-hash) (#10566)
  • [ruff] Fix panic in unused # noqa removal with multi-byte space (RUF100) (#10682)

Documentation

  • Add PR title format to CONTRIBUTING.md (#10665)
  • Fix list markup to include blank lines required (#10591)
  • Put flake8-logging next to the other flake8 plugins in registry (#10587)
  • [flake8-bandit] Update warning message for rule S305 to address insecure block cipher mode use (#10602)
  • [flake8-bugbear] Document use of anonymous assignment in useless-expression (#10551)
  • [flake8-datetimez] Clarify error messages and docs for DTZ rules (#10621)
  • [pycodestyle] Use same before vs. after numbers for space-around-operator (#10640)
  • [ruff] Change quadratic-list-summation docs to use iadd consistently (#10666)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.3.5

Preview features

  • [pylint] Implement modified-iterating-set (E4703) (#10473)
  • [refurb] Implement for-loop-set-mutations (FURB142) (#10583)
  • [refurb] Implement unnecessary-from-float (FURB164) (#10647)
  • [refurb] Implement verbose-decimal-constructor (FURB157) (#10533)

Rule changes

  • [flake8-comprehensions] Handled special case for C401 which also matches C416 (#10596)
  • [flake8-pyi] Mark unaliased-collections-abc-set-import fix as "safe" for more cases in stub files (PYI025) (#10547)
  • [numpy] Add row_stack to NumPy 2.0 migration rule (#10646)
  • [pycodestyle] Allow cell magics before an import (E402) (#10545)
  • [pycodestyle] Avoid blank line rules for the first logical line in cell (#10291)

Configuration

  • Respected nested namespace packages (#10541)
  • [flake8-boolean-trap] Add setting for user defined allowed boolean trap (#10531)

Bug fixes

  • Correctly handle references in __all__ definitions when renaming symbols in autofixes (#10527)
  • Track ranges of names inside __all__ definitions (#10525)
  • [flake8-bugbear] Avoid false positive for usage after continue (B031) (#10539)
  • [flake8-copyright] Accept commas in default copyright pattern (#9498)
  • [flake8-datetimez] Allow f-strings with %z for DTZ007 (#10651)
  • [flake8-pytest-style] Fix PT014 autofix for last item in list (#10532)
  • [flake8-quotes] Ignore Q000, Q001 when string is inside forward ref (#10585)
  • [isort] Always place non-relative imports after relative imports (#10669)
  • [isort] Respect Unicode characters in import sorting (#10529)
  • [pyflakes] Fix F821 false negatives when from __future__ import annotations is active (attempt 2) (#10524)
  • [pyflakes] Make unnecessary-lambda an always-unsafe fix (#10668)
  • [pylint] Fixed false-positive on the rule PLW1641 (eq-without-hash) (#10566)
  • [ruff] Fix panic in unused # noqa removal with multi-byte space (RUF100) (#10682)

Documentation

  • Add PR title format to CONTRIBUTING.md (#10665)
  • Fix list markup to include blank lines required (#10591)
  • Put flake8-logging next to the other flake8 plugins in registry (#10587)
  • [flake8-bandit] Update warning message for rule S305 to address insecure block cipher mode use (#10602)
  • [flake8-bugbear] Document use of anonymous assignment in useless-expression (#10551)
  • [flake8-datetimez] Clarify error messages and docs for DTZ rules (#10621)
  • [pycodestyle] Use same before vs. after numbers for space-around-operator (#10640)
  • [ruff] Change quadratic-list-summation docs to use iadd consistently (#10666)

0.3.4

... (truncated)

Commits

Dependabot compatibility score

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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Originally posted by @dependabot in #48

<!-- Generated by sourcery-ai[bot]: start review_guide -->

Reviewer's Guide by Sourcery

This pull request introduces a new feature for PowerShell planning in the semantic-kernel repository. The changes include the addition of a PowerShell planner, parser, and related unit tests, as well as updates to existing files to integrate the new functionality.

File-Level Changes

Files Changes
dotnet/src/Extensions/Planning.PowerShell/PowerShellParser.cs
dotnet/src/Extensions/Planning.PowerShell/PowerShellPlanner.cs
dotnet/src/Extensions/Planning.PowerShell/FunctionViewExtensions.cs
dotnet/src/Extensions/Planning.PowerShell/SKContextExtensions.cs
dotnet/src/Extensions/Planning.PowerShell/PowerShellPlannerConfig.cs
dotnet/src/Extensions/Planning.PowerShell/EmbeddedResource.cs
Introduced new classes and methods to support PowerShell planning, including parsing scripts, creating plans, and handling configurations.
dotnet/samples/KernelSyntaxExamples/Program.cs
dotnet/samples/KernelSyntaxExamples/Example56_PowerShellPlanner.cs
Updated sample programs to include a new example demonstrating the PowerShell planner functionality.
dotnet/src/Extensions/Extensions.UnitTests/Planning/PowerShell/PowerShellParserTests.cs Added unit tests to ensure the correctness of the PowerShell parser and related functionality.

Originally posted by @sourcery-ai in #214 (comment)

Bumps [transformers](https://github.com/huggingface/transformers) from 4.36.1 to 4.39.3.

Bumps transformers from 4.36.1 to 4.39.3.

Release notes

Sourced from transformers's releases.

Release v4.39.3

The AWQ issue persisted, and there was a regression reported with beam search and input embeddings.

Changes

  • Fix BC for AWQ quant #29965
  • generate fix breaking change for patch #29976

Patch release v4.39.2

Series of fixes for backwards compatibility (AutoAWQ and other quantization libraries, imports from trainer_pt_utils) and functionality (LLaMA tokenizer conversion)

  • Safe import of LRScheduler #29919
  • [BC] Fix BC for other libraries #29934
  • [LlamaSlowConverter] Slow to Fast better support #29797

Patch release v4.39.1

Patch release to fix some breaking changes to LLaVA model, fixes/cleanup for Cohere & Gemma and broken doctest

Release v4.39.0

v4.39.0

🚨 VRAM consumption 🚨

The Llama, Cohere and the Gemma model both no longer cache the triangular causal mask unless static cache is used. This was reverted by #29753, which fixes the BC issues w.r.t speed , and memory consumption, while still supporting compile and static cache. Small note, fx is not supported for both models, a patch will be brought very soon!

New model addition

Cohere open-source model

Command-R is a generative model optimized for long context tasks such as retrieval augmented generation (RAG) and using external APIs and tools. It is designed to work in concert with Cohere's industry-leading Embed and Rerank models to provide best-in-class integration for RAG applications and excel at enterprise use cases. As a model built for companies to implement at scale, Command-R boasts:

  • Strong accuracy on RAG and Tool Use
  • Low latency, and high throughput
  • Longer 128k context and lower pricing
  • Strong capabilities across 10 key languages
  • Model weights available on HuggingFace for research and evaluation

LLaVA-NeXT (llava v1.6)

Llava next is the next version of Llava, which includes better support for non padded images, improved reasoning, OCR, and world knowledge. LLaVA-NeXT even exceeds Gemini Pro on several benchmarks.

Compared with LLaVA-1.5, LLaVA-NeXT has several improvements:

  • Increasing the input image resolution to 4x more pixels. This allows it to grasp more visual details. It supports three aspect ratios, up to 672x672, 336x1344, 1344x336 resolution.
  • Better visual reasoning and OCR capability with an improved visual instruction tuning data mixture.
  • Better visual conversation for more scenarios, covering different applications.
  • Better world knowledge and logical reasoning.
  • Along with performance improvements, LLaVA-NeXT maintains the minimalist design and data efficiency of LLaVA-1.5. It re-uses the pretrained connector of LLaVA-1.5, and still uses less than 1M visual instruction tuning samples. The largest 34B variant finishes training in ~1 day with 32 A100s.*

... (truncated)

Commits

Dependabot compatibility score

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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Originally posted by @dependabot in #52

Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.0.

Bumps pytest from 8.1.1 to 8.2.0.

Release notes

Sourced from pytest's releases.

8.2.0

pytest 8.2.0 (2024-04-27)

Deprecations

  • #12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated py.path.local parameter instead of the pathlib.Path parameter which replaced it:

    • pytest_ignore_collect{.interpreted-text role="hook"} - the path parameter - use collection_path instead.
    • pytest_collect_file{.interpreted-text role="hook"} - the path parameter - use file_path instead.
    • pytest_pycollect_makemodule{.interpreted-text role="hook"} - the path parameter - use module_path instead.
    • pytest_report_header{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.
    • pytest_report_collectionfinish{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.

    The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0.

    See legacy-path-hooks-deprecated{.interpreted-text role="ref"} for more details.

Features

  • #11871: Added support for reading command line arguments from a file using the prefix character @, like e.g.: pytest @tests.txt. The file must have one argument per line.

    See Read arguments from file <args-from-file>{.interpreted-text role="ref"} for details.

Improvements

  • #11523: pytest.importorskip{.interpreted-text role="func"} will now issue a warning if the module could be found, but raised ImportError{.interpreted-text role="class"} instead of ModuleNotFoundError{.interpreted-text role="class"}.

    The warning can be suppressed by passing exc_type=ImportError to pytest.importorskip{.interpreted-text role="func"}.

    See import-or-skip-import-error{.interpreted-text role="ref"} for details.

  • #11728: For unittest-based tests, exceptions during class cleanup (as raised by functions registered with TestCase.addClassCleanup <unittest.TestCase.addClassCleanup>{.interpreted-text role="meth"}) are now reported instead of silently failing.

  • #11777: Text is no longer truncated in the short test summary info section when -vv is given.

  • #12112: Improved namespace packages detection when consider_namespace_packages{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs).

  • #9502: Added PYTEST_VERSION{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of pytest.__version__, and among other things can be used to easily check if code is running from within a pytest run.

Bug Fixes

  • #12065: Fixed a regression in pytest 8.0.0 where test classes containing setup_method and tests using @staticmethod or @classmethod would crash with AttributeError: 'NoneType' object has no attribute 'setup_method'.

    Now the request.instance <pytest.FixtureRequest.instance>{.interpreted-text role="attr"} attribute of tests using @staticmethod and @classmethod is no longer None, but a fresh instance of the class, like in non-static methods.

... (truncated)

Commits
  • 6bd3f31 Tweak changelog for 8.2.0
  • 9b6219b Prepare release version 8.2.0
  • 835765c Merge pull request #12130 from bluetech/fixtures-inline
  • 7e7503c unittest: report class cleanup exceptions (#12250)
  • 882c4da fixtures: inline fail_fixturefunc
  • 2e8fb9f fixtures: extract a _check_fixturedef method
  • acf2971 fixtures: inline _getnextfixturedef into _get_active_fixturedef
  • 3c77aec fixtures: move "request" check early
  • d217d68 fixtures: inline _compute_fixture_value
  • 530be28 fixtures: use early return in _get_active_fixturedef
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Originally posted by @dependabot in #67

### Motivation and Context

Motivation and Context

Description

Contribution Checklist

Summary by Sourcery

This pull request introduces several new features including classes and plugins for integrating with OpenAI, Gmail, Bing, and IMAP protocols. These additions enhance the capabilities of the Semantic Kernel by enabling email fetching, web searching, and web page content processing.

  • New Features:
    • Introduced AutoGenPlanner class for integrating OpenAI Function Calling and AutoGen agents with Semantic Kernel.
    • Added GmailConnector class to interact with Gmail API for fetching emails.
    • Implemented BingConnector class to perform web searches using the Bing Search API.
    • Created EmailPlugin class to process emails over IMAP protocol and Gmail API.
    • Added ImapConnector class for standard IMAP email fetching.
    • Introduced BingPlugin class to search Bing and retrieve web page URLs.
    • Implemented WebPagesPlugin class to fetch and process text content from web pages.

Originally posted by @Bryan-Roe in #268

### Motivation and Context

Motivation and Context

Description

Contribution Checklist

Summary by Sourcery

This pull request introduces several new features, including enhanced streaming chat message content handling, support for manual function calling, and improved vector search capabilities in AzureCosmosDBNoSQLMemoryStore. It also includes bug fixes, refactorings, and additional tests to ensure robustness and reliability of the new functionalities.

  • New Features:
    • Introduced new methods for handling streaming chat message contents, including support for function call content streaming.
    • Added support for manual function calling in both non-streaming and streaming chat APIs.
    • Implemented new constructors and methods in AzureCosmosDBNoSQLMemoryStore for enhanced vector search capabilities.
    • Added new tests for RestApiOperation to handle query strings and array parameters.
  • Bug Fixes:
    • Fixed issues with ImageContent class to ensure proper serialization and deserialization of properties.
    • Corrected the FunctionDelimiter type in OpenAIAssistantChannel from char to string.
  • Enhancements:
    • Refactored BinaryContent class to improve handling of data URIs and byte array data.
    • Enhanced StreamingChatMessageContent to include a convenience property for accessing text content.
    • Updated OpenAIChatCompletionService and AzureOpenAIChatCompletionService to support streaming of various content types.
    • Improved AzureCosmosDBNoSQLMemoryStore to validate embedding policies and handle empty data scenarios.
  • Documentation:
    • Updated documentation to reflect new features and enhancements in chat completion and memory store functionalities.
  • Tests:
    • Added new integration tests for AzureCosmosDBNoSQLMemoryStore to validate text storage and retrieval.
    • Implemented unit tests for RestApiOperation to ensure proper handling of query strings and array parameters.
    • Enhanced test coverage for ImageContent to verify serialization and deserialization behaviors.

Originally posted by @Bryan-Roe in #260

Bumps [regex](https://github.com/mrabarnett/mrab-regex) from 2023.12.25 to 2024.5.15.

Bumps regex from 2023.12.25 to 2024.5.15.

Changelog

Sourced from regex's changelog.

Version: 2024.5.15

Git issue 530: hangs with fuzzy and optionals

It's not hanging, it'll finish eventually. It's just an example of catastrophic backtracking.

The error printed when Ctrl+C is pressed does show a bug, though, which is now fixed.

Version: 2024.5.10

Updated for Python 3.13.

<time.h> now needs to be included explicitly because Python.h no longer includes it.

Version: 2024.4.28

Git issue 527: `VERBOSE`/`X` flag breaks `\N` escapes

Version: 2024.4.16

Git issue 525: segfault when fuzzy matching empty list

Version: 2023.12.25

Cannot get release notification action in main.yml to work. Commenting it out for now.

Version: 2023.12.24

Fixed invalid main.yml.

Version: 2023.12.23

The escape function no longer escapes \x00. It's not necessary.

Inline flags can now be turned off and apply to what follows.

Added \R to match line endings.

Version: 2023.10.3

Updated to Unicode 15.1.0.

Version: 2023.8.8

Git issue 508: Regex doesn't build using CPython main (3.13.0a0)
Removed usage of _PyBytes_Join and did a little tidying of the code that makes the result string.

Version: 2023.6.3

Git issue 498: Conditional negative lookahead inside positive lookahead fails to match

... (truncated)

Commits
  • 8eabb42 Git issue 530: hangs with fuzzy and optionals
  • be139ff Updated for Python 3.13.
  • 2e3272b Git issue 527: VERBOSE/X flag breaks \N escapes
  • 9c950f2 Updated changelog.
  • 5d65c8a Git issue 525: segfault when fuzzy matching empty list
  • 4f2ed52 Cannot get release notification action in main.yml to work. Commenting it out...
  • See full diff in compare view

Dependabot compatibility score

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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Originally posted by @dependabot in #91

Hey @Bryan-Roe - I've reviewed your changes and they look great!

          Hey @Bryan-Roe - I've reviewed your changes and they look great!
Here's what I looked at during the review
  • 🟡 General issues: 1 issue found
  • 🟡 Security: 1 issue found
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

Originally posted by @sourcery-ai[bot] in #103 (review)

Bumps the pip group in /python with 5 updates:

Bumps the pip group in /python with 5 updates:

Package From To
transformers 4.36.1 4.38.0
dnspython 2.4.2 2.6.1
idna 3.6 3.7
pillow 10.2.0 10.3.0
pymongo 4.6.1 4.6.3

Updates transformers from 4.36.1 to 4.38.0

Release notes

Sourced from transformers's releases.

v4.38: Gemma, Depth Anything, Stable LM; Static Cache, HF Quantizer, AQLM

New model additions

💎 Gemma 💎

Gemma is a new opensource Language Model series from Google AI that comes with a 2B and 7B variant. The release comes with the pre-trained and instruction fine-tuned versions and you can use them via AutoModelForCausalLM, GemmaForCausalLM or pipeline interface!

Read more about it in the Gemma release blogpost: https://hf.co/blog/gemma

from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("google/gemma-2b")
model = AutoModelForCausalLM.from_pretrained("google/gemma-2b", device_map="auto", torch_dtype=torch.float16)
input_text = "Write me a poem about Machine Learning."
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
outputs = model.generate(**input_ids)

You can use the model with Flash Attention, SDPA, Static cache and quantization API for further optimizations !

  • Flash Attention 2
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("google/gemma-2b")
model = AutoModelForCausalLM.from_pretrained(
"google/gemma-2b", device_map="auto", torch_dtype=torch.float16, attn_implementation="flash_attention_2"
)
input_text = "Write me a poem about Machine Learning."
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
outputs = model.generate(**input_ids)

  • bitsandbytes-4bit
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("google/gemma-2b")
model = AutoModelForCausalLM.from_pretrained(
"google/gemma-2b", device_map="auto", load_in_4bit=True
)
</tr></table>

... (truncated)

Commits
  • 08ab54a [ gemma] Adds support for Gemma 💎 (#29167)
  • 2de9314 [Maskformer] safely get backbone config (#29166)
  • 476957b 🚨 Llama: update rope scaling to match static cache changes (#29143)
  • 7a4bec6 Release: 4.38.0
  • ee3af60 Add support for fine-tuning CLIP-like models using contrastive-image-text exa...
  • 0996a10 Revert low cpu mem tie weights (#29135)
  • 15cfe38 [Core tokenization] add_dummy_prefix_space option to help with latest is...
  • efdd436 FIX [PEFT / Trainer ] Handle better peft + quantized compiled models (#29...
  • 5e95dca [cuda kernels] only compile them when initializing (#29133)
  • a7755d2 Generate: unset GenerationConfig parameters do not raise warning (#29119)
  • Additional commits viewable in compare view

Updates dnspython from 2.4.2 to 2.6.1

Release notes

Sourced from dnspython's releases.

dnspython 2.6.1

See What's New for details.

This is a bug fix release for 2.6.0 where the "TuDoor" fix erroneously suppressed legitimate Truncated exceptions. This caused the stub resolver to timeout instead of failing over to TCP when a legitimate truncated response was received over UDP.

This release addresses the potential DoS issue discussed in the "TuDoor" paper (CVE-2023-29483). The dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query. In this situation, dnspython might switch to querying another resolver or give up entirely, possibly denying service for that resolution. This release addresses the issue by adopting the recommended mitigation, which is ignoring the bad packets and continuing to listen for a legitimate response until the timeout for the query has expired.

Thank you to all the contributors to this release, and, as usual, thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.

dnspython 2.6.0

See What's New for details.

This release addresses the potential DoS issue discussed in the "TuDoor" paper (CVE-2023-29483). The dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query. In this situation, dnspython might switch to querying another resolver or give up entirely, possibly denying service for that resolution. This release addresses the issue by adopting the recommended mitigation, which is ignoring the bad packets and continuing to listen for a legitimate response until the timeout for the query has expired.

Thank you to all the contributors to this release, and, as usual, thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.

dnspython 2.5.0

See the What's New page for a summary of this release.

Thanks to all the contributors, and, as usual, thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.

Changelog

Sourced from dnspython's changelog.

2.6.1

  • The Tudoor fix ate legitimate Truncated exceptions, preventing the resolver from failing over to TCP and causing the query to timeout #1053.

2.6.0

  • As mentioned in the "TuDoor" paper and the associated CVE-2023-29483, the dnspython stub resolver is vulnerable to a potential DoS if a bad-in-some-way response from the right address and port forged by an attacker arrives before a legitimate one on the UDP port dnspython is using for that query.

    This release addresses the issue by adopting the recommended mitigation, which is ignoring the bad packets and continuing to listen for a legitimate response until the timeout for the query has expired.

  • Added support for the NSID EDNS option.

  • Dnspython now looks for version metadata for optional packages and will not use them if they are too old. This prevents possible exceptions when a feature like DoH is not desired in dnspython, but an old httpx is installed along with dnspython for some other purpose.

  • The DoHNameserver class now allows GET to be used instead of the default POST, and also passes source and source_port correctly to the underlying query methods.

2.5.0

  • Dnspython now uses hatchling for builds.

  • Asynchronous destinationless sockets now work on Windows.

  • Cython is no longer supported due to various typing issues.

  • Dnspython now explicitly canonicalizes IPv4 and IPv6 addresses. Previously it was possible for non-canonical IPv6 forms to be stored in a AAAA address, which would work correctly but possibly cause problmes if the address were used as a key in a dictionary.

  • The number of messages in a section can be retrieved with section_count().

  • Truncation preferences for messages can be specified.

  • The length of a message can be automatically prepended when rendering.

... (truncated)

Commits
  • 0a742b9 update CI
  • 0ea5ad0 The Tudoor fix should not eat valid Truncated exceptions #1053 (#1054)
  • f12d398 2.6.1 version prep
  • cecb853 Further improve CVE fix coverage to 100% for sync and async.
  • 7952e31 test IgnoreErrors
  • e093299 For the Tudoor fix, we also need the UDP nameserver to ignore_unexpected.
  • 3af9f78 2.6.0 versioning
  • ca63d95 Require cryptography >=41 instead of 42.
  • 902cbf3 Create CODE_OF_CONDUCT.md
  • ed9795f github contributing and pull request template
  • Additional commits viewable in compare view

Updates idna from 3.6 to 3.7

Release notes

Sourced from idna's releases.

v3.7

What's Changed

  • Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651]

Thanks to Guido Vranken for reporting the issue.

Full Changelog: kjd/idna@v3.6...v3.7

Changelog

Sourced from idna's changelog.

3.7 (2024-04-11) ++++++++++++++++

  • Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process. [CVE-2024-3651]

Thanks to Guido Vranken for reporting the issue.

Commits
  • 1d365e1 Release v3.7
  • c1b3154 Merge pull request #172 from kjd/optimize-contextj
  • 0394ec7 Merge branch 'master' into optimize-contextj
  • cd58a23 Merge pull request #152 from elliotwutingfeng/dev
  • 5beb28b More efficient resolution of joiner contexts
  • 1b12148 Update ossf/scorecard-action to v2.3.1
  • d516b87 Update Github actions/checkout to v4
  • c095c75 Merge branch 'master' into dev
  • 60a0a4c Fix typo in GitHub Actions workflow key
  • 5918a0e Merge branch 'master' into dev
  • Additional commits viewable in compare view

Updates pillow from 10.2.0 to 10.3.0

Release notes

Sourced from pillow's releases.

10.3.0

https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html

Changes

... (truncated)

Changelog

Sourced from pillow's changelog.

10.3.0 (2024-04-01)

  • CVE-2024-28219: Use strncpy to avoid buffer overflow #7928 [radarhere, hugovk]

  • Deprecate eval(), replacing it with lambda_eval() and unsafe_eval() #7927 [radarhere, hugovk]

  • Raise ValueError if seeking to greater than offset-sized integer in TIFF #7883 [radarhere]

  • Add --report argument to __main__.py to omit supported formats #7818 [nulano, radarhere, hugovk]

  • Added RGB to I;16, I;16L, I;16B and I;16N conversion #7918, #7920 [radarhere]

  • Fix editable installation with custom build backend and configuration options #7658 [nulano, radarhere]

  • Fix putdata() for I;16N on big-endian #7209 [Yay295, hugovk, radarhere]

  • Determine MPO size from markers, not EXIF data #7884 [radarhere]

  • Improved conversion from RGB to RGBa, LA and La #7888 [radarhere]

  • Support FITS images with GZIP_1 compression #7894 [radarhere]

  • Use I;16 mode for 9-bit JPEG 2000 images #7900 [scaramallion, radarhere]

  • Raise ValueError if kmeans is negative #7891 [radarhere]

  • Remove TIFF tag OSUBFILETYPE when saving using libtiff #7893 [radarhere]

  • Raise ValueError for negative values when loading P1-P3 PPM images #7882 [radarhere]

  • Added reading of JPEG2000 palettes #7870 [radarhere]

  • Added alpha_quality argument when saving WebP images #7872 [radarhere]

... (truncated)

Commits
  • 5c89d88 10.3.0 version bump
  • 63cbfcf Update CHANGES.rst [ci skip]
  • 2776126 Merge pull request #7928 from python-pillow/lcms
  • aeb51cb Merge branch 'main' into lcms
  • 5beb0b6 Update CHANGES.rst [ci skip]
  • cac6ffa Merge pull request #7927 from python-pillow/imagemath
  • f5eeeac Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval
  • facf3af Added release notes
  • 2a93aba Use strncpy to avoid buffer overflow
  • a670597 Update CHANGES.rst [ci skip]
  • Additional commits viewable in compare view

Updates pymongo from 4.6.1 to 4.6.3

Release notes

Sourced from pymongo's releases.

PyMongo 4.6.2

Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-6-2-released/267404

Changelog

Sourced from pymongo's changelog.

Changelog

Changes in Version 4.7

PyMongo 4.7 brings a number of improvements including:

  • Added the :class:pymongo.hello.Hello.connection_id, :attr:pymongo.monitoring.CommandStartedEvent.server_connection_id, :attr:pymongo.monitoring.CommandSucceededEvent.server_connection_id, and :attr:pymongo.monitoring.CommandFailedEvent.server_connection_id properties.

  • Fixed a bug where inflating a :class:~bson.raw_bson.RawBSONDocument containing a :class:~bson.code.Code would cause an error.

  • Significantly improved the performance of encoding BSON documents to JSON.

  • Support for named KMS providers for client side field level encryption. Previously supported KMS providers were only: aws, azure, gcp, kmip, and local. The KMS provider is now expanded to support name suffixes (e.g. local:myname). Named KMS providers enables more than one of each KMS provider type to be configured. See the docstring for :class:~pymongo.encryption_options.AutoEncryptionOpts. Note that named KMS providers requires pymongocrypt >=1.9 and libmongocrypt >=1.9.

  • :meth:~pymongo.encryption.ClientEncryption.encrypt and :meth:~pymongo.encryption.ClientEncryption.encrypt_expression now allow key_id to be passed in as a :class:uuid.UUID.

  • Fixed a bug where :class:~bson.int64.Int64 instances could not always be encoded by orjson_. The following now works::

    import orjson from bson import json_util orjson.dumps({'a': Int64(1)}, default=json_util.default, option=orjson.OPT_PASSTHROUGH_SUBCLASS)

.. _orjson: https://github.com/ijl/orjson

  • Fixed a bug appearing in Python 3.12 where "RuntimeError: can't create new thread at interpreter shutdown" could be written to stderr when a MongoClient's thread starts as the python interpreter is shutting down.
  • Added a warning when connecting to DocumentDB and CosmosDB clusters. For more information regarding feature compatibility and support please visit mongodb.com/supportability/documentdb <https://mongodb.com/supportability/documentdb>_ and mongodb.com/supportability/cosmosdb <https://mongodb.com/supportability/cosmosdb>_.
  • Added the :attr:pymongo.monitoring.ConnectionCheckedOutEvent.duration, :attr:pymongo.monitoring.ConnectionCheckOutFailedEvent.duration, and :attr:pymongo.monitoring.ConnectionReadyEvent.duration properties.
  • Added the type and kwargs arguments to :class:~pymongo.operations.SearchIndexModel to enable creating vector search indexes in MongoDB Atlas.
  • Fixed a bug where read_concern and write_concern were improperly added to :meth:~pymongo.collection.Collection.list_search_indexes queries.

Unavoidable breaking changes ............................

... (truncated)

Commits
  • 8da192f BUMP 4.6.3
  • 56b6b6d PYTHON-4305 Fix bson size check (#1564)
  • 449d0f3 BUMP to 4.6.3.dev0
  • e04576d DEVPROD-3871 Use teardown_task when there is one function/command (#1533)
  • cf1c6a1 PYTHON-4219 Prep for 4.6.2 Release (#1530)
  • d29b2b7 PYTHON-4147 [v4.6]: Silence noisy thread.start() RuntimeError at shutdown (#1...
  • 0477b9b PYTHON-4077 [v4.6]: Ensure there is a MacOS wheel for Python 3.7 (#1527)
  • ecad17d BUMP 4.6.2.dev0
  • See full diff in compare view

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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> 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 <dependency name> 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 <dependency name> 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 <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Originally posted by @dependabot in #55

Bumps [google-generativeai](https://github.com/google/generative-ai-python) from 0.3.2 to 0.4.1.

Bumps google-generativeai from 0.3.2 to 0.4.1.

Release notes

Sourced from google-generativeai's releases.

v0.4.1 - Bugfix

Bugfix

Docs

New Contributors

Full Changelog: google-gemini/generative-ai-python@v0.4.0...v0.4.1

v0.4.0

What's new

Features

More updates

New Contributors

... (truncated)

Commits

Dependabot compatibility score

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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Originally posted by @dependabot in #32

### Motivation and Context

Motivation and Context

Description

Contribution Checklist

Summary by Sourcery

This pull request introduces a new PowerShell planner feature that allows generating and parsing plans from PowerShell scripts. It includes updates to the Plan class, new configuration options, and an example demonstrating the feature. Additionally, unit tests have been added to validate the new functionality.

  • New Features:
    • Introduced a PowerShell planner that generates plans based on PowerShell scripts.
    • Added the ability to parse PowerShell scripts into plans using the new PowerShellParser class.
    • Implemented a new PowerShellPlannerConfig class for configuring the PowerShell planner.
    • Added a new example (Example56_PowerShellPlanner) demonstrating the usage of the PowerShell planner.
  • Enhancements:
    • Updated the Plan class to include an original plan string representation.
  • Tests:
    • Added unit tests for the PowerShellParser class to ensure correct parsing of PowerShell scripts.

Originally posted by @Bryan-Roe in #214

### Motivation and Context

Motivation and Context

Description

Contribution Checklist

Motivation and Context

Description

Contribution Checklist

Summary by Sourcery

Deprecated the java-v1 branch by updating the README to inform users to refer to the java-development branch for the latest updates.

  • Documentation:
    • Updated the README in the java-v1 branch to indicate that it is deprecated and to refer users to the java-development branch for the latest updates.

Originally posted by @Bryan-Roe in #261

Hey @Bryan-Roe - I've reviewed your changes and they look great!

          Hey @Bryan-Roe - I've reviewed your changes and they look great!
Here's what I looked at during the review
  • 🟡 General issues: 15 issues found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

Originally posted by @sourcery-ai[bot] in #124 (review)

### Motivation and Context

Motivation and Context

Example of PowerShell planning:

image

Description

Contribution Checklist

Motivation and Context

Description

Contribution Checklist

Originally posted by @Bryan-Roe in #122

<!-- Generated by sourcery-ai[bot]: start review_guide -->

          <!-- Generated by sourcery-ai[bot]: start review_guide -->

Reviewer's Guide by Sourcery

This pull request introduces significant changes to the BingConnector class in the semantic-kernel repository. The changes include the addition of a new BingSettings class for managing configuration settings, and modifications to the BingConnector class to utilize these settings. The implementation also includes handling for custom configurations and environment variables.

File-Level Changes

Files Changes
python/semantic_kernel/connectors/search_engine/bing_connector.py
python/semantic_kernel/connectors/search_engine/bing_connector_settings.py
Introduced a new settings management system for the BingConnector class, including a new BingSettings class and modifications to the BingConnector class to utilize these settings.

Originally posted by @sourcery-ai[bot] in #224 (comment)

<!-- Generated by sourcery-ai[bot]: start review_guide -->

Reviewer's Guide by Sourcery

This pull request introduces a new feature for PowerShell planning in the semantic-kernel repository. The changes include the addition of a PowerShell planner, parser, and related unit tests, as well as updates to existing files to integrate the new functionality.

File-Level Changes

Files Changes
dotnet/src/Extensions/Planning.PowerShell/PowerShellParser.cs
dotnet/src/Extensions/Planning.PowerShell/PowerShellPlanner.cs
dotnet/src/Extensions/Planning.PowerShell/FunctionViewExtensions.cs
dotnet/src/Extensions/Planning.PowerShell/SKContextExtensions.cs
dotnet/src/Extensions/Planning.PowerShell/PowerShellPlannerConfig.cs
dotnet/src/Extensions/Planning.PowerShell/EmbeddedResource.cs
Introduced new classes and methods to support PowerShell planning, including parsing scripts, creating plans, and handling configurations.
dotnet/samples/KernelSyntaxExamples/Program.cs
dotnet/samples/KernelSyntaxExamples/Example56_PowerShellPlanner.cs
Updated sample programs to include a new example demonstrating the PowerShell planner functionality.
dotnet/src/Extensions/Extensions.UnitTests/Planning/PowerShell/PowerShellParserTests.cs Added unit tests to ensure the correctness of the PowerShell parser and related functionality.

Originally posted by @sourcery-ai in #214 (comment)

Bumps [openapi-core](https://github.com/python-openapi/openapi-core) from 0.18.2 to 0.19.0.

Bumps openapi-core from 0.18.2 to 0.19.0.

Release notes

Sourced from openapi-core's releases.

0.19.0

This version focuses on OpenAPI app and support for binary requests and responses.

Features

  • FastAPI integration #738
  • Mimetype parameters (i.e. charset) handling #678
  • Parameter deserializers renamed to Style deserializers #676
  • Unmarshalling processor enhancement #625
    • Option to skip response validation in Django, Falcon and Flask integrations #667
  • use explicit arguments (instead of kwargs) in Spec.from_dict and add short note in documentation how to use base_url for Spec.from_dict
  • Parameter and header get value refactor #677
  • Python 3.12 support #684
  • Bump openapi-spec-validator from 0.6.0 to 0.7.0 #685
    • Use openapi-spec-validator spec version finder #691
  • Move to SchemaPath from jsonschema-path package #690
  • Specification validation as part of shortcuts #686
  • Style deserializing reimplementation with support for all styles #694
  • Media type encoding support #646
  • Replace mimetype with content_type to include content parameters #699
  • Suport for primitive properties casting of urlencoded objects. #701
  • Request response binary format support #710
  • Starlette middleware #680
  • OpenAPI app and high level integration #716

Bug fixes

  • aiohttp request host_url include scheme #673
  • aiohttp response body check none #674
  • Validate empty request body fix #713
  • Path finder returns default server #648
  • OpenAPI config passed to validators and unmarshallers fix #779
  • milti types schema format unmarshal fix #562

Deprecations

  • Spec class is deprecated. Use SchemaPath from jsonschema-path package.

Breaking changes

  • request_class/response_class renamed to request_cls/response_cls in unmarshalling processors (Django, Falcon and Flask integrations) #667
  • ParameterDeserializersFactory renamed to StyleDeserializersFactory #676
  • Specification validation is no longer part of Spec object creation and moved to be part of OpenAPI object creation. #686 #716
  • Request and Response protocols' mimetype attribute replaced with content_type #699
  • Request protocol's body attribute returns bytes instead of str #710
  • Response protocol's data attribute returns bytes instead of str #710
  • Unmarshalling no longer raises FormatUnmarshalError

0.19.0a2

This version focuses on OpenAPI app and support for binary requests and responses.

Bug fixes

  • Path finder returns default server #648
  • OpenAPI config passed to validators and unmarshallers fix #779

... (truncated)

Commits
  • 46d94e9 Version 0.19.0
  • 3221983 FastAPI docs formatting fix
  • fcddf6b Merge pull request #738 from python-openapi/feature/fastapi-integration
  • 383d097 Merge pull request #783 from python-openapi/dependabot/pip/jsonschema-4.21.1
  • 38e67d3 Merge pull request #784 from python-openapi/dependabot/pip/black-24.2.0
  • f732b16 Merge pull request #785 from python-openapi/dependabot/pip/parse-1.20.1
  • 9d31ee8 Merge pull request #786 from python-openapi/dependabot/pip/python-multipart-0...
  • 89836a0 Bump python-multipart from 0.0.6 to 0.0.9
  • dab8ff9 Bump parse from 1.20.0 to 1.20.1
  • 80befca Bump black from 24.1.1 to 24.2.0
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Originally posted by @dependabot in #33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.