Bowerstatic

Latest version: v0.9

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.10

=================

- Do not crash when a version information is missing in bower.json.

- Fix to ``module_relative_path`` to make sure it is always absolute.

0.9

================

- A few documentation fixes.

- Allow `content_type` of response to be None, e.g. for HTTP-401.

0.8.1

==================

- Python 3 compatibility fixes: a few things broke with 0.8.

0.8

================

- Added references to Morepath and Pyramid extensions that integrate
BowerStatic.

- Don't try to pick up any directories that start with a period (``.``) as
bower packages.

- Added an example on how to integrate BowerStatic with a Flask
application.

- Fixed documentation describing WebOb integration to new reality as of
0.7.

- Ability to support custom renderers:

http://bowerstatic.readthedocs.org/en/latest/integrating.htmlsupporting-additional-types-of-resources

- Breaking change: renderers will receive the ``resource`` argument
instead of the url. Use `bower.register_renderer` instead of
`bower.renderer` to register a renderer. Renderers can be used to
render resources inline.

0.7

================

- The publisher and injector have been refactored into
``PublisherTween`` and a ``Publisher``, and an ``InjectorTween`` and
an ``Injector``. The Tween versions are the ones intended for use by
web frameworks that already use WebOb (such as Morepath and Pyramid)
as an alternative to using WSGI-based integration.

The WSGI-based integration has remained unchanged; you can still use
``bower.wrap`` (or ``bower.injector`` and ``bower.publisher``).

0.6

================

- Added Python 3 compatibility. Fixes issue 25.

- Bower components and local components can be created based on a path
relative to the directory in which the components are created using
``bowerstatic.module_relative_path``.

- The injector and the publisher can now also be used directly by
providing a WebOb request and response. Third-party frameworks that
already use WebOb (such as Morepath and Pyramid) can make use of
this to integrate with on the level of their own request and
response objects, instead of on the WSGI level.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.