django-oscar / django-oscar-stores

Physical store integration for Django Oscar
BSD 3-Clause "New" or "Revised" License
91 stars 58 forks source link

Update django-debug-toolbar requirement from <2.3,>=1.10 to >=1.10,<3.2 #148

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on django-debug-toolbar to permit the latest version.

Changelog

Sourced from django-debug-toolbar's changelog.

Change log

3.2 (unreleased)

  • Fixed a regression where the JavaScript code crashed with an invalid CSS selector when searching for an element to replace.
  • Replaced remaining images with CSS.
  • Continued refactoring the frontend code for simplicity, continued removing unused CSS.
  • Started running Selenium tests on Travis CI.
  • Added a system check which prevents using django-debug-toolbar without any enabled panels.

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)

Commits
  • b8d808d django-debug-toolbar 3.1.1
  • 40ffb29 Amend the CHANGELOG
  • 49afed1 Fix #1337: This should select an ID, not a class after b0ba22765999003428c21b...
  • 192533b Merge remote-tracking branch 'jdufresne/clearfix'
  • d6a2215 Replace indicator.png with CSS (#1334)
  • c1f5fbb Simplify color HTML and CSS on SQL panel (#1333)
  • 8479ff2 Remove unused djdt-clearfix CSS class.
  • 0101fbf django-debug-toolbar 3.1
  • ba2e6ba Merge pull request #1331 from MDziwny/master
  • d428ae4 allow empty data with content type application/json
  • Additional commits viewable in compare view


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](https://app.dependabot.com): - 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)
codecov[bot] commented 3 years ago

Codecov Report

Merging #148 into master will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #148   +/-   ##
=======================================
  Coverage   88.68%   88.68%           
=======================================
  Files          12       12           
  Lines         486      486           
=======================================
  Hits          431      431           
  Misses         55       55