Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump sqlparse from 0.4.4 to 0.5.0 #463

Closed
wants to merge 226 commits into from
Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 15, 2024

Bumps sqlparse from 0.4.4 to 0.5.0.

Changelog

Sourced from sqlparse's changelog.

Release 0.5.0 (Apr 13, 2024)

Notable Changes

  • Drop support for Python 3.5, 3.6, and 3.7.
  • Python 3.12 is now supported (pr725, by hugovk).
  • IMPORTANT: Fixes a potential denial of service attack (DOS) due to recursion error for deeply nested statements. Instead of recursion error a generic SQLParseError is raised. See the security advisory for details: GHSA-2m57-hf25-phgg The vulnerability was discovered by @​uriyay-jfrog. Thanks for reporting!

Enhancements:

  • Splitting statements now allows to remove the semicolon at the end. Some database backends love statements without semicolon (issue742).
  • Support TypedLiterals in get_parameters (pr649, by Khrol).
  • Improve splitting of Transact SQL when using GO keyword (issue762).
  • Support for some JSON operators (issue682).
  • Improve formatting of statements containing JSON operators (issue542).
  • Support for BigQuery and Snowflake keywords (pr699, by griffatrasgo).
  • Support parsing of OVER clause (issue701, pr768 by r33s3n6).

Bug Fixes

  • Ignore dunder attributes when creating Tokens (issue672).
  • Allow operators to precede dollar-quoted strings (issue763).
  • Fix parsing of nested order clauses (issue745, pr746 by john-bodley).
  • Thread-safe initialization of Lexer class (issue730).
  • Classify TRUNCATE as DDL and GRANT/REVOKE as DCL keywords (based on pr719 by josuc1, thanks for bringing this up!).
  • Fix parsing of PRIMARY KEY (issue740).

Other

  • Optimize performance of matching function (pr799, by admachainz).
Commits
  • ddbd0ec Bump version.
  • 29f2e0a Raise recursion limit for tests.
  • b4a39d9 Raise SQLParseError instead of RecursionError.
  • f1bcf2f Update AUHTORS and Changelog.
  • e03b74e Fix Function.get_parameters(), add Funtion.get_window()
  • 617b8f6 Add OVER clause, and group it into Function (fixes #701)
  • d8f8147 Update AUHTORS and Changelog.
  • 012c9f1 Optimize sqlparse.utils.imt().
  • 46971e5 Fix parsing of PRIMARY KEY (fixes #740).
  • fc4b0be Code cleanup.
  • 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Juan Valacco and others added 30 commits August 15, 2023 14:11
* DH-4434/removing the hardcoded gpt-4 from eval

* DH-4434/reformat with black
* DH-4441/adding the docs for context, vector, evals

* Delete .DS_Store

* DH-4441/adding the DS_Store to gitignore

* Adding the .DS_Store again

* Changing the DS_Store

* Changing the DS_Store to what was in main
* bf/DH-4444 add quickstart

* bf/DH-4444_updated_documentation added the quickstart guide and introduction

* bf/DH-4444 fix links to API documentation from quickstart guide
…ector db (#97)

* DH-4453/creating the collection if doesn't exist

* DH-4453/changing the DS_store to the original

* DH-4453/adding the DS_Store to gitignore
* bf/DH-4457 fix small bug in README and updated modules.rst

* bf/DH-4457 fix GitHub and Discord links in modules docs

* Fix image name

---------

Co-authored-by: Juan Carlos Jose Camacho <[email protected]>
* DH-4449/removing the smart cache from API flow

* DH-4449/removing the cache from config
* bf/DH-4457 fix small bug in README and updated modules.rst

* bf/DH-4457 fix GitHub and Discord links in modules docs

* bf/DH-4457 update link to readthedocs
* DH-4459/updating the condfidence

* DH-4459/reformat with black
* DH-4474&4476/new endpoint and update update query

* DH-4474/updating the tests

* ft/DH-4474/refining the endpoints for golden db

* DH-4478/only update confidence, nl_answer when sql queries are different

* DH-4474/update golden records and return _id

* DH-4474/cast the type of _id to str
* bf/DH-4444 hide all toc links from the top level pages

* bf/DH-4444 clean up the index.html, modules, getting started and db files

* bf/DH-4444 updated text-to-sql and API documentation

* bf/DH-4444 fix bug in text-to-sql engine
* DH-4507/updating post response for golden records

* DH-4507/reformat with black
* DH-4506/updating_the delete_endpoint_response

* DH-4506/update the docs
#118)

* DH-4509/retruning the id together with the post response of golden records

* DH-4509/reformat with black
MohammadrezaPourreza and others added 25 commits March 13, 2024 14:32
* Dh-5584/fixing the sql query stucking for ever issue

* DH-5584/updating the timeout
* DH-5567/adding intermediate steps as the response

* DH-5557add truncation

* Dh-5567/reformat
* DH-5638/add langsmith metadata params

* DH-5638/change tests
* DATA-2068/modify schema linking to use few-shot samples

* DATA-2068/changing the logger method
…nt for correct parsing of SQL markdown -- added markdown bold text (#450)
* DH5669/store db dialect in database connection collection

* modify the code for the tests

* test the response

* DH5669/removing the validation on object for dialect

* DH5669/adding the script to update dialect

* DH5669/reformat with black

* DH5669/rename the function to make more sense
* DH-5337/updating the golden sqls colleciton name

* DH-5337/reformat with balck
* DH-5688/fixing the observations code blocks

* DATA-5688/fix the inline comments

* DH-5688/reformat with black

* Fixing the backticks of the observations

* Add newlines after the observations and final answer

* removing multi DDL command in create tables

* adding newline for excute sql query
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.4 to 0.5.0.
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](andialbrecht/sqlparse@0.4.4...0.5.0)

---
updated-dependencies:
- dependency-name: sqlparse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 15, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 16, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/sqlparse-0.5.0 branch May 16, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants