Skip to content

Releases: macbre/sql-metadata

Support the TRUNCATE TABLE query

26 Aug 18:53
3e47e9a
Compare
Choose a tag to compare

Fixes and improvements

  • Support for the TRUNCATE TABLE query parsing by @T-Santos in #521
  • fix is_alias_without_as logical error by @MiuNice in #523

Dependencies

New Contributors

Full Changelog: v2.12.0...v2.13.0

Support hive create function

15 Jun 12:21
da2a703
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.11.0...v2.12.0

ClickHouse: improved tokens handling

16 Apr 09:12
730478c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.10.0...v2.11.0

Improvements around parser.without_comments

13 Nov 11:54
fd9c280
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.9.0...v2.10.0

Improved complex queries handling and support for NATURAL JOIN added

24 Sep 11:32
59d568c
Compare
Choose a tag to compare

Fixes and new features

  • Parser.tokens: ignore flake8 error by @macbre in #425
  • Drop support for Python 3.7 by @macbre in #426
  • Handle cases tables preceded by complex queries by @Byunk in #423
  • Update keywords_lists.py by @at2706 in #428
  • Update keywords_lists.py to add Natural Join by @lavkeshg in #403
  • Add a test coverage for the NATURAL JOIN by @macbre in #429

New Contributors 👋🏻

Thanks!

Updated dependencies

  • build(deps-dev): bump pylint from 2.17.2 to 2.17.3 by @dependabot in #389
  • build(deps-dev): bump pylint from 2.17.3 to 2.17.4 by @dependabot in #393
  • build(deps): bump dependabot/fetch-metadata from 1.4.0 to 1.5.0 by @dependabot in #395
  • build(deps): bump requests from 2.28.2 to 2.31.0 by @dependabot in #396
  • build(deps): bump dependabot/fetch-metadata from 1.5.0 to 1.5.1 by @dependabot in #398
  • build(deps-dev): bump pytest-cov from 4.0.0 to 4.1.0 by @dependabot in #399
  • build(deps-dev): bump pytest from 7.3.1 to 7.3.2 by @dependabot in #402
  • build(deps-dev): bump pytest from 7.3.2 to 7.4.0 by @dependabot in #404
  • build(deps): bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #405
  • build(deps-dev): bump pylint from 2.17.4 to 2.17.5 by @dependabot in #407
  • build(deps): bump snok/install-poetry from 1.3.3 to 1.3.4 by @dependabot in #410
  • build(deps-dev): bump pytest from 7.4.0 to 7.4.1 by @dependabot in #414
  • build(deps-dev): bump pytest from 7.4.1 to 7.4.2 by @dependabot in #419
  • build(deps-dev): bump certifi from 2022.12.7 to 2023.7.22 by @dependabot in #415
  • build(deps): bump actions/checkout from 3 to 4 by @dependabot in #416
  • build(deps-dev): bump black from 23.3.0 to 23.9.1 by @dependabot in #427

Full Changelog: v2.8.0...v2.9.0

Fixed handling of IN conditions and upsert queries

20 Apr 17:43
303d70d
Compare
Choose a tag to compare

What's Changed

Bug fixes

  • Fix handling of LIMIT / OFFSET in queries with the IN condition by @macbre in #387
  • Properly support upsert queries when extracting table names by @macbre in #388

Others

Full Changelog: v2.7.0...v2.8.0

Let the user disable the Logger

23 Mar 19:40
1fc1680
Compare
Choose a tag to compare

What's Changed

  • build(deps-dev): bump black from 22.3.0 to 22.6.0 by @dependabot in #325
  • build(deps): bump dependabot/fetch-metadata from 1.3.1 to 1.3.2 by @dependabot in #327
  • build(deps): bump dependabot/fetch-metadata from 1.3.2 to 1.3.3 by @dependabot in #328
  • build(deps-dev): bump flake8 from 4.0.1 to 5.0.1 by @dependabot in #332
  • build(deps-dev): bump flake8 from 5.0.1 to 5.0.3 by @dependabot in #333
  • build(deps-dev): bump flake8 from 5.0.3 to 5.0.4 by @dependabot in #334
  • Force the Poetry version to 1.1.14 by @macbre in #337
  • build(deps-dev): bump black from 22.6.0 to 22.8.0 by @dependabot in #336
  • CI - try to test against all Python versions by @macbre in #343
  • build(deps): bump sqlparse from 0.4.2 to 0.4.3 by @dependabot in #340
  • Python 3.6 reached end-of-life in December 2021 by @macbre in #344
  • build(deps-dev): bump pytest-cov from 3.0.0 to 4.0.0 by @dependabot in #341
  • build(deps-dev): bump coverage from 6.2 to 6.5.0 by @dependabot in #345
  • build(deps-dev): bump pytest from 7.0.1 to 7.1.3 by @dependabot in #346
  • build(deps): bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in #347
  • build(deps-dev): bump black from 22.8.0 to 22.10.0 by @dependabot in #348
  • build(deps): bump snok/install-poetry from 1.3.1 to 1.3.2 by @dependabot in #349
  • build(deps): bump snok/install-poetry from 1.3.2 to 1.3.3 by @dependabot in #350
  • build(deps-dev): bump pytest from 7.1.3 to 7.2.0 by @dependabot in #351
  • build(deps): bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in #353
  • build(deps-dev): bump black from 22.10.0 to 22.12.0 by @dependabot in #359
  • build(deps): bump certifi from 2021.5.30 to 2022.12.7 by @dependabot in #357
  • build(deps): bump setuptools from 59.6.0 to 65.5.1 by @dependabot in #361
  • build(deps): bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #366
  • Install Poetry v1.3.2 by @macbre in #373
  • build(deps-dev): bump pytest from 7.2.0 to 7.2.1 by @dependabot in #364
  • build(deps-dev): bump black from 22.12.0 to 23.1.0 by @dependabot in #368
  • build(deps-dev): bump pytest from 7.2.1 to 7.2.2 by @dependabot in #375
  • feature/Let the user disable the Logger by @BeRT2me in #362
  • pylint: bump to 2.17.1 by @macbre in #378
  • Test using Python 3.11 as well by @macbre in #374

New Contributors

Full Changelog: v2.6.0...v2.7.0

Support for DROP TABLE queries added

17 Jun 09:08
d7701b6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.0...v2.6.0

Improved handling of comments in queries

26 Apr 13:22
6fd44ba
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump actions/cache from 2 to 3 by @dependabot in #299
  • build(deps-dev): bump pylint from 2.12.2 to 2.13.0 by @dependabot in #300
  • build(deps-dev): bump pylint from 2.13.0 to 2.13.2 by @dependabot in #301
  • build(deps-dev): bump black from 22.1.0 to 22.3.0 by @dependabot in #302
  • build(deps-dev): bump pylint from 2.13.2 to 2.13.3 by @dependabot in #303
  • build(deps-dev): bump pylint from 2.13.3 to 2.13.4 by @dependabot in #304
  • build(deps-dev): bump pylint from 2.13.4 to 2.13.5 by @dependabot in #305
  • build(deps-dev): bump pylint from 2.13.5 to 2.13.7 by @dependabot in #307
  • build(deps): bump dependabot/fetch-metadata from 1.3.0 to 1.3.1 by @dependabot in #308
  • Do not consider AS ( from window clause as query start by @vakhmenin in #310
  • Add next_token_not_comment property of Token by @vakhmenin in #312

New Contributors

Full Changelog: v2.4.0...v2.5.0

Improved USING and DELETE queries handling

10 Mar 15:54
eecdb0e
Compare
Choose a tag to compare

What's Changed

New Contributors

Hi and thanks, folks!

Full Changelog: v2.3.0...v2.4.0