More.webassets

Latest version: v0.5.1

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

Scan your dependencies

Page 2 of 3

0.3.1

~~~~~~~~~~~~~~~~~~~

- Adds a debug environment variable used to activate webasset's debug mode.
[href]

- Uses a temporary default output directory if none is specified.
[href]

0.3.0

~~~~~~~~~~~~~~~~~~~

- *Breaking Changes* - This release changes everything!

Assets are no longer registerd through special methods on the application.
Instead proper Morepath directives are used. This enables better re-use
of assets, less verbosity and proper support of inheritance (you can now
have applications which define assets and child-applications which use
those assets).

Have a look at the `readme <https://github.com/morepath/more.webassets>`_ and
at `the comments in the directives file <https://github.com/morepath/more.webassets/blob/master/more/webassets/directives.py>`_, to get an idea about what has changed.

Don't hesitate to open an issue if you need help migrating your existing
setup.

0.2.0

~~~~~~~~~~~~~~~~~~~

- Adds compatibility with morepath 0.13.
[href]

0.1.1

~~~~~~~~~~~~~~~~~~~

- Disables webassets url caching if debug mode is active.
[href]

0.1.0

~~~~~~~~~~~~~~~~~~~

- Support webassets debug mode (before it would trigger an exception).
[href]

0.0.3

~~~~~~~~~~~~~~~~~~~

- Cache the resource urls for increased speed. Note that with this change a
reload of the application is necessary to get the updated javascript files.

If this is an issue for you, speak up and we might add a debug flag.
[href]

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.