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

Pin pyramid-debugtoolbar to latest version 3.0.5 #88

Merged
merged 1 commit into from
Apr 20, 2017

Conversation

pyup-bot
Copy link
Collaborator

pyramid-debugtoolbar is not pinned to a specific version.

I'm pinning it to the latest version 3.0.5 for now.

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

Changelog

3.0.5


3.0.4


  • 3.0.3 was a brownbag release missing static assets.

3.0.3


3.0.2


3.0.1


3.0


  • The toolbar is now a completely standalone application running inside the
    tween. There are several minor incompatibilities and improvements related
    to this extra isolation:
  1. pyramid_mako and the .dbtmako renderer are no longer included
    in the parent application (your app).
  2. Panels must be extra careful now that they only render templates inside
    of the render_vars and render_content functions. These are the
    only functions in which the request object is for rendering the
    toolbar panel.
  3. The toolbar will not be affected by any global security policies your
    application may put in place other than via
    config.set_debugtoolbar_request_authorization.
    never run the toolbar in production

See Pylons/pyramid_debugtoolbar#253

  • setuptools-git is now required to install the codebase in non-editable mode.

2.5


  • Drop Python 2.6 and Python 3.2 support.
  • Add Python 3.5 support.
  • Updated the "Request Vars" panel:
  1. Show additional values that were previously missing
  2. Sections upgraded to link to Pyramid Documentation when possible
  3. Mako reformatted into "defs" for simpler reorganization in the future
    See showing more info on the request panel Pylons/pyramid_debugtoolbar#241

2.4.2


2.4.1


2.4


This release changes some details of the panel API, so if you are writing
any custom panels for the toolbar please review the changes.

  • Document the cookie used to activate panels on a per-request basis. It is
    possible to specify the cookie per-request to turn on certain panels. This
    is used by default in the browser, but may also be used on a per-request
    basis by curl or other http APIs.
  • Add new debugtoolbar.active_panels setting which can specify certain
    panels to be always active.
  • Modify DebugPanel.name to be a valid python identifier, used for
    settings and lookup.
  • The toolbar no longer will clobber the request.id property. It now
    namespaces its usage as request.pdtb_id, freeing up request.id
    for applications.

2.3


2.2.2


  • Brownbagged 2.2.1, forgot to include the templates!

2.2.1


  • Pin pygments<2 on 3.2 as the new release has dropped support.

2.2


2.1


  • Add new "debugtoolbar." configuration settings that allow enabling or
    disabling various Pyramid knobs in a users .ini file. This for instance
    allows easy enabling/disabling of template reloading for the debugtoolbar.
  • Stabilize and document the pyramid_debugtoolbar.panels.DebugPanel
    API to allow developers to create their own panels.
  • Add new debugtoolbar.extra_panels and
    debugtoolbar.extra_global_panels configuration settings to make it
    simpler to support custom panels without overwriting the default panels.

2.0.2


  • Fix breaking bugs when run under Py3k.

2.0.1


  • Fixes a bug in 2.0 expecting pyramid_beaker to be around.

2.0


  • The toolbar has undergone a major refactoring to mitigate the effects of
    the toolbar's internal behavior on the application to which it is connected
    and make it possible to inspect arbitrary requests. It is now available at
    /_debug_toolbar and can be used to monitor any and all requests serviced
    by the Pyramid application that it is wrapping, including non-html responses.

The toolbar will live-update (on conforming browsers via Server Sent Events)
when requests come into the Pyramid application, and can be used to debug and
inspect multiple requests simultaneously.

1.0.9


  • Use new pyramid_mako configuration directive add_mako_renderer.

1.0.8


  • Depend on pyramid_mako (Mako support will be split out of Pyramid in
    1.5+).

1.0.7


  • Drop support for Python 2.5.
  • Make templates compatible with no-MarkupSafe Mako under Python 3.2.
  • Added new configuration option: debugtoolbar.show_on_exc_only (
    default=false). If set to true (debugtoolbar.show_on_exc_only = true)
    the debugtoolbar will only be injected into the response in case a
    exception is raised. If the response is processed without exception the
    returned html code is not changed at all.
    See Show debugtoolbar on exception only Pylons/pyramid_debugtoolbar#54
  • Fix various UnicodeDecodeError exceptions.

1.0.6


  • Packaging release only, no code changes. 1.0.5 was a brownbag release due to
    missing directories in the tarball.

1.0.5


  • Parse IPs correctly when request.remote_addr is a comma separated list
    of proxies IPs.
  • If you are also using require.js, the debug toolbar's version of jQuery
    will no longer conflict with your application's version of the library.
  • Use the "n" filter to disable default_filters when including the raw
    SQL in links, leaving only the "u" filter (URL escaping).
  • Support for per-request authorization of toolbar middleware via
    config.set_debugtoolbar_request_authorization(callback) where callback
    accepts request object and returns boolean value whether toolbar is enabled
    or not.
  • Short term fix for preventing error when converting binary query params to json.
  • Fix sqlalchemy query duration from microseconds to milliseconds.

1.0.4


  • Add a debugtoolbar.excluded_prefixes setting. When a URL path prefix
    matches one of these prefixes, the toolbar will not be shown on the resulting
    page.
  • Show the prompt and little text file icons show all the time, instead of
    only on hover.
  • Do not set max-height on result boxes (which result in nested scroll on
    the page, which makes it hard to find information quickly).
  • When an expression result is long, do not truncate with an ellipsis, which
    requires one more click to get at the information I need.
  • Support pip install from the github repository by adding all static files
    required to install in the package_data setup.py. Setuptools usually
    uses Subversion or CVS to tell it what static files it needs to package up
    for egg distribution, but does not support reading git metadata.
  • The debug toolbar now use a patched version of require.js with a distinct
    private name that cannot clash with the dojo loader or other incompatible
    versions of require that may already be loaded on the page. You no longer
    need to add the toolbar to your own require.js to make it work.

1.0.3


  • The valid_host custom predicate used internally by pyramid_debugtoolbar
    views didn't use newer "ipaddr"-based logic. Symptom: some views may have
    been incorrectly inaccessible if you used a network mask as a
    "debugtoolbar.hosts" option.
  • The debug console now works with Google App Engine.
  • The debug console now adds a shortcut for accessing the last result through
    _.

1.0.2


  • Moved the toolbar and debugger javascript files to use requirejs for
    better dependency loading and module isolation to play better with mutiple
    library versions. Recurrent problem was with async loading and application
    specific jquery library where the expected version was overrided by the
    toolbar one.

If you are already using requirejs and want the toolbar to load, just add it
to your path and module::

require.config({
paths: {
"jquery": "jquery-1.7.2.min",
"toolbar": "/_debug_toolbar/static/js/toolbar"
}
});

require(["jquery", "toolbar"], function($, toolbar) {
$(function() {
// your module
});
});

1.0.1


  • If request.remote_addr is None, disable the toolbar.

1.0


  • Don't URL-quote SQL parameters on SQLAlchemy panel.
  • Allow hostmask values as debugtoolbar.hosts entries
    (e.g. 192.168.1.0/24).

0.9.9.1


  • When used with Pyramid 1.3a9+, views, routes, and other registrations made
    by pyramid_debugtoolbar itself will not show up in the introspectables
    panel.

0.9.9


  • Try to take advantage of MakoRendererFactoryHelper in Pyramid 1.3a8+. If
    we can do this, the toolbar templates won't be effected by normal mako
    settings. The most visible change is that toolbar mako templates now have
    a dbtmako extension.

0.9.8


  • Show request headers instead of mistakenly showing environ values in
    Headers panel under "Request Headers". This also fixes a potential
    UnicodeDecodeError.
  • Set content_length on response object when we regenerate app_iter while
    replacing original content.

0.9.7


  • The performance panel of the debugtoolbar used a variable named
    function_calls which was not initialised when stats are not
    collected. This caused a NameError when mako rendered the template with
    the strict_undefined option.
  • Fix Python 3 compatibility in SQLAlchemy panel.
  • Make SQLAlchemy explain and select work again.

0.9.6


  • Added "Introspection" panel; active only under Pyramid 1.3dev+ (requires
    Pyramid introspection subsystem).
  • Address heisenbug reported where performance panel template variables cause
    unexpected results. Can't repeat, but reporter indicates the fix works for
    him, so hail marying. See
    Pylons/pyramid_debugtoolbar@5719c97

0.9.5


  • Adjust tox setup to test older Pyramid and WebOb branches under 2.5.
  • Convert all templates to Mako.
  • Don't rely on pyramid.compat.json.
  • Add Tweens toolbar panel.

0.9.4


  • Upgrade to jquery 1.6.4 and tablesorter plugin 2.0.5b
  • Introduced new setting debugtoolbar.button_style. Which can be used
    to override the default style (top:30px) set by toolbar.css.
  • Compatible with Python 3.2 (requires Pyramid 1.3dev+).

0.9.3


  • All debug toolbar panels and underlying views are now always executable by
    entirely anonymous users, regardless of the default permission that may be
    in effect (use the NO_PERMISSION_REQUIRED permission for all
    debugtoolbar views).
  • Toolbar cookie settings name changed (from fldt to p_dt), to avoid messing
    up folks who use both the flask debugtoolbar and Pyramid's.
  • Fix IE7 and IE8 renderings of the toolbar.

0.9.2


  • Log an exception body to the debug toolbar logger when an exception
    happens.
  • Don't reset the root logger level to NOTSET in the logging panel (changes
    console logging output to sanity again).

0.9.1


  • The debugtoolbar.intercept_exc setting is now a tri-state setting. It
    can be one of debug, display or false. debug means show
    the pretty traceback page with debugging controls. display means show
    the pretty traceback package but omit the debugging controls. false
    means don't show the pretty traceback page. For backwards compatibility
    purposes, true means debug.
  • A URL is now logged to the console for each exception when
    debugtoolbar.intercept_exc is debug or display. This URL leads
    to a rendering of the "pretty" traceback page for an exception. This is
    useful when the exception was caused by an AJAX or non-human-driven
    request. This URL is also injected into the pretty traceback page (at the
    bottom).
  • "Unfixed" indentation of SQL EXPLAIN done in 0.9, it broke the explain page
    when a column value isn't a string.

0.9


  • Fixed indentation of SQL EXPLAIN by replacing spaces with HTML spaces.
  • response.charset in some undefined user-reported cases may be None,
    which would lead to an exception when attempting to render the debug
    toolbar. In such cases we now assume the charset is UTF-8.
  • Some renderings of the request vars and renderer values would raise an
    uncaught exception.

0.8


  • Try to cope with braindead Debian Python installs which package the
    pstats module separately from Python for god only knows what reason.
    Turn the performance panel off in this case instead of crashing.

0.7


  • Docs-only changes.

0.6


  • Do not register an alias when registering an implicit tween factory (compat
    with future 1.2 release).

0.5


0.4


  • Change the default value for debugtoolbar.intercept_redirects to
    false. Rationale: it confuses people when first developing if the
    application they're working on has a home page which does a redirection.

0.3


  • Dynamicize URLs for SQLAlchemy subpanels.
  • Require "pyramid>=1.2dev" for install; the trunk is now "1.2dev" instead of
    "1.1.1dev".
  • Requires trunk after 2011-08-14: WSGIHTTPException "prepare" method and
    alias param to add_tween, BeforeRender event has no "_system" attr.
  • Fix memory leak.
  • HTML HTTP exceptions now are rendered with the debug toolbar div.
  • Added NotFound page to demo app and selenium tests.

0.2


  • Add SQLAlchemy "explain" and "select" pages (available from the SQLALchemy
    panel next to each query shown in the page).
  • Requires newer Pyramid trunk (checked out on 2011-08-07 or later).
  • Add a link to the SQLAlchemy demo page from the demo app index page.

0.1.4

feature, js key filtering

0.1.3

fix, finger slipped

0.1.2

improved labels

0.1.1

added logging of db number

0.1


  • Initial release.

0.1.0

:fix
conditionally check for r.dogpile_logging before logging.
this is required if the toolbar itself tries to pull data from dogpile.
it appears the new debugtoolbar architecture of running as a separate app doesn't run the subscriber setup

0.0.7

used bootstrap's badge and auto-collapse functionality to make the stats overview table easier to read for humans
used bootstrap's upload icon for "sets", so they read nicer

0.0.6

packaging fix.

0.0.5

merge jvanasco/pyramid_debugtoolbar_dogpile#2
- erroneous call to print &quot;&quot; instead of logging.debug()

0.0.4

fixed a bug on get_multi logging handler. it would prevent cache hits from being correctly recognized.
logging fractional hits/misses

0.0.3

merge jvanasco/pyramid_debugtoolbar_dogpile#1
- Prevents AttributeError when no current request

0.0.2

adding README.md to manifest

0.0.1

initial import

Unreleased

  • Added "sticky" panel functionality to allow a selected panel to persist
    across pageviews using cookies. If a cookied panel does not have content
    available for display, the first non-disabled panel will be displayed. If a
    cookied panel is not enabled on the toolbar, the first non-disabled panel will
    be displayed AND will become the new default panel.

See: Pylons/pyramid_debugtoolbar#272

  • Added CustomLoggerFactory to javascript, used in the development of PR 272.
    This javascript factory allows panel developers and maintainers to use verbose
    console logging during development, partitioned by feature, and silence it for
    deployment while still leaving the logging lines activated.

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 Apr 10, 2017

Coverage Status

Coverage remained the same at 32.953% when pulling 8787905 on pyup-pin-pyramid-debugtoolbar-3.0.5 into 585e729 on master.

@nicfit nicfit merged commit eb1454d into master Apr 20, 2017
@nicfit nicfit deleted the pyup-pin-pyramid-debugtoolbar-3.0.5 branch April 20, 2017 05:52
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