- Drop support for Python below 3.6
- Use GitHub Actions for CI.
- Ensure assets are also included in error views. #13 by Cyrill Küttel
- Fixes an additional case default filters overriding asset specific filters. [href]
- Stops default filters from overriding asset specific filters. [href]
- Adds the ability to define a list of filters (chain) on an asset. [href]
- Adds the ability chain output filters (i.e. jsx -> jss -> minified). [href]
Render the script tag inside the body element instead of after it.
This turns the output into valid HTML. Rendering it outside the body element as it was done before works in practice, but it is technically not valid. [href]
- Add Python 3.5 and make it the default test environment.
- Update to work with Morepath 0.16.
- Ensures that the webasset_path is always an absolute path. [href]
- Adds a debug environment variable used to activate webasset's debug mode. [href]
- Uses a temporary default output directory if none is specified. [href]
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 and at the comments in the directives file, to get an idea about what has changed.
Don't hesitate to open an issue if you need help migrating your existing setup.
- Adds compatibility with morepath 0.13. [href]
- Disables webassets url caching if debug mode is active. [href]
- Support webassets debug mode (before it would trigger an exception). [href]
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]
- Adds more checks to ensure we never serve anything outside the assets directory. [href]
- Initial Release [href]