Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pallets/werkzeug
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.0.4
Choose a base ref
...
head repository: pallets/werkzeug
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.0.6
Choose a head ref

Commits on Aug 21, 2024

  1. release version 3.0.4 (#2943)

    davidism authored Aug 21, 2024

    Verified

    This commit was created on github.com and signed with GitHub’s verified signature.
    Copy the full SHA
    eed59db View commit details
  2. fix issue number

    davidism committed Aug 21, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    dca8cb6 View commit details

Commits on Aug 24, 2024

  1. Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    36c4b0f View commit details
  2. update dev dependencies

    davidism committed Aug 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    0c8136b View commit details

Commits on Oct 24, 2024

  1. update dev dependencies

    davidism committed Oct 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    2b4ab69 View commit details
  2. update test workflow trigger

    davidism committed Oct 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    889eafd View commit details
  3. start version 3.0.5

    davidism committed Oct 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    eb13b56 View commit details
  4. filter watchdog events

    lociii authored and davidism committed Oct 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    cfe71ee View commit details
  5. Switch to an event allowlist for watchdog (#2947)

    davidism authored Oct 24, 2024

    Verified

    This commit was created on github.com and signed with GitHub’s verified signature.
    Copy the full SHA
    bcc9302 View commit details
  6. fix logging addresses with ipv6 scope

    not-a-kiwi authored and davidism committed Oct 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    7326de6 View commit details
  7. Fix logging of client addresses with IPv6 scope (#2953)

    davidism authored Oct 24, 2024

    Verified

    This commit was created on github.com and signed with GitHub’s verified signature.
    Copy the full SHA
    40319f9 View commit details
  8. ignore invalid authorization parameters

    ckoehn authored and davidism committed Oct 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    1688968 View commit details
  9. Ignore invalid authorization parameters (#2956)

    davidism authored Oct 24, 2024

    Verified

    This commit was created on github.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6732b57 View commit details
  10. improve type annotation for SharedDataMiddleware

    alex authored and davidism committed Oct 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    e14f4e0 View commit details
  11. change type annotation for SharedDataMiddleware to handle common scen…

    …arios (#2959)
    davidism authored Oct 24, 2024

    Verified

    This commit was created on github.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5661b96 View commit details
  12. catch OSError from getpass.getuser

    davidism committed Oct 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    e6b4cce View commit details
  13. catch OSError from getpass.getuser (#2960)

    davidism authored Oct 24, 2024

    Verified

    This commit was created on github.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e28a245 View commit details

Commits on Oct 25, 2024

  1. release version 3.0.5

    davidism committed Oct 25, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    9caf72a View commit details
  2. release version 3.0.5 (#2961)

    davidism authored Oct 25, 2024

    Verified

    This commit was created on github.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a7b121a View commit details
  3. start version 3.0.6

    davidism committed Oct 25, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    8d6a12e View commit details
  4. Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    8760275 View commit details
  5. Merge commit from fork

    apply max_form_memory_size another level up in the parser
    davidism authored Oct 25, 2024

    Verified

    This commit was created on github.com and signed with GitHub’s verified signature.
    Copy the full SHA
    50cfeeb View commit details
  6. Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    87cc78a View commit details
  7. Merge commit from fork

    catch special absolute path on Windows Python < 3.11
    davidism authored Oct 25, 2024

    Verified

    This commit was created on github.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2767bcb View commit details
  8. release version 3.0.6

    davidism committed Oct 25, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    davidism David Lord
    Copy the full SHA
    5eaefc3 View commit details
24 changes: 0 additions & 24 deletions .github/dependabot.yml

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@ jobs:
outputs:
hash: ${{ steps.hash.outputs.hash }}
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.x'
cache: pip
@@ -23,7 +23,7 @@ jobs:
- name: generate hash
id: hash
run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
path: ./dist
provenance:
@@ -33,7 +33,7 @@ jobs:
id-token: write
contents: write
# Can't pin with hash due to how this workflow works.
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.10.0
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0
with:
base64-subjects: ${{ needs.build.outputs.hash }}
create-release:
@@ -44,7 +44,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
- name: create release
run: >
gh release create --draft --repo ${{ github.repository }}
@@ -63,11 +63,11 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
- uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: artifact/
- uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
with:
packages-dir: artifact/
24 changes: 8 additions & 16 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
name: Tests
on:
push:
branches:
- main
- '*.x'
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
branches: [main, stable]
paths-ignore: ['docs/**', '*.md', '*.rst']
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
- '*.rst'
paths-ignore: ['docs/**', '*.md', '*.rst']
jobs:
tests:
name: ${{ matrix.name || matrix.python }}
@@ -31,8 +23,8 @@ jobs:
- {python: '3.8'}
- {name: PyPy, python: 'pypy-3.10', tox: pypy310}
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
@@ -43,14 +35,14 @@ jobs:
typing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.x'
cache: pip
cache-dependency-path: requirements*/*.txt
- name: cache mypy
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
with:
path: ./.mypy_cache
key: mypy|${{ hashFiles('pyproject.toml') }}
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
rev: v0.7.1
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: debug-statements
27 changes: 26 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
.. currentmodule:: werkzeug

Version 3.0.6
-------------

Released 2024-10-25

- Fix how ``max_form_memory_size`` is applied when parsing large non-file
fields. :ghsa:`q34m-jh98-gwm2`

- ``safe_join`` catches certain paths on Windows that were not caught by
``ntpath.isabs`` on Python < 3.11. :ghsa:`f9vj-2wh5-fj8j`


Version 3.0.5
-------------

Released 2024-10-24

- The Watchdog reloader ignores file closed no write events. :issue:`2945`
- Logging works with client addresses containing an IPv6 scope :issue:`2952`
- Ignore invalid authorization parameters. :issue:`2955`
- Improve type annotation fore ``SharedDataMiddleware``. :issue:`2958`
- Compatibility with Python 3.13 when generating debugger pin and the current
UID does not have an associated name. :issue:`2957`


Version 3.0.4
-------------

@@ -9,7 +34,7 @@ Released 2024-08-21
invalid UTF-8 bytes in the body results in no form data parsed rather than a
413 error. :issue:`2930`
- Improve ``parse_options_header`` performance when parsing unterminated
quoted string values. :issue:`2907`
quoted string values. :issue:`2904`
- Debugger pin auth is synchronized across threads/processes when tracking
failed entries. :issue:`2916`
- Dev server handles unexpected `SSLEOFError` due to issue in Python < 3.13.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "Werkzeug"
version = "3.0.4"
version = "3.0.6"
description = "The comprehensive WSGI web application library."
readme = "README.md"
license = {file = "LICENSE.txt"}
@@ -107,8 +107,12 @@ select = [
ignore = [
"E402", # allow circular imports at end of file
]
ignore-init-module-imports = true

[tool.ruff.lint.isort]
force-single-line = true
order-by-type = false

[tool.gha-update]
tag-only = [
"slsa-framework/slsa-github-generator",
]
8 changes: 4 additions & 4 deletions requirements/build.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile build.in
#
build==1.2.1
build==1.2.2.post1
# via -r build.in
packaging==24.0
packaging==24.1
# via build
pyproject-hooks==1.1.0
pyproject-hooks==1.2.0
# via build
Loading