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

Update pyramid-debugtoolbar to 4.2 #135

Closed

Conversation

pyup-bot
Copy link
Collaborator

There's a new version of pyramid-debugtoolbar available.
You are currently using 4.0.1. I have updated it to 4.2

These links might come in handy: PyPI | Changelog | Homepage

Changelog

4.2


This release contains a rewrite of the underlying exception / traceback
tracking machinery and fixes regressions caused by the 4.1 release that
broke the interactive debugger.
See Pylons/pyramid_debugtoolbar#318

  • Tracebacks are now tied to the per-request toolbar object one-to-one.
    A request may have only one traceback. Previously they actually stuck
    around for the entire lifetime of the app instead of being collected by
    the max_request_history setting.
  • The routes for exceptions are standardized to look similar to the SQLA AJAX
    routes. For example, /{request_id}/exception instead of
    /exception?token=...&tb=... and
    /{request_id}/exception/execute/{frame_id}?cmd=... instead of
    /exception?token=...&tb=...&frm=...&cmd=....
  • Fixed the url generation for the traceback panel link at the bottom of the
    traceback... it was actually empty previously - it got lost somewhere along
    the way.
  • /favicon.ico is no longer specially handled.. it's just part of
    exclude_prefixes like anything else that you want to exclude.
  • request.pdtb_history is available for toolbar requests (mostly AJAX
    requests or panel rendering).
  • Removed the unused history predicate.
  • URL generation was broken in the debugger.js but that's fixed now so the
    execute/source buttons work in tracebacks.

4.1


  • Debug squashed exceptions! If you register an exception view for an exception
    it will render a response. The toolbar will see the squashed exception and
    enable the Traceback tab in the toolbar and emit a message on the
    console with the URL. You can then debug the exception while returning the
    original response to the user.
    See Enable inspection of squashed exceptions Pylons/pyramid_debugtoolbar#308

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@coveralls
Copy link

coveralls commented Jun 22, 2017

Coverage Status

Coverage remained the same at 34.634% when pulling d391df6 on pyup-update-pyramid-debugtoolbar-4.0.1-to-4.2 into 55f9b85 on master.

@nicfit nicfit closed this Aug 9, 2017
@nicfit nicfit deleted the pyup-update-pyramid-debugtoolbar-4.0.1-to-4.2 branch August 9, 2017 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants