Skip to content

Releases: swimmwatch/telegram-webapp-auth

Release v3.1.0

02 Jun 20:24
9fa412b

Choose a tag to compare

Changes

  • Hardened Telegram Mini App init data validation: safer query parsing, strict auth date handling, zero-duration expiry support, typed result values, and WebAppInitData.extra for unknown Telegram fields.
  • Added secret-less third-party validation usage while keeping the existing public method names.
  • Updated runtime/dev dependencies and Poetry 2.x tooling, with CI pinned to Poetry 2.3.2.
  • Refreshed README and MkDocs documentation with clearer guides, examples, API pages, and strict docs validation.
  • Updated GitHub community files, issue/PR templates, and the Telegram documentation update workflow.

Validation

  • PR #323 and #324 checks passed across actionlint, CodeQL, Snyk, linters, and Python 3.10-3.14 test matrix on Ubuntu, macOS, and Windows.

Full Changelog: v3.0.7...v3.1.0

Release v3.0.7

18 Nov 18:56
0420f60

Choose a tag to compare

What's Changed

  • build(deps-dev): bump mkdocs-material from 9.6.14 to 9.6.15 by @dependabot[bot] in #173
  • build(deps-dev): bump pytest-xdist from 3.7.0 to 3.8.0 by @dependabot[bot] in #174
  • build(deps): bump cryptography from 45.0.4 to 45.0.5 by @dependabot[bot] in #175
  • build(deps-dev): bump typing-extensions from 4.14.0 to 4.14.1 by @dependabot[bot] in #176
  • build(deps-dev): bump mypy from 1.16.1 to 1.17.0 by @dependabot[bot] in #178
  • build(deps-dev): bump freezegun from 1.5.2 to 1.5.3 by @dependabot[bot] in #177
  • build(deps-dev): bump mkdocstrings from 0.29.1 to 0.30.0 by @dependabot[bot] in #179
  • build(deps-dev): bump mkdocs-material from 9.6.15 to 9.6.16 by @dependabot[bot] in #180
  • build(deps-dev): bump freezegun from 1.5.3 to 1.5.4 by @dependabot[bot] in #193
  • build(deps-dev): bump mypy from 1.17.0 to 1.17.1 by @dependabot[bot] in #199
  • Implement Telegram documentation updates checker by @swimmwatch in #182
  • Init schedule docs update job by @swimmwatch in #207
  • build(deps): bump cryptography from 45.0.5 to 45.0.6 by @dependabot[bot] in #210
  • build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #211
  • build(deps-dev): bump freezegun from 1.5.4 to 1.5.5 by @dependabot[bot] in #212
  • build(deps-dev): bump mkdocs-macros-plugin from 1.3.7 to 1.3.9 by @dependabot[bot] in #213
  • build(deps-dev): bump mkdocstrings-python from 1.16.12 to 1.17.0 by @dependabot[bot] in #214
  • build(deps-dev): bump mkdocs-material from 9.6.16 to 9.6.17 by @dependabot[bot] in #215
  • build(deps-dev): bump mkdocs-material from 9.6.17 to 9.6.18 by @dependabot[bot] in #217
  • Use swimmwatch/webchanges-action@v1.0.1 action instead current internal action by @swimmwatch in #219
  • Update webchanges action by @swimmwatch in #220
  • build(deps-dev): bump mkdocstrings-python from 1.17.0 to 1.18.0 by @dependabot[bot] in #222
  • build(deps-dev): bump typing-extensions from 4.14.1 to 4.15.0 by @dependabot[bot] in #221
  • build(deps-dev): bump mkdocstrings-python from 1.18.0 to 1.18.2 by @dependabot[bot] in #223
  • build(deps): bump cryptography from 45.0.6 to 45.0.7 by @dependabot[bot] in #224
  • build(deps-dev): bump pytest from 8.4.1 to 8.4.2 by @dependabot[bot] in #226
  • build(deps-dev): bump flake8-comprehensions from 3.16.0 to 3.17.0 by @dependabot[bot] in #230
  • build(deps-dev): bump mkdocs-material from 9.6.18 to 9.6.19 by @dependabot[bot] in #227
  • build(deps-dev): bump mypy from 1.17.1 to 1.18.1 by @dependabot[bot] in #233
  • build(deps-dev): bump mkdocs-coverage from 1.1.0 to 2.0.0 by @dependabot[bot] in #232
  • build(deps): bump actions/setup-python from 5 to 6 by @dependabot[bot] in #225
  • build(deps-dev): bump mkdocs-material from 9.6.19 to 9.6.20 by @dependabot[bot] in #239
  • build(deps-dev): bump pytest-cov from 6.2.1 to 7.0.0 by @dependabot[bot] in #229
  • build(deps-dev): bump mkdocstrings from 0.30.0 to 0.30.1 by @dependabot[bot] in #244
  • build(deps-dev): bump mypy from 1.18.1 to 1.18.2 by @dependabot[bot] in #243
  • build(deps): bump cryptography from 45.0.7 to 46.0.1 by @dependabot[bot] in #241
  • build(deps-dev): bump black from 25.1.0 to 25.9.0 by @dependabot[bot] in #242
  • build(deps-dev): bump mkdocs-macros-plugin from 1.3.9 to 1.4.0 by @dependabot[bot] in #245
  • build(deps-dev): bump mkdocs-material from 9.6.20 to 9.6.21 by @dependabot[bot] in #247
  • build(deps): bump cryptography from 46.0.1 to 46.0.2 by @dependabot[bot] in #249
  • build(deps-dev): bump isort from 6.0.1 to 6.1.0 by @dependabot[bot] in #248
  • build(deps): bump cryptography from 46.0.2 to 46.0.3 by @dependabot[bot] in #251
  • build(deps-dev): bump mkdocs-material from 9.6.21 to 9.6.22 by @dependabot[bot] in #250
  • build(deps-dev): bump mkdocs-macros-plugin from 1.4.0 to 1.4.1 by @dependabot[bot] in #252
  • build(deps-dev): bump pytest-benchmark from 5.1.0 to 5.2.0 by @dependabot[bot] in #253
  • build(deps-dev): bump mkdocs-material from 9.6.22 to 9.6.23 by @dependabot[bot] in #254
  • build(deps-dev): bump pytest-benchmark from 5.2.0 to 5.2.1 by @dependabot[bot] in #255
  • build(deps-dev): bump pytest-benchmark from 5.2.1 to 5.2.2 by @dependabot[bot] in #256
  • build(deps-dev): bump black from 25.9.0 to 25.11.0 by @dependabot[bot] in #258
  • build(deps-dev): bump pytest-benchmark from 5.2.2 to 5.2.3 by @dependabot[bot] in #257
  • build(deps-dev): bump mkdocs-material from 9.6.23 to 9.7.0 by @dependabot[bot] in #259
  • build(deps-dev): bump mkdocs-macros-plugin from 1.4.1 to 1.5.0 by @dependabot[bot] in #260
  • Add support for Python v3.14 and drop for v3.9 by @swimmwatch in #246
  • Release v3.0.7 by @swimmwatch in #261

Full Changelog: v3.0.6...v3.0.7

Release v3.0.6

27 Jun 13:43
d1eb2b6

Choose a tag to compare

What's Changed

Full Changelog: v3.0.5...v3.0.6

Release v3.0.5

18 Jun 12:01
ab5fc41

Choose a tag to compare

What's Changed

Full Changelog: v3.0.4...v3.0.5

Release v3.0.4

17 Jun 17:26
4550864

Choose a tag to compare

What's Changed

  • build(deps-dev): bump mkdocs-material from 9.6.7 to 9.6.8 by @dependabot in #122
  • build(deps-dev): bump mkdocs-material from 9.6.8 to 9.6.9 by @dependabot in #123
  • build(deps-dev): bump mkdocstrings-python from 1.16.5 to 1.16.6 by @dependabot in #124
  • build(deps-dev): bump mkdocstrings-python from 1.16.6 to 1.16.7 by @dependabot in #125
  • build(deps-dev): bump mkdocstrings-python from 1.16.7 to 1.16.8 by @dependabot in #126
  • build(deps-dev): bump mkdocs-material from 9.6.9 to 9.6.11 by @dependabot in #131
  • build(deps-dev): bump pytest-cov from 6.0.0 to 6.1.0 by @dependabot in #130
  • build(deps-dev): bump flake8 from 7.1.2 to 7.2.0 by @dependabot in #127
  • build(deps-dev): bump mkdocstrings from 0.29.0 to 0.29.1 by @dependabot in #129
  • build(deps-dev): bump mkdocstrings-python from 1.16.8 to 1.16.10 by @dependabot in #132
  • build(deps-dev): bump typing-extensions from 4.12.2 to 4.13.1 by @dependabot in #133
  • build(deps-dev): bump pytest-cov from 6.1.0 to 6.1.1 by @dependabot in #134
  • build(deps-dev): bump typing-extensions from 4.13.1 to 4.13.2 by @dependabot in #136
  • build(deps-dev): bump mkdocs-section-index from 0.3.9 to 0.3.10 by @dependabot in #135
  • build(deps-dev): bump mkdocs-material from 9.6.11 to 9.6.12 by @dependabot in #137
  • build(deps-dev): bump pep8-naming from 0.14.1 to 0.15.0 by @dependabot in #138
  • build(deps): bump cryptography from 44.0.2 to 44.0.3 by @dependabot in #139
  • build(deps-dev): bump pep8-naming from 0.15.0 to 0.15.1 by @dependabot in #140
  • build(deps-dev): bump mkdocs-material from 9.6.12 to 9.6.13 by @dependabot in #141
  • build(deps-dev): bump mkdocs-material from 9.6.13 to 9.6.14 by @dependabot in #142
  • build(deps-dev): bump mkdocstrings-python from 1.16.10 to 1.16.11 by @dependabot in #149
  • build(deps-dev): bump freezegun from 1.5.1 to 1.5.2 by @dependabot in #147
  • build(deps-dev): bump pytest-xdist from 3.6.1 to 3.7.0 by @dependabot in #148
  • build(deps-dev): bump mypy from 1.15.0 to 1.16.0 by @dependabot in #150
  • build(deps-dev): bump pytest from 8.3.5 to 8.4.0 by @dependabot in #151
  • build(deps-dev): bump mkdocstrings-python from 1.16.11 to 1.16.12 by @dependabot in #152
  • build(deps-dev): bump pytest-cov from 6.1.1 to 6.2.0 by @dependabot in #155
  • build(deps-dev): bump typing-extensions from 4.13.2 to 4.14.0 by @dependabot in #156
  • build(deps-dev): bump pytest-cov from 6.2.0 to 6.2.1 by @dependabot in #157
  • build(deps-dev): bump mypy from 1.16.0 to 1.16.1 by @dependabot in #158
  • build(deps): bump cryptography from 44.0.3 to 45.0.4 by @dependabot in #154
  • build(deps-dev): bump setuptools from 75.7.0 to 78.1.1 by @dependabot in #144
  • build(deps-dev): bump requests from 2.32.3 to 2.32.4 by @dependabot in #153
  • Refactor init data parsing by @swimmwatch in #159
  • Release v3.0.4 by @swimmwatch in #160

Full Changelog: v3.0.3...v3.0.4

Release v3.0.3

11 Mar 20:25
3599992

Choose a tag to compare

What's Changed

  • build(deps-dev): bump flake8 from 7.1.1 to 7.1.2 by @dependabot in #108
  • build(deps-dev): bump mkdocstrings-python from 1.15.0 to 1.16.0 by @dependabot in #109
  • build(deps-dev): bump mkdocs-material from 9.6.4 to 9.6.5 by @dependabot in #111
  • build(deps-dev): bump mkdocstrings-python from 1.16.0 to 1.16.1 by @dependabot in #110
  • build(deps-dev): bump mkdocstrings from 0.28.1 to 0.28.2 by @dependabot in #113
  • build(deps-dev): bump mkdocstrings-python from 1.16.1 to 1.16.2 by @dependabot in #112
  • build(deps-dev): bump isort from 6.0.0 to 6.0.1 by @dependabot in #114
  • build(deps-dev): bump mkdocs-material from 9.6.5 to 9.6.7 by @dependabot in #117
  • build(deps-dev): bump pytest from 8.3.4 to 8.3.5 by @dependabot in #116
  • build(deps): bump cryptography from 44.0.1 to 44.0.2 by @dependabot in #115
  • build(deps-dev): bump jinja2 from 3.1.5 to 3.1.6 by @dependabot in #118
  • build(deps-dev): bump mkdocstrings-python from 1.16.2 to 1.16.5 by @dependabot in #120
  • build(deps-dev): bump mkdocstrings from 0.28.2 to 0.29.0 by @dependabot in #119
  • Release v3.0.3 by @swimmwatch in #121

Full Changelog: v3.0.2...v3.0.3

Release v3.0.2

17 Feb 12:24
5414445

Choose a tag to compare

What's Changed

Full Changelog: v3.0.1...v3.0.2

Release v3.0.1

17 Feb 11:43
b1384c1

Choose a tag to compare

What's Changed

  • Add actionlint workflow by @swimmwatch in #82
  • build(deps-dev): bump mkdocs-material from 9.5.49 to 9.5.50 by @dependabot in #84
  • build(deps-dev): bump black from 24.10.0 to 25.1.0 by @dependabot in #88
  • build(deps-dev): bump flake8-isort from 6.1.1 to 6.1.2 by @dependabot in #87
  • build(deps-dev): bump isort from 5.13.2 to 6.0.0 by @dependabot in #86
  • build(deps-dev): bump mkdocs-material from 9.5.50 to 9.6.1 by @dependabot in #89
  • build(deps-dev): bump mkdocstrings from 0.27.0 to 0.28.0 by @dependabot in #90
  • build(deps-dev): bump mkdocs-material from 9.6.1 to 9.6.2 by @dependabot in #91
  • build(deps-dev): bump mkdocstrings-python from 1.13.0 to 1.14.4 by @dependabot in #92
  • build(deps-dev): bump mypy from 1.14.1 to 1.15.0 by @dependabot in #93
  • build(deps-dev): bump mkdocstrings-python from 1.14.4 to 1.14.5 by @dependabot in #94
  • Retry tests on error by @swimmwatch in #98
  • build(deps-dev): bump mkdocs-material from 9.6.2 to 9.6.3 by @dependabot in #96
  • build(deps-dev): bump mkdocstrings-python from 1.14.5 to 1.14.6 by @dependabot in #95
  • build(deps): bump cryptography from 44.0.0 to 44.0.1 by @dependabot in #99
  • build(deps-dev): bump mkdocstrings-python from 1.14.6 to 1.15.0 by @dependabot in #100
  • build(deps-dev): bump mkdocs-material from 9.6.3 to 9.6.4 by @dependabot in #101
  • build(deps-dev): bump mkdocstrings from 0.28.0 to 0.28.1 by @dependabot in #102
  • Make query_id is optional by @swimmwatch in #104
  • Release v3.0.1 by @swimmwatch in #105

Full Changelog: v3.0.0...v3.0.1

v3.0.0

08 Jan 18:28
343e141

Choose a tag to compare

What's Changed

  • build(deps-dev): bump mkdocstrings-python from 1.12.1 to 1.12.2 by @dependabot in #54
  • build(deps-dev): bump mkdocs-material from 9.5.41 to 9.5.42 by @dependabot in #52
  • build(deps-dev): bump mypy from 1.12.0 to 1.12.1 by @dependabot in #53
  • build(deps-dev): bump mkdocs-material from 9.5.42 to 9.5.44 by @dependabot in #59
  • build(deps-dev): bump mkdocs-macros-plugin from 1.3.6 to 1.3.7 by @dependabot in #56
  • build(deps-dev): bump mypy from 1.12.1 to 1.13.0 by @dependabot in #55
  • build(deps-dev): bump flake8-comprehensions from 3.15.0 to 3.16.0 by @dependabot in #57
  • build(deps-dev): bump mkdocstrings from 0.26.2 to 0.27.0 by @dependabot in #60
  • build(deps-dev): bump mkdocs-material from 9.5.44 to 9.5.45 by @dependabot in #61
  • build(deps-dev): bump mkdocs-material from 9.5.45 to 9.5.46 by @dependabot in #62
  • build(deps-dev): bump mkdocs-material from 9.5.46 to 9.5.47 by @dependabot in #64
  • build(deps-dev): bump pytest from 8.3.3 to 8.3.4 by @dependabot in #63
  • build(deps-dev): bump mkdocs-material from 9.5.47 to 9.5.48 by @dependabot in #65
  • build(deps-dev): bump mkdocs-material from 9.5.48 to 9.5.49 by @dependabot in #66
  • build(deps-dev): bump mypy from 1.13.0 to 1.14.0 by @dependabot in #67
  • build(deps-dev): bump mkdocstrings-python from 1.12.2 to 1.13.0 by @dependabot in #68
  • build(deps-dev): bump mypy from 1.14.0 to 1.14.1 by @dependabot in #69
  • Validate auth_date parameter by @swimmwatch in #75
  • Add support for Python v3.13 by @swimmwatch in #77
  • Implement validate method that returns Init Data object by @swimmwatch in #78
  • Implement validate_third_party method by @swimmwatch in #80
  • Release v3.0.0 by @swimmwatch in #79

Full Changelog: v2.0.1.1...v3.0.0

Release v2.0.1.1

20 Oct 11:44
749a0be

Choose a tag to compare

  • Bump version in pyproject.toml to v2.0.1