Removed some CSS which wasn't carefully limited to the toolbar's elements.
Stopped assuming that INTERNAL_IPS is a list.
Added a section to the installation docs about running tests in projects
where the toolbar is being used.
4.4.1 (2024-05-26)
Pin metadata version to 2.2 to be compatible with Jazzband release
process.
4.4.0 (2024-05-26)
Raised the minimum Django version to 4.2.
Automatically support Docker rather than having the developer write a
workaround for INTERNAL_IPS.
Display a better error message when the toolbar's requests
return invalid json.
Render forms with as_div to silence Django 5.0 deprecation warnings.
Stayed on top of pre-commit hook updates.
Added :doc:architecture documentation <architecture> to help
on-board new contributors.
Removed the static file path validation check in
:class:StaticFilesPanel <debug_toolbar.panels.staticfiles.StaticFilesPanel>
since that check is made redundant by a similar check in Django 4.0 and
later.
Deprecated the OBSERVE_REQUEST_CALLBACK setting and added check
debug_toolbar.W008 to warn when it is present in
DEBUG_TOOLBAR_SETTINGS.
Add a note on the profiling panel about using Python 3.12 and later
about needing --nothreading
Added IS_RUNNING_TESTS setting to allow overriding the
debug_toolbar.E001 check to avoid including the toolbar when running
tests.
Fixed the bug causing 'djdt' is not a registered namespace and updated
docs to help in initial configuration while running tests.
Added a link in the installation docs to a more complete installation
example in the example app.
Added check to prevent the toolbar from being installed when tests
are running.
Added test to example app and command to run the example app's tests.
Implemented dark mode theme and button to toggle the theme,
introduced the DEFAULT_THEME setting which sets the default theme
to use.
This release focuses on compatibility with the upcoming release of
Python 3.13. Most changes are related to the implementation of type
parameter defaults (PEP 696).
Thanks to all of the people who contributed patches, especially Alex
Waygood, who did most of the work adapting typing-extensions to the
CPython PEP 696 implementation.
There is a single change since 4.12.0rc1:
Fix incorrect behaviour of typing_extensions.ParamSpec on Python 3.8 and
3.9 that meant that
isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar) would have a
different result in some situations depending on whether or not a profiling
function had been set using sys.setprofile. Patch by Alex Waygood.
Changes included in 4.12.0rc1:
Improve the implementation of type parameter defaults (PEP 696)
Backport the typing.NoDefault sentinel object from Python 3.13.
TypeVars, ParamSpecs and TypeVarTuples without default values now have
their __default__ attribute set to this sentinel value.
TypeVars, ParamSpecs and TypeVarTuples now have a has_default()
method, matching typing.TypeVar, typing.ParamSpec and
typing.TypeVarTuple on Python 3.13+.
TypeVars, ParamSpecs and TypeVarTuples with default=None passed to
their constructors now have their __default__ attribute set to None
at runtime rather than types.NoneType.
Fix most tests for TypeVar, ParamSpec and TypeVarTuple on Python
3.13.0b1 and newer.
Backport CPython PR #118774,
allowing type parameters without default values to follow those with
default values in some type parameter lists. Patch by Alex Waygood,
backporting a CPython PR by Jelle Zijlstra.
It is now disallowed to use a TypeVar with a default value after a
TypeVarTuple in a type parameter list. This matches the CPython
implementation of PEP 696 on Python 3.13+.
Fix bug in PEP-696 implementation where a default value for a ParamSpec
would be cast to a tuple if a list was provided.
Patch by Alex Waygood.
Fix Protocol tests on Python 3.13.0a6 and newer. 3.13.0a6 adds a new
__static_attributes__ attribute to all classes in Python,
which broke some assumptions made by the implementation of
typing_extensions.Protocol. Similarly, 3.13.0b1 adds the new
__firstlineno__ attribute to all classes.
Fix AttributeError when using typing_extensions.runtime_checkable
in combination with typing.Protocol on Python 3.12.2 or newer.
Patch by Alex Waygood.
At runtime, assert_never now includes the repr of the argument
This release is mostly the same as 4.12.0rc1 but fixes one more
longstanding bug.
Fix incorrect behaviour of typing_extensions.ParamSpec on Python 3.8 and
3.9 that meant that
isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar) would have a
different result in some situations depending on whether or not a profiling
function had been set using sys.setprofile. Patch by Alex Waygood.
Release 4.12.0rc1 (May 16, 2024)
This release focuses on compatibility with the upcoming release of
Python 3.13. Most changes are related to the implementation of type
parameter defaults (PEP 696).
Thanks to all of the people who contributed patches, especially Alex
Waygood, who did most of the work adapting typing-extensions to the
CPython PEP 696 implementation.
Full changelog:
Improve the implementation of type parameter defaults (PEP 696)
Backport the typing.NoDefault sentinel object from Python 3.13.
TypeVars, ParamSpecs and TypeVarTuples without default values now have
their __default__ attribute set to this sentinel value.
TypeVars, ParamSpecs and TypeVarTuples now have a has_default()
method, matching typing.TypeVar, typing.ParamSpec and
typing.TypeVarTuple on Python 3.13+.
TypeVars, ParamSpecs and TypeVarTuples with default=None passed to
their constructors now have their __default__ attribute set to None
at runtime rather than types.NoneType.
Fix most tests for TypeVar, ParamSpec and TypeVarTuple on Python
3.13.0b1 and newer.
Backport CPython PR #118774,
allowing type parameters without default values to follow those with
default values in some type parameter lists. Patch by Alex Waygood,
backporting a CPython PR by Jelle Zijlstra.
It is now disallowed to use a TypeVar with a default value after a
TypeVarTuple in a type parameter list. This matches the CPython
implementation of PEP 696 on Python 3.13+.
Fix bug in PEP-696 implementation where a default value for a ParamSpec
would be cast to a tuple if a list was provided.
Patch by Alex Waygood.
Fix Protocol tests on Python 3.13.0a6 and newer. 3.13.0a6 adds a new
__static_attributes__ attribute to all classes in Python,
which broke some assumptions made by the implementation of
typing_extensions.Protocol. Similarly, 3.13.0b1 adds the new
__firstlineno__ attribute to all classes.
After executing the handler added with page.add_locator_handler(), Playwright will now wait until the overlay that triggered the handler is not visible anymore. You can opt-out of this behavior with the new no_wait_after option.
You can use new times option in page.add_locator_handler() to specify maximum number of times the handler should be run.
locator = page.get_by_text("This interstitial covers the button")
page.add_locator_handler(locator, lambda overlay: overlay.locator("#close").click(), times=3, no_wait_after=True)
# Run your tests that can be interrupted by the overlay.
# ...
page.remove_locator_handler(locator)
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dependencies group with 7 updates in the /requirements directory:
4.1.13
4.2.13
4.3.0
4.4.2
4.10.0
4.12.0
1.4.0
1.5.1
1.42.0
1.44.0
3.7.0
3.7.1
0.4.4
0.5.0
Updates
django
from 4.1.13 to 4.2.13Commits
3bf46e2
[4.2.x] Bumped version for 4.2.13 release.b46b94e
[4.2.x] Added release notes for 4.2.13.1536833
[4.2.x] Post-release version bump.6193c72
[4.2.x] Bumped version for 4.2.12 release.3f9c8fc
[4.2.x] Added release date for 4.2.12.256f719
[4.2.x] Reverted "Fixed #34994, Fixed #35386 -- Applied checkbox-row CSS clas...0fc8326
[4.2.x] Fixed #34994, Fixed #35386 -- Applied checkbox-row CSS class uncondit...1d85b41
[4.2.x] Refs #35361 -- Clarified release notes for 4.2.12.27c32cc
[4.2.x] Fixed #35361 -- Added release notes for 4.2.12 for backport of b231bc...0d3ddca
[4.2.x] Refs #34900, Refs #35361 -- Fixed SafeMIMEText.set_payload() crash on...Updates
django-debug-toolbar
from 4.3.0 to 4.4.2Release notes
Sourced from django-debug-toolbar's releases.
... (truncated)
Changelog
Sourced from django-debug-toolbar's changelog.
Commits
d481182
Version 4.4.2f7e83b1
Add a section to the installation docs about running tests (#1921)782bdd9
INTERNAL_IPS may not be a list4808add
Avoid setting color-scheme on :root, we're only a guest on pages (#1923)e7541ab
Ignore UP031 for now97b49d1
Merge remote-tracking branch 'origin/pre-commit-ci-update-config'25c860e
Version 4.4.1202c831
Limit metadata version for Jazzband's release process15dc305
Version 4.4.0de2feca
Fix theme selenium integration test.Updates
typing-extensions
from 4.10.0 to 4.12.0Release notes
Sourced from typing-extensions's releases.
... (truncated)
Changelog
Sourced from typing-extensions's changelog.
... (truncated)
Commits
f90a8dc
Prepare release 4.12.0 (#408)118e1a6
Make sureisinstance(typing_extensions.ParamSpec("P"), typing.TypeVar)
is u...910141a
Add security documentation (#403)0dbc7c9
Prepare release 4.12.0rc1 (#402)1da5d3d
Update actions/setup-python (#401)72298f0
4.12.0a2 (#400)465ba78
Fix publish workflow (#399)21fde1f
Prepare releaes 4.12.0a1 (#398)63d8277
Add workflow for Trusted Publishing (#395)074d053
Backport PEP-696 specialisation on Python >=3.11.1 (#397)Updates
freezegun
from 1.4.0 to 1.5.1Changelog
Sourced from freezegun's changelog.
Commits
3f9fac4
Increase version numbere0f2c3c
CHANGELOG for 1.5.1ea054a3
Merge pull request #546 from robsdedude/patch-1df263dc
Extend type checkingaecc78a
Keepnumbers
for runtime type checks, usefloat
for type hints023c7a3
Revert runtime type-check tonumbers.Real
be779f4
Add test for manually ticking StepTickTimeFactoryd2872d0
Fix instance checksc963608
Fixtick
delta type handling17ea422
Admin: Release may not need to update version nrUpdates
playwright
from 1.42.0 to 1.44.0Release notes
Sourced from playwright's releases.
... (truncated)
Commits
7cc2bc9
chore(roll): roll Playwright to 1.44.0-beta-1715802478000 (#2438)e756233
feat(roll): roll Playwright to v1.44.0 (#2433)8dc3978
build(deps): bump pytest from 8.1.1 to 8.2.0 (#2422)a053818
test: unflake Firefox tests (#2431)7bd2c7f
build(deps): bump mypy from 1.9.0 to 1.10.0 (#2423)789a47e
build(deps): bump pytest-xdist from 3.5.0 to 3.6.1 (#2421)5cf07fa
build(deps): bump types-pyopenssl from 24.0.0.20240417 to 24.1.0.20240425 (#2...4ac3b49
build(deps): bump black from 24.4.0 to 24.4.2 (#2419)27079a1
devops: upgrade EsrpRelease task to v7 (#2429)cb94c25
fix(connect): Future exception was never retrieved on close() (#2427)Updates
pre-commit
from 3.7.0 to 3.7.1Release notes
Sourced from pre-commit's releases.
Changelog
Sourced from pre-commit's changelog.
Commits
9ee0768
v3.7.1eeac061
Merge pull request #3201 from pre-commit/rust-default-language-version296f592
determine rust default language version independent of rust-toolchain.toml1602328
Merge pull request #3193 from pre-commit/pre-commit-ci-update-config0142f45
[pre-commit.ci] pre-commit autoupdated7e21cd
Merge pull request #3194 from pre-commit/handle-readonly-3-125c3d006
use a simpler gem for testing additional_dependencies0d4c6da
adjust _handle_readonly for typeshed updates85fe182
Merge pull request #3176 from pre-commit/pre-commit-ci-update-config74d05b4
[pre-commit.ci] pre-commit autoupdateUpdates
pytest-playwright
from 0.4.4 to 0.5.0Release notes
Sourced from pytest-playwright's releases.
Commits
6d624fc
devops: migrate publishing to ESRP (#226)74ade3e
fix: migrate artifacts_folder to session fixture (#223)40ba0da
fix: clean up videos after each test (#221)2d5a080
feat: support artifact collection with multiple contexts (#216)be0be7c
test: enhance test-artifact assertion utility (#218)3cec62e
fix: improve video naming (#217)1a54e22
devops: delete unused conda_build_config (#214)ac21122
devops: bump GitHub Action workflows (#215)ff4f8e9
chore(deps): bump black from 22.6.0 to 24.3.0 (#212)6f38e7c
chore(deps): bump django from 3.2.24 to 3.2.25 (#211)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