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 django-debug-toolbar from 2.0 to 3.1 #77

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps django-debug-toolbar from 2.0 to 3.1.

Changelog

Sourced from django-debug-toolbar's changelog.

3.1 (2020-09-21)

  • Fixed a crash in the history panel when sending an empty JSON POST request.
  • Made make example also set up the database and a superuser account.
  • Added a Makefile target for regenerating the django-debug-toolbar screenshot.
  • Added automatic escaping of panel titles resp. disallowed HTML tags.
  • Removed some CSS
  • Restructured the SQL stats template.
  • Changed command line examples to prefer python -m pip to pip.

3.0 (2020-09-20)

  • Added an .editorconfig file specifying indentation rules etc.
  • Updated the italian translation.
  • Added support for Django 3.1a1. fetch() and jQuery.ajax requests are now detected by the absence of a Accept: text/html header instead of the jQuery-specific X-Requested-With header on Django 3.1 or better.
  • Pruned unused CSS and removed hacks for ancient browsers.
  • Added the new Panel.scripts <debug_toolbar.panels.Panel.scripts> property. This property should return a list of JavaScript resources to be loaded in the browser when displaying the panel. Right now, this is used by a single panel, the Timer panel. Third party panels can use this property to add scripts rather then embedding them in the content HTML.
  • Switched from JSHint to ESLint. Added an ESLint job to the Travis CI matrix.
  • Debug toolbar state which is only needed in the JavaScript code now uses localStorage.
  • Updated the code to avoid a few deprecation warnings and resource warnings.
  • Started loading JavaScript as ES6 modules.
  • Added support for cache.touch() when using django-debug-toolbar.
  • Eliminated more inline CSS.
  • Updated tox.ini and Makefile to use isort>=5.
  • Increased RESULTS_CACHE_SIZE to 25 to better support AJAX requests.
  • Fixed the close button CSS by explicitly specifying the box-sizing property.
  • Simplified the isort configuration by taking advantage of isort's black profile.
  • Added HistoryPanel including support for AJAX requests.

Backwards incompatible changes

  • Loading panel content no longer executes the scripts elements embedded in the HTML. Third party panels that require JavaScript resources should now use the Panel.scripts <debug_toolbar.panels.Panel.scripts> property.
  • Removed support for end of life Django 1.11. The minimum supported Django is now 2.2.

2.2 (2020-01-31)

  • Removed support for end of life Django 2.0 and 2.1.
  • Added support for Python 3.8.
  • Add locals() option for sql panel.
  • Added support for Django 3.0.

2.1 (2019-11-12)

  • Changed the Travis CI matrix to run style checks first.
  • Exposed the djdt.init function too.
Commits
  • 0101fbf django-debug-toolbar 3.1
  • ba2e6ba Merge pull request #1331 from MDziwny/master
  • d428ae4 allow empty data with content type application/json
  • 43f2285 Merge remote-tracking branch 'origin/mk/python-m-pip'
  • a78e0a5 Merge remote-tracking branches 'jdufresne/span-href', 'jdufresne/stats', 'jdu...
  • ca70c2b Remove invalid href attribute from span elements
  • 83a01d9 Improve and simplify the "stats" CSS on the SQL panel
  • f04f480 Automate screenshot generation in README.rst
  • b0ba227 Make djdt-{{ panel.panel_id }} a DOM ID instead of DOM class
  • f033aa1 Make djdt-{{ panel.panel_id }} a DOM ID instead of DOM class
  • 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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 22, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #79.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/django-debug-toolbar-3.1 branch September 28, 2020 02:22
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.

0 participants